Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_VideoElementaryStream_Samsung_1_0 Struct Reference

#include <ppb_media_data_source_samsung.h>

Collaboration diagram for PPB_VideoElementaryStream_Samsung_1_0:
Collaboration graph

Public Attributes

PP_Bool(* IsVideoElementaryStream )(PP_Resource resource)
 
PP_VideoCodec_Type_Samsung(* GetVideoCodecType )(PP_Resource stream)
 
void(* SetVideoCodecType )(PP_Resource stream, PP_VideoCodec_Type_Samsung video_codec)
 
PP_VideoCodec_Profile_Samsung(* GetVideoCodecProfile )(PP_Resource stream)
 
void(* SetVideoCodecProfile )(PP_Resource stream, PP_VideoCodec_Profile_Samsung profile)
 
PP_VideoFrame_Format_Samsung(* GetVideoFrameFormat )(PP_Resource stream)
 
void(* SetVideoFrameFormat )(PP_Resource stream, PP_VideoFrame_Format_Samsung frame_format)
 
void(* GetVideoFrameSize )(PP_Resource stream, struct PP_Size *size)
 
void(* SetVideoFrameSize )(PP_Resource stream, const struct PP_Size *size)
 
void(* GetFrameRate )(PP_Resource stream, uint32_t *numerator, uint32_t *denominator)
 
void(* SetFrameRate )(PP_Resource stream, uint32_t numerator, uint32_t denominator)
 
void(* SetCodecExtraData )(PP_Resource stream, uint32_t extra_data_size, const void *extra_data)
 

Detailed Description

Interface representing an video elementary stream and containing methods to set video codec specific configuration.

All pending configuration changes/initialization must be confirmed by call to PPB_ElementaryStream_Samsung.InitializeDone.

All getters return last set configuration, which might be not confirmed yet.

Definition at line 606 of file ppb_media_data_source_samsung.h.

Member Data Documentation

void(* PPB_VideoElementaryStream_Samsung_1_0::GetFrameRate)(PP_Resource stream, uint32_t *numerator, uint32_t *denominator)

Retrieves current video frame rate as rational number represented by fraction |numerator| / |denominator|.

Both |numerator| and |denominator| must be non-null, otherwise no information is retrieved.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[out]numeratorA dividend of the quotient.
[out]denominatorA divisor of the quotient.

Definition at line 699 of file ppb_media_data_source_samsung.h.

PP_VideoCodec_Profile_Samsung(* PPB_VideoElementaryStream_Samsung_1_0::GetVideoCodecProfile)(PP_Resource stream)

Retrieves current video codec profile.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
Returns
Current audio codec profile.

Definition at line 643 of file ppb_media_data_source_samsung.h.

PP_VideoCodec_Type_Samsung(* PPB_VideoElementaryStream_Samsung_1_0::GetVideoCodecType)(PP_Resource stream)

Retrieves current video codec type.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
Returns
Current video codec type.

Definition at line 625 of file ppb_media_data_source_samsung.h.

PP_VideoFrame_Format_Samsung(* PPB_VideoElementaryStream_Samsung_1_0::GetVideoFrameFormat)(PP_Resource stream)

Retrieves current video frame format.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
Returns
Current video frame format.

Definition at line 661 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::GetVideoFrameSize)(PP_Resource stream, struct PP_Size *size)

Retrieves current video frame size in pixels.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[out]sizeCurrent video frame size in pixels.

Definition at line 678 of file ppb_media_data_source_samsung.h.

PP_Bool(* PPB_VideoElementaryStream_Samsung_1_0::IsVideoElementaryStream)(PP_Resource resource)

Determines if the given resource is an video elementary stream.

Parameters
[in]resourceA PP_Resource identifying a resource.
Returns
PP_TRUE if the resource is a PPB_VideoElementaryStream_Samsung, PP_FALSE if the resource is invalid or some other type.

Definition at line 616 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::SetCodecExtraData)(PP_Resource stream, uint32_t extra_data_size, const void *extra_data)

Sets video codec specific extra data. Those data are needed by video codec to initialize properly video decoding.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[in]extra_data_sizeSize in bytes of |extra_data| buffer.
[in]extra_dataA pointer to the buffer containing video codec specific extra data.

Definition at line 727 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::SetFrameRate)(PP_Resource stream, uint32_t numerator, uint32_t denominator)

Sets new video frame rate as rational number represented by fraction |numerator| / |denominator|.

Both |numerator| and |denominator| must be non-null, otherwise no information is set. Additionally |denominator| must be positive (!= 0).

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[in]numeratorA dividend of the quotient.
[in]denominatorA divisor of the quotient.

Definition at line 714 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::SetVideoCodecProfile)(PP_Resource stream, PP_VideoCodec_Profile_Samsung profile)

Sets new video codec profile.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[in]profileNew video codec profile.

Definition at line 651 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::SetVideoCodecType)(PP_Resource stream, PP_VideoCodec_Type_Samsung video_codec)

Sets new video codec type.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[in]audio_codecNew video codec type.

Definition at line 633 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::SetVideoFrameFormat)(PP_Resource stream, PP_VideoFrame_Format_Samsung frame_format)

Sets new video frame format.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[in]frame_formatNew video frame format.

Definition at line 669 of file ppb_media_data_source_samsung.h.

void(* PPB_VideoElementaryStream_Samsung_1_0::SetVideoFrameSize)(PP_Resource stream, const struct PP_Size *size)

Sets new video frame size in pixels.

Parameters
[in]streamA PP_Resource identifying the video elementary stream.
[in]sizeNew video frame size in pixels.

Definition at line 686 of file ppb_media_data_source_samsung.h.


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