Guest
15th April 2003, 17:52
I'm a bit confused about YV12 alignment issues so thought I'd ask for help. Maybe sh0dan understands this. :)
Suppose I have a filter that creates Y, U, and V planes. Consider the U plane. If I write an MMX routine that operates 8 bytes at a time on the U plane, does that mean I need to restrict input widths to 16? Or will Avisynth give me extra room? How do I properly code for and specify input width restrictions?
I understand there is an ALIGNED thing you can do with GetRowSize(), but does that add xtra space if needed or just report about extra pace that is already there?
Do I sound confused? :)
Thank you.
Suppose I have a filter that creates Y, U, and V planes. Consider the U plane. If I write an MMX routine that operates 8 bytes at a time on the U plane, does that mean I need to restrict input widths to 16? Or will Avisynth give me extra room? How do I properly code for and specify input width restrictions?
I understand there is an ALIGNED thing you can do with GetRowSize(), but does that add xtra space if needed or just report about extra pace that is already there?
Do I sound confused? :)
Thank you.