VLC 4.0.0-dev
|
Data Structures | |
struct | pooled_filter_chain |
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().
|
static |
References vout_display_priv_t::cfg, vout_display_cfg::display, vout_display_priv_t::source, vout_display_priv_t::src_place, vout_display_PlaceEquals(), and vout_display_PlacePicture().
Referenced by vout_display_New(), vout_display_SetSize(), vout_SetDisplayFitting(), vout_SetDisplayZoom(), vout_SetSourceAspect(), and vout_UpdateSourceCrop().
picture_t * vout_ConvertForDisplay | ( | vout_display_t * | vd, |
picture_t * | picture | ||
) |
References container_of, vout_display_priv_t::converter, filter_chain_VideoFilter(), and pooled_filter_chain::filters.
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 video_format_ApplyRotation(), and vout_display_PlaceRotatedPicture().
Referenced by PlaceVideoInDisplay().
|
static |
References PROJECTION_MODE_RECTANGULAR, 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 vout_display_PlacePicture(), and vout_display_TranslateCoordinates().
picture_t * vout_display_Prepare | ( | vout_display_t * | vd, |
picture_t * | picture, | ||
const vlc_render_subpicture * | subpic, | ||
vlc_tick_t | date | ||
) |
References vout_display_t::ops, vlc_display_operations::prepare, and vout_ConvertForDisplay().
|
static |
References container_of, vout_display_priv_t::converter, vout_display_priv_t::display_fmt, msg_Err, vout_display_t::ops, vlc_display_operations::reset_pictures, VLC_SUCCESS, VoutConverterRelease(), 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, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_x_offset, video_format_t::i_y_offset, ORIENT_BOTTOM_LEFT, ORIENT_BOTTOM_RIGHT, ORIENT_LEFT_BOTTOM, ORIENT_LEFT_TOP, ORIENT_RIGHT_BOTTOM, ORIENT_RIGHT_TOP, ORIENT_TOP_LEFT, ORIENT_TOP_RIGHT, video_format_ApplyRotation(), vlc_assert_unreachable, vout_display_PlaceRotatedPicture(), 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::converter, filter_chain_VideoFlush(), and pooled_filter_chain::filters.
Referenced by vout_FlushUnlocked().
void vout_SetDisplayAspect | ( | vout_display_t * | vd, |
unsigned | dar_num, | ||
unsigned | dar_den | ||
) |
References container_of, vout_display_priv_t::dar, video_format_t::i_visible_height, video_format_t::i_visible_width, vout_display_priv_t::source, unlikely, vlc_assert_unreachable, VLC_DAR_FROM_SOURCE, VLC_SUCCESS, 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, VLC_SUCCESS, 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::converter, 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(), vlc_video_context_Release(), and VoutConverterRelease().
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, PlaceVideoInDisplay(), VLC_SUCCESS, VLC_VIDEO_FIT_NONE, VOUT_DISPLAY_CHANGE_SOURCE_PLACE, 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, PlaceVideoInDisplay(), vout_display_priv_t::source, VLC_SUCCESS, VOUT_CROP_NONE, VOUT_DISPLAY_CHANGE_SOURCE_ASPECT, VOUT_DISPLAY_CHANGE_SOURCE_PLACE, 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 | ||
) |
References container_of, vout_display_priv_t::dar, vlc_rational_t::den, 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(), VLC_DAR_FROM_SOURCE, VLC_SUCCESS, 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, PlaceVideoInDisplay(), vout_crop::ratio, vout_crop::right, vout_display_priv_t::source, vout_crop::top, video_format_Print(), vlc_assert_unreachable, VLC_OBJECT, VLC_SUCCESS, VOUT_CROP_BORDER, VOUT_CROP_NONE, VOUT_CROP_RATIO, VOUT_CROP_WINDOW, VOUT_DISPLAY_CHANGE_SOURCE_CROP, VOUT_DISPLAY_CHANGE_SOURCE_PLACE, 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 filter_chain_Delete(), pooled_filter_chain::filters, picture_pool_Release(), and pooled_filter_chain::pool.
Referenced by vout_display_Delete(), vout_display_Reset(), vout_SetDisplayFormat(), and VoutSetupConverter().
|
static |
References container_of, vout_display_priv_t::converter, vout_display_priv_t::display_fmt, 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, filter_owner_t::video, VLC_ENOTSUP, VLC_OBJECT, VLC_SUCCESS, vout_display_filter_cbs, and VoutSetupConverter().
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 |
References es_format_Clean(), es_format_InitFromVideo(), filter_chain_AppendConverter(), filter_chain_NewVideo, filter_chain_Reset(), pooled_filter_chain::filters, video_format_t::i_sar_den, video_format_t::i_sar_num, msg_Err, picture_pool_NewFromFormat(), picture_pool_Release(), pooled_filter_chain::pool, unlikely, es_format_t::video, VLC_SUCCESS, and VoutConverterRelease().
Referenced by VoutDisplayCreateRender().
|
static |
Referenced by VoutDisplayCreateRender().