Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
163bf2de
Commit
163bf2de
authored
Nov 27, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* extras/contrib: wince ffmpeg fixes + faad support.
parent
405e0811
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
118 additions
and
75 deletions
+118
-75
extras/contrib/bootstrap
extras/contrib/bootstrap
+1
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+6
-6
extras/contrib/src/Patches/faad2-20050513-win32.patch
extras/contrib/src/Patches/faad2-20050513-win32.patch
+0
-20
extras/contrib/src/Patches/faad2.patch
extras/contrib/src/Patches/faad2.patch
+40
-12
extras/contrib/src/Patches/ffmpeg-cvs-wince.patch
extras/contrib/src/Patches/ffmpeg-cvs-wince.patch
+71
-37
No files found.
extras/contrib/bootstrap
View file @
163bf2de
...
...
@@ -116,6 +116,7 @@ case $HOST in
arm-wince-pe
)
echo
"HAVE_WINCE = 1"
>>
config.mak
echo
"PKG_CONFIG_PATH =
\$
(PREFIX)/lib/pkgconfig"
>>
config.mak
EXTRA_CPPFLAGS
=
" -D_WIN32_WCE"
;;
*
)
;;
...
...
extras/contrib/src/Makefile
View file @
163bf2de
...
...
@@ -86,12 +86,12 @@ endif
#
ifdef
HAVE_WIN32
HOSTCONF
+=
--without-pic
--disable-shared
--enable-msw
--with-included-opencdk
--with-included-libtasn1
--disable-depedency-tracking
FFMPEGCONF
+=
--enable-mingw32
--enable-memalign-hack
--cpu
=
x86
FFMPEGCONF
+=
--enable-mingw32
--enable-memalign-hack
--cpu
=
x86
--disable-debug
endif
ifdef
HAVE_WINCE
HOSTCONF
+=
--without-pic
--disable-shared
FFMPEGCONF
+=
--enable-mingwce
--cpu
=
armv4l
--disable-debug
--disable-encoders
--disable-muxers
--disable-mpegaudio-hp
--disable-codec
=
snow
--disable-protocols
FFMPEGCONF
+=
--enable-mingwce
--cpu
=
armv4l
--disable-debug
--disable-encoders
--disable-muxers
--disable-mpegaudio-hp
--disable-codec
=
snow
--disable-
codec
=
vc9
--disable-codec
=
wmv3
--disable-codec
=
vorbis
--disable-codec
=
vorbis
--disable-codec
=
dvdsub
--disable-codec
=
dvbsub
--disable-
protocols
else
FFMPEGCONF
+=
--enable-mp3lame
--enable-faac
endif
...
...
@@ -145,7 +145,7 @@ else
ifdef
HAVE_WINCE
all
:
.dvbpsi .zlib .ffmpeg .ogg .tremor
all
:
.dvbpsi .zlib .ffmpeg .ogg .tremor
.faad
else
# Standard Linux or other UNIX-like systems
...
...
@@ -719,9 +719,8 @@ faad2-$(FAAD2_VERSION).tar.bz2:
faad2
:
faad2-$(FAAD2_VERSION).tar.bz2
$(EXTRACT_BZ2)
ifdef
HAVE_WIN32
(
cd
faad2
;
patch
-p
0 < ../Patches/faad2-20050513-win32.patch
&&
./bootstrap
)
endif
(
cd
faad2
;
patch
-p
0 < ../Patches/faad2.patch
&&
./bootstrap
)
.faad
:
faad2
(
cd
$<
&&
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
CFLAGS
=
"-O3"
&&
make
-C
libfaad
&&
make
-C
libfaad
install
)
ifndef
HAVE_DARWIN
...
...
@@ -846,6 +845,7 @@ ifeq ($(HOST),i586-pc-beos)
endif
ifdef
HAVE_WIN32
patch
-p
0 < Patches/ffmpeg-cvs-win32.patch
patch
-p
1 < Patches/ffmpeg-cvs-wince.patch
endif
ifdef
HAVE_WINCE
patch
-p
1 < Patches/ffmpeg-cvs-wince.patch
...
...
extras/contrib/src/Patches/faad2-20050513-win32.patch
deleted
100644 → 0
View file @
405e0811
+codebook/hcb_9.h codebook/hcb_10.h codebook/hcb_11.h codebook/hcb_sf.h
Index: libfaad/common.h
===================================================================
RCS file: /cvsroot/faac/faad2/libfaad/common.h,v
retrieving revision 1.66
diff -u -r1.66 common.h
--- libfaad/common.h 1 Feb 2005 13:23:35 -0000 1.66
+++ libfaad/common.h 13 May 2005 09:07:19 -0000
@@ -309,8 +309,10 @@
}
- #if defined(_WIN32) && !defined(__MINGW32__)
+ #ifdef __MINGW32__
#define HAS_LRINTF
+ #elif defined(_WIN32)
+ #define HAS_LRINTF
static INLINE int lrintf(float f)
{
int i;
extras/contrib/src/Patches/faad2.patch
View file @
163bf2de
diff -ru faad2.old/common/mp4v2/mp4.h faad2/common/mp4v2/mp4.h
--- faad2.old/common/mp4v2/mp4.h Sun Feb 22 14:04:55 2004
+++ faad2/common/mp4v2/mp4.h Sun Feb 22 14:18:41 2004
@@ -27,6 +27,8 @@
#include <mpeg4ip.h>
#include <math.h> /* to define float HUGE_VAL and/or NAN */
+/* Meuuh power */
+#undef NAN
#ifndef NAN
#define NAN HUGE_VAL
#endif
--- libfaad/bits.h 2005-11-22 23:41:28.000000000 +0000
+++ libfaad/bits.h 2005-11-22 23:40:15.000000000 +0000
@@ -58,7 +58,7 @@
#if defined (_WIN32) && !defined(_WIN32_WCE) && !defined(__MINGW32__)
#define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax
-#elif defined(LINUX) || defined(DJGPP) || defined(__MINGW32__)
+#elif defined(LINUX) || defined(DJGPP) || (defined(__MINGW32__) && !defined(__MINGWCE__))
#define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) )
#else
#define BSWAP(a) \
Index: libfaad/common.h
===================================================================
RCS file: /cvsroot/faac/faad2/libfaad/common.h,v
retrieving revision 1.66
diff -u -r1.66 common.h
--- libfaad/common.h 1 Feb 2005 13:23:35 -0000 1.66
+++ libfaad/common.h 22 Nov 2005 22:46:50 -0000
@@ -162,7 +162,7 @@
/* END COMPILE TIME DEFINITIONS */
-#if defined(_WIN32) && !defined(__MINGW32__)
+#if defined(_WIN32) && !defined(__MINGW32__) && !defined(__MINGWCE__)
#include <stdlib.h>
@@ -309,8 +309,11 @@
}
- #if defined(_WIN32) && !defined(__MINGW32__)
+ #if defined(__MINGWCE__)
+ #elif defined(__MINGW32__)
#define HAS_LRINTF
+ #elif defined(_WIN32)
+ #define HAS_LRINTF
static INLINE int lrintf(float f)
{
int i;
extras/contrib/src/Patches/ffmpeg-cvs-wince.patch
View file @
163bf2de
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