Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
86222a7e
Commit
86222a7e
authored
Aug 07, 2017
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_waveform: add support for 9 bit depth lowpass
parent
7bfbc2d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
vf_waveform.c
libavfilter/vf_waveform.c
+8
-1
No files found.
libavfilter/vf_waveform.c
View file @
86222a7e
...
...
@@ -166,7 +166,7 @@ static const enum AVPixelFormat in_lowpass_pix_fmts[] = {
AV_PIX_FMT_YUVJ440P
,
AV_PIX_FMT_YUVJ411P
,
AV_PIX_FMT_YUVJ420P
,
AV_PIX_FMT_YUVJ422P
,
AV_PIX_FMT_YUVJ444P
,
AV_PIX_FMT_YUVA444P
,
AV_PIX_FMT_YUVA422P
,
AV_PIX_FMT_YUVA420P
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY
9
,
AV_PIX_FMT_GRAY
10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_YUV444P9
,
AV_PIX_FMT_YUV422P9
,
AV_PIX_FMT_YUV420P9
,
AV_PIX_FMT_YUVA444P9
,
AV_PIX_FMT_YUVA422P9
,
AV_PIX_FMT_YUVA420P9
,
AV_PIX_FMT_YUV444P10
,
AV_PIX_FMT_YUV422P10
,
AV_PIX_FMT_YUV420P10
,
...
...
@@ -252,6 +252,11 @@ static const enum AVPixelFormat out_gray8_lowpass_pix_fmts[] = {
AV_PIX_FMT_NONE
};
static
const
enum
AVPixelFormat
out_gray9_lowpass_pix_fmts
[]
=
{
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_NONE
};
static
const
enum
AVPixelFormat
out_gray10_lowpass_pix_fmts
[]
=
{
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_NONE
...
...
@@ -311,6 +316,8 @@ static int query_formats(AVFilterContext *ctx)
if
(
s
->
filter
==
LOWPASS
&&
ncomp
==
1
&&
depth
==
8
)
out_pix_fmts
=
out_gray8_lowpass_pix_fmts
;
else
if
(
s
->
filter
==
LOWPASS
&&
ncomp
==
1
&&
depth
==
9
)
out_pix_fmts
=
out_gray9_lowpass_pix_fmts
;
else
if
(
s
->
filter
==
LOWPASS
&&
ncomp
==
1
&&
depth
==
10
)
out_pix_fmts
=
out_gray10_lowpass_pix_fmts
;
else
if
(
s
->
filter
==
LOWPASS
&&
ncomp
==
1
&&
depth
==
12
)
...
...
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