|
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 |
| 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) */. 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... | |
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)
| void(* gavl_video_frame_s::destroy)(struct gavl_video_frame_s *, void *priv) |
Function for destroying this frame (since 1.5.0)
| void* gavl_video_frame_s::destroy_priv |
Private data to pass to destroy() (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) */
1.8.6