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
b025431b
Commit
b025431b
authored
May 14, 2011
by
Ronald S. Bultje
Committed by
Michael Niedermayer
May 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: 10l forgot git add this change from ronald.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
58c03f6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
swscale.c
libswscale/swscale.c
+4
-3
No files found.
libswscale/swscale.c
View file @
b025431b
...
...
@@ -362,10 +362,11 @@ uint16_t dither_scale[15][16]={
static
av_always_inline
void
yuv2yuvX16inC_template
(
const
int16_t
*
lumFilter
,
const
int16_t
**
lumSrc
,
int
lumFilterSize
,
const
int16_t
*
chrFilter
,
const
int16_t
**
chrSrc
,
int
chrFilterSize
,
const
int16_t
**
alpSrc
,
uint16_t
*
dest
,
uint16_t
*
uDest
,
uint16_t
*
vDest
,
uint16_t
*
aDest
,
int
dstW
,
int
chrDstW
,
int
big_endian
)
int
dstW
,
int
chrDstW
,
int
big_endian
,
int
output_bits
)
{
//FIXME Optimize (just quickly written not optimized..)
int
i
;
int
shift
=
11
+
16
-
output_bits
;
#define output_pixel(pos, val) \
if (big_endian) { \
...
...
@@ -482,13 +483,13 @@ static inline void yuv2yuvX16inC(const int16_t *lumFilter, const int16_t **lumSr
chrFilter
,
chrSrc
,
chrFilterSize
,
alpSrc
,
dest
,
uDest
,
vDest
,
aDest
,
dstW
,
chrDstW
,
1
);
dstW
,
chrDstW
,
1
,
16
);
}
else
{
yuv2yuvX16inC_template
(
lumFilter
,
lumSrc
,
lumFilterSize
,
chrFilter
,
chrSrc
,
chrFilterSize
,
alpSrc
,
dest
,
uDest
,
vDest
,
aDest
,
dstW
,
chrDstW
,
0
);
dstW
,
chrDstW
,
0
,
16
);
}
}
}
...
...
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