List of all members.
Public Member Functions
Constructor & Destructor Documentation
Constructs a VideoFrame
from a Resource
.
- Parameters:
-
[in] | resource | A PPB_VideoFrame resource. |
A constructor used when you have received a PP_Resource
as a return value that has had 1 ref added for you.
- Parameters:
-
[in] | resource | A PPB_VideoFrame resource. |
Member Function Documentation
Gets the data buffer for video frame pixels.
- Returns:
- A pointer to the beginning of the data buffer.
Gets the size of data buffer in bytes.
- Returns:
- The size of the data buffer in bytes.
Gets the format of the video frame.
- Returns:
- A
PP_VideoFrame_Format
containing the format of the video frame.
Gets the size of the video frame.
- Parameters:
-
- Returns:
- True on success or false on failure.
Gets the timestamp of the video frame.
- Returns:
- A
PP_TimeDelta
containing the timestamp of the video frame. Given in seconds since the start of the containing video stream.
Sets the timestamp of the video frame.
- Parameters:
-
[in] | timestamp | A PP_TimeDelta containing the timestamp of the video frame. Given in seconds since the start of the containing video stream. |
The documentation for this class was generated from the following file: