Altera_Forum
Honored Contributor
16 years agoWhat is the secret to how the VIP Scaler works, and can it handle 4:2:2 video?
We are currently working on a system which is fairly complex. We thought we could save some time by utilizing Altera's VIP Suite for decimation and interpolation (yuk, yuk). We are using custom filter coefficients and the VIP scalers in polyphase mode for this purpose. We have struggled a bit to get things going due to poor documentation issues and lack of trained support. We are quite not there yet and very frustrated, needless to say.
Our biggest concern is if we present 4:2:2, 20-bit video to the system input, how do the scalers know what to filter? How do they know the difference between the chroma and the luma with respect to filter operation? We are currently using the same filters for luma as well as chroma, but we separated them from each other for this reason and possibly the use of different coefficients for each later on. This has opened up a whole other can of worms which I won't go into right now. All of the reference designs that I have looked at insinuate that the 4:2:2 needs to be upsampled to 4:4:4 before performing any operations on the video. However, we do not want to expend extra chip resources by doing so if we do not have to. If we need to upsample to get it right, I am OK with it, but I want someone to explain why to me. It seems that the VIP Suite user manual is nothing more than a vague narrative regarding an example design and really does not contain the nuts and bolts type of information that serious video engineers require to make informed decisions. Please, if anyone out there really knows how the VIP Suite scaler function actually processes data with respect to a 4:2:2 video stream, then I would really like to know.