Pepper_31_C_interfaces
Public Attributes | List of all members
PPP_StreamParser_Samsung_0_9 Struct Reference

#include <ppp_stream_parser_samsung.h>

Collaboration diagram for PPP_StreamParser_Samsung_0_9:
Collaboration graph

Public Attributes

PP_Bool(* Init )(PP_Instance instance, int32_t stream_id, void *user_data)
 
void(* Flush )(PP_Instance instance, int32_t stream_id, void *user_data)
 
PP_Bool(* Parse )(PP_Instance instance, int32_t stream_id, PP_Resource data, void *user_data)
 
void(* Close )(PP_Instance instance, int32_t stream_id, void *user_data)
 

Detailed Description

Abstract Interface used to parse media data streams

Definition at line 34 of file ppp_stream_parser_samsung.h.

Member Data Documentation

void(* PPP_StreamParser_Samsung_0_9::Close)(PP_Instance instance, int32_t stream_id, void *user_data)

Called when end of parsing that stream. Unlike the Flush, this method clears all data stored by parser, flush buffers an get ready to new Init.

Definition at line 59 of file ppp_stream_parser_samsung.h.

void(* PPP_StreamParser_Samsung_0_9::Flush)(PP_Instance instance, int32_t stream_id, void *user_data)

Called when a seek occurs. This flushes the current parser state and puts the parser in a state where it can receive data for the new seek point.

Definition at line 45 of file ppp_stream_parser_samsung.h.

PP_Bool(* PPP_StreamParser_Samsung_0_9::Init)(PP_Instance instance, int32_t stream_id, void *user_data)

Initialize the parser. Must be called before any data is passed to Parse(). |stream_type| describe type of stream to parse (should be one of type, passed in PPB RegisterParser). |stream_id| it's a id of stream to parse.

Definition at line 40 of file ppp_stream_parser_samsung.h.

PP_Bool(* PPP_StreamParser_Samsung_0_9::Parse)(PP_Instance instance, int32_t stream_id, PP_Resource data, void *user_data)

Called when there is new data to parse. |data| contains stream to parse.

Return PP_OK if the parse succeds

Definition at line 51 of file ppp_stream_parser_samsung.h.


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