On Fri, 04 Nov 2011 16:34:22 +0900 Joonyoung Shim jy0922.shim@samsung.com 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,