VLC  3.0.15
interlacing.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * interlacing.h: Interlacing related helpers
3  *****************************************************************************
4  * Copyright (C) 2010 Laurent Aimar
5  * $Id: 7000f36be66616b27eb46603fbc0b7585dd21f45 $
6  *
7  * Authors: Laurent Aimar <fenrir _AT_ videolan _DOT_ org>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23 
24 #ifndef LIBVLC_VOUT_INTERLACING_H
25 #define LIBVLC_VOUT_INTERLACING_H
26 
27 void vout_InitInterlacingSupport(vout_thread_t *, bool is_interlaced);
29 void vout_SetInterlacingState(vout_thread_t *, bool is_interlaced);
30 
31 #endif
vout_thread_sys_t::control
vout_control_t control
Definition: vout_internal.h:76
vout_InitInterlacingSupport
void vout_InitInterlacingSupport(vout_thread_t *, bool is_interlaced)
Definition: interlacing.c:98
VLC_VAR_SETVALUE
#define VLC_VAR_SETVALUE
Set the value of this variable without triggering any callbacks.
Definition: vlc_variables.h:87
VLC_VAR_CLEARCHOICES
#define VLC_VAR_CLEARCHOICES
Definition: vlc_variables.h:98
var_SetBool
#define var_SetBool(a, b, c)
Definition: vlc_variables.h:257
VLC_VAR_SETTEXT
#define VLC_VAR_SETTEXT
Definition: vlc_variables.h:89
vlc_common.h
var_CreateGetNonEmptyString
#define var_CreateGetNonEmptyString(a, b)
Definition: vlc_variables.h:496
vout_SetInterlacingState
void vout_SetInterlacingState(vout_thread_t *, bool is_interlaced)
Definition: interlacing.c:177
VLC_VAR_DOINHERIT
#define VLC_VAR_DOINHERIT
Creation flag.
Definition: vlc_variables.h:69
vout_thread_sys_t::date
mtime_t date
Definition: vout_internal.h:86
module_config_t::list_text
const char ** list_text
Definition: vlc_configuration.h:89
deinterlace_modes
static const char deinterlace_modes[][9]
Definition: interlacing.c:41
vlc_vout.h
vout_ReinitInterlacingSupport
void vout_ReinitInterlacingSupport(vout_thread_t *vout)
Definition: interlacing.c:171
VLC_VAR_ADDCHOICE
#define VLC_VAR_ADDCHOICE
Definition: vlc_variables.h:96
module_config_t::i
const int * i
Definition: vlc_configuration.h:85
vout_InitInterlacingSupport
void vout_InitInterlacingSupport(vout_thread_t *vout, bool is_interlaced)
Definition: interlacing.c:98
module_config_t::orig
module_value_t orig
Definition: vlc_configuration.h:76
VLC_VAR_BOOL
#define VLC_VAR_BOOL
Definition: vlc_variables.h:49
module_value_t::psz
char * psz
Definition: vlc_configuration.h:50
msg_Dbg
#define msg_Dbg(p_this,...)
Definition: vlc_messages.h:86
_
#define _(str)
Definition: vlc_fixups.h:371
VLC_EGENERIC
#define VLC_EGENERIC
Unspecified error.
Definition: vlc_common.h:350
ARRAY_SIZE
#define ARRAY_SIZE(x)
Definition: vlc_arrays.h:162
config_FindConfig
module_config_t * config_FindConfig(const char *name)
Definition: core.c:514
VLC_VAR_INTEGER
#define VLC_VAR_INTEGER
Definition: vlc_variables.h:50
VLC_VAR_STRING
#define VLC_VAR_STRING
Definition: vlc_variables.h:51
vlc_gettext
char * vlc_gettext(const char *msgid)
In-tree plugins share their gettext domain with LibVLC.
Definition: textdomain.c:89
vlc_value_t::i_int
int64_t i_int
Definition: vlc_common.h:327
var_Create
#define var_Create(a, b, c)
Definition: vlc_variables.h:121
vout_ReinitInterlacingSupport
void vout_ReinitInterlacingSupport(vout_thread_t *)
Definition: interlacing.c:171
vlc_value_t::b_bool
bool b_bool
Definition: vlc_common.h:328
vout_thread_sys_t::is_interlaced
bool is_interlaced
Definition: vout_internal.h:88
interlacing.h
var_CreateGetString
#define var_CreateGetString(a, b)
Definition: vlc_variables.h:495
DeinterlaceCallback
static int DeinterlaceCallback(vlc_object_t *object, char const *cmd, vlc_value_t oldval, vlc_value_t newval, void *data)
Definition: interlacing.c:64
vout_SetInterlacingState
void vout_SetInterlacingState(vout_thread_t *vout, bool is_interlaced)
Definition: interlacing.c:177
vout_thread_t::p
vout_thread_sys_t * p
Definition: vlc_vout.h:74
vout_thread_sys_t::filter
struct vout_thread_sys_t::@92 filter
vlc_value_t::psz_string
char * psz_string
Definition: vlc_common.h:330
var_GetInteger
#define var_GetInteger(a, b)
Definition: vlc_variables.h:655
var_SetInteger
#define var_SetInteger(a, b, c)
Definition: vlc_variables.h:256
likely
#define likely(p)
Definition: vlc_common.h:113
vlc_object_t
The main vlc_object_t structure.
Definition: vlc_objects.h:39
module_config_t
Definition: vlc_configuration.h:60
var_GetNonEmptyString
#define var_GetNonEmptyString(a, b)
Definition: vlc_variables.h:659
VLC_UNUSED
#define VLC_UNUSED(x)
Definition: vlc_common.h:912
vout_thread_sys_t::has_deint
bool has_deint
Definition: vout_internal.h:126
VLC_SUCCESS
#define VLC_SUCCESS
No error.
Definition: vlc_common.h:349
module_config_t::list
union module_config_t::@147 list
vout_thread_sys_t::interlacing
struct vout_thread_sys_t::@91 interlacing
vout_control_PushBool
void vout_control_PushBool(vout_control_t *ctrl, int type, bool boolean)
Definition: control.c:128
var_SetString
#define var_SetString(a, b, c)
Definition: vlc_variables.h:259
module_config_t::list_count
uint16_t list_count
Definition: vlc_configuration.h:81
var_GetString
#define var_GetString(a, b)
Definition: vlc_variables.h:658
var_AddCallback
#define var_AddCallback(a, b, c, d)
Definition: vlc_variables.h:164
module_config_t::psz
const char ** psz
Definition: vlc_configuration.h:84
DeinterlaceIsModeValid
static bool DeinterlaceIsModeValid(const char *mode)
Definition: interlacing.c:55
vout_thread_t
Video output thread descriptor.
Definition: vlc_vout.h:70
mdate
mtime_t mdate(void)
Precision monotonic clock.
Definition: thread.c:406
vout_internal.h
vlc_value_t
VLC value structure.
Definition: vlc_common.h:325
VOUT_CONTROL_CHANGE_INTERLACE
Definition: control.h:65
var_GetBool
#define var_GetBool(a, b)
Definition: vlc_variables.h:656
var_Change
#define var_Change(a, b, c, d, e)
Definition: vlc_variables.h:127