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
8b366bae
Commit
8b366bae
authored
Aug 15, 2002
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* BeOS fixes
parent
50090932
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
8 deletions
+50
-8
Makefile
Makefile
+1
-0
configure
configure
+23
-4
configure.in
configure.in
+26
-4
No files found.
Makefile
View file @
8b366bae
...
@@ -438,6 +438,7 @@ package-beos:
...
@@ -438,6 +438,7 @@ package-beos:
# Copy relevant files
# Copy relevant files
cp
vlc tmp/vlc/
cp
vlc tmp/vlc/
strip tmp/vlc/vlc
strip tmp/vlc/vlc
xres
-o
tmp/vlc/vlc ./share/vlc_beos.rsrc
cp
AUTHORS COPYING ChangeLog README FAQ TODO tmp/vlc/
cp
AUTHORS COPYING ChangeLog README FAQ TODO tmp/vlc/
for
file
in
default8x16.psf default8x9.psf
;
\
for
file
in
default8x16.psf default8x9.psf
;
\
do
cp
share/
$$
file tmp/vlc/share/
;
done
do
cp
share/
$$
file tmp/vlc/share/
;
done
...
...
configure
View file @
8b366bae
...
@@ -5467,7 +5467,9 @@ case x"${target_cpu}" in
...
@@ -5467,7 +5467,9 @@ case x"${target_cpu}" in
esac
esac
BUILTINS
=
"
${
BUILTINS
}
idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec"
BUILTINS
=
"
${
BUILTINS
}
idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec"
PLUGINS
=
"
${
PLUGINS
}
dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope"
PLUGINS
=
"
${
PLUGINS
}
dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope"
NETWORK_MODULES
=
"udp http ipv4"
MMX_MODULES
=
"memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
MMX_MODULES
=
"memcpymmx idctmmx motionmmx chroma_i420_rgb_mmx chroma_i420_yuy2_mmx chroma_i422_yuy2_mmx chroma_i420_ymga_mmx"
MMXEXT_MODULES
=
"memcpymmxext idctmmxext motionmmxext"
MMXEXT_MODULES
=
"memcpymmxext idctmmxext motionmmxext"
...
@@ -5475,6 +5477,11 @@ THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
...
@@ -5475,6 +5477,11 @@ THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
SSE_MODULES
=
"imdctsse downmixsse"
SSE_MODULES
=
"imdctsse downmixsse"
ALTIVEC_MODULES
=
"idctaltivec motionaltivec memcpyaltivec"
ALTIVEC_MODULES
=
"idctaltivec motionaltivec memcpyaltivec"
if
test
x
$SYS
!=
xbeos
then
PLUGINS
=
"
${
PLUGINS
}
${
NETWORK_MODULES
}
"
fi
echo
$ac_n
"checking if
\$
CC groks MMX inline assembly""...
$ac_c
"
1>&6
echo
$ac_n
"checking if
\$
CC groks MMX inline assembly""...
$ac_c
"
1>&6
echo
"configure:5480: checking if
\$
CC groks MMX inline assembly"
>
&5
echo
"configure:5480: checking if
\$
CC groks MMX inline assembly"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmx_inline
'+set}'
`
\"
= set"
;
then
if
eval
"test
\"
`
echo
'$''{'
ac_cv_mmx_inline
'+set}'
`
\"
= set"
;
then
...
@@ -6596,7 +6603,11 @@ echo "configure:6589: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
...
@@ -6596,7 +6603,11 @@ echo "configure:6589: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
then
then
echo
"
$ac_t
""
${
real_ffmpeg_tree
}
/libavcodec/libavcodec.a"
1>&6
echo
"
$ac_t
""
${
real_ffmpeg_tree
}
/libavcodec/libavcodec.a"
1>&6
BUILTINS
=
"
${
BUILTINS
}
ffmpeg"
BUILTINS
=
"
${
BUILTINS
}
ffmpeg"
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
${
real_ffmpeg_tree
}
/libavcodec/libavcodec.a -lm"
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
${
real_ffmpeg_tree
}
/libavcodec/libavcodec.a"
if
test
x
$SYS
!=
xbeos
then
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
-lm"
fi
ffmpeg_CFLAGS
=
"
${
ffmpeg_CFLAGS
}
-I
${
real_ffmpeg_tree
}
/libavcodec"
ffmpeg_CFLAGS
=
"
${
ffmpeg_CFLAGS
}
-I
${
real_ffmpeg_tree
}
/libavcodec"
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
...
@@ -6606,7 +6617,11 @@ echo "configure:6589: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
...
@@ -6606,7 +6617,11 @@ echo "configure:6589: checking for libavcodec.a in ${with_ffmpeg_tree}" >&5
save_CFLAGS
=
$CFLAGS
save_CFLAGS
=
$CFLAGS
save_LDFLAGS
=
$LDFLAGS
save_LDFLAGS
=
$LDFLAGS
CFLAGS
=
"
$CFLAGS
$ffmpeg_CFLAGS
"
CFLAGS
=
"
$CFLAGS
$ffmpeg_CFLAGS
"
LDFLAGS
=
"
$LDFLAGS
$ffmpeg_LDFLAGS
-lm"
LDFLAGS
=
"
$LDFLAGS
$ffmpeg_LDFLAGS
"
if
test
x
$SYS
!=
xbeos
then
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
-lm"
fi
echo
$ac_n
"checking for avcodec_init in -lavcodec""...
$ac_c
"
1>&6
echo
$ac_n
"checking for avcodec_init in -lavcodec""...
$ac_c
"
1>&6
echo
"configure:6612: checking for avcodec_init in -lavcodec"
>
&5
echo
"configure:6612: checking for avcodec_init in -lavcodec"
>
&5
ac_lib_var
=
`
echo
avcodec
'_'
avcodec_init |
sed
'y%./+-%__p_%'
`
ac_lib_var
=
`
echo
avcodec
'_'
avcodec_init |
sed
'y%./+-%__p_%'
`
...
@@ -6644,7 +6659,11 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
...
@@ -6644,7 +6659,11 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo
"
$ac_t
""yes"
1>&6
echo
"
$ac_t
""yes"
1>&6
BUILTINS
=
"
${
BUILTINS
}
ffmpeg"
BUILTINS
=
"
${
BUILTINS
}
ffmpeg"
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
-lavcodec -lm"
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
-lavcodec"
if
test
x
$SYS
!=
xbeos
then
ffmpeg_LDFLAGS
=
"
${
ffmpeg_LDFLAGS
}
-lm"
fi
else
else
echo
"
$ac_t
""no"
1>&6
echo
"
$ac_t
""no"
1>&6
{
echo
"configure: error: Cannot find libavcodec library..."
1>&2
;
exit
1
;
}
{
echo
"configure: error: Cannot find libavcodec library..."
1>&2
;
exit
1
;
}
...
...
configure.in
View file @
8b366bae
...
@@ -427,7 +427,12 @@ dnl
...
@@ -427,7 +427,12 @@ dnl
dnl default modules
dnl default modules
dnl
dnl
BUILTINS="${BUILTINS} idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec"
BUILTINS="${BUILTINS} idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec"
PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope"
PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_ps mpeg_ts mpeg_audio file memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort filter_clone filter_crop fx_scope"
dnl
dnl Network modules
dnl
NETWORK_MODULES="udp http ipv4"
dnl
dnl
dnl Accelerated modules
dnl Accelerated modules
...
@@ -438,6 +443,11 @@ THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
...
@@ -438,6 +443,11 @@ THREEDNOW_MODULES="memcpy3dn imdct3dn downmix3dn"
SSE_MODULES="imdctsse downmixsse"
SSE_MODULES="imdctsse downmixsse"
ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
ALTIVEC_MODULES="idctaltivec motionaltivec memcpyaltivec"
if test x$SYS != xbeos
then
PLUGINS="${PLUGINS} ${NETWORK_MODULES}"
fi
AC_CACHE_CHECK([if \$CC groks MMX inline assembly],
AC_CACHE_CHECK([if \$CC groks MMX inline assembly],
[ac_cv_mmx_inline],
[ac_cv_mmx_inline],
[AC_TRY_COMPILE(,[void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));],
[AC_TRY_COMPILE(,[void *p;asm volatile("packuswb %%mm1,%%mm2"::"r"(p));],
...
@@ -948,7 +958,11 @@ then
...
@@ -948,7 +958,11 @@ then
dnl Use a custom libffmpeg
dnl Use a custom libffmpeg
AC_MSG_RESULT(${real_ffmpeg_tree}/libavcodec/libavcodec.a)
AC_MSG_RESULT(${real_ffmpeg_tree}/libavcodec/libavcodec.a)
BUILTINS="${BUILTINS} ffmpeg"
BUILTINS="${BUILTINS} ffmpeg"
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} ${real_ffmpeg_tree}/libavcodec/libavcodec.a -lm"
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} ${real_ffmpeg_tree}/libavcodec/libavcodec.a"
if test x$SYS != xbeos
then
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
fi
ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I${real_ffmpeg_tree}/libavcodec"
ffmpeg_CFLAGS="${ffmpeg_CFLAGS} -I${real_ffmpeg_tree}/libavcodec"
else
else
dnl The given libavcodec wasn't built
dnl The given libavcodec wasn't built
...
@@ -959,10 +973,18 @@ then
...
@@ -959,10 +973,18 @@ then
save_CFLAGS=$CFLAGS
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
save_LDFLAGS=$LDFLAGS
CFLAGS="$CFLAGS $ffmpeg_CFLAGS"
CFLAGS="$CFLAGS $ffmpeg_CFLAGS"
LDFLAGS="$LDFLAGS $ffmpeg_LDFLAGS -lm"
LDFLAGS="$LDFLAGS $ffmpeg_LDFLAGS"
if test x$SYS != xbeos
then
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
fi
AC_CHECK_LIB(avcodec, avcodec_init, [
AC_CHECK_LIB(avcodec, avcodec_init, [
BUILTINS="${BUILTINS} ffmpeg"
BUILTINS="${BUILTINS} ffmpeg"
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lavcodec -lm" ],
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lavcodec"
if test x$SYS != xbeos
then
ffmpeg_LDFLAGS="${ffmpeg_LDFLAGS} -lm"
fi ],
[ AC_MSG_ERROR([Cannot find libavcodec library...]) ])
[ AC_MSG_ERROR([Cannot find libavcodec library...]) ])
CFLAGS=$save_CFLAGS
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
LDFLAGS=$save_LDFLAGS
...
...
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