bmp图形的rgb排列顺序 - minichao9901/TangNano-20k-Zynq-7020 GitHub Wiki
offset=54,排列顺序0--N是bgrb grbg rbgr bgrb grbg r,这就意味着,如果是u16进行排序,如下,循环是3:
h0: gb
h1: br
h2: rg
h3: gb
h4: br
h5: rg
如果是以u32进行排序,如下,循环是3:
w0: brgb
w1: gbrg
w2: rgbr
w3: brgb
w4: gbrg
offset=54,排列顺序0--N是bgrb grbg rbgr bgrb grbg r,这就意味着,如果是u16进行排序,如下,循环是3:
h0: gb
h1: br
h2: rg
h3: gb
h4: br
h5: rg
如果是以u32进行排序,如下,循环是3:
w0: brgb
w1: gbrg
w2: rgbr
w3: brgb
w4: gbrg