[PATCH] libdrm/fourcc: Add formats R8, RG88, GR88

Hwang, Dongseong dongseong.hwang at intel.com
Thu Apr 21 17:43:48 UTC 2016


yes, I'll send new patch without footer.

On Tue, Apr 12, 2016 at 7:15 PM, Daniel Vetter <daniel at ffwll.ch> wrote:

> On Tue, Apr 12, 2016 at 12:57:45PM +0000, Hwang, Dongseong wrote:
> > Follow-up of the kernel patch:
> https://lists.freedesktop.org/archives/dri-devel/2015-July/086041.html
> >
> > The Kodi/XBMC and ChromeOS developers want to transcode NV12 to RGB
> > with OpenGL shaders, importing the two source planes through
> > EGL_EXT_image_dma_buf_import. That requires importing the Y plane as an
> > R8 EGLImage and the UV plane as either an RG88 or GR88 EGLImage.
> >
> > CC: Peter Frühberger <peter.fruehberger at gmail.com>
> > Cc: Rainer Hochecker <rainer.hochecker at onlinehome.de>
> > Cc: Benjamin Widawsky <benjamin.widawsky at intel.com>
> > CC: Chad Versace <chad.versace at intel.com>
> > Signed-off-by: Dongseong Hwang <dongseong.hwang at intel.com>
> > ---
> >  include/drm/drm_fourcc.h | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h
> > index e741b09..ca2f488 100644
> > --- a/include/drm/drm_fourcc.h
> > +++ b/include/drm/drm_fourcc.h
> > @@ -34,6 +34,13 @@
> >  /* color index */
> >  #define DRM_FORMAT_C8                fourcc_code('C', '8', ' ', ' ') /*
> [7:0] C */
> >
> > +/* 8 bpp Red */
> > +#define DRM_FORMAT_R8                fourcc_code('R', '8', ' ', ' ') /*
> [7:0] R */
> > +
> > +/* 16 bpp RG */
> > +#define DRM_FORMAT_RG88              fourcc_code('R', 'G', '8', '8') /*
> [15:0] R:G 8:8 little endian */
> > +#define DRM_FORMAT_GR88              fourcc_code('G', 'R', '8', '8') /*
> [15:0] G:R 8:8 little endian */
> > +
> >  /* 8 bpp RGB */
> >  #define DRM_FORMAT_RGB332    fourcc_code('R', 'G', 'B', '8') /* [7:0]
> R:G:B 3:3:2 */
> >  #define DRM_FORMAT_BGR233    fourcc_code('B', 'G', 'R', '8') /* [7:0]
> B:G:R 2:3:3 */
> > --
> > 2.5.0
> > ---------------------------------------------------------------------
> > Intel Finland Oy
> > Registered Address: PL 281, 00181 Helsinki
> > Business Identity Code: 0357606 - 4
> > Domiciled in Helsinki
> >
> > This e-mail and any attachments may contain confidential material for
> > the sole use of the intended recipient(s). Any review or distribution
> > by others is strictly prohibited. If you are not the intended
> > recipient, please contact the sender and delete all copies.
>
> You need to resend without this footer, otherwise I can't merge the patch.
> -Daniel
>
> >
> > _______________________________________________
> > dri-devel mailing list
> > dri-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/dri-devel
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> http://blog.ffwll.ch
> ---------------------------------------------------------------------
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki
> Business Identity Code: 0357606 - 4
> Domiciled in Helsinki
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160421/e92b7ede/attachment.html>


More information about the dri-devel mailing list