For example
- “RGB” RGB
+--+--+--+ +--+--+--+
|R0|G0|B0| |R1|G1|B1| ...
+--+--+--+ +--+--+--+
Component 0: R
depth: 8
pstride: 3
offset: 0
Component 1: G
depth: 8
pstride: 3
offset: 1
Component 2: B
depth 8
pstride: 3
offset: 2
Image
default rstride: RU4 (width * 3)
default size: rstride (image) * height
What’s the meaning of RU4 here? I have got a raw/video buff with format RGB from nvh264dec and cudaconvertscale, I found RU4 (width * 3)
== 1024. But width == 224. I don’t understand how RU4 make width * 3 == 672
become 1024