From owner-freebsd-multimedia Mon Oct 27 05:56:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA20888 for multimedia-outgoing; Mon, 27 Oct 1997 05:56:02 -0800 (PST) (envelope-from owner-freebsd-multimedia) Received: from gaia.coppe.ufrj.br ([146.164.5.200]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id FAA20861 for ; Mon, 27 Oct 1997 05:55:48 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.7/8.8.7) id LAA22646; Mon, 27 Oct 1997 11:55:24 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199710271355.LAA22646@gaia.coppe.ufrj.br> Subject: Re: Bt848 driver patches In-Reply-To: <199710270202.DAA00345@bitbox.follo.net> from Eivind Eklund at "Oct 27, 97 03:02:30 am" To: eivind@bitbox.follo.net (Eivind Eklund) Date: Mon, 27 Oct 1997 11:55:23 -0200 (EDT) Cc: multimedia@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk #define quoting(Eivind Eklund) ... // +/* # define BT848_IFORM_F_NTSCM (0x1) */ // + { 525, 22, 480, 910, 135, 754, 640, 780, 30, 0x68, 0x5d, BT848_IFORM_X_XT0 }, ... // +/* # define BT848_IFORM_F_PALM (0x4) */ // + { 625, 32, 576, 910, 186, 922, 640, 780, 25, 0x68, 0x5d, BT848_IFORM_X_XT0 }, I have not yet tested your code, but PAL/M is just like NTSC when dealing with B/W format. In other words: 525x60 and not 625x50... It's the M suffix that defines B/W mode. Hey guys, remember: PAL is a TLA for Phase Alternated Line. It does not specify a resolution, but an encoding of the color signal. // case BT848_IFORM_F_NTSCM: // case BT848_IFORM_F_NTSCJ: // - case BT848_IFORM_F_PALM: That's why this line was here... // case BT848_IFORM_F_PALBDGHI: // case BT848_IFORM_F_PALN: // case BT848_IFORM_F_SECAM: // case BT848_IFORM_F_RSVD: // + case BT848_IFORM_F_PALM: ...and not here. And this part of code works. I use it everyday. :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67