[FFmpeg-devel] [PATCH] avcodec/cuvid: Add support for P010 as an output surface format

Hendrik Leppkes h.leppkes at gmail.com
Mon Nov 21 01:24:30 EET 2016


On Sun, Nov 20, 2016 at 9:06 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2016-11-20 21:02 GMT+01:00 Timo Rothenpieler <timo at rothenpieler.org>:
>> I don't really like outputting P016 as P010.
>> I'd prefer to add support for P016 to ffmpeg and swscale, which
>> shouldn't be too hard as most P010 code can be reused.
>
> Or change the existing P010 code to actually handle P016...
> (And do a rename on the next version bump)
>

These are two distinct formats and should be kept as such. Hardware
cares for the difference, so for that alone we need different pixfmts
for the hwcontext implementation.

- Hendrik


More information about the ffmpeg-devel mailing list