[FFmpeg-devel] [PATCH 2/4] kmsgrab: Remove multiple-plane formats

Mark Thompson sw at jkqxz.net
Sat Sep 16 00:53:20 EEST 2017


On 15/09/17 22:50, Carl Eugen Hoyos wrote:
> 2017-09-15 23:44 GMT+02:00 Mark Thompson <sw at jkqxz.net>:
>> On 15/09/17 22:43, Carl Eugen Hoyos wrote:
>>> 2017-09-15 22:51 GMT+02:00 Mark Thompson <sw at jkqxz.net>:
>>>> The planes have no reason to be contiguous, assuming they
>>>> are results in very broken output.
>>>
>>> Is being contiguous a requirement of DRM?
>>
>> For multiple-plane formats, no.  Hence the change.
> 
> Is it a requirement in FFmpeg?
> 
> Sorry if I misunderstand, Carl Eugen

Right, sorry, I wasn't reading the right thing into the question.

Only the address of the first plane is retrievable, so we don't know the addresses of the other planes.  Assuming they are contiguous is a possible guess, but not one we can actually make in practice.

- Mark


More information about the ffmpeg-devel mailing list