Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
506c5ec7
Commit
506c5ec7
authored
May 28, 2001
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Win32 compilation fixes, esp. the MAC retrieval.
parent
5b5ae2eb
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5298 additions
and
3047 deletions
+5298
-3047
Makefile.opts.in
Makefile.opts.in
+1
-1
configure
configure
+5039
-2780
configure.in
configure.in
+3
-1
include/netutils.h
include/netutils.h
+2
-2
plugins/imdct/ac3_imdct_3dn.c
plugins/imdct/ac3_imdct_3dn.c
+5
-1
plugins/imdct/ac3_imdct_sse.c
plugins/imdct/ac3_imdct_sse.c
+5
-1
plugins/imdct/imdct3dn.c
plugins/imdct/imdct3dn.c
+2
-2
plugins/imdct/imdctsse.c
plugins/imdct/imdctsse.c
+2
-2
src/misc/netutils.c
src/misc/netutils.c
+239
-257
No files found.
Makefile.opts.in
View file @
506c5ec7
...
@@ -141,7 +141,7 @@ INCLUDE += -Iinclude -Iextras -I/usr/local/include
...
@@ -141,7 +141,7 @@ INCLUDE += -Iinclude -Iextras -I/usr/local/include
LIB
+=
@LIB@
-L
/usr/local/lib
LIB
+=
@LIB@
-L
/usr/local/lib
ifneq
(,$(findstring mingw32,$(SYS)))
ifneq
(,$(findstring mingw32,$(SYS)))
LIB
+=
-lws2_32
LIB
+=
-lws2_32
-lnetapi32
endif
endif
#
#
...
...
configure
View file @
506c5ec7
This diff is collapsed.
Click to expand it.
configure.in
View file @
506c5ec7
...
@@ -149,9 +149,11 @@ dnl
...
@@ -149,9 +149,11 @@ dnl
case x$host_os in
case x$host_os in
xmingw32msvc)
xmingw32msvc)
MMX_PLUGINS="idctmmx motionmmx"
MMX_PLUGINS="idctmmx motionmmx"
MMXEXT_PLUGINS="idctmmxext motionmmxext imdct3dn"
;;
;;
*)
*)
MMX_PLUGINS="yuvmmx idctmmx motionmmx"
MMX_PLUGINS="yuvmmx idctmmx motionmmx"
MMXEXT_PLUGINS="idctmmxext motionmmxext imdct3dn imdctsse downmix3dn downmixsse"
;;
;;
esac
esac
...
@@ -162,7 +164,7 @@ AC_TRY_COMPILE([void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}],,
...
@@ -162,7 +164,7 @@ AC_TRY_COMPILE([void quux(){void *p;asm("packuswb %%mm1,%%mm2"::"r"(p));}],,
AC_MSG_CHECKING([if \$CC groks MMX EXT or SSE inline assembly])
AC_MSG_CHECKING([if \$CC groks MMX EXT or SSE inline assembly])
AC_TRY_COMPILE([void quux(){void *p;asm("maskmovq %%mm1,%%mm2"::"r"(p));}],,
AC_TRY_COMPILE([void quux(){void *p;asm("maskmovq %%mm1,%%mm2"::"r"(p));}],,
ACCEL_PLUGINS="${ACCEL_PLUGINS}
idctmmxext motionmmxext imdct3dn imdctsse downmix3dn downmixsse
"
ACCEL_PLUGINS="${ACCEL_PLUGINS}
${MMXEXT_PLUGINS}
"
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
dnl
dnl
...
...
include/netutils.h
View file @
506c5ec7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* modules.
* modules.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: netutils.h,v 1.1
2 2001/05/06 04:32:02
sam Exp $
* $Id: netutils.h,v 1.1
3 2001/05/28 02:38:48
sam Exp $
*
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Henri Fallon <henri@videolan.org>
* Henri Fallon <henri@videolan.org>
...
@@ -32,5 +32,5 @@
...
@@ -32,5 +32,5 @@
*****************************************************************************/
*****************************************************************************/
int
network_BuildLocalAddr
(
struct
sockaddr_in
*
,
int
,
char
*
);
int
network_BuildLocalAddr
(
struct
sockaddr_in
*
,
int
,
char
*
);
int
network_BuildRemoteAddr
(
struct
sockaddr_in
*
,
char
*
);
int
network_BuildRemoteAddr
(
struct
sockaddr_in
*
,
char
*
);
int
network_ChannelJoin
(
int
i_channel_id
);
int
network_ChannelJoin
(
int
);
int
network_ChannelCreate
(
void
);
int
network_ChannelCreate
(
void
);
plugins/imdct/ac3_imdct_3dn.c
View file @
506c5ec7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ac3_imdct_3dn.c: accelerated 3D Now! ac3 DCT
* ac3_imdct_3dn.c: accelerated 3D Now! ac3 DCT
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: ac3_imdct_3dn.c,v 1.
1 2001/05/16 14:51:29 reno
Exp $
* $Id: ac3_imdct_3dn.c,v 1.
2 2001/05/28 02:38:48 sam
Exp $
*
*
* Authors: Renaud Dartus <reno@videolan.org>
* Authors: Renaud Dartus <reno@videolan.org>
*
*
...
@@ -41,6 +41,10 @@
...
@@ -41,6 +41,10 @@
#include "ac3_imdct_common.h"
#include "ac3_imdct_common.h"
#include "ac3_retables.h"
#include "ac3_retables.h"
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif
void
_M
(
fft_64p
)
(
complex_t
*
x
);
void
_M
(
fft_64p
)
(
complex_t
*
x
);
void
_M
(
fft_128p
)
(
complex_t
*
a
);
void
_M
(
fft_128p
)
(
complex_t
*
a
);
...
...
plugins/imdct/ac3_imdct_sse.c
View file @
506c5ec7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* ac3_imdct_sse.c: accelerated SSE ac3 DCT
* ac3_imdct_sse.c: accelerated SSE ac3 DCT
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: ac3_imdct_sse.c,v 1.
2 2001/05/16 14:51:29 reno
Exp $
* $Id: ac3_imdct_sse.c,v 1.
3 2001/05/28 02:38:48 sam
Exp $
*
*
* Authors: Renaud Dartus <reno@videolan.org>
* Authors: Renaud Dartus <reno@videolan.org>
* Aaron Holtzman <aholtzma@engr.uvic.ca>
* Aaron Holtzman <aholtzma@engr.uvic.ca>
...
@@ -42,6 +42,10 @@
...
@@ -42,6 +42,10 @@
#include "ac3_imdct_common.h"
#include "ac3_imdct_common.h"
#include "ac3_retables.h"
#include "ac3_retables.h"
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif
void
_M
(
fft_64p
)
(
complex_t
*
x
);
void
_M
(
fft_64p
)
(
complex_t
*
x
);
void
_M
(
fft_128p
)
(
complex_t
*
a
);
void
_M
(
fft_128p
)
(
complex_t
*
a
);
...
...
plugins/imdct/imdct3dn.c
View file @
506c5ec7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* imdct3dn.c : accelerated 3D Now! IMDCT module
* imdct3dn.c : accelerated 3D Now! IMDCT module
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: imdct3dn.c,v 1.
1 2001/05/16 14:51:29 reno
Exp $
* $Id: imdct3dn.c,v 1.
2 2001/05/28 02:38:48 sam
Exp $
*
*
* Authors: Gaël Hendryckx <jimmy@via.ecp.fr>
* Authors: Gaël Hendryckx <jimmy@via.ecp.fr>
*
*
...
@@ -67,7 +67,7 @@ MODULE_CONFIG_END
...
@@ -67,7 +67,7 @@ MODULE_CONFIG_END
MODULE_INIT
MODULE_INIT
{
{
p_module
->
psz_name
=
MODULE_STRING
;
p_module
->
psz_name
=
MODULE_STRING
;
p_module
->
psz_longname
=
"AC3 IMDCT module"
;
p_module
->
psz_longname
=
"
3D Now!
AC3 IMDCT module"
;
p_module
->
psz_version
=
VERSION
;
p_module
->
psz_version
=
VERSION
;
p_module
->
i_capabilities
=
MODULE_CAPABILITY_NULL
p_module
->
i_capabilities
=
MODULE_CAPABILITY_NULL
...
...
plugins/imdct/imdctsse.c
View file @
506c5ec7
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* imdctsse.c : accelerated SSE IMDCT module
* imdctsse.c : accelerated SSE IMDCT module
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* Copyright (C) 1999, 2000 VideoLAN
* $Id: imdctsse.c,v 1.
1 2001/05/15 16:19:42
sam Exp $
* $Id: imdctsse.c,v 1.
2 2001/05/28 02:38:48
sam Exp $
*
*
* Authors: Gaël Hendryckx <jimmy@via.ecp.fr>
* Authors: Gaël Hendryckx <jimmy@via.ecp.fr>
*
*
...
@@ -67,7 +67,7 @@ MODULE_CONFIG_END
...
@@ -67,7 +67,7 @@ MODULE_CONFIG_END
MODULE_INIT
MODULE_INIT
{
{
p_module
->
psz_name
=
MODULE_STRING
;
p_module
->
psz_name
=
MODULE_STRING
;
p_module
->
psz_longname
=
"AC3 IMDCT module"
;
p_module
->
psz_longname
=
"
SSE
AC3 IMDCT module"
;
p_module
->
psz_version
=
VERSION
;
p_module
->
psz_version
=
VERSION
;
p_module
->
i_capabilities
=
MODULE_CAPABILITY_NULL
p_module
->
i_capabilities
=
MODULE_CAPABILITY_NULL
...
...
src/misc/netutils.c
View file @
506c5ec7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment