Native Player  1.0
VideoConfig Struct Reference

Structure describing Elementary Video Stream configuration. More...

#include <stream_demuxer.h>

Public Member Functions

bool operator== (const VideoConfig &config) const
 

Public Attributes

Samsung::NaClPlayer::VideoCodec_Type codec_type
 
Samsung::NaClPlayer::VideoCodec_Profile codec_profile
 
Samsung::NaClPlayer::VideoFrame_Format frame_format
 
Samsung::NaClPlayer::Size size
 
Samsung::NaClPlayer::Rational frame_rate
 
std::vector< uint8_t > extra_data
 

Detailed Description

Structure describing Elementary Video Stream configuration.

Note
Not all fields are required to properly configure audio elementary stream. Fields not needed can be ignored.

Definition at line 97 of file stream_demuxer.h.

Member Function Documentation

bool VideoConfig::operator== ( const VideoConfig config) const
inline

Checks if compared object config is equal to this VideoConfig.

Returns
True if objects are equal.
False otherwise.

Definition at line 128 of file stream_demuxer.h.

Member Data Documentation

Samsung::NaClPlayer::VideoCodec_Profile VideoConfig::codec_profile

Describes video codec profile like H264 Main, VP9 Max, etc.

See also
enum Samsung::NaClPlayer::VideoCodec_Profile
Note
Only some codecs require codec profile like H264, MPEG4, etc.

Definition at line 105 of file stream_demuxer.h.

Samsung::NaClPlayer::VideoCodec_Type VideoConfig::codec_type

Describes video codec type like H264, MPEG2, etc.

See also
enum Samsung::NaClPlayer::VideoCodec_Type

Definition at line 100 of file stream_demuxer.h.

std::vector<uint8_t> VideoConfig::extra_data

Describes video extra data. Some codecs need more data to encode stream. Usually it's in header of the file.

Definition at line 123 of file stream_demuxer.h.

Samsung::NaClPlayer::VideoFrame_Format VideoConfig::frame_format

Describes video frame format like 32bpp RGB, 20bpp YUVA, etc.

See also
enum Samsung::NaClPlayer::VideoFrame_Format

Definition at line 109 of file stream_demuxer.h.

Samsung::NaClPlayer::Rational VideoConfig::frame_rate

Describes video frame rate. It's represented as rational number like 45000 1877 gives around 24 frames per second, etc.

See also
class Samsung::NaClPlayer::Rational

Definition at line 119 of file stream_demuxer.h.

Samsung::NaClPlayer::Size VideoConfig::size

Describes video frame size. It's expressed by width[px] and height [px] like 1920 1080, 640 480, etc.

See also
class Samsung::NaClPlayer::Size

Definition at line 114 of file stream_demuxer.h.


The documentation for this struct was generated from the following file: