VLC  4.0.0-dev
Data Structures | Functions | Variables
display.c File Reference
Include dependency graph for display.c:

Data Structures

struct  vout_display_priv_t


static picture_tVideoBufferNew (filter_t *filter)
static int vout_display_Control (vout_display_t *vd, int query)
void vout_display_GetDefaultDisplaySize (unsigned *width, unsigned *height, const video_format_t *source, const vout_display_cfg_t *cfg)
 Computes the default display size given the source and the display configuration. More...
void vout_display_PlacePicture (vout_display_place_t *place, const video_format_t *source, const vout_display_cfg_t *cfg)
 Computes the intended picture placement inside the display. More...
void vout_display_TranslateMouseState (vout_display_t *vd, vlc_mouse_t *video, const vlc_mouse_t *window)
 Translates mouse state. More...
static int vout_display_start (void *func, bool forced, va_list ap)
static vlc_decoder_deviceDisplayHoldDecoderDevice (vlc_object_t *o, void *sys)
static int VoutDisplayCreateRender (vout_display_t *vd)
static void VoutDisplayCropRatio (int *left, int *top, int *right, int *bottom, const video_format_t *source, unsigned num, unsigned den)
picture_pool_tvout_GetPool (vout_display_t *vd, unsigned count)
 It retreives a picture pool from the display. More...
bool vout_IsDisplayFiltered (vout_display_t *vd)
picture_tvout_ConvertForDisplay (vout_display_t *vd, picture_t *picture)
picture_tvout_display_Prepare (vout_display_t *vd, picture_t *picture, subpicture_t *subpic, vlc_tick_t date)
 Prepares a picture for display. More...
void vout_FilterFlush (vout_display_t *vd)
static void vout_display_Reset (vout_display_t *vd)
static int vout_UpdateSourceCrop (vout_display_t *vd)
static int vout_SetSourceAspect (vout_display_t *vd, unsigned sar_num, unsigned sar_den)
void VoutFixFormatAR (video_format_t *fmt)
void vout_UpdateDisplaySourceProperties (vout_display_t *vd, const video_format_t *source, const vlc_rational_t *forced_dar)
void vout_display_SetSize (vout_display_t *vd, unsigned width, unsigned height)
void vout_SetDisplayFilled (vout_display_t *vd, bool is_filled)
void vout_SetDisplayZoom (vout_display_t *vd, unsigned num, unsigned den)
void vout_SetDisplayAspect (vout_display_t *vd, unsigned dar_num, unsigned dar_den)
void vout_SetDisplayCrop (vout_display_t *vd, const struct vout_crop *restrict crop)
void vout_SetDisplayViewpoint (vout_display_t *vd, const vlc_viewpoint_t *p_viewpoint)
vout_display_tvout_display_New (vlc_object_t *parent, const video_format_t *source, vlc_video_context *vctx, const vout_display_cfg_t *cfg, const char *module, const vout_display_owner_t *owner)
 Creates video output display. More...
void vout_display_Delete (vout_display_t *vd)
 Destroys a video output display. More...


static const struct filter_video_callbacks vout_display_filter_cbs

Function Documentation

◆ DisplayHoldDecoderDevice()

static vlc_decoder_device* DisplayHoldDecoderDevice ( vlc_object_t o,
void *  sys 

◆ VideoBufferNew()

static picture_t* VideoBufferNew ( filter_t filter)

◆ vout_ConvertForDisplay()

picture_t* vout_ConvertForDisplay ( vout_display_t vd,
picture_t picture 

◆ vout_display_Control()

static int vout_display_Control ( vout_display_t vd,
int  query 

◆ vout_display_Reset()

static void vout_display_Reset ( vout_display_t vd)

◆ vout_display_start()

static int vout_display_start ( void *  func,
bool  forced,
va_list  ap 

◆ vout_FilterFlush()

void vout_FilterFlush ( vout_display_t vd)

◆ vout_GetPool()

picture_pool_t* vout_GetPool ( vout_display_t vd,
unsigned  count 

It retreives a picture pool from the display.

References container_of, count, vout_display_t::fmt, picture_pool_NewFromFormat(), and vout_display_priv_t::pool.

Referenced by VideoBufferNew(), and vout_OpenWrapper().

◆ vout_IsDisplayFiltered()

bool vout_IsDisplayFiltered ( vout_display_t vd)

◆ vout_SetDisplayAspect()

void vout_SetDisplayAspect ( vout_display_t vd,
unsigned  dar_num,
unsigned  dar_den 

◆ vout_SetDisplayCrop()

void vout_SetDisplayCrop ( vout_display_t vd,
const struct vout_crop *restrict  crop 

◆ vout_SetDisplayFilled()

void vout_SetDisplayFilled ( vout_display_t vd,
bool  is_filled 

◆ vout_SetDisplayViewpoint()

void vout_SetDisplayViewpoint ( vout_display_t vd,
const vlc_viewpoint_t p_viewpoint 

◆ vout_SetDisplayZoom()

void vout_SetDisplayZoom ( vout_display_t vd,
unsigned  num,
unsigned  den 

◆ vout_SetSourceAspect()

static int vout_SetSourceAspect ( vout_display_t vd,
unsigned  sar_num,
unsigned  sar_den 

◆ vout_UpdateDisplaySourceProperties()

void vout_UpdateDisplaySourceProperties ( vout_display_t vd,
const video_format_t source,
const vlc_rational_t forced_dar 

◆ vout_UpdateSourceCrop()

static int vout_UpdateSourceCrop ( vout_display_t vd)

◆ VoutDisplayCreateRender()

static int VoutDisplayCreateRender ( vout_display_t vd)

◆ VoutDisplayCropRatio()

static void VoutDisplayCropRatio ( int *  left,
int *  top,
int *  right,
int *  bottom,
const video_format_t source,
unsigned  num,
unsigned  den 

◆ VoutFixFormatAR()

void VoutFixFormatAR ( video_format_t fmt)

Variable Documentation

◆ vout_display_filter_cbs

const struct filter_video_callbacks vout_display_filter_cbs
Initial value:
= {
static picture_t * VideoBufferNew(filter_t *filter)
Definition: display.c:50
static vlc_decoder_device * DisplayHoldDecoderDevice(vlc_object_t *o, void *sys)
Definition: display.c:301

Referenced by VoutDisplayCreateRender().