mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
avfilter/vf_waveform: add support for 12bit yuva formats
This commit is contained in:
parent
11f6657e92
commit
26eba8ca61
@ -205,6 +205,7 @@ static const enum AVPixelFormat in_lowpass_pix_fmts[] = {
|
||||
AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV420P10,
|
||||
AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_YUVA422P10, AV_PIX_FMT_YUVA420P10,
|
||||
AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV440P12,
|
||||
AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUVA422P12,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
|
||||
@ -222,6 +223,7 @@ static const enum AVPixelFormat in_color_pix_fmts[] = {
|
||||
AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV420P10,
|
||||
AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_YUVA422P10, AV_PIX_FMT_YUVA420P10,
|
||||
AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV440P12,
|
||||
AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUVA422P12,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
|
||||
@ -237,6 +239,7 @@ static const enum AVPixelFormat in_flat_pix_fmts[] = {
|
||||
AV_PIX_FMT_YUV444P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV420P10,
|
||||
AV_PIX_FMT_YUVA444P10, AV_PIX_FMT_YUVA422P10, AV_PIX_FMT_YUVA420P10,
|
||||
AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV440P12,
|
||||
AV_PIX_FMT_YUVA444P12, AV_PIX_FMT_YUVA422P12,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
|
||||
@ -276,7 +279,7 @@ static const enum AVPixelFormat out_yuv10_lowpass_pix_fmts[] = {
|
||||
};
|
||||
|
||||
static const enum AVPixelFormat out_yuv12_lowpass_pix_fmts[] = {
|
||||
AV_PIX_FMT_YUV444P12,
|
||||
AV_PIX_FMT_YUV444P12, AV_PIX_FMT_YUVA444P12,
|
||||
AV_PIX_FMT_NONE
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user