[mythtv-users] nonlinear 16:9 stretch?

William wmunson at rochester.rr.com
Mon Nov 21 18:00:08 EST 2005


> divide it into 10 equally, or nearly equally wide vertical stripes.
> 
> 1) For the stripe on the far left you could repeat each pixel 3 times.
> 2) For the next two stripe repeat each 2 times.
> 3) Then stripes four through seven are just a normal one:one mapping.
> 4) The next two stripes would be the same as (2).
> 5) The final stripe would be the same as (1)
> 
> In other words the pattern for repeating pixels would be... 
> [3,2,2,1,1,1,1,2,2,3]
> 
Dont forget that the vertical also needs to be scaled so your routine gets
to be quite a bit more complicated. Not sure if some kind of a lookup table
might do the trick. Divide the screen into zones and assign each zone a pair
of strech values. You would need to limit the number of pixels per zone to
keep it from becoming visible as a pattern.



More information about the mythtv-users mailing list