On Thursday 20 December 2001 17:36, Denis Oliver Kropp wrote:
> Argh, that's the cause. The G200 only supports YUY2 and I haven't added
> that extra check in the driver yet, sorry.
>
> From matrox_bes.c:
>
>      if (config->flags & DLCONF_PIXELFORMAT)
>           switch (config->pixelformat) {
>                case DSPF_RGB32:
>                     max_width = 512;
>                case DSPF_RGB15:
>                case DSPF_RGB16:
>                case DSPF_YUY2:
>                case DSPF_UYVY: /* FIXME: not supported on G200 */
>                     break;
>                default:
>                     fail |= DLCONF_PIXELFORMAT;
>           }
>      else
>           if (layer->shared->surface->format == DSPF_RGB32)
>                max_width = 512;
>

Is this a limitation of the G200 or of the directfb driver? I'm using onther 
program (mga_tv) which uses the mga_vid driver. I also had problems with the 
colors there, but then I switched the mga_vid into MGA_VID_FORMAT_UYVY mode 
and it works. (The strange thing is that there the v4l is set to 
VIDEO_PALETTE_YUV422. When I set it to VIDEO_PALETTE_UYVY then the color is 
also bad.)

Regards,
Mike


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to