[FFmpeg-devel] [PATCH] Nvidia NVENC 10-bit HEVC encoding and rate control lookahead support

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Aug 24 08:31:40 EEST 2016


2016-08-23 22:22 GMT+02:00 Oliver Collyer <ovcollyer at mac.com>:
>> On 23 Aug 2016, at 21:21, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2016-08-23 19:10 GMT+02:00 Oliver Collyer <ovcollyer at mac.com>:
>>> +    AV_PIX_FMT_YUV420P10LE,
>> I know this is theoretical but the Nvidia header seems to indicate
>> native endianness to me, so this should be AV_PIX_FMT_YUV420P10
>>> +    AV_PIX_FMT_YUV444P10LE
>> But after reading the rest of the patch:
>> Shouldn't this be AV_PIX_FMT_YUV444P16?
> How so - the Nvidia doc is stating that the encoder is taking 10 bits per
> component, not 16?

AV_PIX_FMT_YUV444P16 should not need any conversion and therefore
be measurably faster, the least significant bits are ignored.
Please test and report back.

Carl Eugen

More information about the ffmpeg-devel mailing list