Re: [PATCH 2/5] drm: add an fb creation ioctl that takes a pixel format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 04 Nov 2011 16:34:22 +0900
Joonyoung Shim <jy0922.shim@xxxxxxxxxxx> wrote:

> > +	case V4L2_PIX_FMT_RGB24:
> > +		*depth = 24;
> > +		*bpp = 24;
> > +		break;  
> 
> In the depth = 24 and bpp = 32 case also the pixed_format is
> V4L2_PIX_FMT_RGB24, but above function cannot detect it.

Oh that's a mistake on my part.  RGB24 is generally bpp=32.  I'll fix
that.

This is just a compatibility function, so it only needs to handle cases
used by current code.  I expect future code to use the fourcc values
directly.

Thanks,
-- 
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux