3 ms·
Dimensions, Pointer to Scanline 0, Stride, and Pixel Format. What else do you need before you start processing images?
by Dwedit 2y ago
Dimensions, Pointer to Scanline 0, Stride, and Pixel Format. What else do you need before you start processing images?
- pavlov 2y agoIf they are video frames, you also need to know the chroma subsampling ratio and separate stride values for luma and chroma. (Some systems also allow for separate base offsets for the chroma planes, but that’s not useful in practice. It’s simpler if you can assume that the chroma planes tightly follow the luma. Stride is enough for alignment.)