From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m85GGPBn025884 for ; Fri, 5 Sep 2008 12:17:22 -0400 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx3.redhat.com (8.13.8/8.13.8) with SMTP id m85FpWHg030623 for ; Fri, 5 Sep 2008 11:51:52 -0400 Date: Fri, 5 Sep 2008 17:51:08 +0200 From: Daniel =?iso-8859-1?Q?Gl=F6ckner?= To: Jean Delvare Message-ID: <20080905155108.GA529@daniel.bse> References: <200808251445.22005.jdelvare@suse.de> <200809021305.12318.jdelvare@suse.de> <20080903222959.GA1008@daniel.bse> <200809051436.18549.jdelvare@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200809051436.18549.jdelvare@suse.de> Cc: video4linux-list@redhat.com, v4l-dvb-maintainer@linuxtv.org Subject: Re: bttv driver questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: On Fri, Sep 05, 2008 at 02:36:18PM +0200, Jean Delvare wrote: > > I've written a small program that captures in HI240 and converts to > > YCbCr 4:2:0. The output is either PGM as generated by mpeg2dec or Y4M > > as expected by the mjpegtools. The HI240 to RGB formula is from > > xawdecode. > > I've never heard of PGM nor Y4M. Can either mplayer or ffmpeg decode > either format? FFmpeg knows how to deal with both formats. For Y4M: ffmpeg -f yuv4mpegpipe -i - For PGM: ffmpeg -f image2pipe -vcodec pgmyuv -i - > This doesn't build for me. Your code makes use of keyword "restricted" > which I've never seen before and my version of gcc (4.1.2) doesn't > know about. "restrict" is C99. Either compile with -std=c99, replace "restrict" with "__restrict", or delete it completely. Daniel -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list