2.6.1.11. V4L2_PIX_FMT_SRGGB14P (‘pREE’), V4L2_PIX_FMT_SGRBG14P (‘pgEE’), V4L2_PIX_FMT_SGBRG14P (‘pGEE’), V4L2_PIX_FMT_SBGGR14P (‘pBEE’),

man V4L2_PIX_FMT_SRGGB14P(2)

V4L2_PIX_FMT_SGRBG14P V4L2_PIX_FMT_SGBRG14P V4L2_PIX_FMT_SBGGR14P 14 位打包 Bayer 格式

2.6.1.11.1. 描述

這四種畫素格式是每種顏色 14 位的打包原始 sRGB / Bayer 格式。每四個連續樣本打包成七個位元組。前四個位元組中的每一個都包含畫素的八個高位,隨後的三個位元組包含每個畫素的六個最低有效位,順序相同。

每個 n 畫素行包含 n/2 個綠色樣本和 n/2 個藍色或紅色樣本,綠色-紅色和綠色-藍色行交替出現。它們通常被描述為 GRGR... BGBG...、RGRG... GBGB... 等。下面是其中一種格式的示例

位元組順序。 每個單元格是一個位元組。

start + 0

B00high

G01high

B02high

G03high

G01low bits 1--0(bits 7--6)

B00low bits 5--0(bits 5--0)

B02low bits 3--0(bits 7--4)

G01low bits 5--2(bits 3--0)

G03low bits 5--0(bits 7--2)

B02low bits 5--4(bits 1--0)

start + 7

G10high

R11high

G12high

R13high

R11low bits 1--0(bits 7--6)

G10low bits 5--0(bits 5--0)

G12low bits 3--0(bits 7--4)

R11low bits 5--2(bits 3--0)

R13low bits 5--0(bits 7--2)

G12low bits 5--4(bits 1--0)

start + 14

B20high

G21high

B22high

G23high

G21low bits 1--0(bits 7--6)

B20low bits 5--0(bits 5--0)

B22low bits 3--0(bits 7--4)

G21low bits 5--2(bits 3--0)

G23low bits 5--0(bits 7--2)

B22low bits 5--4(bits 1--0)

start + 21

G30high

R31high

G32high

R33high

R31low bits 1--0(bits 7--6) G30low bits 5--0(bits 5--0)

G32low bits 3--0(bits 7--4) R31low bits 5--2(bits 3--0)

R33low bits 5--0(bits 7--2) G32low bits 5--4(bits 1--0)