[FFmpeg-cvslog] avfilter/vf_psnr: add gray10 and gray12 support
Paul B Mahol
git at videolan.org
Wed Dec 21 22:40:47 EET 2016
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Dec 21 21:37:22 2016 +0100| [9933579a9be762c20a5a201b8685d09d40aa2cf5] | committer: Paul B Mahol
avfilter/vf_psnr: add gray10 and gray12 support
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9933579a9be762c20a5a201b8685d09d40aa2cf5
---
libavfilter/vf_psnr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c
index 320f433..af93971 100644
--- a/libavfilter/vf_psnr.c
+++ b/libavfilter/vf_psnr.c
@@ -252,7 +252,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_GRAY16,
+ AV_PIX_FMT_GRAY8, AV_PIX_FMT_GRAY10, AV_PIX_FMT_GRAY12, AV_PIX_FMT_GRAY16,
#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)
More information about the ffmpeg-cvslog
mailing list