Hi, I doing this little mod to y4mshift to try and correct some vertical shaking in recording from a VCR and I have got to the point where I now how much I want to move each frame by and if I need to swap the fields (its interlaced).
I think I understand that 4:2:0 has (for each square of 4 pixels) 4 Y values, 1 U, and 1 V value. But what happens in the uchar **yuv arrays for interlaced material. I presume that the first row of U/V values correspond to rows 0&2 of Y values (i.e the first 2 rows in the first field) and the second row of U/V values correspond to rows 1&3 of Y values (i.e. the first 2 rows in the second field) Is that correct and if so are there any algorithms in the library to handle shifting by numbers that are not a factor of 4? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users