Opened 3 weeks ago

Last modified 3 weeks ago

#7704 new defect

8-bit pixel format is used when decoding 10-bit video using VideoToolbox

Reported by: fumoboy007 Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: videotoolbox
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:
kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange is always used regardless of the bit depth of the video.

Attachments (1)

VideoToolbox_10bit.patch (4.5 KB) - added by fumoboy007 3 weeks ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 weeks ago by fumoboy007

  • Keywords hwaccel added

comment:2 Changed 3 weeks ago by cehoyos

  • Keywords 10bit hdr hwaccel removed

comment:3 Changed 3 weeks ago by fumoboy007

Here is an unfinished patch. It is unfinished because we should probably check at runtime for macOS 10.13+ before using the 10-bit pixel format since that is when it was introduced. I don’t have time in the immediate future to figure out how to check the macOS version at runtime.

Changed 3 weeks ago by fumoboy007

Note: See TracTickets for help on using tickets.