[Gambas-devel] gbv4l2.c missing some V4L2_PIX_FMT_ format declaration kubunt 8.04

Ron_1st ronstk at ...124...
Wed Jan 28 20:04:16 CET 2009


Outstanding correction in gbv4l2.c

                case V4L2_PIX_FMT_BGR32:        gv4l2_debug("BGR32");   break;
                case V4L2_PIX_FMT_RGB32:        /* DEFAULT - NO CONV */ break;
/*
                case V4L2_PIX_FMT_GREY:         gv4l2_debug("GREY");    break;
                case V4L2_PIX_FMT_Y16:          gv4l2_debug("Y16");     break;
                case V4L2_PIX_FMT_PAL8:         gv4l2_debug("PAL8");    break;
                case V4L2_PIX_FMT_YVU410:       gv4l2_debug("YVU410");  break;
                case V4L2_PIX_FMT_YVU420:       gv4l2_debug("YVU420");  break;
*/
                case V4L2_PIX_FMT_YUV420:
                        //gv4l2_debug("YUV420");
                        yuv420p_to_rgb (start,THIS->frame,w,h,3);
                        return;
                case V4L2_PIX_FMT_YUYV:
                        //gv4l2_debug("YUYV");
                        convert_yuv_to_rgb_buffer(start,THIS->frame,w,h);
                        return;
/*
                case V4L2_PIX_FMT_UYVY:         gv4l2_debug("UYVY");    break;
                case V4L2_PIX_FMT_YUV422P:      gv4l2_debug("YUV422P"); break;
                case V4L2_PIX_FMT_YUV411P:      gv4l2_debug("YUV411P"); break;
---8<---
                case V4L2_PIX_FMT_PJPG:         gv4l2_debug("PJPG");    break;
                case V4L2_PIX_FMT_YVYU:         gv4l2_debug("YVYU");    break;
*/
                default:


Garret knows about the problem.

The videodev.h of kubuntu 8.04 != Kubunte 8.10

without the excluded sections there occurs a compile error 
about missing some of the V4L2_PIX_FMT_xxxxx's
He only support 2 of them and only the supported should be in the case part.



Best regards,

Ron_1st

-- 
 A: Delete the text you reply on.
 Q: What to do to get my post on top?
 A: Because it messes up the order in which people normally read text. 
 Q: Why is top-posting such a bad thing? 
 A: Top-posting. 
 Q: What is the most annoying thing in e-mail? 
 




More information about the Devel mailing list