[FFmpeg-devel] [PATCH v06 4/5] hwdownload detile framebuffer, if requested by user

Lynne dev at lynne.ee
Sat Jul 4 22:29:20 EEST 2020


Jul 4, 2020, 14:17 by hanishkvc at gmail.com:

> Added logic to support detiling of framebuffer.
>
> By default this is disabled. Only if requested by the user, the
> logic will be triggered.
>
> It uses the fbtile helper routines to do the detiling. Currently
> 32bit RGB pixel format based framebuffers are supported.
>
> If the underlying hardware context provides linear layouts, then
> nothing is done. Only if the underlying hardware context generates
> tiled layout, then user can use this to detile, where possible.
>
> ./ffmpeg -f kmsgrab -i - -vf hwdownload=1,format=bgr0 out.mp4 
>

Not acceptable for the reasons stated in the hwcontext patch.
Besides, allowing users to detile non-tiled images is a really, _really_ bad idea.



More information about the ffmpeg-devel mailing list