|
|
|
@ -48,6 +48,7 @@ static const struct { |
|
|
|
|
#ifdef kCFCoreFoundationVersionNumber10_7 |
|
|
|
|
{ kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, false, AV_PIX_FMT_NV12 }, |
|
|
|
|
{ kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, true, AV_PIX_FMT_NV12 }, |
|
|
|
|
{ kCVPixelFormatType_4444AYpCbCr16, false, AV_PIX_FMT_AYUV64 }, |
|
|
|
|
#endif |
|
|
|
|
#if HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE |
|
|
|
|
{ kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange, false, AV_PIX_FMT_P010 }, |
|
|
|
@ -80,6 +81,7 @@ static const struct { |
|
|
|
|
static const enum AVPixelFormat supported_formats[] = { |
|
|
|
|
#ifdef kCFCoreFoundationVersionNumber10_7 |
|
|
|
|
AV_PIX_FMT_NV12, |
|
|
|
|
AV_PIX_FMT_AYUV64, |
|
|
|
|
#endif |
|
|
|
|
AV_PIX_FMT_YUV420P, |
|
|
|
|
AV_PIX_FMT_UYVY422, |
|
|
|
|