I just put out a new version of SimpleResize. The only change is to remove the annoying horizontal restriction that the size be a multiple of 4 pixels. Both the input and output sizes must now be a multiple of 2 pixels, required for valid YUY2. See: and As always, the source is also in the zip. - Tom
--------------------- Кнопка с крестиком в правом верхнем углу экрана – портал в реальный мир)
hi, as always very good job, happy to see u have find time to correct the 4 pixel bug :) bye [edit] of course now autodub/autoRV9 support the simpleresize filter , thank u again :) [edit]
One application for the WarpedResize is the "conversion" 16:9 <> 4:3. For that the Pixel Aspect Ratio in the middle of the screen should be correct, that at the borders must then be (intentionally!) wrong. Can you tell how the PAR for the center can be calculated from the warp factors? (This must be the opposite way of how you arrived at the values in your example).
"__declspec(align(16)) static const __int64 ..." Sh0dan - Yep, I've since learned about that but didn't change the comment. And I still don't think it works for stack variables. But I did use the __declspec(align(16)) in my last filters. But thanks. That was fairly frustrating trying to write the SSE2 version and it kept blowing up on that stuff. If it hadn't been for that, and the lousy SSE2 debugging (can't see SSE2 debug regs) then there probably would have been a lot more SSE2 support. ;) - Tom
--------------------- Сонечко світить, пташки співають,хтось когось любить, БО ЛЮСТРА ТРЯСЕТЬСЯ!!!