Hey, I've just written a new video filter and I wanna make sure it's ok to add it to cvs before I commit. The file is attached. The basic idea behind this filter, halfpack, is as follows: Suppose you want to display a hires movie on a low resolution device, e.g. a tv screen. If your video device supports scaling overlays down properly, no problem, right? Well some cards don't support scaling down at all, and others (g200) use nearest neighbor when scaling down, resulting in horrible output quality. The normal solution would be to use the sw scaler to scale down. But suppose you have to scale a 640x480 movie down to 640x240. Assuming your codec outputs a planar colorspace such as yv12, the vertical chroma resolution after scalind down will be 120. You've thrown away half your chroma samples for no reason, since 240 lines of chroma would still fit perfectly fine. Here's where -vop halfpack comes in. It converts planar yuv input to packed yuv (yuy2) output, halving the vertical luma resolution but keeping all the original chroma samples. Right now it still has a few problems -- averaging two lines of luma doesn't make for the best quality when scaling down, direct rendering doesn't seem to be taking effect, and I'm not positive it works with plane-swapped input -- but it can't break or affect anything else in mplayer, so I'd like to go ahead and get it in cvs if that's ok. Oh, it's also probably a bit slow -- I'll implement an asm version when I get a chance, and hopefully fix dr. Rich