Pepper_47_C_interfaces
|
#include <ppb_media_data_source_samsung.h>
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) |
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.
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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[out] | numerator | A dividend of the quotient. |
[out] | denominator | A 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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[out] | size | Current 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.
[in] | resource | A PP_Resource identifying a resource. |
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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[in] | extra_data_size | Size in bytes of |extra_data| buffer. |
[in] | extra_data | A 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).
[in] | stream | A PP_Resource identifying the video elementary stream. |
[in] | numerator | A dividend of the quotient. |
[in] | denominator | A 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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[in] | profile | New 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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[in] | audio_codec | New 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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[in] | frame_format | New 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.
[in] | stream | A PP_Resource identifying the video elementary stream. |
[in] | size | New video frame size in pixels. |
Definition at line 686 of file ppb_media_data_source_samsung.h.