Pepper_37_C_interfaces
Public Attributes | List of all members
PPB_SourceBuffer_Samsung_0_10 Struct Reference

#include <ppb_source_buffer_samsung.h>

Collaboration diagram for PPB_SourceBuffer_Samsung_0_10:
Collaboration graph

Public Attributes

PP_Bool(* IsSourceBuffer )(PP_Resource resource)
 
int32_t(* IsSourceActive )(PP_Resource buffer, PP_Bool *active, struct PP_CompletionCallback callback)
 
int32_t(* Append )(PP_Resource buffer, const void *data, uint32_t bytes_to_append, struct PP_CompletionCallback callback)
 
int32_t(* Abort )(PP_Resource buffer, struct PP_CompletionCallback callback)
 
int32_t(* SetTimestampOffset )(PP_Resource buffer, PP_MicrosecondsDelta offset, struct PP_CompletionCallback callback)
 
int32_t(* GetTimestampOffset )(PP_Resource buffer, PP_MicrosecondsDelta *output, struct PP_CompletionCallback callback)
 
int32_t(* ReadTimeRanges )(PP_Resource buffer, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)
 

Detailed Description

Definition at line 45 of file ppb_source_buffer_samsung.h.

Member Data Documentation

int32_t(* PPB_SourceBuffer_Samsung_0_10::Abort)(PP_Resource buffer, struct PP_CompletionCallback callback)

Aborts given data source Execution is confirmed by calling |callback|.

Definition at line 73 of file ppb_source_buffer_samsung.h.

int32_t(* PPB_SourceBuffer_Samsung_0_10::Append)(PP_Resource buffer, const void *data, uint32_t bytes_to_append, struct PP_CompletionCallback callback)

Appends data to this buffer. Execution is confirmed by calling |callback|. May return errors in callback:

  • PP_OK - when Append finished without errors
  • PP_ERROR_BADRESOURCE - when PP_Resource is invalid
  • PP_ERROR_FAILED when Append failed

Definition at line 65 of file ppb_source_buffer_samsung.h.

int32_t(* PPB_SourceBuffer_Samsung_0_10::GetTimestampOffset)(PP_Resource buffer, PP_MicrosecondsDelta *output, struct PP_CompletionCallback callback)

Gets offset in microseconds of selected stream

Definition at line 82 of file ppb_source_buffer_samsung.h.

int32_t(* PPB_SourceBuffer_Samsung_0_10::IsSourceActive)(PP_Resource buffer, PP_Bool *active, struct PP_CompletionCallback callback)

Checks if the source is active i.e. it contains video, audio or text (subtitle) track being played

Definition at line 54 of file ppb_source_buffer_samsung.h.

PP_Bool(* PPB_SourceBuffer_Samsung_0_10::IsSourceBuffer)(PP_Resource resource)

Checks if given resource is Source Buffer.

Definition at line 49 of file ppb_source_buffer_samsung.h.

int32_t(* PPB_SourceBuffer_Samsung_0_10::ReadTimeRanges)(PP_Resource buffer, struct PP_ArrayOutput output, struct PP_CompletionCallback callback)

Read ranges of buffered media stream.

|output| - An output array which will receive PP_TimeRange structures on success.

The browser can not allocate memory on behalf of the plugin because the plugin and browser may have different allocators. A PP_ArrayOutput must be provided so that output will be stored in its allocated buffer.

Definition at line 96 of file ppb_source_buffer_samsung.h.

int32_t(* PPB_SourceBuffer_Samsung_0_10::SetTimestampOffset)(PP_Resource buffer, PP_MicrosecondsDelta offset, struct PP_CompletionCallback callback)

Sets a time offset (in microseconds) to be applied to subsequent buffers appended to the given buffer.

Definition at line 78 of file ppb_source_buffer_samsung.h.


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