These changes allow cuvid to output P016 for 10/12bit content and nvenc to accept it (treating it as P010). Additional work will be required for transcoding, however.
Philip Langdale (2): avcodec/cuvid: Add support for P016 as an output surface format avcodec/nvenc: Accept P016 content compat/cuda/dynlink_cuviddec.h | 3 ++- libavcodec/cuvid.c | 59 ++++++++++++++++++++++++++++++------------ libavcodec/nvenc.c | 3 +++ libavutil/hwcontext_cuda.c | 11 +++++++- 4 files changed, 58 insertions(+), 18 deletions(-) -- 2.9.3 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel