On Thu, 2005-03-17 at 12:33 -0500, Tyler Trafford wrote:
Sergey Alexandrov <[EMAIL PROTECTED]> wrote:
> Looks like to make scaling work it's necessary to setup HACTIVE and VACTIVE
> to new width/height. I've tried to set it up, but HACTIVE resets to
> 720 when I've tried to
> capture something .. Have no idea where it got defaulted from :(

I'm pretty sure that VACTIVE and HACTIVE (and VBLANK and HBLANK) are
used primarily to set the region the encoder looks at. (it is possible
to scale using them, but only in a way that maintains the WxH ratio).

I meant to scale image properly, you have to setup HSCALE, VSACLE AND!!! HACTIVE, VACTIVE.
In case of simple scaling it's not ness. to change BLANK values. Take a look on older conexant's
driver code, they ALWAYS define HACTIVE and VACTIVE in scaling procedures. We don't. As I can see
in 3.2 and earlier, there is only (H/V)SCALE setup, but not (H/V)ACTIVE. Look, if we setup scaler to,
for example, 480x480, HACTIVE should be 480, in 3.2 case it's still 720, so we have "crop" instead
of scale ...


Thanks, Serg

Reply via email to