Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_media_data_source_samsung.h File Reference

Go to the source code of this file.

Classes

struct  PPB_MediaDataSource_Samsung_1_0
 
struct  PPB_URLDataSource_Samsung_1_0
 
struct  PPB_ESDataSource_Samsung_1_0
 
struct  PPB_ElementaryStream_Samsung_1_1
 
struct  PPB_ElementaryStream_Samsung_1_0
 
struct  PPB_AudioElementaryStream_Samsung_1_0
 
struct  PPB_VideoElementaryStream_Samsung_1_0
 

Macros

#define PPB_MEDIADATASOURCE_SAMSUNG_INTERFACE_1_0   "PPB_MediaDataSource_Samsung;1.0"
 
#define PPB_MEDIADATASOURCE_SAMSUNG_INTERFACE   PPB_MEDIADATASOURCE_SAMSUNG_INTERFACE_1_0
 
#define PPB_URLDATASOURCE_SAMSUNG_INTERFACE_1_0   "PPB_URLDataSource_Samsung;1.0"
 
#define PPB_URLDATASOURCE_SAMSUNG_INTERFACE   PPB_URLDATASOURCE_SAMSUNG_INTERFACE_1_0
 
#define PPB_ESDATASOURCE_SAMSUNG_INTERFACE_1_0   "PPB_ESDataSource_Samsung;1.0"
 
#define PPB_ESDATASOURCE_SAMSUNG_INTERFACE   PPB_ESDATASOURCE_SAMSUNG_INTERFACE_1_0
 
#define PPB_ELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_0   "PPB_ElementaryStream_Samsung;1.0"
 
#define PPB_ELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_1   "PPB_ElementaryStream_Samsung;1.1"
 
#define PPB_ELEMENTARYSTREAM_SAMSUNG_INTERFACE   PPB_ELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_1
 
#define PPB_AUDIOELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_0   "PPB_AudioElementaryStream_Samsung;1.0"
 
#define PPB_AUDIOELEMENTARYSTREAM_SAMSUNG_INTERFACE   PPB_AUDIOELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_0
 
#define PPB_VIDEOELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_0   "PPB_VideoElementaryStream_Samsung;1.0"
 
#define PPB_VIDEOELEMENTARYSTREAM_SAMSUNG_INTERFACE   PPB_VIDEOELEMENTARYSTREAM_SAMSUNG_INTERFACE_1_0
 

Typedefs

typedef struct
PPB_MediaDataSource_Samsung_1_0 
PPB_MediaDataSource_Samsung
 
typedef struct
PPB_URLDataSource_Samsung_1_0 
PPB_URLDataSource_Samsung
 
typedef struct
PPB_ESDataSource_Samsung_1_0 
PPB_ESDataSource_Samsung
 
typedef struct
PPB_ElementaryStream_Samsung_1_1 
PPB_ElementaryStream_Samsung
 
typedef struct
PPB_AudioElementaryStream_Samsung_1_0 
PPB_AudioElementaryStream_Samsung
 
typedef struct
PPB_VideoElementaryStream_Samsung_1_0 
PPB_VideoElementaryStream_Samsung
 

Detailed Description

This file defines the Media Data Sources interfaces, which provide abilities to feed player with media clip data.

Part of Pepper Media Player interfaces (Samsung's extension). See See comments in ppb_media_player_samsung for general overview.

Data Sources:

  • PPB_MediaDataSource_Samusng is an abstract interface representing data source.
  • PPB_URLDataSource_Samusng is data source which opens stream given by URL. It is derived from PPB_DataSource_Samusng.
  • PPB_ESDataSource_Samusng is data source allowing to provide Elementary Streams from Pepper/PNaCl module. Using this player the module can create buffers accepting Elementary Stream packets. Those buffers are derived from PPB_ElementaryStream_Samusng interface.

    Relationship can be represented as follows: PPB_MediaDataSource_Samusng [base] | |- PPB_URLDataSource_Samusng [derived] |- PPB_ESDataSource_Samusng [derived] consists of set of PPB_ElementaryStream_Samusng

  • PPB_ElementaryStream_Samusng is basic interface providing methods to submit Elementary Stream packets to the player. Those packets might be optionally encrypted. Inheriting interfaces must provide methods necessary to initialize decoder handling elementary stream of given type (audio or video).
  • PPB_AudioElementaryStream_Samsung is interface allowing application to provide packets comprising audio Elementary Stream.
  • PPB_VideoElementaryStream_Samsung is interface allowing application to provide packets comprising video Elementary Stream.

    Relationship can be represented as follows: PPB_ElementaryStream_Samsung [base] | |- PPB_AudioElementaryStream_Samsung [derived] |- PPB_VideoElementaryStream_Samsung [derived]