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
3d2c8734
Commit
3d2c8734
authored
Sep 17, 2008
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: re-enable swscale, remove no longer needed swscale patch.
parent
8c5a9c72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
60 deletions
+1
-60
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-2
extras/contrib/src/Patches/ffmpeg-libswscale-head.patch
extras/contrib/src/Patches/ffmpeg-libswscale-head.patch
+0
-58
No files found.
extras/contrib/src/Makefile
View file @
3d2c8734
...
@@ -1085,7 +1085,6 @@ ifdef HAVE_DARWIN_OS_ON_INTEL
...
@@ -1085,7 +1085,6 @@ ifdef HAVE_DARWIN_OS_ON_INTEL
endif
endif
ifdef
HAVE_DARWIN_OS
ifdef
HAVE_DARWIN_OS
(
cd
$@
/libswscale
;
patch
-p0
< ../../Patches/ffmpeg-fix-noaltivec.patch
)
(
cd
$@
/libswscale
;
patch
-p0
< ../../Patches/ffmpeg-fix-noaltivec.patch
)
(
cd
$@
/libswscale
;
patch
-p0
< ../../Patches/ffmpeg-libswscale-head.patch
)
endif
endif
ifdef
NO_TEXT_RELOCATION
ifdef
NO_TEXT_RELOCATION
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-svn-mmx_removal-darwin9.patch
)
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-svn-mmx_removal-darwin9.patch
)
...
@@ -1106,7 +1105,7 @@ ffmpeg: ffmpeg-$(FFMPEG_VERSION).tar.gz
...
@@ -1106,7 +1105,7 @@ ffmpeg: ffmpeg-$(FFMPEG_VERSION).tar.gz
endif
endif
FFMPEGCONF
=
--enable-gpl
--enable-postproc
--disable-vhook
--disable-ffserver
--disable-ffmpeg
--disable-ffplay
--disable-devices
--disable-protocols
--disable-network
--
disable-filters
FFMPEGCONF
=
--enable-gpl
--enable-postproc
--disable-vhook
--disable-ffserver
--disable-ffmpeg
--disable-ffplay
--disable-devices
--disable-protocols
--disable-network
--
enable-swscale
ifdef
HAVE_WINCE
ifdef
HAVE_WINCE
.ffmpeg
:
ffmpeg .zlib
.ffmpeg
:
ffmpeg .zlib
...
...
extras/contrib/src/Patches/ffmpeg-libswscale-head.patch
deleted
100644 → 0
View file @
8c5a9c72
Index: swscale_template.c
===================================================================
--- swscale_template.c (revision 27579)
+++ swscale_template.c (working copy)
@@ -1904,7 +1904,7 @@
BGR2UV(uint16_t, rgb15ToUV, 0, 0, 0, 0x7C00, 0x03E0, 0x001F, RU , GU<<5, BU<<10, RV , GV<<5, BV<<10, RGB2YUV_SHIFT+7)
#ifdef HAVE_MMX
-static inline void bgr24ToY_mmx(uint8_t *dst, uint8_t *src, long width, int srcFormat)
+static inline void RENAME(bgr24ToY_mmx)(uint8_t *dst, uint8_t *src, long width, int srcFormat)
{
if(srcFormat == PIX_FMT_BGR24){
@@ -1957,7 +1957,7 @@
);
}
-static inline void bgr24ToUV_mmx(uint8_t *dstU, uint8_t *dstV, uint8_t *src, long width, int srcFormat)
+static inline void RENAME(bgr24ToUV_mmx)(uint8_t *dstU, uint8_t *dstV, uint8_t *src, long width, int srcFormat)
{
asm volatile(
"movq 24+%4, %%mm6 \n\t"
@@ -2019,7 +2019,7 @@
static inline void RENAME(bgr24ToY)(uint8_t *dst, uint8_t *src, long width)
{
#ifdef HAVE_MMX
- bgr24ToY_mmx(dst, src, width, PIX_FMT_BGR24);
+ RENAME(bgr24ToY_mmx)(dst, src, width, PIX_FMT_BGR24);
#else
int i;
for (i=0; i<width; i++)
@@ -2036,7 +2036,7 @@
static inline void RENAME(bgr24ToUV)(uint8_t *dstU, uint8_t *dstV, uint8_t *src1, uint8_t *src2, long width)
{
#ifdef HAVE_MMX
- bgr24ToUV_mmx(dstU, dstV, src1, width, PIX_FMT_BGR24);
+ RENAME(bgr24ToUV_mmx)(dstU, dstV, src1, width, PIX_FMT_BGR24);
#else
int i;
for (i=0; i<width; i++)
@@ -2070,7 +2070,7 @@
static inline void RENAME(rgb24ToY)(uint8_t *dst, uint8_t *src, long width)
{
#ifdef HAVE_MMX
- bgr24ToY_mmx(dst, src, width, PIX_FMT_RGB24);
+ RENAME(bgr24ToY_mmx)(dst, src, width, PIX_FMT_RGB24);
#else
int i;
for (i=0; i<width; i++)
@@ -2089,7 +2089,7 @@
int i;
assert(src1==src2);
#ifdef HAVE_MMX
- bgr24ToUV_mmx(dstU, dstV, src1, width, PIX_FMT_RGB24);
+ RENAME(bgr24ToUV_mmx)(dstU, dstV, src1, width, PIX_FMT_RGB24);
#else
for (i=0; i<width; i++)
{
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