Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
0a7af0d6
Commit
0a7af0d6
authored
Sep 29, 2013
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hqdn3d: don't use p_sys for variables
parent
2ec43b29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
13 deletions
+8
-13
modules/video_filter/hqdn3d.c
modules/video_filter/hqdn3d.c
+8
-13
No files found.
modules/video_filter/hqdn3d.c
View file @
0a7af0d6
...
@@ -91,11 +91,6 @@ struct filter_sys_t
...
@@ -91,11 +91,6 @@ struct filter_sys_t
const
vlc_chroma_description_t
*
chroma
;
const
vlc_chroma_description_t
*
chroma
;
int
w
[
3
],
h
[
3
];
int
w
[
3
],
h
[
3
];
float
luma_spat
;
float
chroma_spat
;
float
luma_temp
;
float
chroma_temp
;
struct
vf_priv_s
cfg
;
struct
vf_priv_s
cfg
;
};
};
...
@@ -151,19 +146,19 @@ static int Open(vlc_object_t *this)
...
@@ -151,19 +146,19 @@ static int Open(vlc_object_t *this)
config_ChainParse
(
filter
,
FILTER_PREFIX
,
filter_options
,
config_ChainParse
(
filter
,
FILTER_PREFIX
,
filter_options
,
filter
->
p_cfg
);
filter
->
p_cfg
);
sys
->
luma_spat
=
float
luma_spat
=
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"luma-spat"
);
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"luma-spat"
);
sys
->
chroma_spat
=
float
chroma_spat
=
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"chroma-spat"
);
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"chroma-spat"
);
sys
->
luma_temp
=
float
luma_temp
=
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"luma-temp"
);
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"luma-temp"
);
sys
->
chroma_temp
=
float
chroma_temp
=
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"chroma-temp"
);
var_CreateGetFloatCommand
(
filter
,
FILTER_PREFIX
"chroma-temp"
);
PrecalcCoefs
(
cfg
->
Coefs
[
0
],
sys
->
luma_spat
);
PrecalcCoefs
(
cfg
->
Coefs
[
0
],
luma_spat
);
PrecalcCoefs
(
cfg
->
Coefs
[
1
],
sys
->
luma_temp
);
PrecalcCoefs
(
cfg
->
Coefs
[
1
],
luma_temp
);
PrecalcCoefs
(
cfg
->
Coefs
[
2
],
sys
->
chroma_spat
);
PrecalcCoefs
(
cfg
->
Coefs
[
2
],
chroma_spat
);
PrecalcCoefs
(
cfg
->
Coefs
[
3
],
sys
->
chroma_temp
);
PrecalcCoefs
(
cfg
->
Coefs
[
3
],
chroma_temp
);
var_AddCallback
(
filter
,
FILTER_PREFIX
"luma-spat"
,
DenoiseCallback
,
cfg
);
var_AddCallback
(
filter
,
FILTER_PREFIX
"luma-spat"
,
DenoiseCallback
,
cfg
);
var_AddCallback
(
filter
,
FILTER_PREFIX
"chroma-spat"
,
DenoiseCallback
,
cfg
);
var_AddCallback
(
filter
,
FILTER_PREFIX
"chroma-spat"
,
DenoiseCallback
,
cfg
);
...
...
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