[FFmpeg-devel] [PATCH v3 1/2] avcodec/videotoolbox: add support for 10bit pixel format

Jan Ekström jeebjp at gmail.com
Tue Apr 16 03:58:46 EEST 2019


On Tue, Apr 16, 2019 at 2:55 AM Jan Ekström <jeebjp at gmail.com> wrote:
>
> On Sat, Apr 13, 2019 at 5:36 PM der richter <der.richter at gmx.de> wrote:
> >
> > From: fumoboy007 <fumoboy007 at me.com>
> >
> > this patch was originally posted on issue #7704 and was slightly
> > adjusted to check for the availability of the pixel format.
> > ---
>
> Functionally tested on a macOS 10.13.x + XCode 10.1, as well as
> forcibly made the kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange
> check fail, and it still built fine. 10bit HEVC content is now
> properly getting decoded onto P010 surfaces through VT instead of
> getting dithered to NV12.
>
> In other words, from my side LGTM.
>
> Best regards,
> Jan

Additionally tested with ffmpeg.c and P010 images seem to be flowing
with hwaccel videotoolbox.

Applied as 036b4b0f85933f49a7094b5b568a93f68c9cd544 .

Jan


More information about the ffmpeg-devel mailing list