Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
samsung::wasm::ElementaryVideoTrackConfig Struct Referencefinal

Contains video ElementaryMediaTrack config. More...

#include <elementary_video_track_config.h>

Inheritance diagram for samsung::wasm::ElementaryVideoTrackConfig:
Collaboration diagram for samsung::wasm::ElementaryVideoTrackConfig:

Public Member Functions

 ElementaryVideoTrackConfig ()
 
 ElementaryVideoTrackConfig (std::string mime_type, std::vector< uint8_t > extradata, uint32_t width, uint32_t height, uint32_t framerate_num, uint32_t framerate_den)
 
- Public Member Functions inherited from samsung::wasm::ElementaryMediaTrackConfig
 ElementaryMediaTrackConfig ()
 
 ElementaryMediaTrackConfig (std::string mime_type, std::vector< uint8_t > extradata)
 

Public Attributes

uint32_t width
 
uint32_t height
 
uint32_t framerate_num
 
uint32_t framerate_den
 
- Public Attributes inherited from samsung::wasm::ElementaryMediaTrackConfig
std::string mime_type
 MIME containing codec and profile. More...
 
std::vector< uint8_t > extradata
 Extra data for codec. More...
 

Detailed Description

Contains video ElementaryMediaTrack config.

Definition at line 19 of file elementary_video_track_config.h.

Constructor & Destructor Documentation

◆ ElementaryVideoTrackConfig() [1/2]

samsung::wasm::ElementaryVideoTrackConfig::ElementaryVideoTrackConfig ( )
inline

Definition at line 20 of file elementary_video_track_config.h.

◆ ElementaryVideoTrackConfig() [2/2]

samsung::wasm::ElementaryVideoTrackConfig::ElementaryVideoTrackConfig ( std::string  mime_type,
std::vector< uint8_t >  extradata,
uint32_t  width,
uint32_t  height,
uint32_t  framerate_num,
uint32_t  framerate_den 
)
inline

Definition at line 22 of file elementary_video_track_config.h.

Member Data Documentation

◆ framerate_den

uint32_t samsung::wasm::ElementaryVideoTrackConfig::framerate_den

Framerate denominator, must be positive. Changing video framerate during playback is possible by changing ElementaryMediaPacket::framerate_num and ElementaryMediaPacket::framerate_den.

Definition at line 52 of file elementary_video_track_config.h.

◆ framerate_num

uint32_t samsung::wasm::ElementaryVideoTrackConfig::framerate_num

Initial framerate numerator, must be non-negative. Changing video framerate during playback is possible by changing ElementaryMediaPacket::framerate_num and ElementaryMediaPacket::framerate_den.

Definition at line 46 of file elementary_video_track_config.h.

◆ height

uint32_t samsung::wasm::ElementaryVideoTrackConfig::height

Initial height of video in pixels. Changing video height during playback is possible by changing ElementaryMediaPacket::height.

Definition at line 40 of file elementary_video_track_config.h.

◆ width

uint32_t samsung::wasm::ElementaryVideoTrackConfig::width

Initial width of video in pixels. Changing video width during playback is possible by changing ElementaryMediaPacket::width.

Definition at line 36 of file elementary_video_track_config.h.


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