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
void(* destroy )(struct gavl_video_frame_s *, void *priv)
void * destroy_priv
gavl_rectangle_i_t src_rect
 Valid rectangle in this frame (since 1.5.0) */.
int32_t dst_x
 x offset in the destination frame. (since 1.5.0) */
int32_t dst_y
 y offset in the destination frame. (since 1.5.0) */

Detailed Description

Video frame


Field Documentation

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

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

Timestamp in stream specific units (see Video format definitions)

Duration in stream specific units (see Video format definitions)

Interlace mode

Timecode associated with this frame

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

void(* gavl_video_frame_s::destroy)(struct gavl_video_frame_s *, void *priv)

Function for destroying this frame (since 1.5.0)

Private data to pass to destroy() (since 1.5.0)

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

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

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


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