|
|
@ -49,7 +49,12 @@ const struct fmt_map avpriv_fmt_conversion_table[] = { |
|
|
|
#ifdef V4L2_PIX_FMT_CPIA1 |
|
|
|
#ifdef V4L2_PIX_FMT_CPIA1 |
|
|
|
{ AV_PIX_FMT_NONE, AV_CODEC_ID_CPIA, V4L2_PIX_FMT_CPIA1 }, |
|
|
|
{ AV_PIX_FMT_NONE, AV_CODEC_ID_CPIA, V4L2_PIX_FMT_CPIA1 }, |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef V4L2_PIX_FMT_SRGGB8 |
|
|
|
|
|
|
|
{ AV_PIX_FMT_BAYER_BGGR8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SBGGR8 }, |
|
|
|
|
|
|
|
{ AV_PIX_FMT_BAYER_GBRG8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SGBRG8 }, |
|
|
|
|
|
|
|
{ AV_PIX_FMT_BAYER_GRBG8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SGRBG8 }, |
|
|
|
{ AV_PIX_FMT_BAYER_RGGB8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SRGGB8 }, |
|
|
|
{ AV_PIX_FMT_BAYER_RGGB8, AV_CODEC_ID_RAWVIDEO, V4L2_PIX_FMT_SRGGB8 }, |
|
|
|
|
|
|
|
#endif |
|
|
|
{ AV_PIX_FMT_NONE, AV_CODEC_ID_NONE, 0 }, |
|
|
|
{ AV_PIX_FMT_NONE, AV_CODEC_ID_NONE, 0 }, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|