Erik Slagter wrote:
Software reduction means you grab the whole 704 by 576 (when PAL) pixels
for every frame, copying from the mmap-ed buffers to your own buffer.
Then you skip say 3 out of every 4 lines, and in the lines you keep,
skip 3 out of every 4 pixels. There are subtler methods but this one is
simple.
I'd suggest capturing 720x576 - else the card already starts downscaling
in hardware.
Well, VIOCGCAP was telling me 924 for maxwidth, which I found puzzling.
Being in a rush I hardcoded 704x576 (2 times SIF). Do the cards do
downscaling or cropping? Whare do you get 720 from? If true, I should
see some improvements in speed and quality, so I'll certainly try. But
not today.
--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41