alias V4L2::PixFmt

Alias Definition

Linux::V4L2PixFmt

Defined in:

v4l2.cr

Constant Summary

ABGR32 = 875713089_u32
ABGR444 = 842089025_u32
ABGR555 = 892420673_u32
ARGB32 = 875708738_u32
ARGB444 = 842093121_u32
ARGB555 = 892424769_u32
ARGB555X = 3039908417_u32
AYUV32 = 1448433985_u32
BGR24 = 861030210_u32
BGR32 = 877807426_u32
BGR666 = 1213351746_u32
BGRA32 = 875708754_u32
BGRA444 = 842088775_u32

Originally this had 'BA12' as fourcc, but this clashed with the older V4L2_PIX_FMT_SGRBG12 which inexplicably used that same fourcc. So use 'GA12' instead for V4L2_PIX_FMT_BGRA444.

BGRA555 = 892420418_u32
BGRX32 = 875714642_u32
BGRX444 = 842094658_u32
BGRX555 = 892426306_u32
CIT_YYVYUY = 1448364355_u32
CNF4 = 877022787_u32
CPIA1 = 1095323715_u32

Vendor-specific formats

DV = 1685288548_u32
ET61X251 = 892483141_u32
FWHT = 1414027078_u32
FWHT_STATELESS = 1213679187_u32
GREY = 1497715271_u32

Grey formats

H263 = 859189832_u32
H264 = 875967048_u32
H264_MVC = 875967053_u32
H264_NO_SC = 826496577_u32
HEVC = 1129727304_u32
HI240 = 875710792_u32
HM12 = 842091848_u32
HSV24 = 861295432_u32

HSV formats

HSV32 = 878072648_u32
INZI = 1230655049_u32
IPU3_SBGGR10 = 1647538281_u32

10bit raw bayer packed, 32 bytes for every 25 pixels, last LSB 6 bits unused

IPU3_SGBRG10 = 1731424361_u32
IPU3_SGRBG10 = 1194553449_u32
IPU3_SRGGB10 = 1915973737_u32
JL2005BCD = 808602698_u32
JPEG = 1195724874_u32
JPGL = 1279742026_u32
KONICA420 = 1229868875_u32
M420 = 808596557_u32
MJPEG = 1196444237_u32

compressed formats

MPEG = 1195724877_u32
MPEG1 = 826757197_u32
MPEG2 = 843534413_u32
MPEG2_SLICE = 1395803981_u32
MPEG4 = 877088845_u32
MR97310A = 808530765_u32
MT21C = 825381965_u32
NV12 = 842094158_u32

two planes -- one Y, one Cr + Cb interleaved

NV12M = 842091854_u32

two non contiguous planes - one Y, one Cr + Cb interleaved

NV12MT = 842091860_u32
NV12MT_16X16 = 842091862_u32
NV16 = 909203022_u32
NV16M = 909200718_u32
NV21 = 825382478_u32
NV21M = 825380174_u32
NV24 = 875714126_u32
NV42 = 842290766_u32
NV61 = 825644622_u32
NV61M = 825642318_u32
OV511 = 825308495_u32
OV518 = 942749007_u32
PAC207 = 925905488_u32
PAL8 = 944521552_u32

Palette formats

PJPG = 1196444240_u32
PWC1 = 826496848_u32
PWC2 = 843274064_u32
RGB24 = 859981650_u32
RGB32 = 876758866_u32
RGB332 = 826427218_u32

RGB formats

RGB444 = 875836498_u32
RGB555 = 1329743698_u32
RGB555X = 1363298130_u32
RGB565 = 1346520914_u32
RGB565X = 1380075346_u32
RGBA32 = 875708993_u32
RGBA444 = 842088786_u32
RGBA555 = 892420434_u32
RGBX32 = 875709016_u32
RGBX444 = 842094674_u32
RGBX555 = 892426322_u32
S5C_UYVY_JPG = 1229141331_u32
SBGGR10 = 808535874_u32
SBGGR10ALAW8 = 943800929_u32

10bit raw bayer a-law compressed to 8 bits

SBGGR10DPCM8 = 943800930_u32

10bit raw bayer DPCM compressed to 8 bits

SBGGR10P = 1094795888_u32

10bit raw bayer packed, 5 bytes for every 4 pixels

SBGGR12 = 842090306_u32
SBGGR12P = 1128481392_u32

12bit raw bayer packed, 6 bytes for every 4 pixels

SBGGR14P = 1162166896_u32

14bit raw bayer packed, 7 bytes for every 4 pixels

SBGGR16 = 844257602_u32
SBGGR8 = 825770306_u32

Bayer formats - see http://www.siliconimaging.com/RGB%20Bayer.htm

SE401 = 825242707_u32
SGBRG10 = 808534599_u32
SGBRG10ALAW8 = 943802209_u32
SGBRG10DPCM8 = 943802210_u32
SGBRG10P = 1094797168_u32
SGBRG12 = 842089031_u32
SGBRG12P = 1128482672_u32
SGBRG14P = 1162168176_u32
SGBRG16 = 909197895_u32
SGBRG8 = 1196573255_u32
SGRBG10 = 808534338_u32
SGRBG10ALAW8 = 943810401_u32
SGRBG10DPCM8 = 808535106_u32
SGRBG10P = 1094805360_u32
SGRBG12 = 842088770_u32
SGRBG12P = 1128490864_u32
SGRBG14P = 1162176368_u32
SGRBG16 = 909201991_u32
SGRBG8 = 1195528775_u32
SN9C10X = 808532307_u32
SN9C2028 = 1481527123_u32
SN9C20X_I420 = 808597843_u32
SPCA501 = 825242963_u32
SPCA505 = 892351827_u32
SPCA508 = 942683475_u32
SPCA561 = 825636179_u32
SQ905C = 1127559225_u32
SRGGB10 = 808535890_u32
SRGGB10ALAW8 = 943805025_u32
SRGGB10DPCM8 = 943805026_u32
SRGGB10P = 1094799984_u32
SRGGB12 = 842090322_u32
SRGGB12P = 1128485488_u32
SRGGB14P = 1162170992_u32
SRGGB16 = 909199186_u32
SRGGB8 = 1111967570_u32
STV0680 = 808990291_u32
SUNXI_TILED_NV12 = 842093651_u32
TM6000 = 808865108_u32
UV8 = 540563029_u32

Chrominance formats

UYVY = 1498831189_u32
VC1_ANNEX_G = 1194410838_u32
VC1_ANNEX_L = 1278296918_u32
VP8 = 808996950_u32
VP9 = 809062486_u32
VUYA32 = 1096373590_u32
VUYX32 = 1482249558_u32
VYUY = 1498765654_u32
WNVA = 1096175191_u32
XBGR32 = 875713112_u32
XBGR444 = 842089048_u32
XBGR555 = 892420696_u32
XRGB32 = 875714626_u32
XRGB444 = 842093144_u32
XRGB555 = 892424792_u32
XRGB555X = 3039908440_u32
XVID = 1145656920_u32
XYUV32 = 1448434008_u32
Y10 = 540029273_u32
Y10BPACK = 1110454617_u32

Grey bit-packed formats

Y10P = 1345335641_u32
Y12 = 540160345_u32
Y12I = 1228026201_u32
Y16 = 540422489_u32
Y16_BE = 2687906137_u32
Y4 = 540291161_u32
Y41P = 1345401945_u32
Y6 = 540422233_u32
Y8I = 541669465_u32
YUV32 = 878073177_u32
YUV410 = 961959257_u32

three planes - Y Cb, Cr

YUV411P = 1345401140_u32
YUV420 = 842093913_u32
YUV420M = 842091865_u32

three non contiguous planes - Y, Cb, Cr

YUV422M = 909200729_u32
YUV422P = 1345466932_u32
YUV444 = 875836505_u32
YUV444M = 875711833_u32
YUV555 = 1331058009_u32
YUV565 = 1347835225_u32
YUYV = 1448695129_u32

Luminance+Chrominance formats

YVU410 = 961893977_u32
YVU420 = 842094169_u32
YVU420M = 825380185_u32
YVU422M = 825642329_u32
YVU444M = 842288473_u32
YVYU = 1431918169_u32
YYUV = 1448434009_u32
Z16 = 540422490_u32