NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
be_video_container.h
Go to the documentation of this file.
1/*
2 * This software was developed at the National Institute of Standards and
3 * Technology (NIST) by employees of the Federal Government in the course
4 * of their official duties. Pursuant to title 17 Section 105 of the
5 * United States Code, this software is not subject to copyright protection
6 * and is in the public domain. NIST assumes no responsibility whatsoever for
7 * its use by other parties, and makes no guarantees, expressed or implied,
8 * about its quality, reliability, or any other characteristic.
9 */
10
11#ifndef __BE_VIDEO_CONTAINER_H__
12#define __BE_VIDEO_CONTAINER_H__
13
14#include <memory.h>
15#include <be_video_stream.h>
16
17namespace BiometricEvaluation
18{
19 namespace Video
20 {
29 class Container {
30 public:
43
57 const std::shared_ptr<Memory::uint8Array> &buffer);
58
69 Container(const std::string &filename);
70
75 uint32_t getAudioCount();
76
81 uint32_t getVideoCount();
82
94 std::unique_ptr<Video::Stream>
95 getVideoStream(uint32_t videoNum);
96
98
99 class Impl;
100 private:
101 std::unique_ptr<Container::Impl> pimpl;
102 };
103 }
104}
105#endif /* __BE_VIDEO_CONTAINER_H__ */
Representation of a video container.
Container(const Memory::uint8Array &buffer)
Construct a Container from a memory buffer.
std::unique_ptr< Video::Stream > getVideoStream(uint32_t videoNum)
Obtain a video stream from the container.
uint32_t getAudioCount()
Obtain the number of audio streams.
Container(const std::string &filename)
Construct a Container from file.
uint32_t getVideoCount()
Obtain the number of video streams.
Container(const std::shared_ptr< Memory::uint8Array > &buffer)
Construct a Container from a memory buffer wrapped in a shared pointer.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...