[FFmpeg-devel] [PATCH 0/4] Add AVDRMFrameDescriptor.format field

Mark Thompson sw at jkqxz.net
Tue May 21 01:42:36 EEST 2019


On 20/05/2019 23:33, Mark Thompson wrote:
> On 12/05/2019 20:00, Jonas Karlman wrote:
>> From what I understand support for composed layers wont be added to AMD as it technically are multiple objects. I am not even sure if AMD have support for NV12 as a drm plane format.
> 
> Yeah.  Mesa decodes to multiple objects, which can then be handled separately by all the normal graphics APIs (OpenGL / Vulkan).  On the AMD systems I've seen KMS supports only packed 8- and 10-bit RGB planes, so I don't think there is anything in AMD-land which would ever want the single-layer representation.

Or apparently I'm out of date - <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=37c6a93b7e535e4269af3e85bfce3955a635c750>.   I guess that must work as NV12 with two separate objects.

- Mark


More information about the ffmpeg-devel mailing list