>Hi Matto,

Hey, Andrew,  happy new year,

 >I haven't had a chance to look at the code so I don't know how wide the 
 >H-scaling filter can be.

A filter can be as wide as it wants to be --- the code is quite general
 in that regard (hence not as fast as it could be for any given filter).

 >  However, if you can do it a Lanczos kernel or 
 >windowed sinc at 7 or 9 taps width is generally what is used professionally
 >(resources permitting).

By that, do you mean "sinc, with a Lanczos window"?  I can do that.
(A Lanczos window is just the central lobe of a sinc (i.e., up to the first
 zero-crossing), right?  Funny that "sinc times fat, trucated sinc" is the
 preferred kernel.)

Hey, can you suggest any good references that explain, for example, why 
 these choices are made for professional video?

 >V-scalers are usually narrower as video signals is not necessarily
 >band-limited in the vertical axis so a wide impulse response tends
 >to produce visible ringing in the vertical.

Currently, the scaling engine uses the same kernel for both H and V
 (except when an axis is 1:1 with no subpixel translation, in which case
 it just does a copy).  But it should be fairly easy to allow them to
 be set differently --- mostly paperwork.  I'll put it on the TODO list.

-matt m.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to