gavl
Data Fields
gavl_video_format_s Struct Reference

Video format. More...

#include <gavl.h>

Data Fields

uint32_t frame_width
 
uint32_t frame_height
 
uint32_t image_width
 
uint32_t image_height
 
uint32_t pixel_width
 
uint32_t pixel_height
 
gavl_pixelformat_t pixelformat
 
uint32_t frame_duration
 
uint32_t timescale
 
gavl_framerate_mode_t framerate_mode
 
gavl_chroma_placement_t chroma_placement
 
gavl_interlace_mode_t interlace_mode
 
gavl_timecode_format_t timecode_format
 

Detailed Description

Video format.

Field Documentation

uint32_t gavl_video_format_s::frame_width

Width of the frame buffer in pixels, might be larger than image_width

uint32_t gavl_video_format_s::frame_height

Height of the frame buffer in pixels, might be larger than image_height

uint32_t gavl_video_format_s::image_width

Width of the image in pixels

uint32_t gavl_video_format_s::image_height

Height of the image in pixels

uint32_t gavl_video_format_s::pixel_width

Relative width of a pixel (pixel aspect ratio is pixel_width/pixel_height)

uint32_t gavl_video_format_s::pixel_height

Relative height of a pixel (pixel aspect ratio is pixel_width/pixel_height)

gavl_pixelformat_t gavl_video_format_s::pixelformat

Pixelformat

uint32_t gavl_video_format_s::frame_duration

Duration of a frame in timescale tics. Meaningful only if framerate_mode is GAVL_FRAMERATE_CONSTANT

uint32_t gavl_video_format_s::timescale

Timescale in tics per second

gavl_framerate_mode_t gavl_video_format_s::framerate_mode

Framerate mode

gavl_chroma_placement_t gavl_video_format_s::chroma_placement

Chroma placement

gavl_interlace_mode_t gavl_video_format_s::interlace_mode

Interlace mode

gavl_timecode_format_t gavl_video_format_s::timecode_format

Optional timecode format


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