VideoTools
|
Holds state for an AVC (aka H.264) decoder. More...
#include <gvavcreader.h>
Public Member Functions | |
AvcReaderStream () | |
Default constructor. More... | |
AvcReaderStream (const Gr::Avc::Configuration &avcc) | |
Constructor taking a configuration object. | |
~AvcReaderStream () | |
Destructor. | |
int | dx () const |
Returns the image width as indicated by the first SPS structure, or zero if default constructed. More... | |
int | dy () const |
Returns the image height as indicated by the first SPS structure, or zero if default constructed. More... | |
Friends | |
class | AvcReader |
Holds state for an AVC (aka H.264) decoder.
Each image is decoded separately by Gr::AvcReader, but state for a sequence of images is managed by this class.
Definition at line 42 of file gvavcreader.h.
Gv::AvcReaderStream::AvcReaderStream | ( | ) |
Default constructor.
Since no configuration is supplied the decoding will only work once the the required SPS and PPS NALUs have been supplied.
Definition at line 225 of file gvavcreader_libav.cpp.
int Gv::AvcReaderStream::dx | ( | ) | const |
Returns the image width as indicated by the first SPS structure, or zero if default constructed.
Definition at line 240 of file gvavcreader_libav.cpp.
int Gv::AvcReaderStream::dy | ( | ) | const |
Returns the image height as indicated by the first SPS structure, or zero if default constructed.
Definition at line 245 of file gvavcreader_libav.cpp.