I am writing a Directshow H264 decoder using the IPP. The downstream renderer will often require a different pitch. When using YUV formats (YV12 in my case) Ifound through a mix of educated guesses and experimentation thatthe following code worked.
// if new stride proposed by downstream filter...
RGB24 on the other hand has only one plane.
Is there a 'cleaner' i.e. more general way to know how to do this based on the type? Is this documented anywhere?