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
bd02b2c0
Commit
bd02b2c0
authored
Jun 23, 2018
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/vf_tonemap_opencl: Mark local tables static
parent
a0ac49e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
vf_tonemap_opencl.c
libavfilter/vf_tonemap_opencl.c
+7
-7
No files found.
libavfilter/vf_tonemap_opencl.c
View file @
bd02b2c0
...
...
@@ -75,22 +75,22 @@ typedef struct TonemapOpenCLContext {
cl_mem
util_mem
;
}
TonemapOpenCLContext
;
const
char
*
yuv_coff
[
AVCOL_SPC_NB
]
=
{
static
const
char
*
yuv_coff
[
AVCOL_SPC_NB
]
=
{
[
AVCOL_SPC_BT709
]
=
"rgb2yuv_bt709"
,
[
AVCOL_SPC_BT2020_NCL
]
=
"rgb2yuv_bt2020"
,
};
const
char
*
rgb_coff
[
AVCOL_SPC_NB
]
=
{
static
const
char
*
rgb_coff
[
AVCOL_SPC_NB
]
=
{
[
AVCOL_SPC_BT709
]
=
"yuv2rgb_bt709"
,
[
AVCOL_SPC_BT2020_NCL
]
=
"yuv2rgb_bt2020"
,
};
const
char
*
linearize_funcs
[
AVCOL_TRC_NB
]
=
{
static
const
char
*
linearize_funcs
[
AVCOL_TRC_NB
]
=
{
[
AVCOL_TRC_SMPTE2084
]
=
"eotf_st2084"
,
[
AVCOL_TRC_ARIB_STD_B67
]
=
"inverse_oetf_hlg"
,
};
const
char
*
delinearize_funcs
[
AVCOL_TRC_NB
]
=
{
static
const
char
*
delinearize_funcs
[
AVCOL_TRC_NB
]
=
{
[
AVCOL_TRC_BT709
]
=
"inverse_eotf_bt1886"
,
[
AVCOL_TRC_BT2020_10
]
=
"inverse_eotf_bt1886"
,
};
...
...
@@ -100,17 +100,17 @@ static const struct LumaCoefficients luma_coefficients[AVCOL_SPC_NB] = {
[
AVCOL_SPC_BT2020_NCL
]
=
{
0
.
2627
,
0
.
6780
,
0
.
05
93
},
};
struct
PrimaryCoefficients
primaries_table
[
AVCOL_PRI_NB
]
=
{
st
atic
st
ruct
PrimaryCoefficients
primaries_table
[
AVCOL_PRI_NB
]
=
{
[
AVCOL_PRI_BT709
]
=
{
0
.
640
,
0
.
330
,
0
.
300
,
0
.
600
,
0
.
150
,
0
.
060
},
[
AVCOL_PRI_BT2020
]
=
{
0
.
708
,
0
.
292
,
0
.
170
,
0
.
797
,
0
.
131
,
0
.
046
},
};
struct
WhitepointCoefficients
whitepoint_table
[
AVCOL_PRI_NB
]
=
{
st
atic
st
ruct
WhitepointCoefficients
whitepoint_table
[
AVCOL_PRI_NB
]
=
{
[
AVCOL_PRI_BT709
]
=
{
0
.
3127
,
0
.
3290
},
[
AVCOL_PRI_BT2020
]
=
{
0
.
3127
,
0
.
3290
},
};
const
char
*
tonemap_func
[
TONEMAP_MAX
]
=
{
static
const
char
*
tonemap_func
[
TONEMAP_MAX
]
=
{
[
TONEMAP_NONE
]
=
"direct"
,
[
TONEMAP_LINEAR
]
=
"linear"
,
[
TONEMAP_GAMMA
]
=
"gamma"
,
...
...
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