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

Oliver Collyer ovcollyer at mac.com
Wed Aug 24 09:43:26 EEST 2016


> On 24 Aug 2016, at 08:31, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 
> Hi!
> 
> 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.
> 

Yes, I can confirm AV_PIX_FMT_YUV444P16 works fine so I can now ditch the conversion and do a straight plane copy.

Thanks

Oliver

> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list