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

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 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)
 
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. More...
 
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. More...
 
static void VoutSaveSnapshot (vout_thread_t *p_vout)
 This function will handle a snapshot request. More...
 
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 []
 

Function Documentation

◆ AboveCallback()

static int AboveCallback ( vlc_object_t obj,
char const *  name,
vlc_value_t  prev,
vlc_value_t  cur,
void *  data 
)
static

◆ AddCustomRatios()

static void AddCustomRatios ( vout_thread_t p_vout,
const char *  psz_var,
char *  psz_list 
)
static

◆ AspectCallback()

static int AspectCallback ( vlc_object_t object,
char const *  cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  data 
)
static

◆ AutoScaleCallback()

static int AutoScaleCallback ( vlc_object_t obj,
char const *  name,
vlc_value_t  prev,
vlc_value_t  cur,
void *  data 
)
static

◆ CropBorderCallback()

static int CropBorderCallback ( vlc_object_t object,
char const *  cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  data 
)
static

◆ CropCallback()

static int CropCallback ( vlc_object_t object,
char const *  cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  data 
)
static

◆ FullscreenCallback()

static int FullscreenCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ GetAspectRatio()

bool GetAspectRatio ( const char *  ar_str,
unsigned *  num,
unsigned *  den 
)

Referenced by AspectCallback(), and vout_InitSource().

◆ SecondarySubMarginCallback()

static int SecondarySubMarginCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ SnapshotCallback()

static int SnapshotCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ SubFilterCallback()

static int SubFilterCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ SubMarginCallback()

static int SubMarginCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ SubSourceCallback()

static int SubSourceCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ VideoFilterCallback()

static int VideoFilterCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ ViewpointCallback()

static int ViewpointCallback ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
)
static

◆ vout_CreateVars()

void vout_CreateVars ( vout_thread_t p_vout)

◆ vout_IntfDeinit()

void vout_IntfDeinit ( vlc_object_t obj)

◆ vout_IntfInit()

void vout_IntfInit ( vout_thread_t p_vout)

◆ vout_IntfReinit()

void vout_IntfReinit ( vout_thread_t p_vout)

References var_TriggerCallback().

Referenced by vout_Request().

◆ vout_ParseCrop()

bool vout_ParseCrop ( struct vout_crop *restrict  cfg,
const char *  crop_str 
)

◆ VoutOsdSnapshot()

static void VoutOsdSnapshot ( vout_thread_t p_vout,
picture_t p_pic,
const char *  psz_filename 
)
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().

◆ VoutSaveSnapshot()

static void VoutSaveSnapshot ( vout_thread_t p_vout)
static

◆ VoutSnapshotPip()

static int VoutSnapshotPip ( vout_thread_t p_vout,
picture_t p_pic 
)
static

◆ WallPaperCallback()

static int WallPaperCallback ( vlc_object_t obj,
char const *  name,
vlc_value_t  prev,
vlc_value_t  cur,
void *  data 
)
static

◆ ZoomCallback()

static int ZoomCallback ( vlc_object_t obj,
char const *  name,
vlc_value_t  prev,
vlc_value_t  cur,
void *  data 
)
static

Variable Documentation

◆ f_value

double f_value

◆ p_aspect_ratio_values

const { ... } p_aspect_ratio_values[]
Initial value:
= {
{ "", N_("Default") },
{ "16:9", "16:9" },
{ "4:3", "4:3" },
{ "1:1", "1:1" },
{ "16:10", "16:10" },
{ "221:100", "2.21:1" },
{ "235:100", "2.35:1" },
{ "239:100", "2.39:1" },
{ "5:4", "5:4" },
}

Referenced by vout_CreateVars().

◆ p_crop_values

const { ... } p_crop_values[]
Initial value:
= {
{ "", N_("Default") },
{ "16:10", "16:10" },
{ "16:9", "16:9" },
{ "4:3", "4:3" },
{ "185:100", "1.85:1" },
{ "221:100", "2.21:1" },
{ "235:100", "2.35:1" },
{ "239:100", "2.39:1" },
{ "5:3", "5:3" },
{ "5:4", "5:4" },
{ "1:1", "1:1" },
}

Referenced by vout_CreateVars().

◆ p_zoom_values

const { ... } p_zoom_values[]
Initial value:
= {
{ 0.25, N_("1:4 Quarter") },
{ 0.5, N_("1:2 Half") },
{ 1, N_("1:1 Original") },
{ 2, N_("2:1 Double") },
}

Referenced by vout_CreateVars().

◆ psz_label

char psz_label[8]

◆ psz_value

char psz_value[8]
N_
#define N_(str)
Definition: vlc_fixups.h:375