Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-29 Thread C Hanish Menon
Hi Lynne, Thanks for your thoughts. My thoughts I have embedded below On Mon, Jun 29, 2020 at 6:32 PM Lynne wrote: > Jun 28, 2020, 22:40 by hanish...@gmail.com: > > > Hi Mark, > > > > hwdownload vs separate filter > > > > True, for kmsgrab use-case one could potentially do this transform a

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-29 Thread Lynne
Jun 28, 2020, 22:40 by hanish...@gmail.com: > Hi Mark, > > hwdownload vs separate filter > > True, for kmsgrab use-case one could potentially do this transform as part > of the drm_transfer_data logic (which currently mmaps and does a linear > copy, if even I remember correctly). But like wh

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread C Hanish Menon
Hi Mark, A small additional clarification to my last email, where I have responded to your queries/thoughts. The additional flexible generic logic which I am experimenting currently, allows the more complex Tile-Yf to be detiled with around 50% overhead compared to the targetted Tile-X or Tile-Y

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread C Hanish Menon
Hi Mark, hwdownload vs separate filter True, for kmsgrab use-case one could potentially do this transform as part of the drm_transfer_data logic (which currently mmaps and does a linear copy, if even I remember correctly). But like what I had mentioned in my previous email, as this is done

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread Mark Thompson
On 27/06/2020 20:57, hanishkvc wrote: v02-20200627IST2331 Unrolled Intel Legacy Tile-Y detiling logic. Also a consolidated patch file, instead of the previous development flow based multiple patch files. v01-20200627IST1308 Implemented Intel Legacy Tile-X and Tile-Y detiling logic NOTES: Th

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread C Hanish Menon
Hi Paul, At one level I agree that compared to using gpu for doing the detiling, this will be slower. However, what I have seen from some discussions online, the extensions in vulkan and opengl with the format modifier aware export weren't fully there yet. Also in case of intel, it potentially req

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-28 Thread Paul B Mahol
On 6/27/20, C Hanish Menon wrote: > Hi, > > It is a new video filter which I created to do detailing of the Intel > Tile-X and Tile-Y framebuffer layouts into linear layout using a logic > which runs on the cpu. It can be used if one uses kmsgrab and hwdownload to > capture screen on a Intel GPU b

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-27 Thread C Hanish Menon
Hi, It is a new video filter which I created to do detailing of the Intel Tile-X and Tile-Y framebuffer layouts into linear layout using a logic which runs on the cpu. It can be used if one uses kmsgrab and hwdownload to capture screen on a Intel GPU based system, so that one can get proper screen

Re: [FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-27 Thread Paul B Mahol
What is this? Missing documentation. NAK On 6/27/20, hanishkvc wrote: > v02-20200627IST2331 > > Unrolled Intel Legacy Tile-Y detiling logic. > > Also a consolidated patch file, instead of the previous development > flow based multiple patch files. > > v01-20200627IST1308 > > Implemented Intel Le

[FFmpeg-devel] [PATCH v2] fbdetile cpu based framebuffer layout detiling v02

2020-06-27 Thread hanishkvc
v02-20200627IST2331 Unrolled Intel Legacy Tile-Y detiling logic. Also a consolidated patch file, instead of the previous development flow based multiple patch files. v01-20200627IST1308 Implemented Intel Legacy Tile-X and Tile-Y detiling logic NOTES: This video filter allows framebuffers whic