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
1b0ba4e6
Commit
1b0ba4e6
authored
Jul 02, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vdpau: option for deinterlace chroma skip
parent
4a59d610
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
modules/hw/vdpau/chroma.c
modules/hw/vdpau/chroma.c
+11
-2
No files found.
modules/hw/vdpau/chroma.c
View file @
1b0ba4e6
...
...
@@ -194,10 +194,11 @@ static VdpVideoMixer MixerCreate(filter_t *filter)
}
/* Set initial features and attributes */
VdpVideoMixerAttribute
attrv
[
2
];
const
void
*
valv
[
2
];
VdpVideoMixerAttribute
attrv
[
3
];
const
void
*
valv
[
3
];
unsigned
attrc
=
0
;
VdpCSCMatrix
csc
;
uint8_t
chroma_skip
;
featc
=
0
;
...
...
@@ -213,6 +214,11 @@ static VdpVideoMixer MixerCreate(filter_t *filter)
featv
[
featc
++
]
=
algo
;
if
(
ivtc
)
featv
[
featc
++
]
=
VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
;
chroma_skip
=
var_InheritBool
(
filter
,
"vdpau-chroma-skip"
);
attrv
[
attrc
]
=
VDP_VIDEO_MIXER_ATTRIBUTE_SKIP_CHROMA_DEINTERLACE
;
valv
[
attrc
]
=
&
chroma_skip
;
attrc
++
;
}
if
(
noise
>
0
.
f
)
...
...
@@ -717,6 +723,9 @@ vlc_module_begin()
change_integer_list
(
algo_values
,
algo_names
)
add_bool
(
"vdpau-ivtc"
,
false
,
N_
(
"Inverse telecine"
),
N_
(
"Inverse telecine"
),
true
)
add_bool
(
"vdpau-chroma-skip"
,
false
,
N_
(
"Deinterlace chroma skip"
),
N_
(
"Whether temporal deinterlacing applies to luma only"
),
true
)
add_float_with_range
(
"vdpau-noise-reduction"
,
0
.,
0
.,
1
.,
N_
(
"Noise reduction level"
),
N_
(
"Noise reduction level"
),
true
)
add_integer_with_range
(
"vdpau-scaling"
,
0
,
0
,
9
,
...
...
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