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
d63b7d8c
Commit
d63b7d8c
authored
Feb 12, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: fix incorrect chroma bias in yuv2rgb48_1_c().
parent
1ca7dc60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
output.c
libswscale/output.c
+2
-2
No files found.
libswscale/output.c
View file @
d63b7d8c
...
...
@@ -810,8 +810,8 @@ yuv2rgb48_1_c_template(SwsContext *c, const int32_t *buf0,
for
(
i
=
0
;
i
<
(
dstW
>>
1
);
i
++
)
{
int
Y1
=
(
buf0
[
i
*
2
]
)
>>
2
;
int
Y2
=
(
buf0
[
i
*
2
+
1
])
>>
2
;
int
U
=
(
ubuf0
[
i
]
+
ubuf1
[
i
]
+
(
-
128
<<
1
1
))
>>
3
;
int
V
=
(
vbuf0
[
i
]
+
vbuf1
[
i
]
+
(
-
128
<<
1
1
))
>>
3
;
int
U
=
(
ubuf0
[
i
]
+
ubuf1
[
i
]
+
(
-
128
<<
1
2
))
>>
3
;
int
V
=
(
vbuf0
[
i
]
+
vbuf1
[
i
]
+
(
-
128
<<
1
2
))
>>
3
;
int
R
,
G
,
B
;
Y1
-=
c
->
yuv2rgb_y_offset
;
...
...
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