Pepper_47_C_interfaces
Public Attributes | List of all members
PP_VideoFrame_Private Struct Reference

#include <pp_video_frame_private.h>

Collaboration diagram for PP_VideoFrame_Private:
Collaboration graph

Public Attributes

PP_TimeTicks timestamp
 
PP_Resource image_data
 
int32_t padding
 

Detailed Description

The PP_VideoFrame_Private struct represents a video frame. Video sources and destinations use frames to transfer video to and from the browser.

Definition at line 31 of file pp_video_frame_private.h.

Member Data Documentation

PP_Resource PP_VideoFrame_Private::image_data

An image data resource to hold the video frame.

Definition at line 39 of file pp_video_frame_private.h.

int32_t PP_VideoFrame_Private::padding

Ensure that this struct is 16-bytes wide by padding the end. In some compilers, PP_TimeTicks is 8-byte aligned, so those compilers align this struct on 8-byte boundaries as well and pad it to 8 bytes even without this padding attribute. This padding makes its size consistent across compilers.

Definition at line 47 of file pp_video_frame_private.h.

PP_TimeTicks PP_VideoFrame_Private::timestamp

A timestamp placing the frame in a video stream.

Definition at line 35 of file pp_video_frame_private.h.


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