This is not exactly what I need. I need (for example) to convert generally applicable8-bit 4:2:2 YUV (Y0 Cb0 Y1 Cr0 Y2 Cb1 Y3 Cr1, 8 bit per each value, pixel/planar order) to 10-bit-precision form(the same Y0 Cb0 Y1 Cr0 Y2 Cb1 Y3 Cr1, but 10 bit per each value, pixel order), which is used in SDI signals (http://en.wikipedia.org/wiki/Serial_digital_interface). And vise versa. With dither,ideally:).
Seems that this is a fairly specific task andI have to implement it myself.