Pepper_47_C_interfaces
|
#include <ppb_video_frame.h>
Public Attributes | |
PP_Bool(* | IsVideoFrame )(PP_Resource resource) |
PP_TimeDelta(* | GetTimestamp )(PP_Resource frame) |
void(* | SetTimestamp )(PP_Resource frame, PP_TimeDelta timestamp) |
PP_VideoFrame_Format(* | GetFormat )(PP_Resource frame) |
PP_Bool(* | GetSize )(PP_Resource frame, struct PP_Size *size) |
void *(* | GetDataBuffer )(PP_Resource frame) |
uint32_t(* | GetDataBufferSize )(PP_Resource frame) |
Definition at line 61 of file ppb_video_frame.h.
void*(* PPB_VideoFrame_0_1::GetDataBuffer)(PP_Resource frame) |
Gets the data buffer for video frame pixels.
[in] | frame | A PP_Resource corresponding to a video frame resource. |
Definition at line 121 of file ppb_video_frame.h.
uint32_t(* PPB_VideoFrame_0_1::GetDataBufferSize)(PP_Resource frame) |
Gets the size of data buffer.
[in] | frame | A PP_Resource corresponding to a video frame resource. |
Definition at line 130 of file ppb_video_frame.h.
PP_VideoFrame_Format(* PPB_VideoFrame_0_1::GetFormat)(PP_Resource frame) |
Gets the format of the video frame.
[in] | frame | A PP_Resource corresponding to a video frame resource. |
PP_VideoFrame_Format
containing the format of the video frame. Definition at line 101 of file ppb_video_frame.h.
PP_Bool(* PPB_VideoFrame_0_1::GetSize)(PP_Resource frame, struct PP_Size *size) |
Gets the size of the video frame.
[in] | frame | A PP_Resource corresponding to a video frame resource. |
[out] | size | A PP_Size . |
PP_Bool
with PP_TRUE
on success or PP_FALSE
on failure. Definition at line 112 of file ppb_video_frame.h.
PP_TimeDelta(* PPB_VideoFrame_0_1::GetTimestamp)(PP_Resource frame) |
Gets the timestamp of the video frame.
[in] | frame | A PP_Resource corresponding to a video frame resource. |
PP_TimeDelta
containing the timestamp of the video frame. Given in seconds since the start of the containing video stream. Definition at line 80 of file ppb_video_frame.h.
PP_Bool(* PPB_VideoFrame_0_1::IsVideoFrame)(PP_Resource resource) |
Determines if a resource is a VideoFrame resource.
[in] | resource | The PP_Resource to test. |
PP_Bool
with PP_TRUE
if the given resource is a VideoFrame resource or PP_FALSE
otherwise. Definition at line 70 of file ppb_video_frame.h.
void(* PPB_VideoFrame_0_1::SetTimestamp)(PP_Resource frame, PP_TimeDelta timestamp) |
Sets the timestamp of the video frame. Given in seconds since the start of the containing video stream.
[in] | frame | A PP_Resource corresponding to a video frame resource. |
[in] | timestamp | A PP_TimeDelta containing the timestamp of the video frame. Given in seconds since the start of the containing video stream. |
Definition at line 91 of file ppb_video_frame.h.