Gnash
0.8.10
|
Information about a video stream. More...
#include <MediaParser.h>
Classes | |
class | ExtraInfo |
Extra info about a video stream. More... | |
Public Member Functions | |
VideoInfo (int codeci, boost::uint16_t widthi, boost::uint16_t heighti, boost::uint16_t frameRatei, boost::uint64_t durationi, codecType typei) | |
Construct a VideoInfo object. | |
Public Attributes | |
int | codec |
boost::uint16_t | width |
boost::uint16_t | height |
boost::uint16_t | frameRate |
boost::uint64_t | duration |
codecType | type |
std::auto_ptr< ExtraInfo > | extra |
Extra info about video stream, if when needed. |
Information about a video stream.
The information stored is codec-id, width, height, framerate and duration.
Additionally, an abstract ExtraInfo can be hold.
gnash::media::VideoInfo::VideoInfo | ( | int | codeci, |
boost::uint16_t | widthi, | ||
boost::uint16_t | heighti, | ||
boost::uint16_t | frameRatei, | ||
boost::uint64_t | durationi, | ||
codecType | typei | ||
) | [inline] |
Construct a VideoInfo object.
codeci | Video codec id. To be interpreted as a media::videoCodecType if the typei parameter is CODEC_TYPE_FLASH; otherwise it's an opaque number to use for codec information transfer between a MediaParser and a VideoDecoder from the same media handler module. |
widthi | Video frame width. |
heighti | Video frame height. |
frameRatei | Nominal video frame rate. |
durationi | Nominal video duration. |
typei | Changes interpretation of the codeci parameter. |
boost::uint64_t gnash::media::VideoInfo::duration |
Referenced by gnash::media::operator<<().
std::auto_ptr<ExtraInfo> gnash::media::VideoInfo::extra |
Extra info about video stream, if when needed.
Could be ExtraAudioInfoFlv or a media-handler specific info
Referenced by gnash::media::gst::MediaHandlerGst::createVideoDecoder(), and gnash::media::ffmpeg::VideoDecoderFfmpeg::VideoDecoderFfmpeg().
boost::uint16_t gnash::media::VideoInfo::frameRate |
Referenced by gnash::media::operator<<().
boost::uint16_t gnash::media::VideoInfo::height |
boost::uint16_t gnash::media::VideoInfo::width |