PFNC.h
Go to the documentation of this file.
00001 /**************************************************************************************************************
00002  * This file was automatically generated by tools designed and maintained by Leutron Vision, Matrox, Groget, MVTec Software.
00003  * Copyright (C) 2007-2016 Leutron Vision, Matrox, Groget, MVTec Software.
00004  * You can freely use and modify the file without restrictions.
00005  * The file is provided as is, without any warranty. Bug reports and other feedback is appreciated.
00006  **************************************************************************************************************
00007  *
00008  **************************************************************************************************************
00009  * Version and date information:
00010  * PFNC value list release date: 2017-02-17
00011  * Header generator version: 3.2
00012  * Header generation date: 2017-02-21
00013  **************************************************************************************************************/
00014 
00015 #ifndef PFNC_H
00016 #define PFNC_H
00017 
00018 #define PFNC_Mono1p                              0x01010037 /* Monochrome 1-bit packed */
00019 #define PFNC_Mono2p                              0x01020038 /* Monochrome 2-bit packed */
00020 #define PFNC_Mono4p                              0x01040039 /* Monochrome 4-bit packed */
00021 #define PFNC_Mono8                               0x01080001 /* Monochrome 8-bit */
00022 #define PFNC_Mono8s                              0x01080002 /* Monochrome 8-bit signed */
00023 #define PFNC_Mono10                              0x01100003 /* Monochrome 10-bit unpacked */
00024 #define PFNC_Mono10p                             0x010A0046 /* Monochrome 10-bit packed */
00025 #define PFNC_Mono12                              0x01100005 /* Monochrome 12-bit unpacked */
00026 #define PFNC_Mono12p                             0x010C0047 /* Monochrome 12-bit packed */
00027 #define PFNC_Mono14                              0x01100025 /* Monochrome 14-bit unpacked */
00028 #define PFNC_Mono16                              0x01100007 /* Monochrome 16-bit */
00029 #define PFNC_BayerBG8                            0x0108000B /* Bayer Blue-Green 8-bit */
00030 #define PFNC_BayerBG10                           0x0110000F /* Bayer Blue-Green 10-bit unpacked */
00031 #define PFNC_BayerBG10p                          0x010A0052 /* Bayer Blue-Green 10-bit packed */
00032 #define PFNC_BayerBG12                           0x01100013 /* Bayer Blue-Green 12-bit unpacked */
00033 #define PFNC_BayerBG12p                          0x010C0053 /* Bayer Blue-Green 12-bit packed */
00034 #define PFNC_BayerBG16                           0x01100031 /* Bayer Blue-Green 16-bit */
00035 #define PFNC_BayerGB8                            0x0108000A /* Bayer Green-Blue 8-bit */
00036 #define PFNC_BayerGB10                           0x0110000E /* Bayer Green-Blue 10-bit unpacked */
00037 #define PFNC_BayerGB10p                          0x010A0054 /* Bayer Green-Blue 10-bit packed */
00038 #define PFNC_BayerGB12                           0x01100012 /* Bayer Green-Blue 12-bit unpacked */
00039 #define PFNC_BayerGB12p                          0x010C0055 /* Bayer Green-Blue 12-bit packed */
00040 #define PFNC_BayerGB16                           0x01100030 /* Bayer Green-Blue 16-bit */
00041 #define PFNC_BayerGR8                            0x01080008 /* Bayer Green-Red 8-bit */
00042 #define PFNC_BayerGR10                           0x0110000C /* Bayer Green-Red 10-bit unpacked */
00043 #define PFNC_BayerGR10p                          0x010A0056 /* Bayer Green-Red 10-bit packed */
00044 #define PFNC_BayerGR12                           0x01100010 /* Bayer Green-Red 12-bit unpacked */
00045 #define PFNC_BayerGR12p                          0x010C0057 /* Bayer Green-Red 12-bit packed */
00046 #define PFNC_BayerGR16                           0x0110002E /* Bayer Green-Red 16-bit */
00047 #define PFNC_BayerRG8                            0x01080009 /* Bayer Red-Green 8-bit */
00048 #define PFNC_BayerRG10                           0x0110000D /* Bayer Red-Green 10-bit unpacked */
00049 #define PFNC_BayerRG10p                          0x010A0058 /* Bayer Red-Green 10-bit packed */
00050 #define PFNC_BayerRG12                           0x01100011 /* Bayer Red-Green 12-bit unpacked */
00051 #define PFNC_BayerRG12p                          0x010C0059 /* Bayer Red-Green 12-bit packed */
00052 #define PFNC_BayerRG16                           0x0110002F /* Bayer Red-Green 16-bit */
00053 #define PFNC_RGBa8                               0x02200016 /* Red-Green-Blue-alpha 8-bit */
00054 #define PFNC_RGBa10                              0x0240005F /* Red-Green-Blue-alpha 10-bit unpacked */
00055 #define PFNC_RGBa10p                             0x02280060 /* Red-Green-Blue-alpha 10-bit packed */
00056 #define PFNC_RGBa12                              0x02400061 /* Red-Green-Blue-alpha 12-bit unpacked */
00057 #define PFNC_RGBa12p                             0x02300062 /* Red-Green-Blue-alpha 12-bit packed */
00058 #define PFNC_RGBa14                              0x02400063 /* Red-Green-Blue-alpha 14-bit unpacked */
00059 #define PFNC_RGBa16                              0x02400064 /* Red-Green-Blue-alpha 16-bit */
00060 #define PFNC_RGB8                                0x02180014 /* Red-Green-Blue 8-bit */
00061 #define PFNC_RGB8_Planar                         0x02180021 /* Red-Green-Blue 8-bit planar */
00062 #define PFNC_RGB10                               0x02300018 /* Red-Green-Blue 10-bit unpacked */
00063 #define PFNC_RGB10_Planar                        0x02300022 /* Red-Green-Blue 10-bit unpacked planar */
00064 #define PFNC_RGB10p                              0x021E005C /* Red-Green-Blue 10-bit packed */
00065 #define PFNC_RGB10p32                            0x0220001D /* Red-Green-Blue 10-bit packed into 32-bit */
00066 #define PFNC_RGB12                               0x0230001A /* Red-Green-Blue 12-bit unpacked */
00067 #define PFNC_RGB12_Planar                        0x02300023 /* Red-Green-Blue 12-bit unpacked planar */
00068 #define PFNC_RGB12p                              0x0224005D /* Red-Green-Blue 12-bit packed   */
00069 #define PFNC_RGB14                               0x0230005E /* Red-Green-Blue 14-bit unpacked */
00070 #define PFNC_RGB16                               0x02300033 /* Red-Green-Blue 16-bit   */
00071 #define PFNC_RGB16_Planar                        0x02300024 /* Red-Green-Blue 16-bit planar */
00072 #define PFNC_RGB565p                             0x02100035 /* Red-Green-Blue 5/6/5-bit packed */
00073 #define PFNC_BGRa8                               0x02200017 /* Blue-Green-Red-alpha 8-bit */
00074 #define PFNC_BGRa10                              0x0240004C /* Blue-Green-Red-alpha 10-bit unpacked */
00075 #define PFNC_BGRa10p                             0x0228004D /* Blue-Green-Red-alpha 10-bit packed */
00076 #define PFNC_BGRa12                              0x0240004E /* Blue-Green-Red-alpha 12-bit unpacked */
00077 #define PFNC_BGRa12p                             0x0230004F /* Blue-Green-Red-alpha 12-bit packed */
00078 #define PFNC_BGRa14                              0x02400050 /* Blue-Green-Red-alpha 14-bit unpacked */
00079 #define PFNC_BGRa16                              0x02400051 /* Blue-Green-Red-alpha 16-bit */
00080 #define PFNC_BGR8                                0x02180015 /* Blue-Green-Red 8-bit */
00081 #define PFNC_BGR10                               0x02300019 /* Blue-Green-Red 10-bit unpacked */
00082 #define PFNC_BGR10p                              0x021E0048 /* Blue-Green-Red 10-bit packed */
00083 #define PFNC_BGR12                               0x0230001B /* Blue-Green-Red 12-bit unpacked */
00084 #define PFNC_BGR12p                              0x02240049 /* Blue-Green-Red 12-bit packed */
00085 #define PFNC_BGR14                               0x0230004A /* Blue-Green-Red 14-bit unpacked */
00086 #define PFNC_BGR16                               0x0230004B /* Blue-Green-Red 16-bit */
00087 #define PFNC_BGR565p                             0x02100036 /* Blue-Green-Red 5/6/5-bit packed */
00088 #define PFNC_R8                                  0x010800C9 /* Red 8-bit */
00089 #define PFNC_R10                                 0x010A00CA /* Red 10-bit */
00090 #define PFNC_R12                                 0x010C00CB /* Red 12-bit */
00091 #define PFNC_R16                                 0x011000CC /* Red 16-bit */
00092 #define PFNC_G8                                  0x010800CD /* Green 8-bit */
00093 #define PFNC_G10                                 0x010A00CE /* Green 10-bit */
00094 #define PFNC_G12                                 0x010C00CF /* Green 12-bit */
00095 #define PFNC_G16                                 0x011000D0 /* Green 16-bit */
00096 #define PFNC_B8                                  0x010800D1 /* Blue 8-bit */
00097 #define PFNC_B10                                 0x010A00D2 /* Blue 10-bit */
00098 #define PFNC_B12                                 0x010C00D3 /* Blue 12-bit */
00099 #define PFNC_B16                                 0x011000D4 /* Blue 16-bit */
00100 #define PFNC_Coord3D_ABC8                        0x021800B2 /* 3D coordinate A-B-C 8-bit */
00101 #define PFNC_Coord3D_ABC8_Planar                 0x021800B3 /* 3D coordinate A-B-C 8-bit planar */
00102 #define PFNC_Coord3D_ABC10p                      0x021E00DB /* 3D coordinate A-B-C 10-bit packed */
00103 #define PFNC_Coord3D_ABC10p_Planar               0x021E00DC /* 3D coordinate A-B-C 10-bit packed planar */
00104 #define PFNC_Coord3D_ABC12p                      0x022400DE /* 3D coordinate A-B-C 12-bit packed */
00105 #define PFNC_Coord3D_ABC12p_Planar               0x022400DF /* 3D coordinate A-B-C 12-bit packed planar */
00106 #define PFNC_Coord3D_ABC16                       0x023000B9 /* 3D coordinate A-B-C 16-bit */
00107 #define PFNC_Coord3D_ABC16_Planar                0x023000BA /* 3D coordinate A-B-C 16-bit planar */
00108 #define PFNC_Coord3D_ABC32f                      0x026000C0 /* 3D coordinate A-B-C 32-bit floating point */
00109 #define PFNC_Coord3D_ABC32f_Planar               0x026000C1 /* 3D coordinate A-B-C 32-bit floating point planar */
00110 #define PFNC_Coord3D_AC8                         0x021000B4 /* 3D coordinate A-C 8-bit */
00111 #define PFNC_Coord3D_AC8_Planar                  0x021000B5 /* 3D coordinate A-C 8-bit planar */
00112 #define PFNC_Coord3D_AC10p                       0x021400F0 /* 3D coordinate A-C 10-bit packed */
00113 #define PFNC_Coord3D_AC10p_Planar                0x021400F1 /* 3D coordinate A-C 10-bit packed planar */
00114 #define PFNC_Coord3D_AC12p                       0x021800F2 /* 3D coordinate A-C 12-bit packed */
00115 #define PFNC_Coord3D_AC12p_Planar                0x021800F3 /* 3D coordinate A-C 12-bit packed planar */
00116 #define PFNC_Coord3D_AC16                        0x022000BB /* 3D coordinate A-C 16-bit */
00117 #define PFNC_Coord3D_AC16_Planar                 0x022000BC /* 3D coordinate A-C 16-bit planar */
00118 #define PFNC_Coord3D_AC32f                       0x024000C2 /* 3D coordinate A-C 32-bit floating point */
00119 #define PFNC_Coord3D_AC32f_Planar                0x024000C3 /* 3D coordinate A-C 32-bit floating point planar */
00120 #define PFNC_Coord3D_A8                          0x010800AF /* 3D coordinate A 8-bit */
00121 #define PFNC_Coord3D_A10p                        0x010A00D5 /* 3D coordinate A 10-bit packed */
00122 #define PFNC_Coord3D_A12p                        0x010C00D8 /* 3D coordinate A 12-bit packed */
00123 #define PFNC_Coord3D_A16                         0x011000B6 /* 3D coordinate A 16-bit */
00124 #define PFNC_Coord3D_A32f                        0x012000BD /* 3D coordinate A 32-bit floating point */
00125 #define PFNC_Coord3D_B8                          0x010800B0 /* 3D coordinate B 8-bit */
00126 #define PFNC_Coord3D_B10p                        0x010A00D6 /* 3D coordinate B 10-bit packed */
00127 #define PFNC_Coord3D_B12p                        0x010C00D9 /* 3D coordinate B 12-bit packed */
00128 #define PFNC_Coord3D_B16                         0x011000B7 /* 3D coordinate B 16-bit */
00129 #define PFNC_Coord3D_B32f                        0x012000BE /* 3D coordinate B 32-bit floating point */
00130 #define PFNC_Coord3D_C8                          0x010800B1 /* 3D coordinate C 8-bit */
00131 #define PFNC_Coord3D_C10p                        0x010A00D7 /* 3D coordinate C 10-bit packed */
00132 #define PFNC_Coord3D_C12p                        0x010C00DA /* 3D coordinate C 12-bit packed */
00133 #define PFNC_Coord3D_C16                         0x011000B8 /* 3D coordinate C 16-bit */
00134 #define PFNC_Coord3D_C32f                        0x012000BF /* 3D coordinate C 32-bit floating point */
00135 #define PFNC_Confidence1                         0x010800C4 /* Confidence 1-bit unpacked */
00136 #define PFNC_Confidence1p                        0x010100C5 /* Confidence 1-bit packed */
00137 #define PFNC_Confidence8                         0x010800C6 /* Confidence 8-bit */
00138 #define PFNC_Confidence16                        0x011000C7 /* Confidence 16-bit */
00139 #define PFNC_Confidence32f                       0x012000C8 /* Confidence 32-bit floating point */
00140 #define PFNC_BiColorBGRG8                        0x021000A6 /* Bi-color Blue/Green - Red/Green 8-bit */
00141 #define PFNC_BiColorBGRG10                       0x022000A9 /* Bi-color Blue/Green - Red/Green 10-bit unpacked */
00142 #define PFNC_BiColorBGRG10p                      0x021400AA /* Bi-color Blue/Green - Red/Green 10-bit packed */
00143 #define PFNC_BiColorBGRG12                       0x022000AD /* Bi-color Blue/Green - Red/Green 12-bit unpacked */
00144 #define PFNC_BiColorBGRG12p                      0x021800AE /* Bi-color Blue/Green - Red/Green 12-bit packed */
00145 #define PFNC_BiColorRGBG8                        0x021000A5 /* Bi-color Red/Green - Blue/Green 8-bit */
00146 #define PFNC_BiColorRGBG10                       0x022000A7 /* Bi-color Red/Green - Blue/Green 10-bit unpacked */
00147 #define PFNC_BiColorRGBG10p                      0x021400A8 /* Bi-color Red/Green - Blue/Green 10-bit packed */
00148 #define PFNC_BiColorRGBG12                       0x022000AB /* Bi-color Red/Green - Blue/Green 12-bit unpacked */
00149 #define PFNC_BiColorRGBG12p                      0x021800AC /* Bi-color Red/Green - Blue/Green 12-bit packed */
00150 #define PFNC_SCF1WBWG8                           0x01080067 /* Sparse Color Filter #1 White-Blue-White-Green 8-bit */
00151 #define PFNC_SCF1WBWG10                          0x01100068 /* Sparse Color Filter #1 White-Blue-White-Green 10-bit unpacked */
00152 #define PFNC_SCF1WBWG10p                         0x010A0069 /* Sparse Color Filter #1 White-Blue-White-Green 10-bit packed */
00153 #define PFNC_SCF1WBWG12                          0x0110006A /* Sparse Color Filter #1 White-Blue-White-Green 12-bit unpacked */
00154 #define PFNC_SCF1WBWG12p                         0x010C006B /* Sparse Color Filter #1 White-Blue-White-Green 12-bit packed */
00155 #define PFNC_SCF1WBWG14                          0x0110006C /* Sparse Color Filter #1 White-Blue-White-Green 14-bit unpacked */
00156 #define PFNC_SCF1WBWG16                          0x0110006D /* Sparse Color Filter #1 White-Blue-White-Green 16-bit unpacked */
00157 #define PFNC_SCF1WGWB8                           0x0108006E /* Sparse Color Filter #1 White-Green-White-Blue 8-bit */
00158 #define PFNC_SCF1WGWB10                          0x0110006F /* Sparse Color Filter #1 White-Green-White-Blue 10-bit unpacked */
00159 #define PFNC_SCF1WGWB10p                         0x010A0070 /* Sparse Color Filter #1 White-Green-White-Blue 10-bit packed */
00160 #define PFNC_SCF1WGWB12                          0x01100071 /* Sparse Color Filter #1 White-Green-White-Blue 12-bit unpacked */
00161 #define PFNC_SCF1WGWB12p                         0x010C0072 /* Sparse Color Filter #1 White-Green-White-Blue 12-bit packed */
00162 #define PFNC_SCF1WGWB14                          0x01100073 /* Sparse Color Filter #1 White-Green-White-Blue 14-bit unpacked */
00163 #define PFNC_SCF1WGWB16                          0x01100074 /* Sparse Color Filter #1 White-Green-White-Blue 16-bit */
00164 #define PFNC_SCF1WGWR8                           0x01080075 /* Sparse Color Filter #1 White-Green-White-Red 8-bit */
00165 #define PFNC_SCF1WGWR10                          0x01100076 /* Sparse Color Filter #1 White-Green-White-Red 10-bit unpacked */
00166 #define PFNC_SCF1WGWR10p                         0x010A0077 /* Sparse Color Filter #1 White-Green-White-Red 10-bit packed */
00167 #define PFNC_SCF1WGWR12                          0x01100078 /* Sparse Color Filter #1 White-Green-White-Red 12-bit unpacked */
00168 #define PFNC_SCF1WGWR12p                         0x010C0079 /* Sparse Color Filter #1 White-Green-White-Red 12-bit packed */
00169 #define PFNC_SCF1WGWR14                          0x0110007A /* Sparse Color Filter #1 White-Green-White-Red 14-bit unpacked */
00170 #define PFNC_SCF1WGWR16                          0x0110007B /* Sparse Color Filter #1 White-Green-White-Red 16-bit */
00171 #define PFNC_SCF1WRWG8                           0x0108007C /* Sparse Color Filter #1 White-Red-White-Green 8-bit */
00172 #define PFNC_SCF1WRWG10                          0x0110007D /* Sparse Color Filter #1 White-Red-White-Green 10-bit unpacked */
00173 #define PFNC_SCF1WRWG10p                         0x010A007E /* Sparse Color Filter #1 White-Red-White-Green 10-bit packed */
00174 #define PFNC_SCF1WRWG12                          0x0110007F /* Sparse Color Filter #1 White-Red-White-Green 12-bit unpacked */
00175 #define PFNC_SCF1WRWG12p                         0x010C0080 /* Sparse Color Filter #1 White-Red-White-Green 12-bit packed */
00176 #define PFNC_SCF1WRWG14                          0x01100081 /* Sparse Color Filter #1 White-Red-White-Green 14-bit unpacked */
00177 #define PFNC_SCF1WRWG16                          0x01100082 /* Sparse Color Filter #1 White-Red-White-Green 16-bit */
00178 #define PFNC_YCbCr8                              0x0218005B /* YCbCr 4:4:4 8-bit */
00179 #define PFNC_YCbCr8_CbYCr                        0x0218003A /* YCbCr 4:4:4 8-bit */
00180 #define PFNC_YCbCr10_CbYCr                       0x02300083 /* YCbCr 4:4:4 10-bit unpacked */
00181 #define PFNC_YCbCr10p_CbYCr                      0x021E0084 /* YCbCr 4:4:4 10-bit packed */
00182 #define PFNC_YCbCr12_CbYCr                       0x02300085 /* YCbCr 4:4:4 12-bit unpacked */
00183 #define PFNC_YCbCr12p_CbYCr                      0x02240086 /* YCbCr 4:4:4 12-bit packed */
00184 #define PFNC_YCbCr411_8                          0x020C005A /* YCbCr 4:1:1 8-bit */
00185 #define PFNC_YCbCr411_8_CbYYCrYY                 0x020C003C /* YCbCr 4:1:1 8-bit */
00186 #define PFNC_YCbCr422_8                          0x0210003B /* YCbCr 4:2:2 8-bit */
00187 #define PFNC_YCbCr422_8_CbYCrY                   0x02100043 /* YCbCr 4:2:2 8-bit */
00188 #define PFNC_YCbCr422_10                         0x02200065 /* YCbCr 4:2:2 10-bit unpacked */
00189 #define PFNC_YCbCr422_10_CbYCrY                  0x02200099 /* YCbCr 4:2:2 10-bit unpacked */
00190 #define PFNC_YCbCr422_10p                        0x02140087 /* YCbCr 4:2:2 10-bit packed */
00191 #define PFNC_YCbCr422_10p_CbYCrY                 0x0214009A /* YCbCr 4:2:2 10-bit packed */
00192 #define PFNC_YCbCr422_12                         0x02200066 /* YCbCr 4:2:2 12-bit unpacked */
00193 #define PFNC_YCbCr422_12_CbYCrY                  0x0220009B /* YCbCr 4:2:2 12-bit unpacked */
00194 #define PFNC_YCbCr422_12p                        0x02180088 /* YCbCr 4:2:2 12-bit packed */
00195 #define PFNC_YCbCr422_12p_CbYCrY                 0x0218009C /* YCbCr 4:2:2 12-bit packed */
00196 #define PFNC_YCbCr601_8_CbYCr                    0x0218003D /* YCbCr 4:4:4 8-bit BT.601 */
00197 #define PFNC_YCbCr601_10_CbYCr                   0x02300089 /* YCbCr 4:4:4 10-bit unpacked BT.601 */
00198 #define PFNC_YCbCr601_10p_CbYCr                  0x021E008A /* YCbCr 4:4:4 10-bit packed BT.601 */
00199 #define PFNC_YCbCr601_12_CbYCr                   0x0230008B /* YCbCr 4:4:4 12-bit unpacked BT.601 */
00200 #define PFNC_YCbCr601_12p_CbYCr                  0x0224008C /* YCbCr 4:4:4 12-bit packed BT.601 */
00201 #define PFNC_YCbCr601_411_8_CbYYCrYY             0x020C003F /* YCbCr 4:1:1 8-bit BT.601 */
00202 #define PFNC_YCbCr601_422_8                      0x0210003E /* YCbCr 4:2:2 8-bit BT.601 */
00203 #define PFNC_YCbCr601_422_8_CbYCrY               0x02100044 /* YCbCr 4:2:2 8-bit BT.601 */
00204 #define PFNC_YCbCr601_422_10                     0x0220008D /* YCbCr 4:2:2 10-bit unpacked BT.601 */
00205 #define PFNC_YCbCr601_422_10_CbYCrY              0x0220009D /* YCbCr 4:2:2 10-bit unpacked BT.601 */
00206 #define PFNC_YCbCr601_422_10p                    0x0214008E /* YCbCr 4:2:2 10-bit packed BT.601 */
00207 #define PFNC_YCbCr601_422_10p_CbYCrY             0x0214009E /* YCbCr 4:2:2 10-bit packed BT.601 */
00208 #define PFNC_YCbCr601_422_12                     0x0220008F /* YCbCr 4:2:2 12-bit unpacked BT.601 */
00209 #define PFNC_YCbCr601_422_12_CbYCrY              0x0220009F /* YCbCr 4:2:2 12-bit unpacked BT.601 */
00210 #define PFNC_YCbCr601_422_12p                    0x02180090 /* YCbCr 4:2:2 12-bit packed BT.601 */
00211 #define PFNC_YCbCr601_422_12p_CbYCrY             0x021800A0 /* YCbCr 4:2:2 12-bit packed BT.601 */
00212 #define PFNC_YCbCr709_8_CbYCr                    0x02180040 /* YCbCr 4:4:4 8-bit BT.709 */
00213 #define PFNC_YCbCr709_10_CbYCr                   0x02300091 /* YCbCr 4:4:4 10-bit unpacked BT.709 */
00214 #define PFNC_YCbCr709_10p_CbYCr                  0x021E0092 /* YCbCr 4:4:4 10-bit packed BT.709 */
00215 #define PFNC_YCbCr709_12_CbYCr                   0x02300093 /* YCbCr 4:4:4 12-bit unpacked BT.709 */
00216 #define PFNC_YCbCr709_12p_CbYCr                  0x02240094 /* YCbCr 4:4:4 12-bit packed BT.709 */
00217 #define PFNC_YCbCr709_411_8_CbYYCrYY             0x020C0042 /* YCbCr 4:1:1 8-bit BT.709 */
00218 #define PFNC_YCbCr709_422_8                      0x02100041 /* YCbCr 4:2:2 8-bit BT.709 */
00219 #define PFNC_YCbCr709_422_8_CbYCrY               0x02100045 /* YCbCr 4:2:2 8-bit BT.709 */
00220 #define PFNC_YCbCr709_422_10                     0x02200095 /* YCbCr 4:2:2 10-bit unpacked BT.709 */
00221 #define PFNC_YCbCr709_422_10_CbYCrY              0x022000A1 /* YCbCr 4:2:2 10-bit unpacked BT.709 */
00222 #define PFNC_YCbCr709_422_10p                    0x02140096 /* YCbCr 4:2:2 10-bit packed BT.709 */
00223 #define PFNC_YCbCr709_422_10p_CbYCrY             0x021400A2 /* YCbCr 4:2:2 10-bit packed BT.709 */
00224 #define PFNC_YCbCr709_422_12                     0x02200097 /* YCbCr 4:2:2 12-bit unpacked BT.709 */
00225 #define PFNC_YCbCr709_422_12_CbYCrY              0x022000A3 /* YCbCr 4:2:2 12-bit unpacked BT.709 */
00226 #define PFNC_YCbCr709_422_12p                    0x02180098 /* YCbCr 4:2:2 12-bit packed BT.709 */
00227 #define PFNC_YCbCr709_422_12p_CbYCrY             0x021800A4 /* YCbCr 4:2:2 12-bit packed BT.709 */
00228 #define PFNC_YCbCr2020_8_CbYCr                   0x021800F4 /* YCbCr 4:4:4 8-bit BT.2020 */
00229 #define PFNC_YCbCr2020_10_CbYCr                  0x023000F5 /* YCbCr 4:4:4 10-bit unpacked BT.2020 */
00230 #define PFNC_YCbCr2020_10p_CbYCr                 0x021E00F6 /* YCbCr 4:4:4 10-bit packed BT.2020 */
00231 #define PFNC_YCbCr2020_12_CbYCr                  0x023000F7 /* YCbCr 4:4:4 12-bit unpacked BT.2020  */
00232 #define PFNC_YCbCr2020_12p_CbYCr                 0x022400F8 /* YCbCr 4:4:4 12-bit packed BT.2020 */
00233 #define PFNC_YCbCr2020_411_8_CbYYCrYY            0x020C00F9 /* YCbCr 4:1:1 8-bit BT.2020 */
00234 #define PFNC_YCbCr2020_422_8                     0x021000FA /* YCbCr 4:2:2 8-bit BT.2020  */
00235 #define PFNC_YCbCr2020_422_8_CbYCrY              0x021000FB /* YCbCr 4:2:2 8-bit BT.2020 */
00236 #define PFNC_YCbCr2020_422_10                    0x022000FC /* YCbCr 4:2:2 10-bit unpacked BT.2020 */
00237 #define PFNC_YCbCr2020_422_10_CbYCrY             0x022000FD /* YCbCr 4:2:2 10-bit unpacked BT.2020 */
00238 #define PFNC_YCbCr2020_422_10p                   0x021400FE /* YCbCr 4:2:2 10-bit packed BT.2020 */
00239 #define PFNC_YCbCr2020_422_10p_CbYCrY            0x021400FF /* YCbCr 4:2:2 10-bit packed BT.2020 */
00240 #define PFNC_YCbCr2020_422_12                    0x02200100 /* YCbCr 4:2:2 12-bit unpacked BT.2020 */
00241 #define PFNC_YCbCr2020_422_12_CbYCrY             0x02200101 /* YCbCr 4:2:2 12-bit unpacked BT.2020 */
00242 #define PFNC_YCbCr2020_422_12p                   0x02180102 /* YCbCr 4:2:2 12-bit packed BT.2020 */
00243 #define PFNC_YCbCr2020_422_12p_CbYCrY            0x02180103 /* YCbCr 4:2:2 12-bit packed BT.2020 */
00244 #define PFNC_YUV8_UYV                            0x02180020 /* YUV 4:4:4 8-bit */
00245 #define PFNC_YUV411_8_UYYVYY                     0x020C001E /* YUV 4:1:1 8-bit */
00246 #define PFNC_YUV422_8                            0x02100032 /* YUV 4:2:2 8-bit */
00247 #define PFNC_YUV422_8_UYVY                       0x0210001F /* YUV 4:2:2 8-bit */
00248 
00249 /* Following formats are not PFNC compliant, but are still kept in the list for legacy purposes. */
00250 
00251 #define GVSP_Mono10Packed                        0x010C0004 /* GigE Vision specific format, Monochrome 10-bit packed */
00252 #define GVSP_Mono12Packed                        0x010C0006 /* GigE Vision specific format, Monochrome 12-bit packed */
00253 #define GVSP_BayerBG10Packed                     0x010C0029 /* GigE Vision specific format, Bayer Blue-Green 10-bit packed */
00254 #define GVSP_BayerBG12Packed                     0x010C002D /* GigE Vision specific format, Bayer Blue-Green 12-bit packed */
00255 #define GVSP_BayerGB10Packed                     0x010C0028 /* GigE Vision specific format, Bayer Green-Blue 10-bit packed */
00256 #define GVSP_BayerGB12Packed                     0x010C002C /* GigE Vision specific format, Bayer Green-Blue 12-bit packed */
00257 #define GVSP_BayerGR10Packed                     0x010C0026 /* GigE Vision specific format, Bayer Green-Red 10-bit packed */
00258 #define GVSP_BayerGR12Packed                     0x010C002A /* GigE Vision specific format, Bayer Green-Red 12-bit packed */
00259 #define GVSP_BayerRG10Packed                     0x010C0027 /* GigE Vision specific format, Bayer Red-Green 10-bit packed */
00260 #define GVSP_BayerRG12Packed                     0x010C002B /* GigE Vision specific format, Bayer Red-Green 12-bit packed */
00261 #define GVSP_RGB10V1Packed                       0x0220001C /* GigE Vision specific format, Red-Green-Blue 10-bit packed - variant 1 */
00262 #define GVSP_RGB12V1Packed                       0x02240034 /* GigE Vision specific format, Red-Green-Blue 12-bit packed - variant 1 */
00263 
00264 
00265 /* Identical set of formats in the form of an enum */
00266 
00267 typedef enum PfncFormat_
00268 {
00269   Mono1p                                   = 0x01010037, /* Monochrome 1-bit packed */
00270   Mono2p                                   = 0x01020038, /* Monochrome 2-bit packed */
00271   Mono4p                                   = 0x01040039, /* Monochrome 4-bit packed */
00272   Mono8                                    = 0x01080001, /* Monochrome 8-bit */
00273   Mono8s                                   = 0x01080002, /* Monochrome 8-bit signed */
00274   Mono10                                   = 0x01100003, /* Monochrome 10-bit unpacked */
00275   Mono10p                                  = 0x010A0046, /* Monochrome 10-bit packed */
00276   Mono12                                   = 0x01100005, /* Monochrome 12-bit unpacked */
00277   Mono12p                                  = 0x010C0047, /* Monochrome 12-bit packed */
00278   Mono14                                   = 0x01100025, /* Monochrome 14-bit unpacked */
00279   Mono16                                   = 0x01100007, /* Monochrome 16-bit */
00280   BayerBG8                                 = 0x0108000B, /* Bayer Blue-Green 8-bit */
00281   BayerBG10                                = 0x0110000F, /* Bayer Blue-Green 10-bit unpacked */
00282   BayerBG10p                               = 0x010A0052, /* Bayer Blue-Green 10-bit packed */
00283   BayerBG12                                = 0x01100013, /* Bayer Blue-Green 12-bit unpacked */
00284   BayerBG12p                               = 0x010C0053, /* Bayer Blue-Green 12-bit packed */
00285   BayerBG16                                = 0x01100031, /* Bayer Blue-Green 16-bit */
00286   BayerGB8                                 = 0x0108000A, /* Bayer Green-Blue 8-bit */
00287   BayerGB10                                = 0x0110000E, /* Bayer Green-Blue 10-bit unpacked */
00288   BayerGB10p                               = 0x010A0054, /* Bayer Green-Blue 10-bit packed */
00289   BayerGB12                                = 0x01100012, /* Bayer Green-Blue 12-bit unpacked */
00290   BayerGB12p                               = 0x010C0055, /* Bayer Green-Blue 12-bit packed */
00291   BayerGB16                                = 0x01100030, /* Bayer Green-Blue 16-bit */
00292   BayerGR8                                 = 0x01080008, /* Bayer Green-Red 8-bit */
00293   BayerGR10                                = 0x0110000C, /* Bayer Green-Red 10-bit unpacked */
00294   BayerGR10p                               = 0x010A0056, /* Bayer Green-Red 10-bit packed */
00295   BayerGR12                                = 0x01100010, /* Bayer Green-Red 12-bit unpacked */
00296   BayerGR12p                               = 0x010C0057, /* Bayer Green-Red 12-bit packed */
00297   BayerGR16                                = 0x0110002E, /* Bayer Green-Red 16-bit */
00298   BayerRG8                                 = 0x01080009, /* Bayer Red-Green 8-bit */
00299   BayerRG10                                = 0x0110000D, /* Bayer Red-Green 10-bit unpacked */
00300   BayerRG10p                               = 0x010A0058, /* Bayer Red-Green 10-bit packed */
00301   BayerRG12                                = 0x01100011, /* Bayer Red-Green 12-bit unpacked */
00302   BayerRG12p                               = 0x010C0059, /* Bayer Red-Green 12-bit packed */
00303   BayerRG16                                = 0x0110002F, /* Bayer Red-Green 16-bit */
00304   RGBa8                                    = 0x02200016, /* Red-Green-Blue-alpha 8-bit */
00305   RGBa10                                   = 0x0240005F, /* Red-Green-Blue-alpha 10-bit unpacked */
00306   RGBa10p                                  = 0x02280060, /* Red-Green-Blue-alpha 10-bit packed */
00307   RGBa12                                   = 0x02400061, /* Red-Green-Blue-alpha 12-bit unpacked */
00308   RGBa12p                                  = 0x02300062, /* Red-Green-Blue-alpha 12-bit packed */
00309   RGBa14                                   = 0x02400063, /* Red-Green-Blue-alpha 14-bit unpacked */
00310   RGBa16                                   = 0x02400064, /* Red-Green-Blue-alpha 16-bit */
00311   RGB8                                     = 0x02180014, /* Red-Green-Blue 8-bit */
00312   RGB8_Planar                              = 0x02180021, /* Red-Green-Blue 8-bit planar */
00313   RGB10                                    = 0x02300018, /* Red-Green-Blue 10-bit unpacked */
00314   RGB10_Planar                             = 0x02300022, /* Red-Green-Blue 10-bit unpacked planar */
00315   RGB10p                                   = 0x021E005C, /* Red-Green-Blue 10-bit packed */
00316   RGB10p32                                 = 0x0220001D, /* Red-Green-Blue 10-bit packed into 32-bit */
00317   RGB12                                    = 0x0230001A, /* Red-Green-Blue 12-bit unpacked */
00318   RGB12_Planar                             = 0x02300023, /* Red-Green-Blue 12-bit unpacked planar */
00319   RGB12p                                   = 0x0224005D, /* Red-Green-Blue 12-bit packed   */
00320   RGB14                                    = 0x0230005E, /* Red-Green-Blue 14-bit unpacked */
00321   RGB16                                    = 0x02300033, /* Red-Green-Blue 16-bit   */
00322   RGB16_Planar                             = 0x02300024, /* Red-Green-Blue 16-bit planar */
00323   RGB565p                                  = 0x02100035, /* Red-Green-Blue 5/6/5-bit packed */
00324   BGRa8                                    = 0x02200017, /* Blue-Green-Red-alpha 8-bit */
00325   BGRa10                                   = 0x0240004C, /* Blue-Green-Red-alpha 10-bit unpacked */
00326   BGRa10p                                  = 0x0228004D, /* Blue-Green-Red-alpha 10-bit packed */
00327   BGRa12                                   = 0x0240004E, /* Blue-Green-Red-alpha 12-bit unpacked */
00328   BGRa12p                                  = 0x0230004F, /* Blue-Green-Red-alpha 12-bit packed */
00329   BGRa14                                   = 0x02400050, /* Blue-Green-Red-alpha 14-bit unpacked */
00330   BGRa16                                   = 0x02400051, /* Blue-Green-Red-alpha 16-bit */
00331   BGR8                                     = 0x02180015, /* Blue-Green-Red 8-bit */
00332   BGR10                                    = 0x02300019, /* Blue-Green-Red 10-bit unpacked */
00333   BGR10p                                   = 0x021E0048, /* Blue-Green-Red 10-bit packed */
00334   BGR12                                    = 0x0230001B, /* Blue-Green-Red 12-bit unpacked */
00335   BGR12p                                   = 0x02240049, /* Blue-Green-Red 12-bit packed */
00336   BGR14                                    = 0x0230004A, /* Blue-Green-Red 14-bit unpacked */
00337   BGR16                                    = 0x0230004B, /* Blue-Green-Red 16-bit */
00338   BGR565p                                  = 0x02100036, /* Blue-Green-Red 5/6/5-bit packed */
00339   R8                                       = 0x010800C9, /* Red 8-bit */
00340   R10                                      = 0x010A00CA, /* Red 10-bit */
00341   R12                                      = 0x010C00CB, /* Red 12-bit */
00342   R16                                      = 0x011000CC, /* Red 16-bit */
00343   G8                                       = 0x010800CD, /* Green 8-bit */
00344   G10                                      = 0x010A00CE, /* Green 10-bit */
00345   G12                                      = 0x010C00CF, /* Green 12-bit */
00346   G16                                      = 0x011000D0, /* Green 16-bit */
00347   B8                                       = 0x010800D1, /* Blue 8-bit */
00348   B10                                      = 0x010A00D2, /* Blue 10-bit */
00349   B12                                      = 0x010C00D3, /* Blue 12-bit */
00350   B16                                      = 0x011000D4, /* Blue 16-bit */
00351   Coord3D_ABC8                             = 0x021800B2, /* 3D coordinate A-B-C 8-bit */
00352   Coord3D_ABC8_Planar                      = 0x021800B3, /* 3D coordinate A-B-C 8-bit planar */
00353   Coord3D_ABC10p                           = 0x021E00DB, /* 3D coordinate A-B-C 10-bit packed */
00354   Coord3D_ABC10p_Planar                    = 0x021E00DC, /* 3D coordinate A-B-C 10-bit packed planar */
00355   Coord3D_ABC12p                           = 0x022400DE, /* 3D coordinate A-B-C 12-bit packed */
00356   Coord3D_ABC12p_Planar                    = 0x022400DF, /* 3D coordinate A-B-C 12-bit packed planar */
00357   Coord3D_ABC16                            = 0x023000B9, /* 3D coordinate A-B-C 16-bit */
00358   Coord3D_ABC16_Planar                     = 0x023000BA, /* 3D coordinate A-B-C 16-bit planar */
00359   Coord3D_ABC32f                           = 0x026000C0, /* 3D coordinate A-B-C 32-bit floating point */
00360   Coord3D_ABC32f_Planar                    = 0x026000C1, /* 3D coordinate A-B-C 32-bit floating point planar */
00361   Coord3D_AC8                              = 0x021000B4, /* 3D coordinate A-C 8-bit */
00362   Coord3D_AC8_Planar                       = 0x021000B5, /* 3D coordinate A-C 8-bit planar */
00363   Coord3D_AC10p                            = 0x021400F0, /* 3D coordinate A-C 10-bit packed */
00364   Coord3D_AC10p_Planar                     = 0x021400F1, /* 3D coordinate A-C 10-bit packed planar */
00365   Coord3D_AC12p                            = 0x021800F2, /* 3D coordinate A-C 12-bit packed */
00366   Coord3D_AC12p_Planar                     = 0x021800F3, /* 3D coordinate A-C 12-bit packed planar */
00367   Coord3D_AC16                             = 0x022000BB, /* 3D coordinate A-C 16-bit */
00368   Coord3D_AC16_Planar                      = 0x022000BC, /* 3D coordinate A-C 16-bit planar */
00369   Coord3D_AC32f                            = 0x024000C2, /* 3D coordinate A-C 32-bit floating point */
00370   Coord3D_AC32f_Planar                     = 0x024000C3, /* 3D coordinate A-C 32-bit floating point planar */
00371   Coord3D_A8                               = 0x010800AF, /* 3D coordinate A 8-bit */
00372   Coord3D_A10p                             = 0x010A00D5, /* 3D coordinate A 10-bit packed */
00373   Coord3D_A12p                             = 0x010C00D8, /* 3D coordinate A 12-bit packed */
00374   Coord3D_A16                              = 0x011000B6, /* 3D coordinate A 16-bit */
00375   Coord3D_A32f                             = 0x012000BD, /* 3D coordinate A 32-bit floating point */
00376   Coord3D_B8                               = 0x010800B0, /* 3D coordinate B 8-bit */
00377   Coord3D_B10p                             = 0x010A00D6, /* 3D coordinate B 10-bit packed */
00378   Coord3D_B12p                             = 0x010C00D9, /* 3D coordinate B 12-bit packed */
00379   Coord3D_B16                              = 0x011000B7, /* 3D coordinate B 16-bit */
00380   Coord3D_B32f                             = 0x012000BE, /* 3D coordinate B 32-bit floating point */
00381   Coord3D_C8                               = 0x010800B1, /* 3D coordinate C 8-bit */
00382   Coord3D_C10p                             = 0x010A00D7, /* 3D coordinate C 10-bit packed */
00383   Coord3D_C12p                             = 0x010C00DA, /* 3D coordinate C 12-bit packed */
00384   Coord3D_C16                              = 0x011000B8, /* 3D coordinate C 16-bit */
00385   Coord3D_C32f                             = 0x012000BF, /* 3D coordinate C 32-bit floating point */
00386   Confidence1                              = 0x010800C4, /* Confidence 1-bit unpacked */
00387   Confidence1p                             = 0x010100C5, /* Confidence 1-bit packed */
00388   Confidence8                              = 0x010800C6, /* Confidence 8-bit */
00389   Confidence16                             = 0x011000C7, /* Confidence 16-bit */
00390   Confidence32f                            = 0x012000C8, /* Confidence 32-bit floating point */
00391   BiColorBGRG8                             = 0x021000A6, /* Bi-color Blue/Green - Red/Green 8-bit */
00392   BiColorBGRG10                            = 0x022000A9, /* Bi-color Blue/Green - Red/Green 10-bit unpacked */
00393   BiColorBGRG10p                           = 0x021400AA, /* Bi-color Blue/Green - Red/Green 10-bit packed */
00394   BiColorBGRG12                            = 0x022000AD, /* Bi-color Blue/Green - Red/Green 12-bit unpacked */
00395   BiColorBGRG12p                           = 0x021800AE, /* Bi-color Blue/Green - Red/Green 12-bit packed */
00396   BiColorRGBG8                             = 0x021000A5, /* Bi-color Red/Green - Blue/Green 8-bit */
00397   BiColorRGBG10                            = 0x022000A7, /* Bi-color Red/Green - Blue/Green 10-bit unpacked */
00398   BiColorRGBG10p                           = 0x021400A8, /* Bi-color Red/Green - Blue/Green 10-bit packed */
00399   BiColorRGBG12                            = 0x022000AB, /* Bi-color Red/Green - Blue/Green 12-bit unpacked */
00400   BiColorRGBG12p                           = 0x021800AC, /* Bi-color Red/Green - Blue/Green 12-bit packed */
00401   SCF1WBWG8                                = 0x01080067, /* Sparse Color Filter #1 White-Blue-White-Green 8-bit */
00402   SCF1WBWG10                               = 0x01100068, /* Sparse Color Filter #1 White-Blue-White-Green 10-bit unpacked */
00403   SCF1WBWG10p                              = 0x010A0069, /* Sparse Color Filter #1 White-Blue-White-Green 10-bit packed */
00404   SCF1WBWG12                               = 0x0110006A, /* Sparse Color Filter #1 White-Blue-White-Green 12-bit unpacked */
00405   SCF1WBWG12p                              = 0x010C006B, /* Sparse Color Filter #1 White-Blue-White-Green 12-bit packed */
00406   SCF1WBWG14                               = 0x0110006C, /* Sparse Color Filter #1 White-Blue-White-Green 14-bit unpacked */
00407   SCF1WBWG16                               = 0x0110006D, /* Sparse Color Filter #1 White-Blue-White-Green 16-bit unpacked */
00408   SCF1WGWB8                                = 0x0108006E, /* Sparse Color Filter #1 White-Green-White-Blue 8-bit */
00409   SCF1WGWB10                               = 0x0110006F, /* Sparse Color Filter #1 White-Green-White-Blue 10-bit unpacked */
00410   SCF1WGWB10p                              = 0x010A0070, /* Sparse Color Filter #1 White-Green-White-Blue 10-bit packed */
00411   SCF1WGWB12                               = 0x01100071, /* Sparse Color Filter #1 White-Green-White-Blue 12-bit unpacked */
00412   SCF1WGWB12p                              = 0x010C0072, /* Sparse Color Filter #1 White-Green-White-Blue 12-bit packed */
00413   SCF1WGWB14                               = 0x01100073, /* Sparse Color Filter #1 White-Green-White-Blue 14-bit unpacked */
00414   SCF1WGWB16                               = 0x01100074, /* Sparse Color Filter #1 White-Green-White-Blue 16-bit */
00415   SCF1WGWR8                                = 0x01080075, /* Sparse Color Filter #1 White-Green-White-Red 8-bit */
00416   SCF1WGWR10                               = 0x01100076, /* Sparse Color Filter #1 White-Green-White-Red 10-bit unpacked */
00417   SCF1WGWR10p                              = 0x010A0077, /* Sparse Color Filter #1 White-Green-White-Red 10-bit packed */
00418   SCF1WGWR12                               = 0x01100078, /* Sparse Color Filter #1 White-Green-White-Red 12-bit unpacked */
00419   SCF1WGWR12p                              = 0x010C0079, /* Sparse Color Filter #1 White-Green-White-Red 12-bit packed */
00420   SCF1WGWR14                               = 0x0110007A, /* Sparse Color Filter #1 White-Green-White-Red 14-bit unpacked */
00421   SCF1WGWR16                               = 0x0110007B, /* Sparse Color Filter #1 White-Green-White-Red 16-bit */
00422   SCF1WRWG8                                = 0x0108007C, /* Sparse Color Filter #1 White-Red-White-Green 8-bit */
00423   SCF1WRWG10                               = 0x0110007D, /* Sparse Color Filter #1 White-Red-White-Green 10-bit unpacked */
00424   SCF1WRWG10p                              = 0x010A007E, /* Sparse Color Filter #1 White-Red-White-Green 10-bit packed */
00425   SCF1WRWG12                               = 0x0110007F, /* Sparse Color Filter #1 White-Red-White-Green 12-bit unpacked */
00426   SCF1WRWG12p                              = 0x010C0080, /* Sparse Color Filter #1 White-Red-White-Green 12-bit packed */
00427   SCF1WRWG14                               = 0x01100081, /* Sparse Color Filter #1 White-Red-White-Green 14-bit unpacked */
00428   SCF1WRWG16                               = 0x01100082, /* Sparse Color Filter #1 White-Red-White-Green 16-bit */
00429   YCbCr8                                   = 0x0218005B, /* YCbCr 4:4:4 8-bit */
00430   YCbCr8_CbYCr                             = 0x0218003A, /* YCbCr 4:4:4 8-bit */
00431   YCbCr10_CbYCr                            = 0x02300083, /* YCbCr 4:4:4 10-bit unpacked */
00432   YCbCr10p_CbYCr                           = 0x021E0084, /* YCbCr 4:4:4 10-bit packed */
00433   YCbCr12_CbYCr                            = 0x02300085, /* YCbCr 4:4:4 12-bit unpacked */
00434   YCbCr12p_CbYCr                           = 0x02240086, /* YCbCr 4:4:4 12-bit packed */
00435   YCbCr411_8                               = 0x020C005A, /* YCbCr 4:1:1 8-bit */
00436   YCbCr411_8_CbYYCrYY                      = 0x020C003C, /* YCbCr 4:1:1 8-bit */
00437   YCbCr422_8                               = 0x0210003B, /* YCbCr 4:2:2 8-bit */
00438   YCbCr422_8_CbYCrY                        = 0x02100043, /* YCbCr 4:2:2 8-bit */
00439   YCbCr422_10                              = 0x02200065, /* YCbCr 4:2:2 10-bit unpacked */
00440   YCbCr422_10_CbYCrY                       = 0x02200099, /* YCbCr 4:2:2 10-bit unpacked */
00441   YCbCr422_10p                             = 0x02140087, /* YCbCr 4:2:2 10-bit packed */
00442   YCbCr422_10p_CbYCrY                      = 0x0214009A, /* YCbCr 4:2:2 10-bit packed */
00443   YCbCr422_12                              = 0x02200066, /* YCbCr 4:2:2 12-bit unpacked */
00444   YCbCr422_12_CbYCrY                       = 0x0220009B, /* YCbCr 4:2:2 12-bit unpacked */
00445   YCbCr422_12p                             = 0x02180088, /* YCbCr 4:2:2 12-bit packed */
00446   YCbCr422_12p_CbYCrY                      = 0x0218009C, /* YCbCr 4:2:2 12-bit packed */
00447   YCbCr601_8_CbYCr                         = 0x0218003D, /* YCbCr 4:4:4 8-bit BT.601 */
00448   YCbCr601_10_CbYCr                        = 0x02300089, /* YCbCr 4:4:4 10-bit unpacked BT.601 */
00449   YCbCr601_10p_CbYCr                       = 0x021E008A, /* YCbCr 4:4:4 10-bit packed BT.601 */
00450   YCbCr601_12_CbYCr                        = 0x0230008B, /* YCbCr 4:4:4 12-bit unpacked BT.601 */
00451   YCbCr601_12p_CbYCr                       = 0x0224008C, /* YCbCr 4:4:4 12-bit packed BT.601 */
00452   YCbCr601_411_8_CbYYCrYY                  = 0x020C003F, /* YCbCr 4:1:1 8-bit BT.601 */
00453   YCbCr601_422_8                           = 0x0210003E, /* YCbCr 4:2:2 8-bit BT.601 */
00454   YCbCr601_422_8_CbYCrY                    = 0x02100044, /* YCbCr 4:2:2 8-bit BT.601 */
00455   YCbCr601_422_10                          = 0x0220008D, /* YCbCr 4:2:2 10-bit unpacked BT.601 */
00456   YCbCr601_422_10_CbYCrY                   = 0x0220009D, /* YCbCr 4:2:2 10-bit unpacked BT.601 */
00457   YCbCr601_422_10p                         = 0x0214008E, /* YCbCr 4:2:2 10-bit packed BT.601 */
00458   YCbCr601_422_10p_CbYCrY                  = 0x0214009E, /* YCbCr 4:2:2 10-bit packed BT.601 */
00459   YCbCr601_422_12                          = 0x0220008F, /* YCbCr 4:2:2 12-bit unpacked BT.601 */
00460   YCbCr601_422_12_CbYCrY                   = 0x0220009F, /* YCbCr 4:2:2 12-bit unpacked BT.601 */
00461   YCbCr601_422_12p                         = 0x02180090, /* YCbCr 4:2:2 12-bit packed BT.601 */
00462   YCbCr601_422_12p_CbYCrY                  = 0x021800A0, /* YCbCr 4:2:2 12-bit packed BT.601 */
00463   YCbCr709_8_CbYCr                         = 0x02180040, /* YCbCr 4:4:4 8-bit BT.709 */
00464   YCbCr709_10_CbYCr                        = 0x02300091, /* YCbCr 4:4:4 10-bit unpacked BT.709 */
00465   YCbCr709_10p_CbYCr                       = 0x021E0092, /* YCbCr 4:4:4 10-bit packed BT.709 */
00466   YCbCr709_12_CbYCr                        = 0x02300093, /* YCbCr 4:4:4 12-bit unpacked BT.709 */
00467   YCbCr709_12p_CbYCr                       = 0x02240094, /* YCbCr 4:4:4 12-bit packed BT.709 */
00468   YCbCr709_411_8_CbYYCrYY                  = 0x020C0042, /* YCbCr 4:1:1 8-bit BT.709 */
00469   YCbCr709_422_8                           = 0x02100041, /* YCbCr 4:2:2 8-bit BT.709 */
00470   YCbCr709_422_8_CbYCrY                    = 0x02100045, /* YCbCr 4:2:2 8-bit BT.709 */
00471   YCbCr709_422_10                          = 0x02200095, /* YCbCr 4:2:2 10-bit unpacked BT.709 */
00472   YCbCr709_422_10_CbYCrY                   = 0x022000A1, /* YCbCr 4:2:2 10-bit unpacked BT.709 */
00473   YCbCr709_422_10p                         = 0x02140096, /* YCbCr 4:2:2 10-bit packed BT.709 */
00474   YCbCr709_422_10p_CbYCrY                  = 0x021400A2, /* YCbCr 4:2:2 10-bit packed BT.709 */
00475   YCbCr709_422_12                          = 0x02200097, /* YCbCr 4:2:2 12-bit unpacked BT.709 */
00476   YCbCr709_422_12_CbYCrY                   = 0x022000A3, /* YCbCr 4:2:2 12-bit unpacked BT.709 */
00477   YCbCr709_422_12p                         = 0x02180098, /* YCbCr 4:2:2 12-bit packed BT.709 */
00478   YCbCr709_422_12p_CbYCrY                  = 0x021800A4, /* YCbCr 4:2:2 12-bit packed BT.709 */
00479   YCbCr2020_8_CbYCr                        = 0x021800F4, /* YCbCr 4:4:4 8-bit BT.2020 */
00480   YCbCr2020_10_CbYCr                       = 0x023000F5, /* YCbCr 4:4:4 10-bit unpacked BT.2020 */
00481   YCbCr2020_10p_CbYCr                      = 0x021E00F6, /* YCbCr 4:4:4 10-bit packed BT.2020 */
00482   YCbCr2020_12_CbYCr                       = 0x023000F7, /* YCbCr 4:4:4 12-bit unpacked BT.2020  */
00483   YCbCr2020_12p_CbYCr                      = 0x022400F8, /* YCbCr 4:4:4 12-bit packed BT.2020 */
00484   YCbCr2020_411_8_CbYYCrYY                 = 0x020C00F9, /* YCbCr 4:1:1 8-bit BT.2020 */
00485   YCbCr2020_422_8                          = 0x021000FA, /* YCbCr 4:2:2 8-bit BT.2020  */
00486   YCbCr2020_422_8_CbYCrY                   = 0x021000FB, /* YCbCr 4:2:2 8-bit BT.2020 */
00487   YCbCr2020_422_10                         = 0x022000FC, /* YCbCr 4:2:2 10-bit unpacked BT.2020 */
00488   YCbCr2020_422_10_CbYCrY                  = 0x022000FD, /* YCbCr 4:2:2 10-bit unpacked BT.2020 */
00489   YCbCr2020_422_10p                        = 0x021400FE, /* YCbCr 4:2:2 10-bit packed BT.2020 */
00490   YCbCr2020_422_10p_CbYCrY                 = 0x021400FF, /* YCbCr 4:2:2 10-bit packed BT.2020 */
00491   YCbCr2020_422_12                         = 0x02200100, /* YCbCr 4:2:2 12-bit unpacked BT.2020 */
00492   YCbCr2020_422_12_CbYCrY                  = 0x02200101, /* YCbCr 4:2:2 12-bit unpacked BT.2020 */
00493   YCbCr2020_422_12p                        = 0x02180102, /* YCbCr 4:2:2 12-bit packed BT.2020 */
00494   YCbCr2020_422_12p_CbYCrY                 = 0x02180103, /* YCbCr 4:2:2 12-bit packed BT.2020 */
00495   YUV8_UYV                                 = 0x02180020, /* YUV 4:4:4 8-bit */
00496   YUV411_8_UYYVYY                          = 0x020C001E, /* YUV 4:1:1 8-bit */
00497   YUV422_8                                 = 0x02100032, /* YUV 4:2:2 8-bit */
00498   YUV422_8_UYVY                            = 0x0210001F, /* YUV 4:2:2 8-bit */
00499   Mono10Packed                             = 0x010C0004, /* GigE Vision specific format, Monochrome 10-bit packed */
00500   Mono12Packed                             = 0x010C0006, /* GigE Vision specific format, Monochrome 12-bit packed */
00501   BayerBG10Packed                          = 0x010C0029, /* GigE Vision specific format, Bayer Blue-Green 10-bit packed */
00502   BayerBG12Packed                          = 0x010C002D, /* GigE Vision specific format, Bayer Blue-Green 12-bit packed */
00503   BayerGB10Packed                          = 0x010C0028, /* GigE Vision specific format, Bayer Green-Blue 10-bit packed */
00504   BayerGB12Packed                          = 0x010C002C, /* GigE Vision specific format, Bayer Green-Blue 12-bit packed */
00505   BayerGR10Packed                          = 0x010C0026, /* GigE Vision specific format, Bayer Green-Red 10-bit packed */
00506   BayerGR12Packed                          = 0x010C002A, /* GigE Vision specific format, Bayer Green-Red 12-bit packed */
00507   BayerRG10Packed                          = 0x010C0027, /* GigE Vision specific format, Bayer Red-Green 10-bit packed */
00508   BayerRG12Packed                          = 0x010C002B, /* GigE Vision specific format, Bayer Red-Green 12-bit packed */
00509   RGB10V1Packed                            = 0x0220001C, /* GigE Vision specific format, Red-Green-Blue 10-bit packed - variant 1 */
00510   RGB12V1Packed                            = 0x02240034, /* GigE Vision specific format, Red-Green-Blue 12-bit packed - variant 1 */
00511   InvalidPixelFormat                       = 0
00512 } PfncFormat;
00513 
00514 /* 32-bit value layout */
00515 /* |31            24|23            16|15            08|07            00| */
00516 /* | C| Comp. Layout| Effective Size |            Pixel ID             | */
00517 
00518 /* Custom flag */
00519 #define PFNC_CUSTOM                              0x80000000
00520 /* Component layout */
00521 #define PFNC_SINGLE_COMPONENT                    0x01000000
00522 #define PFNC_MULTIPLE_COMPONENT                  0x02000000
00523 #define PFNC_COMPONENT_MASK                      0x7F000000
00524 /* Effective size */
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 /* Pixel ID */
00542 #define PFNC_PIXEL_ID_MASK                       0x0000FFFF
00543 /* Pixel format value dissection helpers */
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 /* Additional helpers */
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 /* PFNC_INCLUDE_HELPERS */
01063 
01064 
01065 #endif /* PFNC_H */


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:06