Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f5975064
Commit
f5975064
authored
Jul 05, 2012
by
Michael Niedermayer
Committed by
Luca Barbato
Oct 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: x86: Add some forgotten 12-bit planar YUV cases
Signed-off-by:
Diego Biurrun
<
diego@biurrun.de
>
parent
328ea6a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
scale.asm
libswscale/x86/scale.asm
+2
-0
swscale.c
libswscale/x86/swscale.c
+4
-2
No files found.
libswscale/x86/scale.asm
View file @
f5975064
...
...
@@ -407,11 +407,13 @@ SCALE_FUNC %1, %2, X, X8, 7, %3
SCALE_FUNCS
8
,
15
,
%1
SCALE_FUNCS
9
,
15
,
%2
SCALE_FUNCS
10
,
15
,
%2
SCALE_FUNCS
12
,
15
,
%2
SCALE_FUNCS
16
,
15
,
%3
%endif
; !sse4
SCALE_FUNCS
8
,
19
,
%1
SCALE_FUNCS
9
,
19
,
%2
SCALE_FUNCS
10
,
19
,
%2
SCALE_FUNCS
12
,
19
,
%2
SCALE_FUNCS
16
,
19
,
%3
%endmacro
...
...
libswscale/x86/swscale.c
View file @
f5975064
...
...
@@ -215,10 +215,12 @@ void ff_hscale ## from_bpc ## to ## to_bpc ## _ ## filter_n ## _ ## opt( \
SCALE_FUNC(filter_n, 8, 15, opt); \
SCALE_FUNC(filter_n, 9, 15, opt); \
SCALE_FUNC(filter_n, 10, 15, opt); \
SCALE_FUNC(filter_n, 12, 15, opt); \
SCALE_FUNC(filter_n, 16, 15, opt); \
SCALE_FUNC(filter_n, 8, 19, opt); \
SCALE_FUNC(filter_n, 9, 19, opt); \
SCALE_FUNC(filter_n, 10, 19, opt); \
SCALE_FUNC(filter_n, 12, 19, opt); \
SCALE_FUNC(filter_n, 16, 19, opt)
#define SCALE_FUNCS_MMX(opt) \
...
...
@@ -325,8 +327,8 @@ av_cold void ff_sws_init_swscale_x86(SwsContext *c)
hscalefn = c->dstBpc <= 15 ? ff_hscale10to15_ ## filtersize ## _ ## opt2 : \
ff_hscale10to19_ ## filtersize ## _ ## opt1; \
} else if (c->srcBpc == 12) { \
hscalefn = c->dstBpc <= 15 ? ff_hscale1
6
to15_ ## filtersize ## _ ## opt2 : \
ff_hscale1
6
to19_ ## filtersize ## _ ## opt1; \
hscalefn = c->dstBpc <= 15 ? ff_hscale1
2
to15_ ## filtersize ## _ ## opt2 : \
ff_hscale1
2
to19_ ## filtersize ## _ ## opt1; \
} else if (c->srcBpc == 16) { \
hscalefn = c->dstBpc <= 15 ? ff_hscale16to15_ ## filtersize ## _ ## opt2 : \
ff_hscale16to19_ ## filtersize ## _ ## opt1; \
...
...
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