Pepper_31_C_interfaces
Public Attributes | List of all members
PPB_StreamParser_Samsung_0_9 Struct Reference

#include <ppb_stream_parser_samsung.h>

Collaboration diagram for PPB_StreamParser_Samsung_0_9:
Collaboration graph

Public Attributes

PP_Bool(* RegisterParser )(PP_Instance instance, struct PP_Var stream_type, const struct PPP_StreamParser_Samsung_0_9 *stream_parser_interface, void *user_data)
 
PP_Bool(* Init )(PP_Instance instance, int32_t stream_id, PP_Bool result, PP_MicrosecondsDelta duration)
 
PP_Bool(* NewAudioConfig )(PP_Instance instance, int32_t stream_id, const struct PP_SP_AudioDecoderConfig *config)
 
PP_Bool(* NewVideoConfig )(PP_Instance instance, int32_t stream_id, const struct PP_SP_VideoDecoderConfig *config)
 
PP_Bool(* NewBuffers )(PP_Instance instance, int32_t stream_id, PP_StreamType type, int32_t track_id, PP_Resource buffer, uint32_t frames_count, const struct PP_Frames frames[])
 
void(* NewMediaSegment )(PP_Instance instance, int32_t stream_id, PP_MicrosecondsDelta timestamp)
 
void(* EndOfSegment )(PP_Instance instance, int32_t stream_id)
 
PP_Bool(* NeedKey )(PP_Instance instance, int32_t stream_id, struct PP_Var type, struct PP_Var init_data)
 

Detailed Description

Abstract Interface used to parse media data streams

Definition at line 38 of file ppb_stream_parser_samsung.h.

Member Data Documentation

void(* PPB_StreamParser_Samsung_0_9::EndOfSegment)(PP_Instance instance, int32_t stream_id)

Definition at line 103 of file ppb_stream_parser_samsung.h.

PP_Bool(* PPB_StreamParser_Samsung_0_9::Init)(PP_Instance instance, int32_t stream_id, PP_Bool result, PP_MicrosecondsDelta duration)

Indicates completion of parser initialization. |stream_id| it's a id of stream, that Browser request to parse, if Borwser request parsing more that one stream of that type, it's allows to recognize that stream. On success, |result| is set to PP_OK, or PP_FALSE if an error occurred. If initialization is success, the |duration| contains stream duration (in microseconds).

Definition at line 57 of file ppb_stream_parser_samsung.h.

PP_Bool(* PPB_StreamParser_Samsung_0_9::NeedKey)(PP_Instance instance, int32_t stream_id, struct PP_Var type, struct PP_Var init_data)

A new potentialy encrypted stream has been parsed. |type| describes type of the initialization data |init_data| associated with the stream.

Definition at line 108 of file ppb_stream_parser_samsung.h.

PP_Bool(* PPB_StreamParser_Samsung_0_9::NewAudioConfig)(PP_Instance instance, int32_t stream_id, const struct PP_SP_AudioDecoderConfig *config)

Indicates when new audio configuration have been parsed, |config| it's a configuration struct

Definition at line 65 of file ppb_stream_parser_samsung.h.

PP_Bool(* PPB_StreamParser_Samsung_0_9::NewBuffers)(PP_Instance instance, int32_t stream_id, PP_StreamType type, int32_t track_id, PP_Resource buffer, uint32_t frames_count, const struct PP_Frames frames[])

New stream buffers have been parsed, |type| indicates type of track it's enum defined in pp_stream_parser_samsung.h, |track_id| it's id of track, useful if is more that one track of that type, and |frames| is a |PP_VarArray| that contains X structures of |PP_Frames| (that contains information like |is_key_frame| flag |PP_Bool|, |size| of frame, |duration| time, decode timestamp or presentation timestamp |PP_MicrosecondsDelta|. X is the number of frames that be sended, and size of PP_VarArray is X*sizeof(PP_Frames). Frames data are send by buffer. |buffer| size must be of at least sum of all frames |size|.

Definition at line 86 of file ppb_stream_parser_samsung.h.

void(* PPB_StreamParser_Samsung_0_9::NewMediaSegment)(PP_Instance instance, int32_t stream_id, PP_MicrosecondsDelta timestamp)

Signals the beginning od a new media segment, |timestamp| the earliest timestamp of all the streams in the segment

Definition at line 97 of file ppb_stream_parser_samsung.h.

PP_Bool(* PPB_StreamParser_Samsung_0_9::NewVideoConfig)(PP_Instance instance, int32_t stream_id, const struct PP_SP_VideoDecoderConfig *config)

Indicates when new video configuration have been parsed, |config| it's a configuration struct

Definition at line 72 of file ppb_stream_parser_samsung.h.

PP_Bool(* PPB_StreamParser_Samsung_0_9::RegisterParser)(PP_Instance instance, struct PP_Var stream_type, const struct PPP_StreamParser_Samsung_0_9 *stream_parser_interface, void *user_data)

Used for registering stream parser in Browser. |stream_type| is a MIME type of stream, to witch parser be registered. |interface_id| is an id of PPP interface, received at interface registration process.

Definition at line 44 of file ppb_stream_parser_samsung.h.


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