Interleaved chroma is x264's native format
Signed-off-by: Anton Khirnov <anton@khirnov.net>
case AV_PIX_FMT_YUV444P:
case AV_PIX_FMT_YUV444P9:
case AV_PIX_FMT_YUV444P10: return X264_CSP_I444;
+ case AV_PIX_FMT_NV12: return X264_CSP_NV12;
+ case AV_PIX_FMT_NV16:
+ case AV_PIX_FMT_NV20: return X264_CSP_NV16;
};
return 0;
}
AV_PIX_FMT_YUVJ420P,
AV_PIX_FMT_YUV422P,
AV_PIX_FMT_YUV444P,
+ AV_PIX_FMT_NV12,
+ AV_PIX_FMT_NV16,
AV_PIX_FMT_NONE
};
static const enum AVPixelFormat pix_fmts_9bit[] = {
AV_PIX_FMT_YUV420P10,
AV_PIX_FMT_YUV422P10,
AV_PIX_FMT_YUV444P10,
+ AV_PIX_FMT_NV20,
AV_PIX_FMT_NONE
};