PDA

View Full Version : dgdecode and I420


Wilbert
14th February 2005, 22:50
@neuron2,

IIRC dgdecode/mpeg2dec3 is actually outputting I420 instead of YV12. How does AviSynth handle this? Suppose you convert to YUY2, is AviSynth checking whether the source outputs I420 or YV12?

I'm asking this because of the following thread which I think is related to this I420/YV12 issue:

http://forum.doom9.org/showthread.php?s=&threadid=89977

Could you read it and tell me what you think of it?

tritical
14th February 2005, 23:32
AviSynth handles I420 the same as YV12 but swaps the U/V pointers, since the only difference is the arrangement of the planes in memory. That is handled internally so that the difference (I420/YV12) is invisible to avs filters that use GetReadPtr() and GetWritePtr() to get the pointers.