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
356c1165
Commit
356c1165
authored
May 06, 2016
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vf_colorspace: fix range order.
parent
9bbed864
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vf_colorspace.c
libavfilter/vf_colorspace.c
+2
-2
No files found.
libavfilter/vf_colorspace.c
View file @
356c1165
...
...
@@ -770,8 +770,8 @@ static int create_filtergraph(AVFilterContext *ctx,
s
->
yuv_offset
[
1
][
n
]
=
off
;
fill_rgb2yuv_table
(
s
->
out_lumacoef
,
rgb2yuv
);
bits
=
1
<<
(
29
-
out_desc
->
comp
[
0
].
depth
);
for
(
n
=
0
;
n
<
3
;
n
++
)
{
for
(
out_rng
=
s
->
out_y_rng
,
m
=
0
;
m
<
3
;
m
++
,
out_rng
=
s
->
out_uv_rng
)
{
for
(
out_rng
=
s
->
out_y_rng
,
n
=
0
;
n
<
3
;
n
++
,
out_rng
=
s
->
out_uv_rng
)
{
for
(
m
=
0
;
m
<
3
;
m
++
)
{
s
->
rgb2yuv_coeffs
[
n
][
m
][
0
]
=
lrint
(
bits
*
out_rng
*
rgb2yuv
[
n
][
m
]
/
28672
);
for
(
o
=
1
;
o
<
8
;
o
++
)
s
->
rgb2yuv_coeffs
[
n
][
m
][
o
]
=
s
->
rgb2yuv_coeffs
[
n
][
m
][
0
];
...
...
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