search for: 12bpp

Displaying 5 results from an estimated 5 matches for "12bpp".

Did you mean: 32bpp
2025 Jan 19
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...V12 image as an example, > for a 2?2 square of pixels, there are 4 Y samples but only 1 U > sample and 1 V sample. This format requires 4x8+1x8+1x8=48 bits > to store the 2x2 square. > > So its depth is 12 bits per pixel (48 / (2 * 2)). > > so my problem is that the mentioned 12bpp in this example only > make sense in mathematics, it doesn't has a good physical > interpret. Do you agree with me on this technique point? > >> If I want to create an NV12 framebuffer, I allocate two dumb buffers, >> one for Y and one for UV planes, and size them accordi...
2025 Jan 19
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...t with multi planar formats, take NV12 image as an example, for a 2?2 square of pixels, there are 4 Y samples but only 1 U sample and 1 V sample. This format requires 4x8+1x8+1x8=48 bits to store the 2x2 square. So its depth is 12 bits per pixel (48 / (2 * 2)). so my problem is that the mentioned 12bpp in this example only make sense in mathematics, it doesn't has a good physical interpret. Do you agree with me on this technique point? > If I want to create an NV12 framebuffer, I allocate two dumb buffers, > one for Y and one for UV planes, and size them accordingly. And then &...
2025 Jan 19
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...gt;> for a 2?2 square of pixels, there are 4 Y samples but only 1 U >> sample and 1 V sample. This format requires 4x8+1x8+1x8=48 bits >> to store the 2x2 square. >> >> So its depth is 12 bits per pixel (48 / (2 * 2)). >> >> so my problem is that the mentioned 12bpp in this example only >> make sense in mathematics, it doesn't has a good physical >> interpret. Do you agree with me on this technique point? >> >>> If I want to create an NV12 framebuffer, I allocate two dumb >>> buffers, one for Y and one for UV planes, an...
2025 Jan 19
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
...xels, there are 4 Y samples but only 1 U > >> sample and 1 V sample. This format requires 4x8+1x8+1x8=48 bits > >> to store the 2x2 square. > >> > >> So its depth is 12 bits per pixel (48 / (2 * 2)). > >> > >> so my problem is that the mentioned 12bpp in this example only > >> make sense in mathematics, it doesn't has a good physical > >> interpret. Do you agree with me on this technique point? > >> > >>> If I want to create an NV12 framebuffer, I allocate two dumb > >>> buffers, one for Y...
2025 Jan 19
1
[PATCH v2 25/25] drm/xlnx: Compute dumb-buffer sizes with drm_mode_size_dumb()
Hi, On 19/01/2025 13:29, Sui Jingfeng wrote: > Hi, > > On 2025/1/16 18:35, Dmitry Baryshkov wrote: >> On Thu, Jan 16, 2025 at 11:17:50AM +0100, Geert Uytterhoeven wrote: >>> On Thu, Jan 16, 2025 at 11:03?AM Tomi Valkeinen >>> <tomi.valkeinen at ideasonboard.com> wrote: >>>> On 16/01/2025 10:09, Thomas Zimmermann wrote: >>>>> Am