Pepper_47_C++_interfaces
Public Member Functions | List of all members
pp::VideoElementaryStream_Samsung Class Reference

#include <es_data_source_samsung.h>

Inheritance diagram for pp::VideoElementaryStream_Samsung:
Inheritance graph
Collaboration diagram for pp::VideoElementaryStream_Samsung:
Collaboration graph

Public Member Functions

 VideoElementaryStream_Samsung ()
 
 VideoElementaryStream_Samsung (PP_Resource resource)
 
 VideoElementaryStream_Samsung (PassRef, PP_Resource resource)
 
 VideoElementaryStream_Samsung (const VideoElementaryStream_Samsung &other)
 
VideoElementaryStream_Samsungoperator= (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)
 
- Public Member Functions inherited from pp::ElementaryStream_Samsung
 ElementaryStream_Samsung (const ElementaryStream_Samsung &other)
 
ElementaryStream_Samsungoperator= (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)
 
- Public Member Functions inherited from pp::Resource
 Resource ()
 The default constructor. More...
 
 Resource (const Resource &other)
 
virtual ~Resource ()
 Destructor. More...
 
Resourceoperator= (const Resource &other)
 
bool is_null () const
 
PP_Resource pp_resource () const
 
PP_Resource detach ()
 

Additional Inherited Members

- Protected Member Functions inherited from pp::ElementaryStream_Samsung
 ElementaryStream_Samsung ()
 
 ElementaryStream_Samsung (PP_Resource resource)
 
 ElementaryStream_Samsung (const Resource &resource)
 
 ElementaryStream_Samsung (PassRef, PP_Resource resource)
 
- Protected Member Functions inherited from pp::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...
 

Detailed Description

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.

Constructor & Destructor Documentation

pp::VideoElementaryStream_Samsung::VideoElementaryStream_Samsung ( )

Definition at line 335 of file es_data_source_samsung.cc.

pp::VideoElementaryStream_Samsung::VideoElementaryStream_Samsung ( PP_Resource  resource)
explicit

Definition at line 339 of file es_data_source_samsung.cc.

pp::VideoElementaryStream_Samsung::VideoElementaryStream_Samsung ( PassRef  ,
PP_Resource  resource 
)
explicit

Definition at line 344 of file es_data_source_samsung.cc.

pp::VideoElementaryStream_Samsung::VideoElementaryStream_Samsung ( const VideoElementaryStream_Samsung other)

Definition at line 349 of file es_data_source_samsung.cc.

pp::VideoElementaryStream_Samsung::~VideoElementaryStream_Samsung ( )
virtual

Definition at line 360 of file es_data_source_samsung.cc.

Member Function Documentation

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.

Definition at line 439 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

PP_ElementaryStream_Type_Samsung pp::VideoElementaryStream_Samsung::GetStreamType ( ) const
virtual

Retrieves stream type represented by this resource, in this case PP_ELEMENTARYSTREAM_TYPE_SAMSUNG_VIDEO.

Implements pp::ElementaryStream_Samsung.

Definition at line 364 of file es_data_source_samsung.cc.

PP_VideoCodec_Profile_Samsung pp::VideoElementaryStream_Samsung::GetVideoCodecProfile ( ) const

Definition at line 387 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

PP_VideoCodec_Type_Samsung pp::VideoElementaryStream_Samsung::GetVideoCodecType ( ) const

Definition at line 369 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

PP_VideoFrame_Format_Samsung pp::VideoElementaryStream_Samsung::GetVideoFrameFormat ( ) const

Definition at line 405 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

PP_Size pp::VideoElementaryStream_Samsung::GetVideoFrameSize ( ) const

Retrieves current video frame size in pixels.

Definition at line 422 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

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.

Parameters
[in]extra_data_sizeSize in bytes of |extra_data| buffer.
[in]extra_dataA pointer to the buffer containing video codec specific extra data.

Definition at line 461 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

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.

Definition at line 453 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

void pp::VideoElementaryStream_Samsung::SetVideoCodecProfile ( PP_VideoCodec_Profile_Samsung  video_codec)

Definition at line 396 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

void pp::VideoElementaryStream_Samsung::SetVideoCodecType ( PP_VideoCodec_Type_Samsung  video_codec)

Definition at line 378 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

void pp::VideoElementaryStream_Samsung::SetVideoFrameFormat ( PP_VideoFrame_Format_Samsung  frame_format)

Definition at line 414 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().

void pp::VideoElementaryStream_Samsung::SetVideoFrameSize ( const PP_Size &  size)

Sets new video frame size in pixels.

Definition at line 432 of file es_data_source_samsung.cc.

References pp::Resource::pp_resource().


The documentation for this class was generated from the following files: