gavl
|
#include <gavl.h>
Data Fields | |
uint8_t * | planes [GAVL_MAX_PLANES] |
int | strides [GAVL_MAX_PLANES] |
void * | user_data |
int64_t | timestamp |
int64_t | duration |
gavl_interlace_mode_t | interlace_mode |
gavl_timecode_t | timecode |
int | refcount |
gavl_rectangle_i_t | src_rect |
Valid rectangle in this frame (since 1.5.0) */. More... | |
int32_t | dst_x |
x offset in the destination frame. (since 1.5.0) */ More... | |
int32_t | dst_y |
y offset in the destination frame. (since 1.5.0) */ More... | |
gavl_hw_context_t * | hwctx |
Handle for accessing the frame. More... | |
Video frame
uint8_t* gavl_video_frame_s::planes[GAVL_MAX_PLANES] |
Pointers to the planes
int gavl_video_frame_s::strides[GAVL_MAX_PLANES] |
For each plane, this stores the byte offset between the scanlines
void* gavl_video_frame_s::user_data |
For storing user data (e.g. the corresponding XImage)
int64_t gavl_video_frame_s::timestamp |
Timestamp in stream specific units (see Video format definitions)
int64_t gavl_video_frame_s::duration |
Duration in stream specific units (see Video format definitions)
gavl_interlace_mode_t gavl_video_frame_s::interlace_mode |
Interlace mode
gavl_timecode_t gavl_video_frame_s::timecode |
Timecode associated with this frame
int gavl_video_frame_s::refcount |
Reference count: Means that the frame is still used (since 1.5.0)
gavl_rectangle_i_t gavl_video_frame_s::src_rect |
Valid rectangle in this frame (since 1.5.0) */.
int32_t gavl_video_frame_s::dst_x |
x offset in the destination frame. (since 1.5.0) */
int32_t gavl_video_frame_s::dst_y |
y offset in the destination frame. (since 1.5.0) */
gavl_hw_context_t* gavl_video_frame_s::hwctx |
Handle for accessing the frame.