mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-26 20:50:34 +00:00
lavd/v4l2-common: Add an entry for Z16.
This commit is contained in:
parent
b073fb9eea
commit
e704070f61
@ -45,6 +45,9 @@ const struct fmt_map ff_fmt_conversion_table[] = {
|
||||
{ AV_PIX_FMT_GRAY8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_GREY },
|
||||
#ifdef V4L2_PIX_FMT_Y16
|
||||
{ AV_PIX_FMT_GRAY16LE,AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_Y16 },
|
||||
#endif
|
||||
#ifdef V4L2_PIX_FMT_Z16
|
||||
{ AV_PIX_FMT_GRAY16LE,AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_Z16 },
|
||||
#endif
|
||||
{ AV_PIX_FMT_NV12, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_NV12 },
|
||||
{ AV_PIX_FMT_NONE, AV_CODEC_ID_MJPEG, V4L2_PIX_FMT_MJPEG },
|
||||
|
Loading…
Reference in New Issue
Block a user