VLC 4.0.0-dev
|
Functions | |
static int | CropCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | CropBorderCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | AspectCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | AutoScaleCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | FitCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | ZoomCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | AboveCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | WallPaperCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | FullscreenCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | SnapshotCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | VideoFilterCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | SubSourceCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | SubFilterCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | SubMarginCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | SecondarySubMarginCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static int | ViewpointCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *) |
static void | AddCustomRatios (vout_thread_t *p_vout, const char *psz_var, char *psz_list) |
enum vlc_video_fitting | var_InheritFit (vlc_object_t *obj) |
void | vout_CreateVars (vout_thread_t *p_vout) |
void | vout_IntfInit (vout_thread_t *p_vout) |
void | vout_IntfReinit (vout_thread_t *p_vout) |
void | vout_IntfDeinit (vlc_object_t *obj) |
static int | VoutSnapshotPip (vout_thread_t *p_vout, picture_t *p_pic) |
This function will inject a subpicture into the vout with the provided picture. | |
static void | VoutOsdSnapshot (vout_thread_t *p_vout, picture_t *p_pic, const char *psz_filename) |
This function will display the name and a PIP of the provided snapshot. | |
static void | VoutSaveSnapshot (vout_thread_t *p_vout) |
This function will handle a snapshot request. | |
bool | vout_ParseCrop (struct vout_crop *restrict cfg, const char *crop_str) |
bool | GetAspectRatio (const char *ar_str, unsigned *num, unsigned *den) |
Variables | ||
struct { | ||
double f_value | ||
char psz_label [13] | ||
} | p_zoom_values [] | |
struct { | ||
char psz_value [8] | ||
char psz_label [8] | ||
} | p_crop_values [] | |
struct { | ||
char psz_value [8] | ||
char psz_label [8] | ||
} | p_aspect_ratio_values [] | |
struct { | ||
enum vlc_video_fitting fit | ||
char psz_label [15] | ||
} | p_fit_values [] | |
|
static |
References vlc_value_t::b_bool, name, VLC_SUCCESS, VLC_WINDOW_STATE_ABOVE, VLC_WINDOW_STATE_NORMAL, and vout_ChangeWindowState().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::psz_string, var_Change(), and VLC_VAR_ADDCHOICE.
Referenced by vout_CreateVars().
|
static |
References GetAspectRatio(), vlc_value_t::psz_string, VLC_SUCCESS, VLC_UNUSED, and vout_ChangeDisplayAspectRatio().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::b_bool, fit, name, var_InheritFit(), VLC_SUCCESS, VLC_VIDEO_FIT_NONE, and vout_ChangeDisplayFitting().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References var_GetInteger(), var_SetString(), VLC_SUCCESS, and VLC_UNUSED.
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References msg_Err, vlc_value_t::psz_string, VLC_SUCCESS, VLC_UNUSED, vout_ChangeCrop(), and vout_ParseCrop().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References fit, vlc_value_t::i_int, name, VLC_SUCCESS, and vout_ChangeDisplayFitting().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::b_bool, VLC_SUCCESS, vout_ChangeFullscreen(), and vout_ChangeWindowed().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
bool GetAspectRatio | ( | const char * | ar_str, |
unsigned * | num, | ||
unsigned * | den | ||
) |
References VLC_DAR_FROM_SOURCE.
Referenced by AspectCallback(), and vout_InitSource().
|
static |
References vlc_value_t::i_int, VLC_SUCCESS, VLC_UNUSED, VLC_VOUT_ORDER_SECONDARY, and vout_ChangeSpuChannelMargin().
Referenced by vout_CreateVars(), and vout_IntfDeinit().
|
static |
References VLC_SUCCESS, VLC_UNUSED, and VoutSaveSnapshot().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::psz_string, VLC_SUCCESS, VLC_UNUSED, and vout_ControlChangeSubFilters().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::i_int, VLC_SUCCESS, VLC_UNUSED, VLC_VOUT_ORDER_PRIMARY, and vout_ChangeSpuChannelMargin().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::psz_string, VLC_SUCCESS, VLC_UNUSED, and vout_ControlChangeSubSources().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
enum vlc_video_fitting var_InheritFit | ( | vlc_object_t * | obj | ) |
References var_InheritInteger(), VLC_VIDEO_FIT_HEIGHT, VLC_VIDEO_FIT_LARGER, VLC_VIDEO_FIT_SMALLER, and VLC_VIDEO_FIT_WIDTH.
Referenced by AutoScaleCallback(), and VoutGetDisplayCfg().
|
static |
References vlc_value_t::psz_string, VLC_SUCCESS, VLC_UNUSED, and vout_ControlChangeFilters().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::p_address, VLC_SUCCESS, VLC_UNUSED, and vout_ChangeViewpoint().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
void vout_CreateVars | ( | vout_thread_t * | p_vout | ) |
References _, AddCustomRatios(), ARRAY_SIZE, vlc_value_t::f_float, vlc_value_t::i_int, p_aspect_ratio_values, p_crop_values, p_fit_values, p_zoom_values, psz_label, vlc_value_t::psz_string, psz_value, SecondarySubMarginCallback(), var_AddCallback(), var_Change(), var_Create(), var_CreateGetNonEmptyString(), var_SetInteger(), vlc_gettext(), VLC_VAR_ADDCHOICE, VLC_VAR_ADDRESS, VLC_VAR_BOOL, VLC_VAR_COORDS, VLC_VAR_DOINHERIT, VLC_VAR_FLOAT, VLC_VAR_INTEGER, VLC_VAR_ISCOMMAND, VLC_VAR_SETTEXT, VLC_VAR_STRING, and VLC_VAR_VOID.
Referenced by vout_CreateCommon().
void vout_IntfDeinit | ( | vlc_object_t * | obj | ) |
References AboveCallback(), AspectCallback(), AutoScaleCallback(), CropBorderCallback(), CropCallback(), FitCallback(), FullscreenCallback(), SecondarySubMarginCallback(), SnapshotCallback(), SubFilterCallback(), SubMarginCallback(), SubSourceCallback(), var_DelCallback(), VideoFilterCallback(), ViewpointCallback(), WallPaperCallback(), and ZoomCallback().
Referenced by vout_Close().
void vout_IntfInit | ( | vout_thread_t * | p_vout | ) |
References AboveCallback(), AspectCallback(), AutoScaleCallback(), CropBorderCallback(), CropCallback(), FitCallback(), FullscreenCallback(), SnapshotCallback(), SubFilterCallback(), SubMarginCallback(), SubSourceCallback(), var_AddCallback(), VideoFilterCallback(), ViewpointCallback(), WallPaperCallback(), and ZoomCallback().
Referenced by vout_Create().
void vout_IntfReinit | ( | vout_thread_t * | p_vout | ) |
References var_TriggerCallback().
Referenced by vout_Request().
bool vout_ParseCrop | ( | struct vout_crop *restrict | cfg, |
const char * | crop_str | ||
) |
References GCD(), vlc_sscanf_c(), VOUT_CROP_BORDER, VOUT_CROP_NONE, VOUT_CROP_RATIO, and VOUT_CROP_WINDOW.
Referenced by CropCallback().
|
static |
This function will display the name and a PIP of the provided snapshot.
References msg_Dbg, msg_Warn, var_InheritBool(), vout_OSDMessage(), VOUT_SPU_CHANNEL_OSD, and VoutSnapshotPip().
Referenced by VoutSaveSnapshot().
|
static |
This function will handle a snapshot request.
References block_Release, vout_snapshot_save_cfg_t::format, vout_snapshot_save_cfg_t::is_sequential, msg_Err, vout_snapshot_save_cfg_t::path, picture_Release(), vout_snapshot_save_cfg_t::prefix_fmt, vout_snapshot_save_cfg_t::sequence, var_GetInteger(), var_InheritBool(), var_InheritString(), var_SetInteger(), var_SetString(), vlc_object_instance, VLC_TICK_FROM_MS, vout_GetSnapshot(), vout_snapshot_GetDirectory(), vout_snapshot_SaveImage(), and VoutOsdSnapshot().
Referenced by SnapshotCallback().
|
static |
This function will inject a subpicture into the vout with the provided picture.
References subpicture_t::b_ephemer, subpicture_t::b_fade, subpicture_t::i_channel, subpicture_t::i_original_picture_height, subpicture_t::i_original_picture_width, subpicture_t::i_start, subpicture_t::i_stop, subpicture_NewFromPicture(), VLC_CODEC_YUVA, VLC_EGENERIC, VLC_OBJECT, VLC_SUCCESS, VLC_TICK_FROM_SEC, vlc_tick_now(), and vout_PutSubpicture().
Referenced by VoutOsdSnapshot().
|
static |
References vlc_value_t::b_bool, name, var_TriggerCallback(), VLC_SUCCESS, VLC_WINDOW_STATE_BELOW, vout_ChangeFullscreen(), and vout_ChangeWindowState().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
|
static |
References vlc_value_t::f_float, name, VLC_SUCCESS, and vout_ChangeZoom().
Referenced by vout_IntfDeinit(), and vout_IntfInit().
double f_value |
enum vlc_video_fitting fit |
Referenced by AutoScaleCallback(), FitCallback(), vout_ChangeDisplayFitting(), and vout_SetDisplayFitting().
const struct { ... } p_aspect_ratio_values[] |
Referenced by vout_CreateVars().
const struct { ... } p_crop_values[] |
Referenced by vout_CreateVars().
const struct { ... } p_fit_values[] |
Referenced by vout_CreateVars().
const struct { ... } p_zoom_values[] |
Referenced by vout_CreateVars().
char psz_label[15] |
Referenced by vlc_credential_store(), vlc_keystore_store(), and vout_CreateVars().
char psz_value[8] |
Referenced by ChainGetValue(), config_PutPsz(), EsOutUpdateInfo(), httpd_MsgAdd(), input_item_SetMetaExtra(), var_OptionParse(), vlc_audio_replay_gain_MergeFromMeta(), vlc_html_color(), vlc_meta_InsertExtra(), vlc_meta_SetExtraWithPriority(), vlc_ml_media_set_playback_state(), vlc_xml_decode(), and vout_CreateVars().