VLC 4.0.0-dev
|
Data Structures | |
struct | vout_display_priv_t |
Variables | |
static const struct filter_video_callbacks | vout_display_filter_cbs |
|
static |
References container_of, vout_display_priv_t::src_vctx, VLC_UNUSED, and vlc_video_context_HoldDevice().
picture_t * vout_ConvertForDisplay | ( | vout_display_t * | vd, |
picture_t * | picture | ||
) |
References container_of, vout_display_priv_t::converters, filter_chain_VideoFilter(), and picture_Release().
Referenced by PrerenderPicture(), and vout_display_Prepare().
|
static |
References vlc_display_operations::control, and vout_display_t::ops.
Referenced by vout_display_SetSize(), vout_SetDisplayFitting(), vout_SetDisplayZoom(), vout_SetSourceAspect(), and vout_UpdateSourceCrop().
void vout_display_PlacePicture | ( | vout_display_place_t *restrict | place, |
const video_format_t *restrict | source, | ||
const struct vout_display_placement *restrict | dp | ||
) |
References PROJECTION_MODE_RECTANGULAR, video_format_ApplyRotation(), VLC_VIDEO_ALIGN_BOTTOM, VLC_VIDEO_ALIGN_LEFT, VLC_VIDEO_ALIGN_RIGHT, VLC_VIDEO_ALIGN_TOP, VLC_VIDEO_FIT_HEIGHT, VLC_VIDEO_FIT_LARGER, VLC_VIDEO_FIT_NONE, VLC_VIDEO_FIT_SMALLER, VLC_VIDEO_FIT_WIDTH, and vout_display_GetDefaultDisplaySize().
Referenced by PrerenderPicture(), and vout_display_TranslateCoordinates().
|
static |
References container_of, vout_display_priv_t::converters, vout_display_priv_t::display_fmt, filter_chain_Delete(), msg_Err, vout_display_t::ops, picture_pool_Release(), vout_display_priv_t::pool, vlc_display_operations::reset_pictures, VLC_SUCCESS, and VoutDisplayCreateRender().
Referenced by vout_display_SetSize(), vout_SetDisplayAspect(), vout_SetDisplayCrop(), vout_SetDisplayFitting(), vout_SetDisplayZoom(), and vout_UpdateDisplaySourceProperties().
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.
References vout_display_place_t::height, ORIENT_BOTTOM_LEFT, ORIENT_BOTTOM_RIGHT, ORIENT_LEFT_BOTTOM, ORIENT_LEFT_TOP, ORIENT_RIGHT_BOTTOM, ORIENT_RIGHT_TOP, ORIENT_TOP_LEFT, ORIENT_TOP_RIGHT, vlc_assert_unreachable, vout_display_PlacePicture(), vout_display_place_t::width, vout_display_place_t::x, and vout_display_place_t::y.
Referenced by vout_display_window_MouseEvent().
void vout_FilterFlush | ( | vout_display_t * | vd | ) |
References container_of, vout_display_priv_t::converters, and filter_chain_VideoFlush().
Referenced by vout_FlushUnlocked().
picture_pool_t * vout_GetPool | ( | vout_display_t * | vd, |
unsigned | count | ||
) |
It retrieves a picture pool from the display.
References container_of, count, vout_display_priv_t::display_fmt, picture_pool_NewFromFormat(), and vout_display_priv_t::pool.
Referenced by VideoBufferNew(), and vout_OpenWrapper().
bool vout_IsDisplayFiltered | ( | vout_display_t * | vd | ) |
References container_of, vout_display_priv_t::converters, and filter_chain_IsEmpty().
Referenced by vout_OpenWrapper().
void vout_SetDisplayAspect | ( | vout_display_t * | vd, |
unsigned | dar_num, | ||
unsigned | dar_den | ||
) |
References container_of, video_format_t::i_visible_height, video_format_t::i_visible_width, vout_display_priv_t::source, vlc_ureduce(), vout_display_Reset(), and vout_SetSourceAspect().
Referenced by vout_ChangeDisplayAspectRatio(), and vout_Start().
void vout_SetDisplayCrop | ( | vout_display_t * | vd, |
const struct vout_crop *restrict | crop | ||
) |
References container_of, vout_display_priv_t::crop, vout_CropEqual(), vout_display_Reset(), and vout_UpdateSourceCrop().
Referenced by vout_ChangeCrop(), and vout_Start().
void vout_SetDisplayFitting | ( | vout_display_t * | vd, |
enum vlc_video_fitting | fit | ||
) |
int vout_SetDisplayFormat | ( | vout_display_t * | vd, |
const video_format_t * | fmt, | ||
vlc_video_context * | vctx | ||
) |
References container_of, vout_display_priv_t::converters, filter_chain_Clear(), vout_display_t::ops, video_format_t::p_palette, vout_display_priv_t::source, vout_display_priv_t::src_vctx, vlc_display_operations::update_format, video_format_Clean(), VLC_EGENERIC, VLC_SUCCESS, vlc_video_context_Hold(), and vlc_video_context_Release().
Referenced by ChangeFilters().
void vout_SetDisplayIccProfile | ( | vout_display_t * | vd, |
const vlc_icc_profile_t * | profile | ||
) |
References vout_display_priv_t::cfg, container_of, vout_display_cfg::icc_profile, vout_display_t::ops, and vlc_display_operations::set_icc_profile.
Referenced by vout_ChangeIccProfile().
void vout_SetDisplayViewpoint | ( | vout_display_t * | vd, |
const vlc_viewpoint_t * | p_viewpoint | ||
) |
void vout_SetDisplayZoom | ( | vout_display_t * | vd, |
unsigned | num, | ||
unsigned | den | ||
) |
References vout_display_priv_t::cfg, container_of, vlc_rational_t::den, vout_display_cfg::display, vout_display_placement::fitting, vlc_rational_t::num, VLC_VIDEO_FIT_NONE, VOUT_DISPLAY_CHANGE_ZOOM, vout_display_Control(), vout_display_Reset(), and vout_display_placement::zoom.
Referenced by vout_ChangeZoom().
|
static |
References container_of, vout_display_priv_t::crop, video_format_t::i_sar_den, video_format_t::i_sar_num, vout_crop::mode, vout_display_priv_t::source, VOUT_CROP_NONE, VOUT_DISPLAY_CHANGE_SOURCE_ASPECT, vout_display_Control(), and vout_UpdateSourceCrop().
Referenced by vout_SetDisplayAspect(), and vout_UpdateDisplaySourceProperties().
void vout_UpdateDisplaySourceProperties | ( | vout_display_t * | vd, |
const video_format_t * | source, | ||
const vlc_rational_t * | forced_dar | ||
) |
References container_of, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, vlc_rational_t::num, vout_display_priv_t::source, video_format_CopyCrop(), vout_display_Reset(), vout_SetSourceAspect(), vout_UpdateSourceCrop(), and VoutFixFormatAR().
Referenced by PrerenderPicture().
|
static |
References vout_crop::border, vout_crop::bottom, container_of, vout_display_priv_t::crop, vlc_rational_t::den, vout_crop::height, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, vout_crop::left, vout_crop::mode, vlc_rational_t::num, vout_crop::ratio, vout_crop::right, vout_display_priv_t::source, vout_crop::top, video_format_Print(), vlc_assert_unreachable, VLC_OBJECT, VOUT_CROP_BORDER, VOUT_CROP_NONE, VOUT_CROP_RATIO, VOUT_CROP_WINDOW, VOUT_DISPLAY_CHANGE_SOURCE_CROP, vout_display_Control(), VoutDisplayCropRatio(), vout_crop::width, vout_crop::window, vout_crop::x, and vout_crop::y.
Referenced by vout_SetDisplayCrop(), vout_SetSourceAspect(), and vout_UpdateDisplaySourceProperties().
|
static |
References container_of, vout_display_priv_t::converters, vout_display_priv_t::display_fmt, es_format_Clean(), es_format_InitFromVideo(), filter_chain_AppendConverter(), filter_chain_Delete(), filter_chain_NewVideo, filter_chain_Reset(), video_format_t::i_chroma, video_format_t::i_sar_den, video_format_t::i_sar_num, msg_Dbg, msg_Err, vout_display_priv_t::source, vout_display_priv_t::src_vctx, unlikely, filter_owner_t::video, and vout_display_filter_cbs.
Referenced by vout_display_New(), and vout_display_Reset().
|
static |
References video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_visible_height, and video_format_t::i_visible_width.
Referenced by vout_UpdateSourceCrop().
void VoutFixFormatAR | ( | video_format_t * | fmt | ) |
References video_format_t::i_sar_den, video_format_t::i_sar_num, and vlc_ureduce().
Referenced by vout_UpdateDisplaySourceProperties(), and VoutFixFormat().
|
static |
Referenced by VoutDisplayCreateRender().