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
6465c820
Commit
6465c820
authored
May 23, 2011
by
Kieran Kunhya
Committed by
Ronald S. Bultje
May 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 9/10 bit in swscale.
Signed-off-by:
Ronald S. Bultje
<
rsbultje@gmail.com
>
parent
a1217548
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
swscale.c
libswscale/swscale.c
+4
-4
No files found.
libswscale/swscale.c
View file @
6465c820
...
...
@@ -233,7 +233,7 @@ static av_always_inline void yuv2yuvX16inC_template(const int16_t *lumFilter, co
} \
}
for
(
i
=
0
;
i
<
dstW
;
i
++
)
{
int
val
=
1
<<
10
;
int
val
=
1
<<
(
26
-
output_bits
)
;
int
j
;
for
(
j
=
0
;
j
<
lumFilterSize
;
j
++
)
...
...
@@ -244,8 +244,8 @@ static av_always_inline void yuv2yuvX16inC_template(const int16_t *lumFilter, co
if
(
uDest
)
{
for
(
i
=
0
;
i
<
chrDstW
;
i
++
)
{
int
u
=
1
<<
10
;
int
v
=
1
<<
10
;
int
u
=
1
<<
(
26
-
output_bits
)
;
int
v
=
1
<<
(
26
-
output_bits
)
;
int
j
;
for
(
j
=
0
;
j
<
chrFilterSize
;
j
++
)
{
...
...
@@ -260,7 +260,7 @@ static av_always_inline void yuv2yuvX16inC_template(const int16_t *lumFilter, co
if
(
CONFIG_SWSCALE_ALPHA
&&
aDest
)
{
for
(
i
=
0
;
i
<
dstW
;
i
++
)
{
int
val
=
1
<<
10
;
int
val
=
1
<<
(
26
-
output_bits
)
;
int
j
;
for
(
j
=
0
;
j
<
lumFilterSize
;
j
++
)
...
...
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