Data Fields


Field Documentation

Gets the data buffer for video frame pixels.

Parameters:
[in]frameA PP_Resource corresponding to a video frame resource.
Returns:
A pointer to the beginning of the data buffer.

Gets the size of data buffer.

Parameters:
[in]frameA PP_Resource corresponding to a video frame resource.
Returns:
The size of the data buffer.

Gets the format of the video frame.

Parameters:
[in]frameA PP_Resource corresponding to a video frame resource.
Returns:
A PP_VideoFrame_Format containing the format of the video frame.

Gets the size of the video frame.

Parameters:
[in]frameA PP_Resource corresponding to a video frame resource.
[out]sizeA PP_Size.
Returns:
A PP_Bool with PP_TRUE on success or PP_FALSE on failure.

Gets the timestamp of the video frame.

Parameters:
[in]frameA PP_Resource corresponding to a video frame resource.
Returns:
A PP_TimeDelta containing the timestamp of the video frame. Given in seconds since the start of the containing video stream.

Determines if a resource is a VideoFrame resource.

Parameters:
[in]resourceThe PP_Resource to test.
Returns:
A PP_Bool with PP_TRUE if the given resource is a VideoFrame resource or PP_FALSE otherwise.

Sets the timestamp of the video frame.

Given in seconds since the start of the containing video stream.

Parameters:
[in]frameA PP_Resource corresponding to a video frame resource.
[in]timestampA PP_TimeDelta containing the timestamp of the video frame. Given in seconds since the start of the containing video stream.

The documentation for this struct was generated from the following file:
This site uses cookies to deliver and enhance the quality of its services and to analyze traffic. If you agree, cookies are also used to serve advertising and to personalize the content and advertisements that you see. Learn more about our use of cookies.