Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
63007605
Commit
63007605
authored
May 08, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove E_()
parent
27d483e9
Changes
110
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
110 changed files
with
954 additions
and
956 deletions
+954
-956
include/vlc_modules_macros.h
include/vlc_modules_macros.h
+1
-3
modules/access/dvb/access.c
modules/access/dvb/access.c
+20
-20
modules/access/dvb/dvb.h
modules/access/dvb/dvb.h
+25
-25
modules/access/dvb/en50221.c
modules/access/dvb/en50221.c
+8
-8
modules/access/dvb/http.c
modules/access/dvb/http.c
+3
-3
modules/access/dvb/linux_dvb.c
modules/access/dvb/linux_dvb.c
+30
-30
modules/access/mms/asf.c
modules/access/mms/asf.c
+3
-3
modules/access/mms/asf.h
modules/access/mms/asf.h
+3
-3
modules/access/mms/mms.c
modules/access/mms/mms.c
+7
-7
modules/access/mms/mms.h
modules/access/mms/mms.h
+4
-4
modules/access/mms/mmsh.c
modules/access/mms/mmsh.c
+9
-9
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+8
-8
modules/access/vcdx/demux.c
modules/access/vcdx/demux.c
+2
-2
modules/access/vcdx/vcd.c
modules/access/vcdx/vcd.c
+4
-4
modules/codec/cmml/cmml.c
modules/codec/cmml/cmml.c
+3
-3
modules/codec/cmml/intf.c
modules/codec/cmml/intf.c
+4
-4
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/audio.c
+3
-3
modules/codec/ffmpeg/chroma.c
modules/codec/ffmpeg/chroma.c
+7
-7
modules/codec/ffmpeg/deinterlace.c
modules/codec/ffmpeg/deinterlace.c
+5
-5
modules/codec/ffmpeg/demux.c
modules/codec/ffmpeg/demux.c
+6
-6
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+10
-10
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+23
-23
modules/codec/ffmpeg/ffmpeg.h
modules/codec/ffmpeg/ffmpeg.h
+33
-33
modules/codec/ffmpeg/mux.c
modules/codec/ffmpeg/mux.c
+4
-4
modules/codec/ffmpeg/postprocess.c
modules/codec/ffmpeg/postprocess.c
+4
-4
modules/codec/ffmpeg/scale.c
modules/codec/ffmpeg/scale.c
+8
-8
modules/codec/ffmpeg/video.c
modules/codec/ffmpeg/video.c
+7
-7
modules/codec/ffmpeg/video_filter.c
modules/codec/ffmpeg/video_filter.c
+9
-9
modules/codec/spudec/parse.c
modules/codec/spudec/parse.c
+1
-1
modules/codec/spudec/spudec.c
modules/codec/spudec/spudec.c
+1
-1
modules/codec/spudec/spudec.h
modules/codec/spudec/spudec.h
+1
-1
modules/control/gestures.c
modules/control/gestures.c
+5
-5
modules/control/http/http.c
modules/control/http/http.c
+34
-34
modules/control/http/http.h
modules/control/http/http.h
+38
-38
modules/control/http/macro.c
modules/control/http/macro.c
+59
-59
modules/control/http/mvar.c
modules/control/http/mvar.c
+91
-91
modules/control/http/rpn.c
modules/control/http/rpn.c
+151
-151
modules/control/http/util.c
modules/control/http/util.c
+38
-38
modules/control/showintf.c
modules/control/showintf.c
+5
-5
modules/demux/live555.cpp
modules/demux/live555.cpp
+1
-1
modules/demux/playlist/asx.c
modules/demux/playlist/asx.c
+3
-3
modules/demux/playlist/b4s.c
modules/demux/playlist/b4s.c
+3
-3
modules/demux/playlist/dvb.c
modules/demux/playlist/dvb.c
+2
-2
modules/demux/playlist/gvp.c
modules/demux/playlist/gvp.c
+2
-2
modules/demux/playlist/ifo.c
modules/demux/playlist/ifo.c
+2
-2
modules/demux/playlist/itml.c
modules/demux/playlist/itml.c
+2
-2
modules/demux/playlist/m3u.c
modules/demux/playlist/m3u.c
+4
-4
modules/demux/playlist/playlist.c
modules/demux/playlist/playlist.c
+15
-15
modules/demux/playlist/playlist.h
modules/demux/playlist/playlist.h
+35
-35
modules/demux/playlist/pls.c
modules/demux/playlist/pls.c
+4
-4
modules/demux/playlist/podcast.c
modules/demux/playlist/podcast.c
+3
-3
modules/demux/playlist/qtl.c
modules/demux/playlist/qtl.c
+2
-2
modules/demux/playlist/sgimb.c
modules/demux/playlist/sgimb.c
+2
-2
modules/demux/playlist/shoutcast.c
modules/demux/playlist/shoutcast.c
+2
-2
modules/demux/playlist/xspf.c
modules/demux/playlist/xspf.c
+2
-2
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+2
-2
modules/gui/beos/BeOS.cpp
modules/gui/beos/BeOS.cpp
+9
-9
modules/gui/beos/Interface.cpp
modules/gui/beos/Interface.cpp
+2
-2
modules/gui/beos/VideoOutput.cpp
modules/gui/beos/VideoOutput.cpp
+2
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+2
-2
modules/gui/macosx/macosx.m
modules/gui/macosx/macosx.m
+9
-9
modules/gui/macosx/voutgl.m
modules/gui/macosx/voutgl.m
+2
-2
modules/gui/macosx/voutqt.m
modules/gui/macosx/voutqt.m
+2
-2
modules/gui/minimal_macosx/intf.m
modules/gui/minimal_macosx/intf.m
+2
-2
modules/gui/minimal_macosx/macosx.c
modules/gui/minimal_macosx/macosx.c
+6
-6
modules/gui/minimal_macosx/voutgl.m
modules/gui/minimal_macosx/voutgl.m
+2
-2
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+7
-7
modules/gui/pda/pda.h
modules/gui/pda/pda.h
+2
-2
modules/gui/pda/pda_callbacks.c
modules/gui/pda/pda_callbacks.c
+1
-1
modules/gui/qnx/aout.c
modules/gui/qnx/aout.c
+9
-9
modules/gui/qnx/qnx.c
modules/gui/qnx/qnx.c
+6
-6
modules/gui/qnx/vout.c
modules/gui/qnx/vout.c
+2
-2
modules/misc/dummy/aout.c
modules/misc/dummy/aout.c
+1
-1
modules/misc/dummy/decoder.c
modules/misc/dummy/decoder.c
+2
-2
modules/misc/dummy/dummy.c
modules/misc/dummy/dummy.c
+8
-8
modules/misc/dummy/dummy.h
modules/misc/dummy/dummy.h
+11
-11
modules/misc/dummy/encoder.c
modules/misc/dummy/encoder.c
+2
-2
modules/misc/dummy/input.c
modules/misc/dummy/input.c
+3
-3
modules/misc/dummy/interface.c
modules/misc/dummy/interface.c
+1
-1
modules/misc/dummy/renderer.c
modules/misc/dummy/renderer.c
+1
-1
modules/misc/dummy/vout.c
modules/misc/dummy/vout.c
+1
-1
modules/misc/lua/intf.c
modules/misc/lua/intf.c
+3
-3
modules/misc/lua/meta.c
modules/misc/lua/meta.c
+1
-1
modules/misc/lua/playlist.c
modules/misc/lua/playlist.c
+5
-5
modules/misc/lua/vlc.c
modules/misc/lua/vlc.c
+3
-3
modules/misc/lua/vlc.h
modules/misc/lua/vlc.h
+5
-5
modules/misc/memcpy/memcpy.c
modules/misc/memcpy/memcpy.c
+1
-1
modules/misc/playlist/export.c
modules/misc/playlist/export.c
+2
-2
modules/misc/playlist/xspf.c
modules/misc/playlist/xspf.c
+1
-1
modules/misc/playlist/xspf.h
modules/misc/playlist/xspf.h
+1
-1
modules/mux/mpeg/csa.h
modules/mux/mpeg/csa.h
+5
-5
modules/mux/mpeg/pes.c
modules/mux/mpeg/pes.c
+1
-1
modules/mux/mpeg/pes.h
modules/mux/mpeg/pes.h
+1
-1
modules/mux/mpeg/ps.c
modules/mux/mpeg/ps.c
+1
-1
modules/mux/mpeg/ts.c
modules/mux/mpeg/ts.c
+2
-2
modules/video_chroma/i420_rgb.c
modules/video_chroma/i420_rgb.c
+9
-9
modules/video_chroma/i420_rgb.h
modules/video_chroma/i420_rgb.h
+10
-10
modules/video_chroma/i420_rgb16.c
modules/video_chroma/i420_rgb16.c
+9
-9
modules/video_chroma/i420_rgb8.c
modules/video_chroma/i420_rgb8.c
+1
-1
modules/video_output/msw/direct3d.c
modules/video_output/msw/direct3d.c
+3
-3
modules/video_output/msw/directx.c
modules/video_output/msw/directx.c
+4
-4
modules/video_output/msw/events.c
modules/video_output/msw/events.c
+3
-3
modules/video_output/msw/glwin32.c
modules/video_output/msw/glwin32.c
+2
-2
modules/video_output/msw/vout.h
modules/video_output/msw/vout.h
+2
-2
modules/video_output/msw/wingdi.c
modules/video_output/msw/wingdi.c
+3
-3
modules/video_output/x11/glx.c
modules/video_output/x11/glx.c
+4
-4
modules/video_output/x11/x11.c
modules/video_output/x11/x11.c
+3
-3
modules/video_output/x11/xcommon.c
modules/video_output/x11/xcommon.c
+5
-5
modules/video_output/x11/xvideo.c
modules/video_output/x11/xvideo.c
+3
-3
modules/video_output/x11/xvmc.c
modules/video_output/x11/xvmc.c
+3
-3
No files found.
include/vlc_modules_macros.h
View file @
63007605
...
...
@@ -62,10 +62,8 @@
/* If the module is built-in, then we need to define foo_InitModule instead
* of InitModule. Same for Activate- and DeactivateModule. */
#ifdef __PLUGIN__
# define E_( function ) CONCATENATE( function, MODULE_SYMBOL )
# define __VLC_SYMBOL( symbol ) CONCATENATE( symbol, MODULE_SYMBOL )
#else
# define E_( function ) CONCATENATE( function, MODULE_NAME )
# define __VLC_SYMBOL( symbol ) CONCATENATE( symbol, MODULE_NAME )
#endif
...
...
@@ -96,7 +94,7 @@
*/
#if defined (__PLUGIN__) || defined (__BUILTIN__)
EXTERN_SYMBOL
DLL_SYMBOL
int
CDECL_SYMBOL
E
_
(
vlc_entry
)
(
module_t
*
p_module
);
_
_VLC_SYMBOL
(
vlc_entry
)
(
module_t
*
p_module
);
#endif
#define vlc_module_begin( ) \
...
...
modules/access/dvb/access.c
View file @
63007605
...
...
@@ -336,7 +336,7 @@ static int Open( vlc_object_t *p_this )
}
/* Getting frontend info */
if
(
E_
(
FrontendOpen
)
(
p_access
)
)
if
(
FrontendOpen
(
p_access
)
)
{
free
(
p_sys
);
return
VLC_EGENERIC
;
...
...
@@ -344,17 +344,17 @@ static int Open( vlc_object_t *p_this )
/* Setting frontend parameters for tuning the hardware */
msg_Dbg
(
p_access
,
"trying to tune the frontend..."
);
if
(
E_
(
FrontendSet
)
(
p_access
)
<
0
)
if
(
FrontendSet
(
p_access
)
<
0
)
{
E_
(
FrontendClose
)
(
p_access
);
FrontendClose
(
p_access
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
/* Opening DVR device */
if
(
E_
(
DVROpen
)
(
p_access
)
<
0
)
if
(
DVROpen
(
p_access
)
<
0
)
{
E_
(
FrontendClose
)
(
p_access
);
FrontendClose
(
p_access
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
@@ -371,7 +371,7 @@ static int Open( vlc_object_t *p_this )
FilterSet
(
p_access
,
0x0
,
OTHER_TYPE
);
}
E_
(
CAMOpen
)
(
p_access
);
CAMOpen
(
p_access
);
if
(
p_sys
->
b_budget_mode
)
p_sys
->
i_read_once
=
DVB_READ_ONCE
;
...
...
@@ -379,7 +379,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
i_read_once
=
DVB_READ_ONCE_START
;
#ifdef ENABLE_HTTPD
E_
(
HTTPOpen
)
(
p_access
);
HTTPOpen
(
p_access
);
#endif
return
VLC_SUCCESS
;
...
...
@@ -395,12 +395,12 @@ static void Close( vlc_object_t *p_this )
FilterUnset
(
p_access
,
p_sys
->
b_budget_mode
?
1
:
MAX_DEMUX
);
E_
(
DVRClose
)
(
p_access
);
E_
(
FrontendClose
)
(
p_access
);
E_
(
CAMClose
)
(
p_access
);
DVRClose
(
p_access
);
FrontendClose
(
p_access
);
CAMClose
(
p_access
);
#ifdef ENABLE_HTTPD
E_
(
HTTPClose
)
(
p_access
);
HTTPClose
(
p_access
);
#endif
free
(
p_sys
);
...
...
@@ -444,13 +444,13 @@ static block_t *Block( access_t *p_access )
if
(
p_sys
->
i_ca_handle
&&
mdate
()
>
p_sys
->
i_ca_next_event
)
{
E_
(
CAMPoll
)
(
p_access
);
CAMPoll
(
p_access
);
p_sys
->
i_ca_next_event
=
mdate
()
+
p_sys
->
i_ca_timeout
;
}
if
(
ufds
[
1
].
revents
)
{
E_
(
FrontendPoll
)
(
p_access
);
FrontendPoll
(
p_access
);
}
#ifdef ENABLE_HTTPD
...
...
@@ -475,19 +475,19 @@ static block_t *Block( access_t *p_access )
if
(
p_sys
->
b_request_frontend_info
)
{
E_
(
FrontendStatus
)
(
p_access
);
FrontendStatus
(
p_access
);
}
if
(
p_sys
->
b_request_mmi_info
)
{
E_
(
CAMStatus
)
(
p_access
);
CAMStatus
(
p_access
);
}
#endif
if
(
p_sys
->
i_frontend_timeout
&&
mdate
()
>
p_sys
->
i_frontend_timeout
)
{
msg_Warn
(
p_access
,
"no lock, tuning again"
);
E_
(
FrontendSet
)
(
p_access
);
FrontendSet
(
p_access
);
}
if
(
ufds
[
0
].
revents
)
...
...
@@ -569,7 +569,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
p_pmt
=
(
dvbpsi_pmt_t
*
)
va_arg
(
args
,
dvbpsi_pmt_t
*
);
E_
(
CAMSet
)
(
p_access
,
p_pmt
);
CAMSet
(
p_access
,
p_pmt
);
break
;
}
...
...
@@ -605,7 +605,7 @@ static void FilterSet( access_t *p_access, int i_pid, int i_type )
return
;
}
if
(
E_
(
DMXSetFilter
)
(
p_access
,
i_pid
,
if
(
DMXSetFilter
(
p_access
,
i_pid
,
&
p_sys
->
p_demux_handles
[
i
].
i_handle
,
i_type
)
)
{
msg_Err
(
p_access
,
"DMXSetFilter failed"
);
...
...
@@ -627,7 +627,7 @@ static void FilterUnset( access_t *p_access, int i_max )
{
if
(
p_sys
->
p_demux_handles
[
i
].
i_type
)
{
E_
(
DMXUnsetFilter
)
(
p_access
,
p_sys
->
p_demux_handles
[
i
].
i_handle
);
DMXUnsetFilter
(
p_access
,
p_sys
->
p_demux_handles
[
i
].
i_handle
);
p_sys
->
p_demux_handles
[
i
].
i_type
=
0
;
}
}
...
...
@@ -643,7 +643,7 @@ static void FilterUnsetPID( access_t *p_access, int i_pid )
if
(
p_sys
->
p_demux_handles
[
i
].
i_type
&&
p_sys
->
p_demux_handles
[
i
].
i_pid
==
i_pid
)
{
E_
(
DMXUnsetFilter
)
(
p_access
,
p_sys
->
p_demux_handles
[
i
].
i_handle
);
DMXUnsetFilter
(
p_access
,
p_sys
->
p_demux_handles
[
i
].
i_handle
);
p_sys
->
p_demux_handles
[
i
].
i_type
=
0
;
}
}
...
...
modules/access/dvb/dvb.h
View file @
63007605
...
...
@@ -181,42 +181,42 @@ struct access_sys_t
/*****************************************************************************
* Prototypes
*****************************************************************************/
int
E_
(
FrontendOpen
)
(
access_t
*
);
void
E_
(
FrontendPoll
)
(
access_t
*
p_access
);
int
E_
(
FrontendSet
)
(
access_t
*
);
void
E_
(
FrontendClose
)
(
access_t
*
);
int
FrontendOpen
(
access_t
*
);
void
FrontendPoll
(
access_t
*
p_access
);
int
FrontendSet
(
access_t
*
);
void
FrontendClose
(
access_t
*
);
#ifdef ENABLE_HTTPD
void
E_
(
FrontendStatus
)
(
access_t
*
);
void
FrontendStatus
(
access_t
*
);
#endif
int
E_
(
DMXSetFilter
)
(
access_t
*
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
);
int
E_
(
DMXUnsetFilter
)
(
access_t
*
,
int
i_fd
);
int
DMXSetFilter
(
access_t
*
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
);
int
DMXUnsetFilter
(
access_t
*
,
int
i_fd
);
int
E_
(
DVROpen
)
(
access_t
*
);
void
E_
(
DVRClose
)
(
access_t
*
);
int
DVROpen
(
access_t
*
);
void
DVRClose
(
access_t
*
);
int
E_
(
CAMOpen
)
(
access_t
*
);
int
E_
(
CAMPoll
)
(
access_t
*
);
int
E_
(
CAMSet
)
(
access_t
*
,
dvbpsi_pmt_t
*
);
void
E_
(
CAMClose
)
(
access_t
*
);
int
CAMOpen
(
access_t
*
);
int
CAMPoll
(
access_t
*
);
int
CAMSet
(
access_t
*
,
dvbpsi_pmt_t
*
);
void
CAMClose
(
access_t
*
);
#ifdef ENABLE_HTTPD
void
E_
(
CAMStatus
)
(
access_t
*
);
void
CAMStatus
(
access_t
*
);
#endif
int
E_
(
en50221_Init
)
(
access_t
*
);
int
E_
(
en50221_Poll
)
(
access_t
*
);
int
E_
(
en50221_SetCAPMT
)
(
access_t
*
,
dvbpsi_pmt_t
*
);
int
E_
(
en50221_OpenMMI
)
(
access_t
*
p_access
,
int
i_slot
);
int
E_
(
en50221_CloseMMI
)
(
access_t
*
p_access
,
int
i_slot
);
en50221_mmi_object_t
*
E_
(
en50221_GetMMIObject
)
(
access_t
*
p_access
,
int
en50221_Init
(
access_t
*
);
int
en50221_Poll
(
access_t
*
);
int
en50221_SetCAPMT
(
access_t
*
,
dvbpsi_pmt_t
*
);
int
en50221_OpenMMI
(
access_t
*
p_access
,
int
i_slot
);
int
en50221_CloseMMI
(
access_t
*
p_access
,
int
i_slot
);
en50221_mmi_object_t
*
en50221_GetMMIObject
(
access_t
*
p_access
,
int
i_slot
);
void
E_
(
en50221_SendMMIObject
)
(
access_t
*
p_access
,
int
i_slot
,
void
en50221_SendMMIObject
(
access_t
*
p_access
,
int
i_slot
,
en50221_mmi_object_t
*
p_object
);
void
E_
(
en50221_End
)
(
access_t
*
);
void
en50221_End
(
access_t
*
);
#ifdef ENABLE_HTTPD
int
E_
(
HTTPOpen
)
(
access_t
*
p_access
);
void
E_
(
HTTPClose
)
(
access_t
*
p_access
);
char
*
E_
(
HTTPExtractValue
)
(
char
*
psz_uri
,
const
char
*
psz_name
,
int
HTTPOpen
(
access_t
*
p_access
);
void
HTTPClose
(
access_t
*
p_access
);
char
*
HTTPExtractValue
(
char
*
psz_uri
,
const
char
*
psz_name
,
char
*
psz_value
,
int
i_value_max
);
#endif
modules/access/dvb/en50221.c
View file @
63007605
...
...
@@ -1844,7 +1844,7 @@ static int InitSlot( access_t * p_access, int i_slot )
/*****************************************************************************
* en50221_Init : Initialize the CAM for en50221
*****************************************************************************/
int
E_
(
en50221_Init
)
(
access_t
*
p_access
)
int
en50221_Init
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -1941,7 +1941,7 @@ int E_(en50221_Init)( access_t * p_access )
/*****************************************************************************
* en50221_Poll : Poll the CAM for TPDUs
*****************************************************************************/
int
E_
(
en50221_Poll
)
(
access_t
*
p_access
)
int
en50221_Poll
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
int
i_slot
;
...
...
@@ -2088,7 +2088,7 @@ int E_(en50221_Poll)( access_t * p_access )
/*****************************************************************************
* en50221_SetCAPMT :
*****************************************************************************/
int
E_
(
en50221_SetCAPMT
)
(
access_t
*
p_access
,
dvbpsi_pmt_t
*
p_pmt
)
int
en50221_SetCAPMT
(
access_t
*
p_access
,
dvbpsi_pmt_t
*
p_pmt
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
int
i
,
i_session_id
;
...
...
@@ -2159,7 +2159,7 @@ int E_(en50221_SetCAPMT)( access_t * p_access, dvbpsi_pmt_t *p_pmt )
/*****************************************************************************
* en50221_OpenMMI :
*****************************************************************************/
int
E_
(
en50221_OpenMMI
)
(
access_t
*
p_access
,
int
i_slot
)
int
en50221_OpenMMI
(
access_t
*
p_access
,
int
i_slot
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -2202,7 +2202,7 @@ int E_(en50221_OpenMMI)( access_t * p_access, int i_slot )
/*****************************************************************************
* en50221_CloseMMI :
*****************************************************************************/
int
E_
(
en50221_CloseMMI
)
(
access_t
*
p_access
,
int
i_slot
)
int
en50221_CloseMMI
(
access_t
*
p_access
,
int
i_slot
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -2233,7 +2233,7 @@ int E_(en50221_CloseMMI)( access_t * p_access, int i_slot )
/*****************************************************************************
* en50221_GetMMIObject :
*****************************************************************************/
en50221_mmi_object_t
*
E_
(
en50221_GetMMIObject
)
(
access_t
*
p_access
,
en50221_mmi_object_t
*
en50221_GetMMIObject
(
access_t
*
p_access
,
int
i_slot
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -2262,7 +2262,7 @@ en50221_mmi_object_t *E_(en50221_GetMMIObject)( access_t * p_access,
/*****************************************************************************
* en50221_SendMMIObject :
*****************************************************************************/
void
E_
(
en50221_SendMMIObject
)
(
access_t
*
p_access
,
int
i_slot
,
void
en50221_SendMMIObject
(
access_t
*
p_access
,
int
i_slot
,
en50221_mmi_object_t
*
p_object
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -2284,7 +2284,7 @@ void E_(en50221_SendMMIObject)( access_t * p_access, int i_slot,
/*****************************************************************************
* en50221_End :
*****************************************************************************/
void
E_
(
en50221_End
)
(
access_t
*
p_access
)
void
en50221_End
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
int
i_session_id
,
i
;
...
...
modules/access/dvb/http.c
View file @
63007605
...
...
@@ -79,7 +79,7 @@ static int HttpCallback( httpd_file_sys_t *p_args,
/*****************************************************************************
* HTTPOpen: Start the internal HTTP server
*****************************************************************************/
int
E_
(
HTTPOpen
)
(
access_t
*
p_access
)
int
HTTPOpen
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
char
*
psz_address
,
*
psz_cert
=
NULL
,
*
psz_key
=
NULL
,
...
...
@@ -194,7 +194,7 @@ int E_(HTTPOpen)( access_t *p_access )
/*****************************************************************************
* HTTPClose: Stop the internal HTTP server
*****************************************************************************/
void
E_
(
HTTPClose
)
(
access_t
*
p_access
)
void
HTTPClose
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -295,7 +295,7 @@ static int HttpCallback( httpd_file_sys_t *p_args,
/****************************************************************************
* HTTPExtractValue: Extract a GET variable from psz_request
****************************************************************************/
char
*
E_
(
HTTPExtractValue
)
(
char
*
psz_uri
,
const
char
*
psz_name
,
char
*
HTTPExtractValue
(
char
*
psz_uri
,
const
char
*
psz_name
,
char
*
psz_value
,
int
i_value_max
)
{
char
*
p
=
psz_uri
;
...
...
modules/access/dvb/linux_dvb.c
View file @
63007605
...
...
@@ -91,7 +91,7 @@ static int FrontendSetATSC( access_t * );
/*****************************************************************************
* FrontendOpen : Determine frontend device information and capabilities
*****************************************************************************/
int
E_
(
FrontendOpen
)
(
access_t
*
p_access
)
int
FrontendOpen
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
frontend_t
*
p_frontend
;
...
...
@@ -212,7 +212,7 @@ int E_(FrontendOpen)( access_t *p_access )
/*****************************************************************************
* FrontendClose : Close the frontend
*****************************************************************************/
void
E_
(
FrontendClose
)
(
access_t
*
p_access
)
void
FrontendClose
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -228,7 +228,7 @@ void E_(FrontendClose)( access_t *p_access )
/*****************************************************************************
* FrontendSet : Tune !
*****************************************************************************/
int
E_
(
FrontendSet
)
(
access_t
*
p_access
)
int
FrontendSet
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -283,7 +283,7 @@ int E_(FrontendSet)( access_t *p_access )
/*****************************************************************************
* FrontendPoll : Poll for frontend events
*****************************************************************************/
void
E_
(
FrontendPoll
)
(
access_t
*
p_access
)
void
FrontendPoll
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
frontend_t
*
p_frontend
=
p_sys
->
p_frontend
;
...
...
@@ -359,7 +359,7 @@ void E_(FrontendPoll)( access_t *p_access )
{
/* The frontend was reinited. */
msg_Warn
(
p_access
,
"reiniting frontend"
);
E_
(
FrontendSet
)
(
p_access
);
FrontendSet
(
p_access
);
}
}
#undef IF_UP
...
...
@@ -370,7 +370,7 @@ void E_(FrontendPoll)( access_t *p_access )
/*****************************************************************************
* FrontendStatus : Read frontend status
*****************************************************************************/
void
E_
(
FrontendStatus
)
(
access_t
*
p_access
)
void
FrontendStatus
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
frontend_t
*
p_frontend
=
p_sys
->
p_frontend
;
...
...
@@ -1223,7 +1223,7 @@ static int FrontendSetATSC( access_t *p_access )
/*****************************************************************************
* DMXSetFilter : controls the demux to add a filter
*****************************************************************************/
int
E_
(
DMXSetFilter
)
(
access_t
*
p_access
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
)
int
DMXSetFilter
(
access_t
*
p_access
,
int
i_pid
,
int
*
pi_fd
,
int
i_type
)
{
struct
dmx_pes_filter_params
s_filter_params
;
int
i_ret
;
...
...
@@ -1361,7 +1361,7 @@ int E_(DMXSetFilter)( access_t * p_access, int i_pid, int * pi_fd, int i_type )
/*****************************************************************************
* DMXUnsetFilter : removes a filter
*****************************************************************************/
int
E_
(
DMXUnsetFilter
)
(
access_t
*
p_access
,
int
i_fd
)
int
DMXUnsetFilter
(
access_t
*
p_access
,
int
i_fd
)
{
int
i_ret
;
...
...
@@ -1384,7 +1384,7 @@ int E_(DMXUnsetFilter)( access_t * p_access, int i_fd )
/*****************************************************************************
* DVROpen :
*****************************************************************************/
int
E_
(
DVROpen
)
(
access_t
*
p_access
)
int
DVROpen
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
unsigned
int
i_adapter
,
i_device
;
...
...
@@ -1421,7 +1421,7 @@ int E_(DVROpen)( access_t * p_access )
/*****************************************************************************
* DVRClose :
*****************************************************************************/
void
E_
(
DVRClose
)
(
access_t
*
p_access
)
void
DVRClose
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -1436,7 +1436,7 @@ void E_(DVRClose)( access_t * p_access )
/*****************************************************************************
* CAMOpen :
*****************************************************************************/
int
E_
(
CAMOpen
)
(
access_t
*
p_access
)
int
CAMOpen
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
char
ca
[
128
];
...
...
@@ -1522,13 +1522,13 @@ int E_(CAMOpen)( access_t *p_access )
memset
(
p_sys
->
pb_slot_mmi_undisplayed
,
0
,
sizeof
(
bool
)
*
MAX_CI_SLOTS
);
return
E_
(
en50221_Init
)
(
p_access
);
return
en50221_Init
(
p_access
);
}
/*****************************************************************************
* CAMPoll :
*****************************************************************************/
int
E_
(
CAMPoll
)
(
access_t
*
p_access
)
int
CAMPoll
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
int
i_ret
=
VLC_EGENERIC
;
...
...
@@ -1541,7 +1541,7 @@ int E_(CAMPoll)( access_t * p_access )
switch
(
p_sys
->
i_ca_type
)
{
case
CA_CI_LINK
:
i_ret
=
E_
(
en50221_Poll
)
(
p_access
);
i_ret
=
en50221_Poll
(
p_access
);
break
;
case
CA_CI
:
i_ret
=
VLC_SUCCESS
;
...
...
@@ -1558,7 +1558,7 @@ int E_(CAMPoll)( access_t * p_access )
/*****************************************************************************
* CAMStatus :
*****************************************************************************/
void
E_
(
CAMStatus
)
(
access_t
*
p_access
)
void
CAMStatus
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
char
*
p
;
...
...
@@ -1592,7 +1592,7 @@ void E_(CAMStatus)( access_t * p_access )
p_sys
->
psz_request
=
NULL
;
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"slot"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"slot"
,
psz_value
,
sizeof
(
psz_value
)
)
==
NULL
)
{
p_sys
->
psz_mmi_info
=
strdup
(
"invalid request parameter
\n
"
);
...
...
@@ -1600,27 +1600,27 @@ void E_(CAMStatus)( access_t * p_access )
}
i_slot
=
atoi
(
psz_value
);
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"open"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"open"
,
psz_value
,
sizeof
(
psz_value
)
)
!=
NULL
)
{
E_
(
en50221_OpenMMI
)
(
p_access
,
i_slot
);
en50221_OpenMMI
(
p_access
,
i_slot
);
return
;
}
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"close"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"close"
,
psz_value
,
sizeof
(
psz_value
)
)
!=
NULL
)
{
E_
(
en50221_CloseMMI
)
(
p_access
,
i_slot
);
en50221_CloseMMI
(
p_access
,
i_slot
);
return
;
}
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"cancel"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"cancel"
,
psz_value
,
sizeof
(
psz_value
)
)
==
NULL
)
{
b_ok
=
true
;
}
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"type"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"type"
,
psz_value
,
sizeof
(
psz_value
)
)
==
NULL
)
{
p_sys
->
psz_mmi_info
=
strdup
(
"invalid request parameter
\n
"
);
...
...
@@ -1637,7 +1637,7 @@ void E_(CAMStatus)( access_t * p_access )
}
else
{
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"answ"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"answ"
,
psz_value
,
sizeof
(
psz_value
)
)
==
NULL
)
{
p_sys
->
psz_mmi_info
=
strdup
(
"invalid request parameter
\n
"
);
...
...
@@ -1656,7 +1656,7 @@ void E_(CAMStatus)( access_t * p_access )
}
else
{
if
(
E_
(
HTTPExtractValue
)
(
psz_request
,
"choice"
,
psz_value
,
if
(
HTTPExtractValue
(
psz_request
,
"choice"
,
psz_value
,
sizeof
(
psz_value
)
)
==
NULL
)
mmi_object
.
u
.
menu_answ
.
i_choice
=
0
;
else
...
...
@@ -1664,7 +1664,7 @@ void E_(CAMStatus)( access_t * p_access )
}
}
E_
(
en50221_SendMMIObject
)
(
p_access
,
i_slot
,
&
mmi_object
);
en50221_SendMMIObject
(
p_access
,
i_slot
,
&
mmi_object
);
return
;
}
...
...
@@ -1739,7 +1739,7 @@ void E_(CAMStatus)( access_t * p_access )
if
(
sinfo
.
flags
&
CA_CI_MODULE_READY
)
{
en50221_mmi_object_t
*
p_object
=
E_
(
en50221_GetMMIObject
)
(
p_access
,
en50221_mmi_object_t
*
p_object
=
en50221_GetMMIObject
(
p_access
,
i_slot
);
p
+=
sprintf
(
p
,
"module present and ready<p>
\n
"
);
...
...
@@ -1818,7 +1818,7 @@ out:
/*****************************************************************************
* CAMSet :
*****************************************************************************/
int
E_
(
CAMSet
)
(
access_t
*
p_access
,
dvbpsi_pmt_t
*
p_pmt
)
int
CAMSet
(
access_t
*
p_access
,
dvbpsi_pmt_t
*
p_pmt
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
...
...
@@ -1828,7 +1828,7 @@ int E_(CAMSet)( access_t * p_access, dvbpsi_pmt_t *p_pmt )
return
VLC_EGENERIC
;
}
E_
(
en50221_SetCAPMT
)
(
p_access
,
p_pmt
);
en50221_SetCAPMT
(
p_access
,
p_pmt
);
return
VLC_SUCCESS
;
}
...
...
@@ -1836,11 +1836,11 @@ int E_(CAMSet)( access_t * p_access, dvbpsi_pmt_t *p_pmt )
/*****************************************************************************
* CAMClose :
*****************************************************************************/
void
E_
(
CAMClose
)
(
access_t
*
p_access
)
void
CAMClose
(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
=
p_access
->
p_sys
;
E_
(
en50221_End
)
(
p_access
);
en50221_End
(
p_access
);
if
(
p_sys
->
i_ca_handle
)
{
...
...
modules/access/mms/asf.c
View file @
63007605
...
...
@@ -45,7 +45,7 @@ static int CmpGuid( const guid_t *p_guid1, const guid_t *p_guid2 )
p_guid1
->
v4
[
7
]
==
p_guid2
->
v4
[
7
]
)
?
1
:
0
);
}
void
E_
(
GenerateGuid
)
(
guid_t
*
p_guid
)
void
GenerateGuid
(
guid_t
*
p_guid
)
{
int
i
;
...
...
@@ -61,7 +61,7 @@ void E_( GenerateGuid )( guid_t *p_guid )
}
}
void
E_
(
asf_HeaderParse
)
(
asf_header_t
*
hdr
,
void
asf_HeaderParse
(
asf_header_t
*
hdr
,
uint8_t
*
p_header
,
int
i_header
)
{
var_buffer_t
buffer
;
...
...
@@ -201,7 +201,7 @@ void E_( asf_HeaderParse )( asf_header_t *hdr,
}
}
void
E_
(
asf_StreamSelect
)
(
asf_header_t
*
hdr
,
void
asf_StreamSelect
(
asf_header_t
*
hdr
,
int
i_bitrate_max
,
bool
b_all
,
bool
b_audio
,
bool
b_video
)