Unified · Split
| @@ -39,6 +39,11 @@ · 38 unmodified lines | ||
| 39 | 39 | enum { kCMVideoCodecType_HEVC = 'hvc1' }; |
| 40 | 40 | #endif |
| 41 | 41 | |
| 42 | +#if !HAVE_KCVPIXELFORMATTYPE_420YPCBCR10BIPLANARVIDEORANGE | |
| 43 | +enum { kCVPixelFormatType_420YpCbCr10BiPlanarFullRange = 'xf20' }; | |
| 44 | +enum { kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange = 'x420' }; | |
| 45 | +#endif | |
| 46 | + | |
| 42 | 47 | typedef OSStatus (*getParameterSetAtIndex)(CMFormatDescriptionRef videoDesc, |
| 43 | 48 | size_t parameterSetIndex, |
| 44 | 49 | const uint8_t **parameterSetPointerOut, |