Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
a712e052
Commit
a712e052
authored
Mar 21, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OpenGL: use more accurate YUV->RGB matrixes
Coeffs have been recomputed. Close #6132
parent
58875422
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/video_output/opengl.c
modules/video_output/opengl.c
+6
-6
No files found.
modules/video_output/opengl.c
View file @
a712e052
...
...
@@ -302,14 +302,14 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
* by simply changing the coefficients
*/
const
float
matrix_bt601_tv2full
[
3
][
4
]
=
{
{
1
.
164
0
,
0
.
0000
,
1
.
4030
,
-
0
.
7773
},
{
1
.
164
0
,
-
0
.
3440
,
-
0
.
7140
,
0
.
4580
},
{
1
.
164
0
,
1
.
7730
,
0
.
0000
,
-
0
.
9630
},
{
1
.
164
383561643836
,
0
.
0000
,
1
.
596026785714286
,
-
0
.
874202217873451
},
{
1
.
164
383561643836
,
-
0
.
391762290094914
,
-
0
.
812967647237771
,
0
.
531667823499146
},
{
1
.
164
383561643836
,
2
.
017232142
857142
,
0
.
0000
,
-
1
.
085630789302022
},
};
const
float
matrix_bt709_tv2full
[
3
][
4
]
=
{
{
1
.
164
0
,
0
.
0000
,
1
.
5701
,
-
0
.
8612
},
{
1
.
164
0
,
-
0
.
1870
,
-
0
.
4664
,
0
.
2549
},
{
1
.
164
0
,
1
.
8556
,
0
.
0000
,
-
1
.
0045
},
{
1
.
164
383561643836
,
0
.
0000
,
1
.
792741071428571
,
-
0
.
972945075016308
},
{
1
.
164
383561643836
,
-
0
.
21324861427373
,
-
0
.
532909328559444
,
0
.
301482665475862
},
{
1
.
164
383561643836
,
2
.
112401785714286
,
0
.
0000
,
-
1
.
133402217873451
},
};
const
float
(
*
matrix
)[
4
]
=
fmt
->
i_height
>
576
?
matrix_bt709_tv2full
:
matrix_bt601_tv2full
;
...
...
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