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
bd6c57d5
Commit
bd6c57d5
authored
Sep 09, 2018
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter: add support for gray14 format
parent
e70f6cb7
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
29 additions
and
24 deletions
+29
-24
vf_amplify.c
libavfilter/vf_amplify.c
+1
-1
vf_atadenoise.c
libavfilter/vf_atadenoise.c
+1
-0
vf_avgblur.c
libavfilter/vf_avgblur.c
+1
-1
vf_bitplanenoise.c
libavfilter/vf_bitplanenoise.c
+1
-1
vf_convolution.c
libavfilter/vf_convolution.c
+1
-1
vf_convolve.c
libavfilter/vf_convolve.c
+1
-1
vf_deblock.c
libavfilter/vf_deblock.c
+1
-1
vf_deflicker.c
libavfilter/vf_deflicker.c
+1
-1
vf_entropy.c
libavfilter/vf_entropy.c
+1
-1
vf_fillborders.c
libavfilter/vf_fillborders.c
+1
-1
vf_gblur.c
libavfilter/vf_gblur.c
+1
-1
vf_geq.c
libavfilter/vf_geq.c
+2
-2
vf_hysteresis.c
libavfilter/vf_hysteresis.c
+1
-1
vf_limiter.c
libavfilter/vf_limiter.c
+1
-1
vf_lut.c
libavfilter/vf_lut.c
+1
-1
vf_maskedclamp.c
libavfilter/vf_maskedclamp.c
+1
-1
vf_maskedmerge.c
libavfilter/vf_maskedmerge.c
+1
-1
vf_midequalizer.c
libavfilter/vf_midequalizer.c
+1
-1
vf_neighbor.c
libavfilter/vf_neighbor.c
+1
-1
vf_premultiply.c
libavfilter/vf_premultiply.c
+2
-0
vf_pseudocolor.c
libavfilter/vf_pseudocolor.c
+2
-1
vf_psnr.c
libavfilter/vf_psnr.c
+1
-1
vf_remap.c
libavfilter/vf_remap.c
+1
-1
vf_ssim.c
libavfilter/vf_ssim.c
+1
-1
vf_threshold.c
libavfilter/vf_threshold.c
+1
-1
filter-pixfmts-lut
tests/ref/fate/filter-pixfmts-lut
+1
-0
No files found.
libavfilter/vf_amplify.c
View file @
bd6c57d5
...
...
@@ -53,7 +53,7 @@ static int query_formats(AVFilterContext *ctx)
{
static
const
enum
AVPixelFormat
pixel_fmts
[]
=
{
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY14
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
...
...
libavfilter/vf_atadenoise.c
View file @
bd6c57d5
...
...
@@ -83,6 +83,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY14
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
...
...
libavfilter/vf_avgblur.c
View file @
bd6c57d5
...
...
@@ -242,7 +242,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_bitplanenoise.c
View file @
bd6c57d5
...
...
@@ -63,7 +63,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUV444P16
,
AV_PIX_FMT_YUV422P16
,
AV_PIX_FMT_YUV420P16
,
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_convolution.c
View file @
bd6c57d5
...
...
@@ -132,7 +132,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_convolve.c
View file @
bd6c57d5
...
...
@@ -91,7 +91,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_deblock.c
View file @
bd6c57d5
...
...
@@ -80,7 +80,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
AVFilterFormats
*
formats
=
ff_make_format_list
(
pixel_fmts
);
...
...
libavfilter/vf_deflicker.c
View file @
bd6c57d5
...
...
@@ -95,7 +95,7 @@ static int query_formats(AVFilterContext *ctx)
{
static
const
enum
AVPixelFormat
pixel_fmts
[]
=
{
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUV440P
,
AV_PIX_FMT_YUV444P
,
...
...
libavfilter/vf_entropy.c
View file @
bd6c57d5
...
...
@@ -69,7 +69,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUV444P16
,
AV_PIX_FMT_YUV422P16
,
AV_PIX_FMT_YUV420P16
,
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_fillborders.c
View file @
bd6c57d5
...
...
@@ -73,7 +73,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
AVFilterFormats
*
fmts_list
=
ff_make_format_list
(
pix_fmts
);
...
...
libavfilter/vf_gblur.c
View file @
bd6c57d5
...
...
@@ -202,7 +202,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_geq.c
View file @
bd6c57d5
...
...
@@ -191,9 +191,9 @@ static int geq_query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUV444P10
,
AV_PIX_FMT_YUV422P10
,
AV_PIX_FMT_YUV420P10
,
AV_PIX_FMT_YUV440P10
,
AV_PIX_FMT_YUVA444P10
,
AV_PIX_FMT_YUVA422P10
,
AV_PIX_FMT_YUVA420P10
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY
9
,
AV_PIX_FMT_GRAY
10
,
AV_PIX_FMT_YUV444P12
,
AV_PIX_FMT_YUV422P12
,
AV_PIX_FMT_YUV420P12
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY14
,
AV_PIX_FMT_YUV444P14
,
AV_PIX_FMT_YUV422P14
,
AV_PIX_FMT_YUV420P14
,
AV_PIX_FMT_YUV444P16
,
AV_PIX_FMT_YUV422P16
,
AV_PIX_FMT_YUV420P16
,
AV_PIX_FMT_YUVA444P16
,
AV_PIX_FMT_YUVA422P16
,
AV_PIX_FMT_YUVA420P16
,
...
...
libavfilter/vf_hysteresis.c
View file @
bd6c57d5
...
...
@@ -77,7 +77,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_limiter.c
View file @
bd6c57d5
...
...
@@ -81,7 +81,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_lut.c
View file @
bd6c57d5
...
...
@@ -137,7 +137,7 @@ static av_cold void uninit(AVFilterContext *ctx)
#define GRAY_FORMATS \
AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY9LE, AV_PIX_FMT_GRAY10LE, \
AV_PIX_FMT_GRAY12LE, AV_PIX_FMT_GRAY16LE
AV_PIX_FMT_GRAY12LE, AV_PIX_FMT_GRAY1
4LE, AV_PIX_FMT_GRAY1
6LE
static
const
enum
AVPixelFormat
yuv_pix_fmts
[]
=
{
YUV_FORMATS
,
AV_PIX_FMT_NONE
};
static
const
enum
AVPixelFormat
rgb_pix_fmts
[]
=
{
RGB_FORMATS
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_maskedclamp.c
View file @
bd6c57d5
...
...
@@ -78,7 +78,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_maskedmerge.c
View file @
bd6c57d5
...
...
@@ -56,7 +56,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_midequalizer.c
View file @
bd6c57d5
...
...
@@ -66,7 +66,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_YUVJ422P
,
AV_PIX_FMT_YUVJ420P
,
AV_PIX_FMT_YUVJ411P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY14
,
AV_PIX_FMT_YUV420P9
,
AV_PIX_FMT_YUV422P9
,
AV_PIX_FMT_YUV444P9
,
AV_PIX_FMT_YUV420P10
,
AV_PIX_FMT_YUV422P10
,
AV_PIX_FMT_YUV444P10
,
AV_PIX_FMT_YUV420P12
,
AV_PIX_FMT_YUV422P12
,
AV_PIX_FMT_YUV444P12
,
...
...
libavfilter/vf_neighbor.c
View file @
bd6c57d5
...
...
@@ -66,7 +66,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP
,
AV_PIX_FMT_GBRP9
,
AV_PIX_FMT_GBRP10
,
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
libavfilter/vf_premultiply.c
View file @
bd6c57d5
...
...
@@ -464,6 +464,7 @@ static int filter_frame(AVFilterContext *ctx,
case
AV_PIX_FMT_GRAY9
:
case
AV_PIX_FMT_GRAY10
:
case
AV_PIX_FMT_GRAY12
:
case
AV_PIX_FMT_GRAY14
:
case
AV_PIX_FMT_GRAY16
:
s
->
premultiply
[
0
]
=
limited
?
unpremultiply16offset
:
unpremultiply16
;
break
;
...
...
@@ -510,6 +511,7 @@ static int filter_frame(AVFilterContext *ctx,
case
AV_PIX_FMT_GRAY9
:
case
AV_PIX_FMT_GRAY10
:
case
AV_PIX_FMT_GRAY12
:
case
AV_PIX_FMT_GRAY14
:
case
AV_PIX_FMT_GRAY16
:
s
->
premultiply
[
0
]
=
limited
?
premultiply16offset
:
premultiply16
;
break
;
...
...
libavfilter/vf_pseudocolor.c
View file @
bd6c57d5
...
...
@@ -94,7 +94,7 @@ static const AVOption pseudocolor_options[] = {
};
static
const
enum
AVPixelFormat
pix_fmts
[]
=
{
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUVA420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUVA422P
,
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_GBRP
,
...
...
@@ -545,6 +545,7 @@ static int config_input(AVFilterLink *inlink)
case
AV_PIX_FMT_GRAY9
:
case
AV_PIX_FMT_GRAY10
:
case
AV_PIX_FMT_GRAY12
:
case
AV_PIX_FMT_GRAY14
:
case
AV_PIX_FMT_GRAY16
:
s
->
filter
[
0
]
=
s
->
filter
[
1
]
=
s
->
filter
[
2
]
=
s
->
filter
[
3
]
=
pseudocolor_filter_16
;
break
;
...
...
libavfilter/vf_psnr.c
View file @
bd6c57d5
...
...
@@ -260,7 +260,7 @@ static av_cold int init(AVFilterContext *ctx)
static
int
query_formats
(
AVFilterContext
*
ctx
)
{
static
const
enum
AVPixelFormat
pix_fmts
[]
=
{
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
#define PF_NOALPHA(suf) AV_PIX_FMT_YUV420##suf, AV_PIX_FMT_YUV422##suf, AV_PIX_FMT_YUV444##suf
#define PF_ALPHA(suf) AV_PIX_FMT_YUVA420##suf, AV_PIX_FMT_YUVA422##suf, AV_PIX_FMT_YUVA444##suf
#define PF(suf) PF_NOALPHA(suf), PF_ALPHA(suf)
...
...
libavfilter/vf_remap.c
View file @
bd6c57d5
...
...
@@ -85,7 +85,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_RGBA64
,
AV_PIX_FMT_BGRA64
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
static
const
enum
AVPixelFormat
map_fmts
[]
=
{
...
...
libavfilter/vf_ssim.c
View file @
bd6c57d5
...
...
@@ -359,7 +359,7 @@ static int query_formats(AVFilterContext *ctx)
{
static
const
enum
AVPixelFormat
pix_fmts
[]
=
{
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_YUV422P
,
AV_PIX_FMT_YUV444P
,
AV_PIX_FMT_YUV440P
,
AV_PIX_FMT_YUV411P
,
AV_PIX_FMT_YUV410P
,
AV_PIX_FMT_YUVJ411P
,
AV_PIX_FMT_YUVJ420P
,
AV_PIX_FMT_YUVJ422P
,
...
...
libavfilter/vf_threshold.c
View file @
bd6c57d5
...
...
@@ -61,7 +61,7 @@ static int query_formats(AVFilterContext *ctx)
AV_PIX_FMT_GBRP12
,
AV_PIX_FMT_GBRP14
,
AV_PIX_FMT_GBRP16
,
AV_PIX_FMT_GBRAP
,
AV_PIX_FMT_GBRAP10
,
AV_PIX_FMT_GBRAP12
,
AV_PIX_FMT_GBRAP16
,
AV_PIX_FMT_GRAY8
,
AV_PIX_FMT_GRAY9
,
AV_PIX_FMT_GRAY10
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY16
,
AV_PIX_FMT_GRAY12
,
AV_PIX_FMT_GRAY1
4
,
AV_PIX_FMT_GRAY1
6
,
AV_PIX_FMT_NONE
};
...
...
tests/ref/fate/filter-pixfmts-lut
View file @
bd6c57d5
...
...
@@ -15,6 +15,7 @@ gbrp9le a8c4e29f4cb627db81ba053e0853e702
gray 20b14b5e26cd11300ed1249e04082170
gray10le 8f4140b55e847cc423002b89666db5ea
gray12le ea89c02f6b3af49ddaf13364ed33d86d
gray14le 452ff3c171bbfce97ba947dddd76c9b5
gray16le aa10599924fb2440fa12b76e90f57dcb
gray9le 7d9cc9ad6118674c547a54281d10cf05
rgb24 a356171207723a580e7d277078072005
...
...
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