mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-23 11:39:49 +00:00
avfilter/vf_hqdn3d: add support for 12bit and 14bit yuv formats
This commit is contained in:
parent
2952d9c5dc
commit
3a61297a67
@ -160,6 +160,8 @@ static int denoise_depth(HQDN3DContext *s,
|
||||
case 8: ret = denoise_depth(__VA_ARGS__, 8); break; \
|
||||
case 9: ret = denoise_depth(__VA_ARGS__, 9); break; \
|
||||
case 10: ret = denoise_depth(__VA_ARGS__, 10); break; \
|
||||
case 12: ret = denoise_depth(__VA_ARGS__, 12); break; \
|
||||
case 14: ret = denoise_depth(__VA_ARGS__, 14); break; \
|
||||
case 16: ret = denoise_depth(__VA_ARGS__, 16); break; \
|
||||
} \
|
||||
if (ret < 0) { \
|
||||
@ -234,25 +236,16 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
static int query_formats(AVFilterContext *ctx)
|
||||
{
|
||||
static const enum AVPixelFormat pix_fmts[] = {
|
||||
AV_PIX_FMT_YUV420P,
|
||||
AV_PIX_FMT_YUV422P,
|
||||
AV_PIX_FMT_YUV444P,
|
||||
AV_PIX_FMT_YUV410P,
|
||||
AV_PIX_FMT_YUV411P,
|
||||
AV_PIX_FMT_YUV440P,
|
||||
AV_PIX_FMT_YUVJ420P,
|
||||
AV_PIX_FMT_YUVJ422P,
|
||||
AV_PIX_FMT_YUVJ444P,
|
||||
AV_PIX_FMT_YUVJ440P,
|
||||
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_YUV420P16,
|
||||
AV_PIX_FMT_YUV422P16,
|
||||
AV_PIX_FMT_YUV444P16,
|
||||
AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P,
|
||||
AV_PIX_FMT_YUV410P, AV_PIX_FMT_YUV411P, AV_PIX_FMT_YUV440P,
|
||||
AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P,
|
||||
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_YUV440P10,
|
||||
AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV420P12,
|
||||
AV_PIX_FMT_YUV440P12,
|
||||
AV_PIX_FMT_YUV444P14, AV_PIX_FMT_YUV422P14, AV_PIX_FMT_YUV420P14,
|
||||
AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV444P16,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
AVFilterFormats *fmts_list = ff_make_format_list(pix_fmts);
|
||||
|
Loading…
Reference in New Issue
Block a user