pwc
[Top] [All Lists]

Re: [pwc] Getting compressed image for external decompression

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Getting compressed image for external decompression
From: Tim Braun <>
Date: Thu, 19 Jan 2006 11:59:00 +0100
Luc Saillard wrote:
> 
>>Also, does anyone know how high the compression factor of the built-in
>>algorithm is?
> 
>  
> Just play with resolution, and compression factor, and check your kernel log.
> I print the size of 4 lines. Just multiply by your number of lines and you
> have the size of the buffer.
> 
> Luc

Hi all,
I played around with capture.c a bit and determined the buffer sizes
used with various compression settings. In case someone is also
interested in this, here is what I found for my Philips PWC840:

Image Size      Compression     Bytes used
                Setting

160x120         YUV420P         28800
                0               28808
                1               18908
                2               18908
                3               18908

320x240         YUV420P         1152000
                0               76688
                1               76688
                2               44168
                3               28808

640x480         YUV420P         460800
                0               94568
                1               94568
                2               76808
                3               58568

cheers,
Tim
> _______________________________________________
> pwc mailing list
> 
> http://lists.saillard.org/mailman/listinfo/pwc
> 

_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU