|
Pepper_47_C++_interfaces
|
#include <es_data_source_samsung.h>


Public Member Functions | |
| AudioElementaryStream_Samsung () | |
| AudioElementaryStream_Samsung (PP_Resource resource) | |
| AudioElementaryStream_Samsung (PassRef, PP_Resource resource) | |
| AudioElementaryStream_Samsung (const AudioElementaryStream_Samsung &other) | |
| AudioElementaryStream_Samsung & | operator= (const AudioElementaryStream_Samsung &other) |
| virtual | ~AudioElementaryStream_Samsung () |
| virtual PP_ElementaryStream_Type_Samsung | GetStreamType () const |
| PP_AudioCodec_Type_Samsung | GetAudioCodecType () const |
| void | SetAudioCodecType (PP_AudioCodec_Type_Samsung audio_codec) |
| PP_AudioCodec_Profile_Samsung | GetAudioCodecProfile () const |
| void | SetAudioCodecProfile (PP_AudioCodec_Profile_Samsung profile) |
| PP_SampleFormat_Samsung | GetSampleFormat () const |
| void | SetSampleFormat (PP_SampleFormat_Samsung sample_format) |
| PP_ChannelLayout_Samsung | GetChannelLayout () const |
| void | SetChannelLayout (PP_ChannelLayout_Samsung channel_layout) |
| int32_t | GetBitsPerChannel () const |
| void | SetBitsPerChannel (int32_t bits_per_channel) |
| int32_t | GetSamplesPerSecond () const |
| void | SetSamplesPerSecond (int32_t samples_per_second) |
| 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_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) |
Public Member Functions inherited from pp::Resource | |
| 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 | |
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... | |
Interface representing an audio elementary stream and containing methods to set audio 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 168 of file es_data_source_samsung.h.
| pp::AudioElementaryStream_Samsung::AudioElementaryStream_Samsung | ( | ) |
Definition at line 186 of file es_data_source_samsung.cc.
|
explicit |
Definition at line 190 of file es_data_source_samsung.cc.
|
explicit |
Definition at line 195 of file es_data_source_samsung.cc.
| pp::AudioElementaryStream_Samsung::AudioElementaryStream_Samsung | ( | const AudioElementaryStream_Samsung & | other | ) |
Definition at line 200 of file es_data_source_samsung.cc.
|
virtual |
Definition at line 211 of file es_data_source_samsung.cc.
| PP_AudioCodec_Profile_Samsung pp::AudioElementaryStream_Samsung::GetAudioCodecProfile | ( | ) | const |
Definition at line 238 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| PP_AudioCodec_Type_Samsung pp::AudioElementaryStream_Samsung::GetAudioCodecType | ( | ) | const |
Definition at line 220 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| int32_t pp::AudioElementaryStream_Samsung::GetBitsPerChannel | ( | ) | const |
Definition at line 290 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| PP_ChannelLayout_Samsung pp::AudioElementaryStream_Samsung::GetChannelLayout | ( | ) | const |
Definition at line 273 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| PP_SampleFormat_Samsung pp::AudioElementaryStream_Samsung::GetSampleFormat | ( | ) | const |
Definition at line 255 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| int32_t pp::AudioElementaryStream_Samsung::GetSamplesPerSecond | ( | ) | const |
Definition at line 307 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
|
virtual |
Retrieves stream type represented by this resource, in this case PP_ELEMENTARYSTREAM_TYPE_SAMSUNG_AUDIO.
Implements pp::ElementaryStream_Samsung.
Definition at line 215 of file es_data_source_samsung.cc.
| AudioElementaryStream_Samsung & pp::AudioElementaryStream_Samsung::operator= | ( | const AudioElementaryStream_Samsung & | other | ) |
Definition at line 205 of file es_data_source_samsung.cc.
References pp::ElementaryStream_Samsung::operator=().
| void pp::AudioElementaryStream_Samsung::SetAudioCodecProfile | ( | PP_AudioCodec_Profile_Samsung | profile | ) |
Definition at line 247 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| void pp::AudioElementaryStream_Samsung::SetAudioCodecType | ( | PP_AudioCodec_Type_Samsung | audio_codec | ) |
Definition at line 229 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| void pp::AudioElementaryStream_Samsung::SetBitsPerChannel | ( | int32_t | bits_per_channel | ) |
Definition at line 299 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| void pp::AudioElementaryStream_Samsung::SetChannelLayout | ( | PP_ChannelLayout_Samsung | channel_layout | ) |
Definition at line 282 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| void pp::AudioElementaryStream_Samsung::SetCodecExtraData | ( | uint32_t | extra_data_size, |
| const void * | extra_data | ||
| ) |
Sets audio codec specific extra data. Those data are needed by audio codec to initialize properly audio decoding.
| [in] | extra_data_size | Size in bytes of |extra_data| buffer. |
| [in] | extra_data | A pointer to the buffer containing audio codec specific extra data. |
Definition at line 324 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| void pp::AudioElementaryStream_Samsung::SetSampleFormat | ( | PP_SampleFormat_Samsung | sample_format | ) |
Definition at line 264 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
| void pp::AudioElementaryStream_Samsung::SetSamplesPerSecond | ( | int32_t | samples_per_second | ) |
Definition at line 316 of file es_data_source_samsung.cc.
References pp::Resource::pp_resource().
1.8.6