Pepper_42_C++_interfaces
|
#include <es_data_source_samsung.h>
Public Member Functions | |
VideoElementaryStream_Samsung () | |
VideoElementaryStream_Samsung (PP_Resource resource) | |
VideoElementaryStream_Samsung (PassRef, PP_Resource resource) | |
VideoElementaryStream_Samsung (const VideoElementaryStream_Samsung &other) | |
VideoElementaryStream_Samsung & | operator= (const VideoElementaryStream_Samsung &other) |
virtual | ~VideoElementaryStream_Samsung () |
virtual PP_ElementaryStream_Type_Samsung | GetStreamType () const |
PP_VideoCodec_Type_Samsung | GetVideoCodecType () const |
void | SetVideoCodecType (PP_VideoCodec_Type_Samsung video_codec) |
PP_VideoCodec_Profile_Samsung | GetVideoCodecProfile () const |
void | SetVideoCodecProfile (PP_VideoCodec_Profile_Samsung video_codec) |
PP_VideoFrame_Format_Samsung | GetVideoFrameFormat () const |
void | SetVideoFrameFormat (PP_VideoFrame_Format_Samsung frame_format) |
PP_Size | GetVideoFrameSize () const |
Retrieves current video frame size in pixels. More... | |
void | SetVideoFrameSize (const PP_Size &size) |
Sets new video frame size in pixels. More... | |
void | GetFrameRate (uint32_t *numerator, uint32_t *denominator) const |
void | SetFrameRate (uint32_t numerator, uint32_t denominator) |
void | SetCodecExtraData (uint32_t extra_data_size, const void *extra_data) |
![]() | |
ElementaryStream_Samsung (const ElementaryStream_Samsung &other) | |
ElementaryStream_Samsung & | operator= (const ElementaryStream_Samsung &other) |
virtual | ~ElementaryStream_Samsung () |
int32_t | InitializeDone (const CompletionCallback &callback) |
int32_t | AppendPacket (const PP_ESPacket &packet, const CompletionCallback &callback) |
int32_t | AppendEncryptedPacket (const PP_ESPacket &packet, const PP_ESPacketEncryptionInfo &encryption_info, const CompletionCallback &callback) |
int32_t | Flush (const CompletionCallback &callback) |
int32_t | SetDRMInitData (uint32_t type_size, const void *type, uint32_t init_data_size, const void *init_data, const CompletionCallback &callback) |
int32_t | SetDRMInitData (const std::string &type, uint32_t init_data_size, const void *init_data, const CompletionCallback &callback) |
![]() | |
Resource () | |
The default constructor. More... | |
Resource (const Resource &other) | |
virtual | ~Resource () |
Destructor. More... | |
Resource & | operator= (const Resource &other) |
bool | is_null () const |
PP_Resource | pp_resource () const |
PP_Resource | detach () |
Additional Inherited Members | |
![]() | |
ElementaryStream_Samsung () | |
ElementaryStream_Samsung (PP_Resource resource) | |
ElementaryStream_Samsung (const Resource &resource) | |
ElementaryStream_Samsung (PassRef, PP_Resource resource) | |
![]() | |
Resource (PP_Resource resource) | |
Resource (PassRef, PP_Resource resource) | |
void | PassRefFromConstructor (PP_Resource resource) |
void | Clear () |
Sets this resource to null. This releases ownership of the resource. More... | |
Interface representing an video elementary stream and containing methods to set video codec specific configuration.
All pending configuration changes/initialization must be confirmed by call to ElementaryStream_Samsung.InitializeDone
.
All getters return last set configuration, which might be not confirmed yet.
Definition at line 219 of file es_data_source_samsung.h.
pp::VideoElementaryStream_Samsung::VideoElementaryStream_Samsung | ( | ) |
|
explicit |
|
explicit |
pp::VideoElementaryStream_Samsung::VideoElementaryStream_Samsung | ( | const VideoElementaryStream_Samsung & | other | ) |
|
virtual |
void pp::VideoElementaryStream_Samsung::GetFrameRate | ( | uint32_t * | numerator, |
uint32_t * | denominator | ||
) | const |
Retrieves current video frame rate as rational number represented by fraction |numerator| / |denominator|.
Both |numerator| and |denominator| must be non-null, otherwise no information is retrieved.
|
virtual |
Retrieves stream type represented by this resource, in this case PP_ELEMENTARYSTREAM_TYPE_SAMSUNG_VIDEO
.
Implements pp::ElementaryStream_Samsung.
PP_VideoCodec_Profile_Samsung pp::VideoElementaryStream_Samsung::GetVideoCodecProfile | ( | ) | const |
PP_VideoCodec_Type_Samsung pp::VideoElementaryStream_Samsung::GetVideoCodecType | ( | ) | const |
PP_VideoFrame_Format_Samsung pp::VideoElementaryStream_Samsung::GetVideoFrameFormat | ( | ) | const |
PP_Size pp::VideoElementaryStream_Samsung::GetVideoFrameSize | ( | ) | const |
Retrieves current video frame size in pixels.
VideoElementaryStream_Samsung& pp::VideoElementaryStream_Samsung::operator= | ( | const VideoElementaryStream_Samsung & | other | ) |
void pp::VideoElementaryStream_Samsung::SetCodecExtraData | ( | uint32_t | extra_data_size, |
const void * | extra_data | ||
) |
Sets video codec specific extra data. Those data are needed by video codec to initialize properly video decoding.
[in] | extra_data_size | Size in bytes of |extra_data| buffer. |
[in] | extra_data | A pointer to the buffer containing video codec specific extra data. |
void pp::VideoElementaryStream_Samsung::SetFrameRate | ( | uint32_t | numerator, |
uint32_t | denominator | ||
) |
Sets new video frame rate as rational number represented by fraction |numerator| / |denominator|.
|denominator| must be positive (!= 0) otherwise no information is set.
void pp::VideoElementaryStream_Samsung::SetVideoCodecProfile | ( | PP_VideoCodec_Profile_Samsung | video_codec | ) |
void pp::VideoElementaryStream_Samsung::SetVideoCodecType | ( | PP_VideoCodec_Type_Samsung | video_codec | ) |
void pp::VideoElementaryStream_Samsung::SetVideoFrameFormat | ( | PP_VideoFrame_Format_Samsung | frame_format | ) |
void pp::VideoElementaryStream_Samsung::SetVideoFrameSize | ( | const PP_Size & | size | ) |
Sets new video frame size in pixels.