00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PFNC_H
00016 #define PFNC_H
00017
00018 #define PFNC_Mono1p 0x01010037
00019 #define PFNC_Mono2p 0x01020038
00020 #define PFNC_Mono4p 0x01040039
00021 #define PFNC_Mono8 0x01080001
00022 #define PFNC_Mono8s 0x01080002
00023 #define PFNC_Mono10 0x01100003
00024 #define PFNC_Mono10p 0x010A0046
00025 #define PFNC_Mono12 0x01100005
00026 #define PFNC_Mono12p 0x010C0047
00027 #define PFNC_Mono14 0x01100025
00028 #define PFNC_Mono16 0x01100007
00029 #define PFNC_BayerBG8 0x0108000B
00030 #define PFNC_BayerBG10 0x0110000F
00031 #define PFNC_BayerBG10p 0x010A0052
00032 #define PFNC_BayerBG12 0x01100013
00033 #define PFNC_BayerBG12p 0x010C0053
00034 #define PFNC_BayerBG16 0x01100031
00035 #define PFNC_BayerGB8 0x0108000A
00036 #define PFNC_BayerGB10 0x0110000E
00037 #define PFNC_BayerGB10p 0x010A0054
00038 #define PFNC_BayerGB12 0x01100012
00039 #define PFNC_BayerGB12p 0x010C0055
00040 #define PFNC_BayerGB16 0x01100030
00041 #define PFNC_BayerGR8 0x01080008
00042 #define PFNC_BayerGR10 0x0110000C
00043 #define PFNC_BayerGR10p 0x010A0056
00044 #define PFNC_BayerGR12 0x01100010
00045 #define PFNC_BayerGR12p 0x010C0057
00046 #define PFNC_BayerGR16 0x0110002E
00047 #define PFNC_BayerRG8 0x01080009
00048 #define PFNC_BayerRG10 0x0110000D
00049 #define PFNC_BayerRG10p 0x010A0058
00050 #define PFNC_BayerRG12 0x01100011
00051 #define PFNC_BayerRG12p 0x010C0059
00052 #define PFNC_BayerRG16 0x0110002F
00053 #define PFNC_RGBa8 0x02200016
00054 #define PFNC_RGBa10 0x0240005F
00055 #define PFNC_RGBa10p 0x02280060
00056 #define PFNC_RGBa12 0x02400061
00057 #define PFNC_RGBa12p 0x02300062
00058 #define PFNC_RGBa14 0x02400063
00059 #define PFNC_RGBa16 0x02400064
00060 #define PFNC_RGB8 0x02180014
00061 #define PFNC_RGB8_Planar 0x02180021
00062 #define PFNC_RGB10 0x02300018
00063 #define PFNC_RGB10_Planar 0x02300022
00064 #define PFNC_RGB10p 0x021E005C
00065 #define PFNC_RGB10p32 0x0220001D
00066 #define PFNC_RGB12 0x0230001A
00067 #define PFNC_RGB12_Planar 0x02300023
00068 #define PFNC_RGB12p 0x0224005D
00069 #define PFNC_RGB14 0x0230005E
00070 #define PFNC_RGB16 0x02300033
00071 #define PFNC_RGB16_Planar 0x02300024
00072 #define PFNC_RGB565p 0x02100035
00073 #define PFNC_BGRa8 0x02200017
00074 #define PFNC_BGRa10 0x0240004C
00075 #define PFNC_BGRa10p 0x0228004D
00076 #define PFNC_BGRa12 0x0240004E
00077 #define PFNC_BGRa12p 0x0230004F
00078 #define PFNC_BGRa14 0x02400050
00079 #define PFNC_BGRa16 0x02400051
00080 #define PFNC_BGR8 0x02180015
00081 #define PFNC_BGR10 0x02300019
00082 #define PFNC_BGR10p 0x021E0048
00083 #define PFNC_BGR12 0x0230001B
00084 #define PFNC_BGR12p 0x02240049
00085 #define PFNC_BGR14 0x0230004A
00086 #define PFNC_BGR16 0x0230004B
00087 #define PFNC_BGR565p 0x02100036
00088 #define PFNC_R8 0x010800C9
00089 #define PFNC_R10 0x010A00CA
00090 #define PFNC_R12 0x010C00CB
00091 #define PFNC_R16 0x011000CC
00092 #define PFNC_G8 0x010800CD
00093 #define PFNC_G10 0x010A00CE
00094 #define PFNC_G12 0x010C00CF
00095 #define PFNC_G16 0x011000D0
00096 #define PFNC_B8 0x010800D1
00097 #define PFNC_B10 0x010A00D2
00098 #define PFNC_B12 0x010C00D3
00099 #define PFNC_B16 0x011000D4
00100 #define PFNC_Coord3D_ABC8 0x021800B2
00101 #define PFNC_Coord3D_ABC8_Planar 0x021800B3
00102 #define PFNC_Coord3D_ABC10p 0x021E00DB
00103 #define PFNC_Coord3D_ABC10p_Planar 0x021E00DC
00104 #define PFNC_Coord3D_ABC12p 0x022400DE
00105 #define PFNC_Coord3D_ABC12p_Planar 0x022400DF
00106 #define PFNC_Coord3D_ABC16 0x023000B9
00107 #define PFNC_Coord3D_ABC16_Planar 0x023000BA
00108 #define PFNC_Coord3D_ABC32f 0x026000C0
00109 #define PFNC_Coord3D_ABC32f_Planar 0x026000C1
00110 #define PFNC_Coord3D_AC8 0x021000B4
00111 #define PFNC_Coord3D_AC8_Planar 0x021000B5
00112 #define PFNC_Coord3D_AC10p 0x021400F0
00113 #define PFNC_Coord3D_AC10p_Planar 0x021400F1
00114 #define PFNC_Coord3D_AC12p 0x021800F2
00115 #define PFNC_Coord3D_AC12p_Planar 0x021800F3
00116 #define PFNC_Coord3D_AC16 0x022000BB
00117 #define PFNC_Coord3D_AC16_Planar 0x022000BC
00118 #define PFNC_Coord3D_AC32f 0x024000C2
00119 #define PFNC_Coord3D_AC32f_Planar 0x024000C3
00120 #define PFNC_Coord3D_A8 0x010800AF
00121 #define PFNC_Coord3D_A10p 0x010A00D5
00122 #define PFNC_Coord3D_A12p 0x010C00D8
00123 #define PFNC_Coord3D_A16 0x011000B6
00124 #define PFNC_Coord3D_A32f 0x012000BD
00125 #define PFNC_Coord3D_B8 0x010800B0
00126 #define PFNC_Coord3D_B10p 0x010A00D6
00127 #define PFNC_Coord3D_B12p 0x010C00D9
00128 #define PFNC_Coord3D_B16 0x011000B7
00129 #define PFNC_Coord3D_B32f 0x012000BE
00130 #define PFNC_Coord3D_C8 0x010800B1
00131 #define PFNC_Coord3D_C10p 0x010A00D7
00132 #define PFNC_Coord3D_C12p 0x010C00DA
00133 #define PFNC_Coord3D_C16 0x011000B8
00134 #define PFNC_Coord3D_C32f 0x012000BF
00135 #define PFNC_Confidence1 0x010800C4
00136 #define PFNC_Confidence1p 0x010100C5
00137 #define PFNC_Confidence8 0x010800C6
00138 #define PFNC_Confidence16 0x011000C7
00139 #define PFNC_Confidence32f 0x012000C8
00140 #define PFNC_BiColorBGRG8 0x021000A6
00141 #define PFNC_BiColorBGRG10 0x022000A9
00142 #define PFNC_BiColorBGRG10p 0x021400AA
00143 #define PFNC_BiColorBGRG12 0x022000AD
00144 #define PFNC_BiColorBGRG12p 0x021800AE
00145 #define PFNC_BiColorRGBG8 0x021000A5
00146 #define PFNC_BiColorRGBG10 0x022000A7
00147 #define PFNC_BiColorRGBG10p 0x021400A8
00148 #define PFNC_BiColorRGBG12 0x022000AB
00149 #define PFNC_BiColorRGBG12p 0x021800AC
00150 #define PFNC_SCF1WBWG8 0x01080067
00151 #define PFNC_SCF1WBWG10 0x01100068
00152 #define PFNC_SCF1WBWG10p 0x010A0069
00153 #define PFNC_SCF1WBWG12 0x0110006A
00154 #define PFNC_SCF1WBWG12p 0x010C006B
00155 #define PFNC_SCF1WBWG14 0x0110006C
00156 #define PFNC_SCF1WBWG16 0x0110006D
00157 #define PFNC_SCF1WGWB8 0x0108006E
00158 #define PFNC_SCF1WGWB10 0x0110006F
00159 #define PFNC_SCF1WGWB10p 0x010A0070
00160 #define PFNC_SCF1WGWB12 0x01100071
00161 #define PFNC_SCF1WGWB12p 0x010C0072
00162 #define PFNC_SCF1WGWB14 0x01100073
00163 #define PFNC_SCF1WGWB16 0x01100074
00164 #define PFNC_SCF1WGWR8 0x01080075
00165 #define PFNC_SCF1WGWR10 0x01100076
00166 #define PFNC_SCF1WGWR10p 0x010A0077
00167 #define PFNC_SCF1WGWR12 0x01100078
00168 #define PFNC_SCF1WGWR12p 0x010C0079
00169 #define PFNC_SCF1WGWR14 0x0110007A
00170 #define PFNC_SCF1WGWR16 0x0110007B
00171 #define PFNC_SCF1WRWG8 0x0108007C
00172 #define PFNC_SCF1WRWG10 0x0110007D
00173 #define PFNC_SCF1WRWG10p 0x010A007E
00174 #define PFNC_SCF1WRWG12 0x0110007F
00175 #define PFNC_SCF1WRWG12p 0x010C0080
00176 #define PFNC_SCF1WRWG14 0x01100081
00177 #define PFNC_SCF1WRWG16 0x01100082
00178 #define PFNC_YCbCr8 0x0218005B
00179 #define PFNC_YCbCr8_CbYCr 0x0218003A
00180 #define PFNC_YCbCr10_CbYCr 0x02300083
00181 #define PFNC_YCbCr10p_CbYCr 0x021E0084
00182 #define PFNC_YCbCr12_CbYCr 0x02300085
00183 #define PFNC_YCbCr12p_CbYCr 0x02240086
00184 #define PFNC_YCbCr411_8 0x020C005A
00185 #define PFNC_YCbCr411_8_CbYYCrYY 0x020C003C
00186 #define PFNC_YCbCr422_8 0x0210003B
00187 #define PFNC_YCbCr422_8_CbYCrY 0x02100043
00188 #define PFNC_YCbCr422_10 0x02200065
00189 #define PFNC_YCbCr422_10_CbYCrY 0x02200099
00190 #define PFNC_YCbCr422_10p 0x02140087
00191 #define PFNC_YCbCr422_10p_CbYCrY 0x0214009A
00192 #define PFNC_YCbCr422_12 0x02200066
00193 #define PFNC_YCbCr422_12_CbYCrY 0x0220009B
00194 #define PFNC_YCbCr422_12p 0x02180088
00195 #define PFNC_YCbCr422_12p_CbYCrY 0x0218009C
00196 #define PFNC_YCbCr601_8_CbYCr 0x0218003D
00197 #define PFNC_YCbCr601_10_CbYCr 0x02300089
00198 #define PFNC_YCbCr601_10p_CbYCr 0x021E008A
00199 #define PFNC_YCbCr601_12_CbYCr 0x0230008B
00200 #define PFNC_YCbCr601_12p_CbYCr 0x0224008C
00201 #define PFNC_YCbCr601_411_8_CbYYCrYY 0x020C003F
00202 #define PFNC_YCbCr601_422_8 0x0210003E
00203 #define PFNC_YCbCr601_422_8_CbYCrY 0x02100044
00204 #define PFNC_YCbCr601_422_10 0x0220008D
00205 #define PFNC_YCbCr601_422_10_CbYCrY 0x0220009D
00206 #define PFNC_YCbCr601_422_10p 0x0214008E
00207 #define PFNC_YCbCr601_422_10p_CbYCrY 0x0214009E
00208 #define PFNC_YCbCr601_422_12 0x0220008F
00209 #define PFNC_YCbCr601_422_12_CbYCrY 0x0220009F
00210 #define PFNC_YCbCr601_422_12p 0x02180090
00211 #define PFNC_YCbCr601_422_12p_CbYCrY 0x021800A0
00212 #define PFNC_YCbCr709_8_CbYCr 0x02180040
00213 #define PFNC_YCbCr709_10_CbYCr 0x02300091
00214 #define PFNC_YCbCr709_10p_CbYCr 0x021E0092
00215 #define PFNC_YCbCr709_12_CbYCr 0x02300093
00216 #define PFNC_YCbCr709_12p_CbYCr 0x02240094
00217 #define PFNC_YCbCr709_411_8_CbYYCrYY 0x020C0042
00218 #define PFNC_YCbCr709_422_8 0x02100041
00219 #define PFNC_YCbCr709_422_8_CbYCrY 0x02100045
00220 #define PFNC_YCbCr709_422_10 0x02200095
00221 #define PFNC_YCbCr709_422_10_CbYCrY 0x022000A1
00222 #define PFNC_YCbCr709_422_10p 0x02140096
00223 #define PFNC_YCbCr709_422_10p_CbYCrY 0x021400A2
00224 #define PFNC_YCbCr709_422_12 0x02200097
00225 #define PFNC_YCbCr709_422_12_CbYCrY 0x022000A3
00226 #define PFNC_YCbCr709_422_12p 0x02180098
00227 #define PFNC_YCbCr709_422_12p_CbYCrY 0x021800A4
00228 #define PFNC_YCbCr2020_8_CbYCr 0x021800F4
00229 #define PFNC_YCbCr2020_10_CbYCr 0x023000F5
00230 #define PFNC_YCbCr2020_10p_CbYCr 0x021E00F6
00231 #define PFNC_YCbCr2020_12_CbYCr 0x023000F7
00232 #define PFNC_YCbCr2020_12p_CbYCr 0x022400F8
00233 #define PFNC_YCbCr2020_411_8_CbYYCrYY 0x020C00F9
00234 #define PFNC_YCbCr2020_422_8 0x021000FA
00235 #define PFNC_YCbCr2020_422_8_CbYCrY 0x021000FB
00236 #define PFNC_YCbCr2020_422_10 0x022000FC
00237 #define PFNC_YCbCr2020_422_10_CbYCrY 0x022000FD
00238 #define PFNC_YCbCr2020_422_10p 0x021400FE
00239 #define PFNC_YCbCr2020_422_10p_CbYCrY 0x021400FF
00240 #define PFNC_YCbCr2020_422_12 0x02200100
00241 #define PFNC_YCbCr2020_422_12_CbYCrY 0x02200101
00242 #define PFNC_YCbCr2020_422_12p 0x02180102
00243 #define PFNC_YCbCr2020_422_12p_CbYCrY 0x02180103
00244 #define PFNC_YUV8_UYV 0x02180020
00245 #define PFNC_YUV411_8_UYYVYY 0x020C001E
00246 #define PFNC_YUV422_8 0x02100032
00247 #define PFNC_YUV422_8_UYVY 0x0210001F
00248
00249
00250
00251 #define GVSP_Mono10Packed 0x010C0004
00252 #define GVSP_Mono12Packed 0x010C0006
00253 #define GVSP_BayerBG10Packed 0x010C0029
00254 #define GVSP_BayerBG12Packed 0x010C002D
00255 #define GVSP_BayerGB10Packed 0x010C0028
00256 #define GVSP_BayerGB12Packed 0x010C002C
00257 #define GVSP_BayerGR10Packed 0x010C0026
00258 #define GVSP_BayerGR12Packed 0x010C002A
00259 #define GVSP_BayerRG10Packed 0x010C0027
00260 #define GVSP_BayerRG12Packed 0x010C002B
00261 #define GVSP_RGB10V1Packed 0x0220001C
00262 #define GVSP_RGB12V1Packed 0x02240034
00263
00264
00265
00266
00267 typedef enum PfncFormat_
00268 {
00269 Mono1p = 0x01010037,
00270 Mono2p = 0x01020038,
00271 Mono4p = 0x01040039,
00272 Mono8 = 0x01080001,
00273 Mono8s = 0x01080002,
00274 Mono10 = 0x01100003,
00275 Mono10p = 0x010A0046,
00276 Mono12 = 0x01100005,
00277 Mono12p = 0x010C0047,
00278 Mono14 = 0x01100025,
00279 Mono16 = 0x01100007,
00280 BayerBG8 = 0x0108000B,
00281 BayerBG10 = 0x0110000F,
00282 BayerBG10p = 0x010A0052,
00283 BayerBG12 = 0x01100013,
00284 BayerBG12p = 0x010C0053,
00285 BayerBG16 = 0x01100031,
00286 BayerGB8 = 0x0108000A,
00287 BayerGB10 = 0x0110000E,
00288 BayerGB10p = 0x010A0054,
00289 BayerGB12 = 0x01100012,
00290 BayerGB12p = 0x010C0055,
00291 BayerGB16 = 0x01100030,
00292 BayerGR8 = 0x01080008,
00293 BayerGR10 = 0x0110000C,
00294 BayerGR10p = 0x010A0056,
00295 BayerGR12 = 0x01100010,
00296 BayerGR12p = 0x010C0057,
00297 BayerGR16 = 0x0110002E,
00298 BayerRG8 = 0x01080009,
00299 BayerRG10 = 0x0110000D,
00300 BayerRG10p = 0x010A0058,
00301 BayerRG12 = 0x01100011,
00302 BayerRG12p = 0x010C0059,
00303 BayerRG16 = 0x0110002F,
00304 RGBa8 = 0x02200016,
00305 RGBa10 = 0x0240005F,
00306 RGBa10p = 0x02280060,
00307 RGBa12 = 0x02400061,
00308 RGBa12p = 0x02300062,
00309 RGBa14 = 0x02400063,
00310 RGBa16 = 0x02400064,
00311 RGB8 = 0x02180014,
00312 RGB8_Planar = 0x02180021,
00313 RGB10 = 0x02300018,
00314 RGB10_Planar = 0x02300022,
00315 RGB10p = 0x021E005C,
00316 RGB10p32 = 0x0220001D,
00317 RGB12 = 0x0230001A,
00318 RGB12_Planar = 0x02300023,
00319 RGB12p = 0x0224005D,
00320 RGB14 = 0x0230005E,
00321 RGB16 = 0x02300033,
00322 RGB16_Planar = 0x02300024,
00323 RGB565p = 0x02100035,
00324 BGRa8 = 0x02200017,
00325 BGRa10 = 0x0240004C,
00326 BGRa10p = 0x0228004D,
00327 BGRa12 = 0x0240004E,
00328 BGRa12p = 0x0230004F,
00329 BGRa14 = 0x02400050,
00330 BGRa16 = 0x02400051,
00331 BGR8 = 0x02180015,
00332 BGR10 = 0x02300019,
00333 BGR10p = 0x021E0048,
00334 BGR12 = 0x0230001B,
00335 BGR12p = 0x02240049,
00336 BGR14 = 0x0230004A,
00337 BGR16 = 0x0230004B,
00338 BGR565p = 0x02100036,
00339 R8 = 0x010800C9,
00340 R10 = 0x010A00CA,
00341 R12 = 0x010C00CB,
00342 R16 = 0x011000CC,
00343 G8 = 0x010800CD,
00344 G10 = 0x010A00CE,
00345 G12 = 0x010C00CF,
00346 G16 = 0x011000D0,
00347 B8 = 0x010800D1,
00348 B10 = 0x010A00D2,
00349 B12 = 0x010C00D3,
00350 B16 = 0x011000D4,
00351 Coord3D_ABC8 = 0x021800B2,
00352 Coord3D_ABC8_Planar = 0x021800B3,
00353 Coord3D_ABC10p = 0x021E00DB,
00354 Coord3D_ABC10p_Planar = 0x021E00DC,
00355 Coord3D_ABC12p = 0x022400DE,
00356 Coord3D_ABC12p_Planar = 0x022400DF,
00357 Coord3D_ABC16 = 0x023000B9,
00358 Coord3D_ABC16_Planar = 0x023000BA,
00359 Coord3D_ABC32f = 0x026000C0,
00360 Coord3D_ABC32f_Planar = 0x026000C1,
00361 Coord3D_AC8 = 0x021000B4,
00362 Coord3D_AC8_Planar = 0x021000B5,
00363 Coord3D_AC10p = 0x021400F0,
00364 Coord3D_AC10p_Planar = 0x021400F1,
00365 Coord3D_AC12p = 0x021800F2,
00366 Coord3D_AC12p_Planar = 0x021800F3,
00367 Coord3D_AC16 = 0x022000BB,
00368 Coord3D_AC16_Planar = 0x022000BC,
00369 Coord3D_AC32f = 0x024000C2,
00370 Coord3D_AC32f_Planar = 0x024000C3,
00371 Coord3D_A8 = 0x010800AF,
00372 Coord3D_A10p = 0x010A00D5,
00373 Coord3D_A12p = 0x010C00D8,
00374 Coord3D_A16 = 0x011000B6,
00375 Coord3D_A32f = 0x012000BD,
00376 Coord3D_B8 = 0x010800B0,
00377 Coord3D_B10p = 0x010A00D6,
00378 Coord3D_B12p = 0x010C00D9,
00379 Coord3D_B16 = 0x011000B7,
00380 Coord3D_B32f = 0x012000BE,
00381 Coord3D_C8 = 0x010800B1,
00382 Coord3D_C10p = 0x010A00D7,
00383 Coord3D_C12p = 0x010C00DA,
00384 Coord3D_C16 = 0x011000B8,
00385 Coord3D_C32f = 0x012000BF,
00386 Confidence1 = 0x010800C4,
00387 Confidence1p = 0x010100C5,
00388 Confidence8 = 0x010800C6,
00389 Confidence16 = 0x011000C7,
00390 Confidence32f = 0x012000C8,
00391 BiColorBGRG8 = 0x021000A6,
00392 BiColorBGRG10 = 0x022000A9,
00393 BiColorBGRG10p = 0x021400AA,
00394 BiColorBGRG12 = 0x022000AD,
00395 BiColorBGRG12p = 0x021800AE,
00396 BiColorRGBG8 = 0x021000A5,
00397 BiColorRGBG10 = 0x022000A7,
00398 BiColorRGBG10p = 0x021400A8,
00399 BiColorRGBG12 = 0x022000AB,
00400 BiColorRGBG12p = 0x021800AC,
00401 SCF1WBWG8 = 0x01080067,
00402 SCF1WBWG10 = 0x01100068,
00403 SCF1WBWG10p = 0x010A0069,
00404 SCF1WBWG12 = 0x0110006A,
00405 SCF1WBWG12p = 0x010C006B,
00406 SCF1WBWG14 = 0x0110006C,
00407 SCF1WBWG16 = 0x0110006D,
00408 SCF1WGWB8 = 0x0108006E,
00409 SCF1WGWB10 = 0x0110006F,
00410 SCF1WGWB10p = 0x010A0070,
00411 SCF1WGWB12 = 0x01100071,
00412 SCF1WGWB12p = 0x010C0072,
00413 SCF1WGWB14 = 0x01100073,
00414 SCF1WGWB16 = 0x01100074,
00415 SCF1WGWR8 = 0x01080075,
00416 SCF1WGWR10 = 0x01100076,
00417 SCF1WGWR10p = 0x010A0077,
00418 SCF1WGWR12 = 0x01100078,
00419 SCF1WGWR12p = 0x010C0079,
00420 SCF1WGWR14 = 0x0110007A,
00421 SCF1WGWR16 = 0x0110007B,
00422 SCF1WRWG8 = 0x0108007C,
00423 SCF1WRWG10 = 0x0110007D,
00424 SCF1WRWG10p = 0x010A007E,
00425 SCF1WRWG12 = 0x0110007F,
00426 SCF1WRWG12p = 0x010C0080,
00427 SCF1WRWG14 = 0x01100081,
00428 SCF1WRWG16 = 0x01100082,
00429 YCbCr8 = 0x0218005B,
00430 YCbCr8_CbYCr = 0x0218003A,
00431 YCbCr10_CbYCr = 0x02300083,
00432 YCbCr10p_CbYCr = 0x021E0084,
00433 YCbCr12_CbYCr = 0x02300085,
00434 YCbCr12p_CbYCr = 0x02240086,
00435 YCbCr411_8 = 0x020C005A,
00436 YCbCr411_8_CbYYCrYY = 0x020C003C,
00437 YCbCr422_8 = 0x0210003B,
00438 YCbCr422_8_CbYCrY = 0x02100043,
00439 YCbCr422_10 = 0x02200065,
00440 YCbCr422_10_CbYCrY = 0x02200099,
00441 YCbCr422_10p = 0x02140087,
00442 YCbCr422_10p_CbYCrY = 0x0214009A,
00443 YCbCr422_12 = 0x02200066,
00444 YCbCr422_12_CbYCrY = 0x0220009B,
00445 YCbCr422_12p = 0x02180088,
00446 YCbCr422_12p_CbYCrY = 0x0218009C,
00447 YCbCr601_8_CbYCr = 0x0218003D,
00448 YCbCr601_10_CbYCr = 0x02300089,
00449 YCbCr601_10p_CbYCr = 0x021E008A,
00450 YCbCr601_12_CbYCr = 0x0230008B,
00451 YCbCr601_12p_CbYCr = 0x0224008C,
00452 YCbCr601_411_8_CbYYCrYY = 0x020C003F,
00453 YCbCr601_422_8 = 0x0210003E,
00454 YCbCr601_422_8_CbYCrY = 0x02100044,
00455 YCbCr601_422_10 = 0x0220008D,
00456 YCbCr601_422_10_CbYCrY = 0x0220009D,
00457 YCbCr601_422_10p = 0x0214008E,
00458 YCbCr601_422_10p_CbYCrY = 0x0214009E,
00459 YCbCr601_422_12 = 0x0220008F,
00460 YCbCr601_422_12_CbYCrY = 0x0220009F,
00461 YCbCr601_422_12p = 0x02180090,
00462 YCbCr601_422_12p_CbYCrY = 0x021800A0,
00463 YCbCr709_8_CbYCr = 0x02180040,
00464 YCbCr709_10_CbYCr = 0x02300091,
00465 YCbCr709_10p_CbYCr = 0x021E0092,
00466 YCbCr709_12_CbYCr = 0x02300093,
00467 YCbCr709_12p_CbYCr = 0x02240094,
00468 YCbCr709_411_8_CbYYCrYY = 0x020C0042,
00469 YCbCr709_422_8 = 0x02100041,
00470 YCbCr709_422_8_CbYCrY = 0x02100045,
00471 YCbCr709_422_10 = 0x02200095,
00472 YCbCr709_422_10_CbYCrY = 0x022000A1,
00473 YCbCr709_422_10p = 0x02140096,
00474 YCbCr709_422_10p_CbYCrY = 0x021400A2,
00475 YCbCr709_422_12 = 0x02200097,
00476 YCbCr709_422_12_CbYCrY = 0x022000A3,
00477 YCbCr709_422_12p = 0x02180098,
00478 YCbCr709_422_12p_CbYCrY = 0x021800A4,
00479 YCbCr2020_8_CbYCr = 0x021800F4,
00480 YCbCr2020_10_CbYCr = 0x023000F5,
00481 YCbCr2020_10p_CbYCr = 0x021E00F6,
00482 YCbCr2020_12_CbYCr = 0x023000F7,
00483 YCbCr2020_12p_CbYCr = 0x022400F8,
00484 YCbCr2020_411_8_CbYYCrYY = 0x020C00F9,
00485 YCbCr2020_422_8 = 0x021000FA,
00486 YCbCr2020_422_8_CbYCrY = 0x021000FB,
00487 YCbCr2020_422_10 = 0x022000FC,
00488 YCbCr2020_422_10_CbYCrY = 0x022000FD,
00489 YCbCr2020_422_10p = 0x021400FE,
00490 YCbCr2020_422_10p_CbYCrY = 0x021400FF,
00491 YCbCr2020_422_12 = 0x02200100,
00492 YCbCr2020_422_12_CbYCrY = 0x02200101,
00493 YCbCr2020_422_12p = 0x02180102,
00494 YCbCr2020_422_12p_CbYCrY = 0x02180103,
00495 YUV8_UYV = 0x02180020,
00496 YUV411_8_UYYVYY = 0x020C001E,
00497 YUV422_8 = 0x02100032,
00498 YUV422_8_UYVY = 0x0210001F,
00499 Mono10Packed = 0x010C0004,
00500 Mono12Packed = 0x010C0006,
00501 BayerBG10Packed = 0x010C0029,
00502 BayerBG12Packed = 0x010C002D,
00503 BayerGB10Packed = 0x010C0028,
00504 BayerGB12Packed = 0x010C002C,
00505 BayerGR10Packed = 0x010C0026,
00506 BayerGR12Packed = 0x010C002A,
00507 BayerRG10Packed = 0x010C0027,
00508 BayerRG12Packed = 0x010C002B,
00509 RGB10V1Packed = 0x0220001C,
00510 RGB12V1Packed = 0x02240034,
00511 InvalidPixelFormat = 0
00512 } PfncFormat;
00513
00514
00515
00516
00517
00518
00519 #define PFNC_CUSTOM 0x80000000
00520
00521 #define PFNC_SINGLE_COMPONENT 0x01000000
00522 #define PFNC_MULTIPLE_COMPONENT 0x02000000
00523 #define PFNC_COMPONENT_MASK 0x7F000000
00524
00525 #define PFNC_OCCUPY1BIT 0x00010000
00526 #define PFNC_OCCUPY2BIT 0x00020000
00527 #define PFNC_OCCUPY4BIT 0x00040000
00528 #define PFNC_OCCUPY8BIT 0x00080000
00529 #define PFNC_OCCUPY10BIT 0x000A0000
00530 #define PFNC_OCCUPY12BIT 0x000C0000
00531 #define PFNC_OCCUPY16BIT 0x00100000
00532 #define PFNC_OCCUPY24BIT 0x00180000
00533 #define PFNC_OCCUPY30BIT 0x001E0000
00534 #define PFNC_OCCUPY32BIT 0x00200000
00535 #define PFNC_OCCUPY36BIT 0x00240000
00536 #define PFNC_OCCUPY40BIT 0x00280000
00537 #define PFNC_OCCUPY48BIT 0x00300000
00538 #define PFNC_OCCUPY64BIT 0x00400000
00539 #define PFNC_PIXEL_SIZE_MASK 0x00FF0000
00540 #define PFNC_PIXEL_SIZE_SHIFT 16
00541
00542 #define PFNC_PIXEL_ID_MASK 0x0000FFFF
00543
00544 #define PFNC_PIXEL_SIZE(X) ((X & PFNC_PIXEL_SIZE_MASK) >> PFNC_PIXEL_SIZE_SHIFT)
00545 #define PFNC_IS_PIXEL_SINGLE_COMPONENT(X) ((X & PFNC_COMPONENT_MASK) == PFNC_SINGLE_COMPONENT)
00546 #define PFNC_IS_PIXEL_MULTIPLE_COMPONENT(X) ((X & PFNC_COMPONENT_MASK) == PFNC_MULTIPLE_COMPONENT)
00547 #define PFNC_IS_PIXEL_CUSTOM(X) ((X & PFNC_CUSTOM) == PFNC_CUSTOM)
00548 #define PFNC_PIXEL_ID(X) (X & PFNC_PIXEL_ID_MASK)
00549
00550
00551
00552 #ifdef PFNC_INCLUDE_HELPERS
00553 #ifdef _MSC_VER
00554 # define PFNC_INLINE __inline
00555 #else
00556 # define PFNC_INLINE inline
00557 #endif
00558 static PFNC_INLINE const char* GetPixelFormatName (PfncFormat format)
00559 {
00560 switch (format)
00561 {
00562 case Mono1p: return "Mono1p";
00563 case Mono2p: return "Mono2p";
00564 case Mono4p: return "Mono4p";
00565 case Mono8: return "Mono8";
00566 case Mono8s: return "Mono8s";
00567 case Mono10: return "Mono10";
00568 case Mono10p: return "Mono10p";
00569 case Mono12: return "Mono12";
00570 case Mono12p: return "Mono12p";
00571 case Mono14: return "Mono14";
00572 case Mono16: return "Mono16";
00573 case BayerBG8: return "BayerBG8";
00574 case BayerBG10: return "BayerBG10";
00575 case BayerBG10p: return "BayerBG10p";
00576 case BayerBG12: return "BayerBG12";
00577 case BayerBG12p: return "BayerBG12p";
00578 case BayerBG16: return "BayerBG16";
00579 case BayerGB8: return "BayerGB8";
00580 case BayerGB10: return "BayerGB10";
00581 case BayerGB10p: return "BayerGB10p";
00582 case BayerGB12: return "BayerGB12";
00583 case BayerGB12p: return "BayerGB12p";
00584 case BayerGB16: return "BayerGB16";
00585 case BayerGR8: return "BayerGR8";
00586 case BayerGR10: return "BayerGR10";
00587 case BayerGR10p: return "BayerGR10p";
00588 case BayerGR12: return "BayerGR12";
00589 case BayerGR12p: return "BayerGR12p";
00590 case BayerGR16: return "BayerGR16";
00591 case BayerRG8: return "BayerRG8";
00592 case BayerRG10: return "BayerRG10";
00593 case BayerRG10p: return "BayerRG10p";
00594 case BayerRG12: return "BayerRG12";
00595 case BayerRG12p: return "BayerRG12p";
00596 case BayerRG16: return "BayerRG16";
00597 case RGBa8: return "RGBa8";
00598 case RGBa10: return "RGBa10";
00599 case RGBa10p: return "RGBa10p";
00600 case RGBa12: return "RGBa12";
00601 case RGBa12p: return "RGBa12p";
00602 case RGBa14: return "RGBa14";
00603 case RGBa16: return "RGBa16";
00604 case RGB8: return "RGB8";
00605 case RGB8_Planar: return "RGB8_Planar";
00606 case RGB10: return "RGB10";
00607 case RGB10_Planar: return "RGB10_Planar";
00608 case RGB10p: return "RGB10p";
00609 case RGB10p32: return "RGB10p32";
00610 case RGB12: return "RGB12";
00611 case RGB12_Planar: return "RGB12_Planar";
00612 case RGB12p: return "RGB12p";
00613 case RGB14: return "RGB14";
00614 case RGB16: return "RGB16";
00615 case RGB16_Planar: return "RGB16_Planar";
00616 case RGB565p: return "RGB565p";
00617 case BGRa8: return "BGRa8";
00618 case BGRa10: return "BGRa10";
00619 case BGRa10p: return "BGRa10p";
00620 case BGRa12: return "BGRa12";
00621 case BGRa12p: return "BGRa12p";
00622 case BGRa14: return "BGRa14";
00623 case BGRa16: return "BGRa16";
00624 case BGR8: return "BGR8";
00625 case BGR10: return "BGR10";
00626 case BGR10p: return "BGR10p";
00627 case BGR12: return "BGR12";
00628 case BGR12p: return "BGR12p";
00629 case BGR14: return "BGR14";
00630 case BGR16: return "BGR16";
00631 case BGR565p: return "BGR565p";
00632 case R8: return "R8";
00633 case R10: return "R10";
00634 case R12: return "R12";
00635 case R16: return "R16";
00636 case G8: return "G8";
00637 case G10: return "G10";
00638 case G12: return "G12";
00639 case G16: return "G16";
00640 case B8: return "B8";
00641 case B10: return "B10";
00642 case B12: return "B12";
00643 case B16: return "B16";
00644 case Coord3D_ABC8: return "Coord3D_ABC8";
00645 case Coord3D_ABC8_Planar: return "Coord3D_ABC8_Planar";
00646 case Coord3D_ABC10p: return "Coord3D_ABC10p";
00647 case Coord3D_ABC10p_Planar: return "Coord3D_ABC10p_Planar";
00648 case Coord3D_ABC12p: return "Coord3D_ABC12p";
00649 case Coord3D_ABC12p_Planar: return "Coord3D_ABC12p_Planar";
00650 case Coord3D_ABC16: return "Coord3D_ABC16";
00651 case Coord3D_ABC16_Planar: return "Coord3D_ABC16_Planar";
00652 case Coord3D_ABC32f: return "Coord3D_ABC32f";
00653 case Coord3D_ABC32f_Planar: return "Coord3D_ABC32f_Planar";
00654 case Coord3D_AC8: return "Coord3D_AC8";
00655 case Coord3D_AC8_Planar: return "Coord3D_AC8_Planar";
00656 case Coord3D_AC10p: return "Coord3D_AC10p";
00657 case Coord3D_AC10p_Planar: return "Coord3D_AC10p_Planar";
00658 case Coord3D_AC12p: return "Coord3D_AC12p";
00659 case Coord3D_AC12p_Planar: return "Coord3D_AC12p_Planar";
00660 case Coord3D_AC16: return "Coord3D_AC16";
00661 case Coord3D_AC16_Planar: return "Coord3D_AC16_Planar";
00662 case Coord3D_AC32f: return "Coord3D_AC32f";
00663 case Coord3D_AC32f_Planar: return "Coord3D_AC32f_Planar";
00664 case Coord3D_A8: return "Coord3D_A8";
00665 case Coord3D_A10p: return "Coord3D_A10p";
00666 case Coord3D_A12p: return "Coord3D_A12p";
00667 case Coord3D_A16: return "Coord3D_A16";
00668 case Coord3D_A32f: return "Coord3D_A32f";
00669 case Coord3D_B8: return "Coord3D_B8";
00670 case Coord3D_B10p: return "Coord3D_B10p";
00671 case Coord3D_B12p: return "Coord3D_B12p";
00672 case Coord3D_B16: return "Coord3D_B16";
00673 case Coord3D_B32f: return "Coord3D_B32f";
00674 case Coord3D_C8: return "Coord3D_C8";
00675 case Coord3D_C10p: return "Coord3D_C10p";
00676 case Coord3D_C12p: return "Coord3D_C12p";
00677 case Coord3D_C16: return "Coord3D_C16";
00678 case Coord3D_C32f: return "Coord3D_C32f";
00679 case Confidence1: return "Confidence1";
00680 case Confidence1p: return "Confidence1p";
00681 case Confidence8: return "Confidence8";
00682 case Confidence16: return "Confidence16";
00683 case Confidence32f: return "Confidence32f";
00684 case BiColorBGRG8: return "BiColorBGRG8";
00685 case BiColorBGRG10: return "BiColorBGRG10";
00686 case BiColorBGRG10p: return "BiColorBGRG10p";
00687 case BiColorBGRG12: return "BiColorBGRG12";
00688 case BiColorBGRG12p: return "BiColorBGRG12p";
00689 case BiColorRGBG8: return "BiColorRGBG8";
00690 case BiColorRGBG10: return "BiColorRGBG10";
00691 case BiColorRGBG10p: return "BiColorRGBG10p";
00692 case BiColorRGBG12: return "BiColorRGBG12";
00693 case BiColorRGBG12p: return "BiColorRGBG12p";
00694 case SCF1WBWG8: return "SCF1WBWG8";
00695 case SCF1WBWG10: return "SCF1WBWG10";
00696 case SCF1WBWG10p: return "SCF1WBWG10p";
00697 case SCF1WBWG12: return "SCF1WBWG12";
00698 case SCF1WBWG12p: return "SCF1WBWG12p";
00699 case SCF1WBWG14: return "SCF1WBWG14";
00700 case SCF1WBWG16: return "SCF1WBWG16";
00701 case SCF1WGWB8: return "SCF1WGWB8";
00702 case SCF1WGWB10: return "SCF1WGWB10";
00703 case SCF1WGWB10p: return "SCF1WGWB10p";
00704 case SCF1WGWB12: return "SCF1WGWB12";
00705 case SCF1WGWB12p: return "SCF1WGWB12p";
00706 case SCF1WGWB14: return "SCF1WGWB14";
00707 case SCF1WGWB16: return "SCF1WGWB16";
00708 case SCF1WGWR8: return "SCF1WGWR8";
00709 case SCF1WGWR10: return "SCF1WGWR10";
00710 case SCF1WGWR10p: return "SCF1WGWR10p";
00711 case SCF1WGWR12: return "SCF1WGWR12";
00712 case SCF1WGWR12p: return "SCF1WGWR12p";
00713 case SCF1WGWR14: return "SCF1WGWR14";
00714 case SCF1WGWR16: return "SCF1WGWR16";
00715 case SCF1WRWG8: return "SCF1WRWG8";
00716 case SCF1WRWG10: return "SCF1WRWG10";
00717 case SCF1WRWG10p: return "SCF1WRWG10p";
00718 case SCF1WRWG12: return "SCF1WRWG12";
00719 case SCF1WRWG12p: return "SCF1WRWG12p";
00720 case SCF1WRWG14: return "SCF1WRWG14";
00721 case SCF1WRWG16: return "SCF1WRWG16";
00722 case YCbCr8: return "YCbCr8";
00723 case YCbCr8_CbYCr: return "YCbCr8_CbYCr";
00724 case YCbCr10_CbYCr: return "YCbCr10_CbYCr";
00725 case YCbCr10p_CbYCr: return "YCbCr10p_CbYCr";
00726 case YCbCr12_CbYCr: return "YCbCr12_CbYCr";
00727 case YCbCr12p_CbYCr: return "YCbCr12p_CbYCr";
00728 case YCbCr411_8: return "YCbCr411_8";
00729 case YCbCr411_8_CbYYCrYY: return "YCbCr411_8_CbYYCrYY";
00730 case YCbCr422_8: return "YCbCr422_8";
00731 case YCbCr422_8_CbYCrY: return "YCbCr422_8_CbYCrY";
00732 case YCbCr422_10: return "YCbCr422_10";
00733 case YCbCr422_10_CbYCrY: return "YCbCr422_10_CbYCrY";
00734 case YCbCr422_10p: return "YCbCr422_10p";
00735 case YCbCr422_10p_CbYCrY: return "YCbCr422_10p_CbYCrY";
00736 case YCbCr422_12: return "YCbCr422_12";
00737 case YCbCr422_12_CbYCrY: return "YCbCr422_12_CbYCrY";
00738 case YCbCr422_12p: return "YCbCr422_12p";
00739 case YCbCr422_12p_CbYCrY: return "YCbCr422_12p_CbYCrY";
00740 case YCbCr601_8_CbYCr: return "YCbCr601_8_CbYCr";
00741 case YCbCr601_10_CbYCr: return "YCbCr601_10_CbYCr";
00742 case YCbCr601_10p_CbYCr: return "YCbCr601_10p_CbYCr";
00743 case YCbCr601_12_CbYCr: return "YCbCr601_12_CbYCr";
00744 case YCbCr601_12p_CbYCr: return "YCbCr601_12p_CbYCr";
00745 case YCbCr601_411_8_CbYYCrYY: return "YCbCr601_411_8_CbYYCrYY";
00746 case YCbCr601_422_8: return "YCbCr601_422_8";
00747 case YCbCr601_422_8_CbYCrY: return "YCbCr601_422_8_CbYCrY";
00748 case YCbCr601_422_10: return "YCbCr601_422_10";
00749 case YCbCr601_422_10_CbYCrY: return "YCbCr601_422_10_CbYCrY";
00750 case YCbCr601_422_10p: return "YCbCr601_422_10p";
00751 case YCbCr601_422_10p_CbYCrY: return "YCbCr601_422_10p_CbYCrY";
00752 case YCbCr601_422_12: return "YCbCr601_422_12";
00753 case YCbCr601_422_12_CbYCrY: return "YCbCr601_422_12_CbYCrY";
00754 case YCbCr601_422_12p: return "YCbCr601_422_12p";
00755 case YCbCr601_422_12p_CbYCrY: return "YCbCr601_422_12p_CbYCrY";
00756 case YCbCr709_8_CbYCr: return "YCbCr709_8_CbYCr";
00757 case YCbCr709_10_CbYCr: return "YCbCr709_10_CbYCr";
00758 case YCbCr709_10p_CbYCr: return "YCbCr709_10p_CbYCr";
00759 case YCbCr709_12_CbYCr: return "YCbCr709_12_CbYCr";
00760 case YCbCr709_12p_CbYCr: return "YCbCr709_12p_CbYCr";
00761 case YCbCr709_411_8_CbYYCrYY: return "YCbCr709_411_8_CbYYCrYY";
00762 case YCbCr709_422_8: return "YCbCr709_422_8";
00763 case YCbCr709_422_8_CbYCrY: return "YCbCr709_422_8_CbYCrY";
00764 case YCbCr709_422_10: return "YCbCr709_422_10";
00765 case YCbCr709_422_10_CbYCrY: return "YCbCr709_422_10_CbYCrY";
00766 case YCbCr709_422_10p: return "YCbCr709_422_10p";
00767 case YCbCr709_422_10p_CbYCrY: return "YCbCr709_422_10p_CbYCrY";
00768 case YCbCr709_422_12: return "YCbCr709_422_12";
00769 case YCbCr709_422_12_CbYCrY: return "YCbCr709_422_12_CbYCrY";
00770 case YCbCr709_422_12p: return "YCbCr709_422_12p";
00771 case YCbCr709_422_12p_CbYCrY: return "YCbCr709_422_12p_CbYCrY";
00772 case YCbCr2020_8_CbYCr: return "YCbCr2020_8_CbYCr";
00773 case YCbCr2020_10_CbYCr: return "YCbCr2020_10_CbYCr";
00774 case YCbCr2020_10p_CbYCr: return "YCbCr2020_10p_CbYCr";
00775 case YCbCr2020_12_CbYCr: return "YCbCr2020_12_CbYCr";
00776 case YCbCr2020_12p_CbYCr: return "YCbCr2020_12p_CbYCr";
00777 case YCbCr2020_411_8_CbYYCrYY: return "YCbCr2020_411_8_CbYYCrYY";
00778 case YCbCr2020_422_8: return "YCbCr2020_422_8";
00779 case YCbCr2020_422_8_CbYCrY: return "YCbCr2020_422_8_CbYCrY";
00780 case YCbCr2020_422_10: return "YCbCr2020_422_10";
00781 case YCbCr2020_422_10_CbYCrY: return "YCbCr2020_422_10_CbYCrY";
00782 case YCbCr2020_422_10p: return "YCbCr2020_422_10p";
00783 case YCbCr2020_422_10p_CbYCrY: return "YCbCr2020_422_10p_CbYCrY";
00784 case YCbCr2020_422_12: return "YCbCr2020_422_12";
00785 case YCbCr2020_422_12_CbYCrY: return "YCbCr2020_422_12_CbYCrY";
00786 case YCbCr2020_422_12p: return "YCbCr2020_422_12p";
00787 case YCbCr2020_422_12p_CbYCrY: return "YCbCr2020_422_12p_CbYCrY";
00788 case YUV8_UYV: return "YUV8_UYV";
00789 case YUV411_8_UYYVYY: return "YUV411_8_UYYVYY";
00790 case YUV422_8: return "YUV422_8";
00791 case YUV422_8_UYVY: return "YUV422_8_UYVY";
00792 case Mono10Packed: return "Mono10Packed";
00793 case Mono12Packed: return "Mono12Packed";
00794 case BayerBG10Packed: return "BayerBG10Packed";
00795 case BayerBG12Packed: return "BayerBG12Packed";
00796 case BayerGB10Packed: return "BayerGB10Packed";
00797 case BayerGB12Packed: return "BayerGB12Packed";
00798 case BayerGR10Packed: return "BayerGR10Packed";
00799 case BayerGR12Packed: return "BayerGR12Packed";
00800 case BayerRG10Packed: return "BayerRG10Packed";
00801 case BayerRG12Packed: return "BayerRG12Packed";
00802 case RGB10V1Packed: return "RGB10V1Packed";
00803 case RGB12V1Packed: return "RGB12V1Packed";
00804
00805 case InvalidPixelFormat: return "InvalidPixelFormat";
00806
00807 default: return "UnknownPixelFormat";
00808 }
00809 }
00810 static PFNC_INLINE const char* GetPixelFormatDescription (PfncFormat format)
00811 {
00812 switch (format)
00813 {
00814 case Mono1p: return "Monochrome 1-bit packed";
00815 case Mono2p: return "Monochrome 2-bit packed";
00816 case Mono4p: return "Monochrome 4-bit packed";
00817 case Mono8: return "Monochrome 8-bit";
00818 case Mono8s: return "Monochrome 8-bit signed";
00819 case Mono10: return "Monochrome 10-bit unpacked";
00820 case Mono10p: return "Monochrome 10-bit packed";
00821 case Mono12: return "Monochrome 12-bit unpacked";
00822 case Mono12p: return "Monochrome 12-bit packed";
00823 case Mono14: return "Monochrome 14-bit unpacked";
00824 case Mono16: return "Monochrome 16-bit";
00825 case BayerBG8: return "Bayer Blue-Green 8-bit";
00826 case BayerBG10: return "Bayer Blue-Green 10-bit unpacked";
00827 case BayerBG10p: return "Bayer Blue-Green 10-bit packed";
00828 case BayerBG12: return "Bayer Blue-Green 12-bit unpacked";
00829 case BayerBG12p: return "Bayer Blue-Green 12-bit packed";
00830 case BayerBG16: return "Bayer Blue-Green 16-bit";
00831 case BayerGB8: return "Bayer Green-Blue 8-bit";
00832 case BayerGB10: return "Bayer Green-Blue 10-bit unpacked";
00833 case BayerGB10p: return "Bayer Green-Blue 10-bit packed";
00834 case BayerGB12: return "Bayer Green-Blue 12-bit unpacked";
00835 case BayerGB12p: return "Bayer Green-Blue 12-bit packed";
00836 case BayerGB16: return "Bayer Green-Blue 16-bit";
00837 case BayerGR8: return "Bayer Green-Red 8-bit";
00838 case BayerGR10: return "Bayer Green-Red 10-bit unpacked";
00839 case BayerGR10p: return "Bayer Green-Red 10-bit packed";
00840 case BayerGR12: return "Bayer Green-Red 12-bit unpacked";
00841 case BayerGR12p: return "Bayer Green-Red 12-bit packed";
00842 case BayerGR16: return "Bayer Green-Red 16-bit";
00843 case BayerRG8: return "Bayer Red-Green 8-bit";
00844 case BayerRG10: return "Bayer Red-Green 10-bit unpacked";
00845 case BayerRG10p: return "Bayer Red-Green 10-bit packed";
00846 case BayerRG12: return "Bayer Red-Green 12-bit unpacked";
00847 case BayerRG12p: return "Bayer Red-Green 12-bit packed";
00848 case BayerRG16: return "Bayer Red-Green 16-bit";
00849 case RGBa8: return "Red-Green-Blue-alpha 8-bit";
00850 case RGBa10: return "Red-Green-Blue-alpha 10-bit unpacked";
00851 case RGBa10p: return "Red-Green-Blue-alpha 10-bit packed";
00852 case RGBa12: return "Red-Green-Blue-alpha 12-bit unpacked";
00853 case RGBa12p: return "Red-Green-Blue-alpha 12-bit packed";
00854 case RGBa14: return "Red-Green-Blue-alpha 14-bit unpacked";
00855 case RGBa16: return "Red-Green-Blue-alpha 16-bit";
00856 case RGB8: return "Red-Green-Blue 8-bit";
00857 case RGB8_Planar: return "Red-Green-Blue 8-bit planar";
00858 case RGB10: return "Red-Green-Blue 10-bit unpacked";
00859 case RGB10_Planar: return "Red-Green-Blue 10-bit unpacked planar";
00860 case RGB10p: return "Red-Green-Blue 10-bit packed";
00861 case RGB10p32: return "Red-Green-Blue 10-bit packed into 32-bit";
00862 case RGB12: return "Red-Green-Blue 12-bit unpacked";
00863 case RGB12_Planar: return "Red-Green-Blue 12-bit unpacked planar";
00864 case RGB12p: return "Red-Green-Blue 12-bit packed ";
00865 case RGB14: return "Red-Green-Blue 14-bit unpacked";
00866 case RGB16: return "Red-Green-Blue 16-bit ";
00867 case RGB16_Planar: return "Red-Green-Blue 16-bit planar";
00868 case RGB565p: return "Red-Green-Blue 5/6/5-bit packed";
00869 case BGRa8: return "Blue-Green-Red-alpha 8-bit";
00870 case BGRa10: return "Blue-Green-Red-alpha 10-bit unpacked";
00871 case BGRa10p: return "Blue-Green-Red-alpha 10-bit packed";
00872 case BGRa12: return "Blue-Green-Red-alpha 12-bit unpacked";
00873 case BGRa12p: return "Blue-Green-Red-alpha 12-bit packed";
00874 case BGRa14: return "Blue-Green-Red-alpha 14-bit unpacked";
00875 case BGRa16: return "Blue-Green-Red-alpha 16-bit";
00876 case BGR8: return "Blue-Green-Red 8-bit";
00877 case BGR10: return "Blue-Green-Red 10-bit unpacked";
00878 case BGR10p: return "Blue-Green-Red 10-bit packed";
00879 case BGR12: return "Blue-Green-Red 12-bit unpacked";
00880 case BGR12p: return "Blue-Green-Red 12-bit packed";
00881 case BGR14: return "Blue-Green-Red 14-bit unpacked";
00882 case BGR16: return "Blue-Green-Red 16-bit";
00883 case BGR565p: return "Blue-Green-Red 5/6/5-bit packed";
00884 case R8: return "Red 8-bit";
00885 case R10: return "Red 10-bit";
00886 case R12: return "Red 12-bit";
00887 case R16: return "Red 16-bit";
00888 case G8: return "Green 8-bit";
00889 case G10: return "Green 10-bit";
00890 case G12: return "Green 12-bit";
00891 case G16: return "Green 16-bit";
00892 case B8: return "Blue 8-bit";
00893 case B10: return "Blue 10-bit";
00894 case B12: return "Blue 12-bit";
00895 case B16: return "Blue 16-bit";
00896 case Coord3D_ABC8: return "3D coordinate A-B-C 8-bit";
00897 case Coord3D_ABC8_Planar: return "3D coordinate A-B-C 8-bit planar";
00898 case Coord3D_ABC10p: return "3D coordinate A-B-C 10-bit packed";
00899 case Coord3D_ABC10p_Planar: return "3D coordinate A-B-C 10-bit packed planar";
00900 case Coord3D_ABC12p: return "3D coordinate A-B-C 12-bit packed";
00901 case Coord3D_ABC12p_Planar: return "3D coordinate A-B-C 12-bit packed planar";
00902 case Coord3D_ABC16: return "3D coordinate A-B-C 16-bit";
00903 case Coord3D_ABC16_Planar: return "3D coordinate A-B-C 16-bit planar";
00904 case Coord3D_ABC32f: return "3D coordinate A-B-C 32-bit floating point";
00905 case Coord3D_ABC32f_Planar: return "3D coordinate A-B-C 32-bit floating point planar";
00906 case Coord3D_AC8: return "3D coordinate A-C 8-bit";
00907 case Coord3D_AC8_Planar: return "3D coordinate A-C 8-bit planar";
00908 case Coord3D_AC10p: return "3D coordinate A-C 10-bit packed";
00909 case Coord3D_AC10p_Planar: return "3D coordinate A-C 10-bit packed planar";
00910 case Coord3D_AC12p: return "3D coordinate A-C 12-bit packed";
00911 case Coord3D_AC12p_Planar: return "3D coordinate A-C 12-bit packed planar";
00912 case Coord3D_AC16: return "3D coordinate A-C 16-bit";
00913 case Coord3D_AC16_Planar: return "3D coordinate A-C 16-bit planar";
00914 case Coord3D_AC32f: return "3D coordinate A-C 32-bit floating point";
00915 case Coord3D_AC32f_Planar: return "3D coordinate A-C 32-bit floating point planar";
00916 case Coord3D_A8: return "3D coordinate A 8-bit";
00917 case Coord3D_A10p: return "3D coordinate A 10-bit packed";
00918 case Coord3D_A12p: return "3D coordinate A 12-bit packed";
00919 case Coord3D_A16: return "3D coordinate A 16-bit";
00920 case Coord3D_A32f: return "3D coordinate A 32-bit floating point";
00921 case Coord3D_B8: return "3D coordinate B 8-bit";
00922 case Coord3D_B10p: return "3D coordinate B 10-bit packed";
00923 case Coord3D_B12p: return "3D coordinate B 12-bit packed";
00924 case Coord3D_B16: return "3D coordinate B 16-bit";
00925 case Coord3D_B32f: return "3D coordinate B 32-bit floating point";
00926 case Coord3D_C8: return "3D coordinate C 8-bit";
00927 case Coord3D_C10p: return "3D coordinate C 10-bit packed";
00928 case Coord3D_C12p: return "3D coordinate C 12-bit packed";
00929 case Coord3D_C16: return "3D coordinate C 16-bit";
00930 case Coord3D_C32f: return "3D coordinate C 32-bit floating point";
00931 case Confidence1: return "Confidence 1-bit unpacked";
00932 case Confidence1p: return "Confidence 1-bit packed";
00933 case Confidence8: return "Confidence 8-bit";
00934 case Confidence16: return "Confidence 16-bit";
00935 case Confidence32f: return "Confidence 32-bit floating point";
00936 case BiColorBGRG8: return "Bi-color Blue/Green - Red/Green 8-bit";
00937 case BiColorBGRG10: return "Bi-color Blue/Green - Red/Green 10-bit unpacked";
00938 case BiColorBGRG10p: return "Bi-color Blue/Green - Red/Green 10-bit packed";
00939 case BiColorBGRG12: return "Bi-color Blue/Green - Red/Green 12-bit unpacked";
00940 case BiColorBGRG12p: return "Bi-color Blue/Green - Red/Green 12-bit packed";
00941 case BiColorRGBG8: return "Bi-color Red/Green - Blue/Green 8-bit";
00942 case BiColorRGBG10: return "Bi-color Red/Green - Blue/Green 10-bit unpacked";
00943 case BiColorRGBG10p: return "Bi-color Red/Green - Blue/Green 10-bit packed";
00944 case BiColorRGBG12: return "Bi-color Red/Green - Blue/Green 12-bit unpacked";
00945 case BiColorRGBG12p: return "Bi-color Red/Green - Blue/Green 12-bit packed";
00946 case SCF1WBWG8: return "Sparse Color Filter #1 White-Blue-White-Green 8-bit";
00947 case SCF1WBWG10: return "Sparse Color Filter #1 White-Blue-White-Green 10-bit unpacked";
00948 case SCF1WBWG10p: return "Sparse Color Filter #1 White-Blue-White-Green 10-bit packed";
00949 case SCF1WBWG12: return "Sparse Color Filter #1 White-Blue-White-Green 12-bit unpacked";
00950 case SCF1WBWG12p: return "Sparse Color Filter #1 White-Blue-White-Green 12-bit packed";
00951 case SCF1WBWG14: return "Sparse Color Filter #1 White-Blue-White-Green 14-bit unpacked";
00952 case SCF1WBWG16: return "Sparse Color Filter #1 White-Blue-White-Green 16-bit unpacked";
00953 case SCF1WGWB8: return "Sparse Color Filter #1 White-Green-White-Blue 8-bit";
00954 case SCF1WGWB10: return "Sparse Color Filter #1 White-Green-White-Blue 10-bit unpacked";
00955 case SCF1WGWB10p: return "Sparse Color Filter #1 White-Green-White-Blue 10-bit packed";
00956 case SCF1WGWB12: return "Sparse Color Filter #1 White-Green-White-Blue 12-bit unpacked";
00957 case SCF1WGWB12p: return "Sparse Color Filter #1 White-Green-White-Blue 12-bit packed";
00958 case SCF1WGWB14: return "Sparse Color Filter #1 White-Green-White-Blue 14-bit unpacked";
00959 case SCF1WGWB16: return "Sparse Color Filter #1 White-Green-White-Blue 16-bit";
00960 case SCF1WGWR8: return "Sparse Color Filter #1 White-Green-White-Red 8-bit";
00961 case SCF1WGWR10: return "Sparse Color Filter #1 White-Green-White-Red 10-bit unpacked";
00962 case SCF1WGWR10p: return "Sparse Color Filter #1 White-Green-White-Red 10-bit packed";
00963 case SCF1WGWR12: return "Sparse Color Filter #1 White-Green-White-Red 12-bit unpacked";
00964 case SCF1WGWR12p: return "Sparse Color Filter #1 White-Green-White-Red 12-bit packed";
00965 case SCF1WGWR14: return "Sparse Color Filter #1 White-Green-White-Red 14-bit unpacked";
00966 case SCF1WGWR16: return "Sparse Color Filter #1 White-Green-White-Red 16-bit";
00967 case SCF1WRWG8: return "Sparse Color Filter #1 White-Red-White-Green 8-bit";
00968 case SCF1WRWG10: return "Sparse Color Filter #1 White-Red-White-Green 10-bit unpacked";
00969 case SCF1WRWG10p: return "Sparse Color Filter #1 White-Red-White-Green 10-bit packed";
00970 case SCF1WRWG12: return "Sparse Color Filter #1 White-Red-White-Green 12-bit unpacked";
00971 case SCF1WRWG12p: return "Sparse Color Filter #1 White-Red-White-Green 12-bit packed";
00972 case SCF1WRWG14: return "Sparse Color Filter #1 White-Red-White-Green 14-bit unpacked";
00973 case SCF1WRWG16: return "Sparse Color Filter #1 White-Red-White-Green 16-bit";
00974 case YCbCr8: return "YCbCr 4:4:4 8-bit";
00975 case YCbCr8_CbYCr: return "YCbCr 4:4:4 8-bit";
00976 case YCbCr10_CbYCr: return "YCbCr 4:4:4 10-bit unpacked";
00977 case YCbCr10p_CbYCr: return "YCbCr 4:4:4 10-bit packed";
00978 case YCbCr12_CbYCr: return "YCbCr 4:4:4 12-bit unpacked";
00979 case YCbCr12p_CbYCr: return "YCbCr 4:4:4 12-bit packed";
00980 case YCbCr411_8: return "YCbCr 4:1:1 8-bit";
00981 case YCbCr411_8_CbYYCrYY: return "YCbCr 4:1:1 8-bit";
00982 case YCbCr422_8: return "YCbCr 4:2:2 8-bit";
00983 case YCbCr422_8_CbYCrY: return "YCbCr 4:2:2 8-bit";
00984 case YCbCr422_10: return "YCbCr 4:2:2 10-bit unpacked";
00985 case YCbCr422_10_CbYCrY: return "YCbCr 4:2:2 10-bit unpacked";
00986 case YCbCr422_10p: return "YCbCr 4:2:2 10-bit packed";
00987 case YCbCr422_10p_CbYCrY: return "YCbCr 4:2:2 10-bit packed";
00988 case YCbCr422_12: return "YCbCr 4:2:2 12-bit unpacked";
00989 case YCbCr422_12_CbYCrY: return "YCbCr 4:2:2 12-bit unpacked";
00990 case YCbCr422_12p: return "YCbCr 4:2:2 12-bit packed";
00991 case YCbCr422_12p_CbYCrY: return "YCbCr 4:2:2 12-bit packed";
00992 case YCbCr601_8_CbYCr: return "YCbCr 4:4:4 8-bit BT.601";
00993 case YCbCr601_10_CbYCr: return "YCbCr 4:4:4 10-bit unpacked BT.601";
00994 case YCbCr601_10p_CbYCr: return "YCbCr 4:4:4 10-bit packed BT.601";
00995 case YCbCr601_12_CbYCr: return "YCbCr 4:4:4 12-bit unpacked BT.601";
00996 case YCbCr601_12p_CbYCr: return "YCbCr 4:4:4 12-bit packed BT.601";
00997 case YCbCr601_411_8_CbYYCrYY: return "YCbCr 4:1:1 8-bit BT.601";
00998 case YCbCr601_422_8: return "YCbCr 4:2:2 8-bit BT.601";
00999 case YCbCr601_422_8_CbYCrY: return "YCbCr 4:2:2 8-bit BT.601";
01000 case YCbCr601_422_10: return "YCbCr 4:2:2 10-bit unpacked BT.601";
01001 case YCbCr601_422_10_CbYCrY: return "YCbCr 4:2:2 10-bit unpacked BT.601";
01002 case YCbCr601_422_10p: return "YCbCr 4:2:2 10-bit packed BT.601";
01003 case YCbCr601_422_10p_CbYCrY: return "YCbCr 4:2:2 10-bit packed BT.601";
01004 case YCbCr601_422_12: return "YCbCr 4:2:2 12-bit unpacked BT.601";
01005 case YCbCr601_422_12_CbYCrY: return "YCbCr 4:2:2 12-bit unpacked BT.601";
01006 case YCbCr601_422_12p: return "YCbCr 4:2:2 12-bit packed BT.601";
01007 case YCbCr601_422_12p_CbYCrY: return "YCbCr 4:2:2 12-bit packed BT.601";
01008 case YCbCr709_8_CbYCr: return "YCbCr 4:4:4 8-bit BT.709";
01009 case YCbCr709_10_CbYCr: return "YCbCr 4:4:4 10-bit unpacked BT.709";
01010 case YCbCr709_10p_CbYCr: return "YCbCr 4:4:4 10-bit packed BT.709";
01011 case YCbCr709_12_CbYCr: return "YCbCr 4:4:4 12-bit unpacked BT.709";
01012 case YCbCr709_12p_CbYCr: return "YCbCr 4:4:4 12-bit packed BT.709";
01013 case YCbCr709_411_8_CbYYCrYY: return "YCbCr 4:1:1 8-bit BT.709";
01014 case YCbCr709_422_8: return "YCbCr 4:2:2 8-bit BT.709";
01015 case YCbCr709_422_8_CbYCrY: return "YCbCr 4:2:2 8-bit BT.709";
01016 case YCbCr709_422_10: return "YCbCr 4:2:2 10-bit unpacked BT.709";
01017 case YCbCr709_422_10_CbYCrY: return "YCbCr 4:2:2 10-bit unpacked BT.709";
01018 case YCbCr709_422_10p: return "YCbCr 4:2:2 10-bit packed BT.709";
01019 case YCbCr709_422_10p_CbYCrY: return "YCbCr 4:2:2 10-bit packed BT.709";
01020 case YCbCr709_422_12: return "YCbCr 4:2:2 12-bit unpacked BT.709";
01021 case YCbCr709_422_12_CbYCrY: return "YCbCr 4:2:2 12-bit unpacked BT.709";
01022 case YCbCr709_422_12p: return "YCbCr 4:2:2 12-bit packed BT.709";
01023 case YCbCr709_422_12p_CbYCrY: return "YCbCr 4:2:2 12-bit packed BT.709";
01024 case YCbCr2020_8_CbYCr: return "YCbCr 4:4:4 8-bit BT.2020";
01025 case YCbCr2020_10_CbYCr: return "YCbCr 4:4:4 10-bit unpacked BT.2020";
01026 case YCbCr2020_10p_CbYCr: return "YCbCr 4:4:4 10-bit packed BT.2020";
01027 case YCbCr2020_12_CbYCr: return "YCbCr 4:4:4 12-bit unpacked BT.2020 ";
01028 case YCbCr2020_12p_CbYCr: return "YCbCr 4:4:4 12-bit packed BT.2020";
01029 case YCbCr2020_411_8_CbYYCrYY: return "YCbCr 4:1:1 8-bit BT.2020";
01030 case YCbCr2020_422_8: return "YCbCr 4:2:2 8-bit BT.2020 ";
01031 case YCbCr2020_422_8_CbYCrY: return "YCbCr 4:2:2 8-bit BT.2020";
01032 case YCbCr2020_422_10: return "YCbCr 4:2:2 10-bit unpacked BT.2020";
01033 case YCbCr2020_422_10_CbYCrY: return "YCbCr 4:2:2 10-bit unpacked BT.2020";
01034 case YCbCr2020_422_10p: return "YCbCr 4:2:2 10-bit packed BT.2020";
01035 case YCbCr2020_422_10p_CbYCrY: return "YCbCr 4:2:2 10-bit packed BT.2020";
01036 case YCbCr2020_422_12: return "YCbCr 4:2:2 12-bit unpacked BT.2020";
01037 case YCbCr2020_422_12_CbYCrY: return "YCbCr 4:2:2 12-bit unpacked BT.2020";
01038 case YCbCr2020_422_12p: return "YCbCr 4:2:2 12-bit packed BT.2020";
01039 case YCbCr2020_422_12p_CbYCrY: return "YCbCr 4:2:2 12-bit packed BT.2020";
01040 case YUV8_UYV: return "YUV 4:4:4 8-bit";
01041 case YUV411_8_UYYVYY: return "YUV 4:1:1 8-bit";
01042 case YUV422_8: return "YUV 4:2:2 8-bit";
01043 case YUV422_8_UYVY: return "YUV 4:2:2 8-bit";
01044 case Mono10Packed: return "Monochrome 10-bit packed";
01045 case Mono12Packed: return "Monochrome 12-bit packed";
01046 case BayerBG10Packed: return "Bayer Blue-Green 10-bit packed";
01047 case BayerBG12Packed: return "Bayer Blue-Green 12-bit packed";
01048 case BayerGB10Packed: return "Bayer Green-Blue 10-bit packed";
01049 case BayerGB12Packed: return "Bayer Green-Blue 12-bit packed";
01050 case BayerGR10Packed: return "Bayer Green-Red 10-bit packed";
01051 case BayerGR12Packed: return "Bayer Green-Red 12-bit packed";
01052 case BayerRG10Packed: return "Bayer Red-Green 10-bit packed";
01053 case BayerRG12Packed: return "Bayer Red-Green 12-bit packed";
01054 case RGB10V1Packed: return "Red-Green-Blue 10-bit packed - variant 1";
01055 case RGB12V1Packed: return "Red-Green-Blue 12-bit packed - variant 1";
01056
01057 case InvalidPixelFormat: return "Invalid pixel format value";
01058
01059 default: return "Unknown pixel format value";
01060 }
01061 }
01062 #endif
01063
01064
01065 #endif