I think we're getting to the point, where I think it's arguments for the sake of arguments.
The compromise:
- 2 pitches. int GetUVPitch() Gets implemented into VideoFrame.
- VideoFrameBuffer hold ONE (1) pointer to data, as always, but gets a new function to return other pointers. Implemented as const BYTE* GetChannelReadPtr(byte channel) const { return data+(stuff); }. That way full compatibility is retained.
Any objections?
__________________
Regards, sh0dan // VoxPod
|