gavl
Data Fields
gavl_video_frame_s Struct Reference

#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...
 

Detailed Description

Video frame

Field Documentation

◆ planes

uint8_t* gavl_video_frame_s::planes[GAVL_MAX_PLANES]

Pointers to the planes

◆ strides

int gavl_video_frame_s::strides[GAVL_MAX_PLANES]

For each plane, this stores the byte offset between the scanlines

◆ user_data

void* gavl_video_frame_s::user_data

For storing user data (e.g. the corresponding XImage)

◆ timestamp

int64_t gavl_video_frame_s::timestamp

Timestamp in stream specific units (see Video format definitions)

◆ duration

int64_t gavl_video_frame_s::duration

Duration in stream specific units (see Video format definitions)

◆ interlace_mode

gavl_interlace_mode_t gavl_video_frame_s::interlace_mode

Interlace mode

◆ timecode

gavl_timecode_t gavl_video_frame_s::timecode

Timecode associated with this frame

◆ refcount

int gavl_video_frame_s::refcount

Reference count: Means that the frame is still used (since 1.5.0)

◆ src_rect

gavl_rectangle_i_t gavl_video_frame_s::src_rect

Valid rectangle in this frame (since 1.5.0) *‍/.

◆ dst_x

int32_t gavl_video_frame_s::dst_x

x offset in the destination frame. (since 1.5.0) *‍/

◆ dst_y

int32_t gavl_video_frame_s::dst_y

y offset in the destination frame. (since 1.5.0) *‍/

◆ hwctx

gavl_hw_context_t* gavl_video_frame_s::hwctx

Handle for accessing the frame.


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