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
cb23b06e
Commit
cb23b06e
authored
Apr 28, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sws: fix typo in xyz2rgb matrix use.
Found-by: ubitux Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
54429142
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
swscale.c
libswscale/swscale.c
+1
-1
jpeg2000-dcinema
tests/ref/fate/jpeg2000-dcinema
+2
-2
No files found.
libswscale/swscale.c
View file @
cb23b06e
...
...
@@ -823,7 +823,7 @@ static void xyz12Torgb48(struct SwsContext *c, uint16_t *dst,
c
->
xyz2rgb_matrix
[
1
][
1
]
*
y
+
c
->
xyz2rgb_matrix
[
1
][
2
]
*
z
>>
12
;
b
=
c
->
xyz2rgb_matrix
[
2
][
0
]
*
x
+
c
->
xyz2rgb_matrix
[
1
][
2
]
*
y
+
c
->
xyz2rgb_matrix
[
2
][
1
]
*
y
+
c
->
xyz2rgb_matrix
[
2
][
2
]
*
z
>>
12
;
// limit values to 12-bit depth
...
...
tests/ref/fate/jpeg2000-dcinema
View file @
cb23b06e
#tb 0: 1/24
0, 0, 0, 1, 12441600, 0x
05a68cf7
0, 1, 1, 1, 12441600, 0x
43788893
0, 0, 0, 1, 12441600, 0x
380d805a
0, 1, 1, 1, 12441600, 0x
fde5a60a
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