VLC 4.0.0-dev
No Matches
display.c File Reference
Include dependency graph for display.c:

Data Structures

struct  pooled_filter_chain
struct  vout_display_priv_t


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 struct vout_display_placement *dp)
 Computes the default display size given the source and the display configuration.
static void vout_display_PlaceRotatedPicture (vout_display_place_t *restrict place, const video_format_t *restrict source, const struct vout_display_placement *restrict dp)
void vout_display_PlacePicture (vout_display_place_t *restrict place, const video_format_t *restrict source, const struct vout_display_placement *restrict dp)
void vout_display_TranslateCoordinates (int *restrict xp, int *restrict yp, const video_format_t *restrict source, const struct vout_display_placement *restrict dp)
 Translates window coordinates to video coordinates.
static bool PlaceVideoInDisplay (vout_display_priv_t *osys)
static picture_tSourceConverterBuffer (filter_t *filter)
static vlc_decoder_deviceDisplayHoldDecoderDevice (vlc_object_t *o, void *sys)
static void VoutConverterRelease (struct pooled_filter_chain *conv)
static struct pooled_filter_chainVoutSetupConverter (vlc_object_t *o, filter_owner_t *owner, const video_format_t *fmt_in, vlc_video_context *vctx_in, const video_format_t *fmt_out)
static int VoutDisplayCreateRender (vout_display_t *vd)
static void VoutDisplayCropRatio (unsigned *left, unsigned *top, unsigned *right, unsigned *bottom, const video_format_t *source, unsigned num, unsigned den)
picture_tvout_ConvertForDisplay (vout_display_t *vd, picture_t *picture)
picture_tvout_display_Prepare (vout_display_t *vd, picture_t *picture, const vlc_render_subpicture *subpic, vlc_tick_t date)
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_SetDisplayFitting (vout_display_t *vd, enum vlc_video_fitting fit)
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)
void vout_SetDisplayIccProfile (vout_display_t *vd, const vlc_icc_profile_t *profile)
int vout_SetDisplayFormat (vout_display_t *vd, const video_format_t *fmt, vlc_video_context *vctx)
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.
void vout_display_Delete (vout_display_t *vd)
 Destroys a video output display.


static const struct filter_video_callbacks vout_display_filter_cbs

Function Documentation

◆ DisplayHoldDecoderDevice()

static vlc_decoder_device * DisplayHoldDecoderDevice ( vlc_object_t o,
void *  sys 

◆ PlaceVideoInDisplay()

◆ SourceConverterBuffer()

◆ vout_ConvertForDisplay()

◆ vout_display_Control()

◆ vout_display_PlacePicture()

void vout_display_PlacePicture ( vout_display_place_t *restrict  place,
const video_format_t *restrict  source,
const struct vout_display_placement *restrict  dp 

◆ vout_display_PlaceRotatedPicture()

◆ vout_display_Prepare()

picture_t * vout_display_Prepare ( vout_display_t vd,
picture_t picture,
const vlc_render_subpicture subpic,
vlc_tick_t  date 

◆ vout_display_Reset()

◆ vout_display_TranslateCoordinates()

◆ vout_FilterFlush()

◆ vout_SetDisplayAspect()

◆ vout_SetDisplayCrop()

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

◆ vout_SetDisplayFitting()

◆ vout_SetDisplayFormat()

◆ vout_SetDisplayIccProfile()

◆ vout_SetDisplayViewpoint()

◆ vout_SetDisplayZoom()

◆ vout_SetSourceAspect()

◆ vout_UpdateDisplaySourceProperties()

◆ vout_UpdateSourceCrop()

◆ VoutConverterRelease()

◆ VoutDisplayCreateRender()

◆ VoutDisplayCropRatio()

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

◆ VoutFixFormatAR()

◆ VoutSetupConverter()

Variable Documentation

◆ vout_display_filter_cbs

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

Referenced by VoutDisplayCreateRender().