Equalizer
1.4.1
|
00001 00002 /* Copyright (c) 2009-2010, Cedric Stalder <cedric.stalder@gmail.com> 00003 * 2009-2010, Stefan Eilemann <eile@equalizergraphics.com> 00004 * 00005 * This library is free software; you can redistribute it and/or modify it under 00006 * the terms of the GNU Lesser General Public License version 2.1 as published 00007 * by the Free Software Foundation. 00008 * 00009 * This library is distributed in the hope that it will be useful, but WITHOUT 00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00012 * details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public License 00015 * along with this library; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef EQ_PLUGINS_COMPRESSOR_TYPES 00020 #define EQ_PLUGINS_COMPRESSOR_TYPES 00021 00038 // Equalizer CPU compressors 00040 #define EQ_COMPRESSOR_INVALID 0x0u 00041 00042 #define EQ_COMPRESSOR_NONE 0x1u 00043 00044 #define EQ_COMPRESSOR_RLE_UNSIGNED 0x2u 00045 00046 #define EQ_COMPRESSOR_RLE_BYTE 0x3u 00047 00048 #define EQ_COMPRESSOR_RLE_3_BYTE 0x4u 00049 00050 #define EQ_COMPRESSOR_RLE_4_BYTE 0x5u 00051 00052 #define EQ_COMPRESSOR_RLE_4_FLOAT 0x6u 00053 00054 #define EQ_COMPRESSOR_RLE_4_HALF_FLOAT 0x7u 00055 00056 #define EQ_COMPRESSOR_DIFF_RLE_3_BYTE 0x8u 00057 00058 #define EQ_COMPRESSOR_DIFF_RLE_4_BYTE 0x9u 00059 00060 #define EQ_COMPRESSOR_RLE_4_BYTE_UNSIGNED 0xau 00061 00062 #define EQ_COMPRESSOR_RLE_DIFF_565 0xbu 00063 00064 #define EQ_COMPRESSOR_RLE_DIFF_BGR10_A2 0xcu 00065 00066 #define EQ_COMPRESSOR_RLE_DIFF_4_HALF_FLOAT 0xdu 00067 00068 #define EQ_COMPRESSOR_RLE_DIFF_YUVA_50P 0xeu 00069 00070 #define EQ_COMPRESSOR_RLE_YUVA_50P 0xfu 00071 00073 #define EQ_COMPRESSOR_RLE_DIFF_RGBA 0x10u 00074 00075 #define EQ_COMPRESSOR_RLE_DIFF_BGRA 0x11u 00076 00077 #define EQ_COMPRESSOR_RLE_DIFF_RGBA_UINT_8_8_8_8_REV 0x12u 00078 00079 #define EQ_COMPRESSOR_RLE_DIFF_BGRA_UINT_8_8_8_8_REV 0x13u 00080 00081 #define EQ_COMPRESSOR_RLE_DIFF_DEPTH_UNSIGNED_INT 0x16u 00082 00083 #define EQ_COMPRESSOR_RLE_RGBA16F 0x17u 00084 00085 #define EQ_COMPRESSOR_RLE_BGRA16F 0x18u 00086 00087 #define EQ_COMPRESSOR_RLE_DIFF_RGBA16F 0x19u 00088 00089 #define EQ_COMPRESSOR_RLE_DIFF_BGRA16F 0x1au 00090 00091 #define EQ_COMPRESSOR_RLE_DIFF_565_RGBA 0x1bu 00092 00093 #define EQ_COMPRESSOR_RLE_DIFF_565_BGRA 0x1cu 00094 00095 #define EQ_COMPRESSOR_RLE_DIFF_565_RGBA_UINT_8_8_8_8_REV 0x1du 00096 00097 #define EQ_COMPRESSOR_RLE_DIFF_565_BGRA_UINT_8_8_8_8_REV 0x1eu 00098 00099 #define EQ_COMPRESSOR_RLE_RGBA 0x21u 00100 00101 #define EQ_COMPRESSOR_RLE_BGRA 0x22u 00102 00103 #define EQ_COMPRESSOR_RLE_RGBA_UINT_8_8_8_8_REV 0x23u 00104 00105 #define EQ_COMPRESSOR_RLE_BGRA_UINT_8_8_8_8_REV 0x24u 00106 00107 #define EQ_COMPRESSOR_RLE_RGB10_A2 0x25u 00108 00109 #define EQ_COMPRESSOR_RLE_BGR10_A2 0x26u 00110 00111 #define EQ_COMPRESSOR_RLE_DEPTH_UNSIGNED_INT 0x27u 00112 00113 #define EQ_COMPRESSOR_RLE_DIFF_UNSIGNED 0x28u 00114 00115 // Equalizer GPU<->CPU transfer plugins 00116 /* Transfer data from internal RGBA to external RGBA format with a data type 00117 UNSIGNED_BYTE */ 00118 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_RGBA 0x100u 00119 /* Transfer data from internal RGBA to external BGRA format with a data type 00120 UNSIGNED_BYTE */ 00121 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_BGRA 0x101u 00122 /* Transfer data from internal RGBA to external RGBA format with a data type 00123 UNSIGNED_INT_8_8_8_8_REV */ 00124 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_RGBA_UINT_8_8_8_8_REV 0x102u 00125 /* Transfer data from internal RGBA to external BGRA format with a data type 00126 UNSIGNED_INT_8_8_8_8_REV */ 00127 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_BGRA_UINT_8_8_8_8_REV 0x103u 00128 /* Transfer data from internal RGBA to external RGB format with a data type 00129 UNSIGNED_BYTE */ 00130 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_RGB 0x104u 00131 /* Transfer data from internal RGBA to external BGR format with a data type 00132 UNSIGNED_BYTE */ 00133 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_BGR 0x105u 00134 /* Transfer data from internal RGBA32F to external YUVA format */ 00135 #define EQ_COMPRESSOR_TRANSFER_RGBA_TO_YUVA_50P 0x106u 00136 00137 /* Transfer data from internal RGB10_A2 to external BGR10_A2 format */ 00138 #define EQ_COMPRESSOR_TRANSFER_RGB10_A2_TO_BGR10_A2 0x200u 00139 /* Transfer data from internal RGB10_A2 to external RGB10_A2 format */ 00140 #define EQ_COMPRESSOR_TRANSFER_RGB10_A2_TO_RGB10_A2 0x201u 00141 00142 /* Transfer data from internal RGBA16F to external RGBA format with a data type 00143 half float */ 00144 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_RGBA16F 0x300u 00145 /* Transfer data from internal RGBA16F to external BGRA format with a data type 00146 half float */ 00147 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_BGRA16F 0x301u 00148 /* Transfer data from internal RGBA16F to external RGB format with a data type 00149 half float */ 00150 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_RGB16F 0x302u 00151 /* Transfer data from internal RGBA16F to external BGR format with a data type 00152 half float */ 00153 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_BGR16F 0x303u 00154 /* Transfer data from internal RGBA to external RGB format with a data type 00155 UNSIGNED_BYTE */ 00156 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_RGB 0x304u 00157 /* Transfer data from internal RGBA to external BGR format with a data type 00158 UNSIGNED_BYTE */ 00159 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_BGR 0x305u 00160 /* Transfer data from internal RGBA to external RGB format with a data type 00161 UNSIGNED_BYTE */ 00162 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_RGBA 0x306u 00163 /* Transfer data from internal RGBA to external BGR format with a data type 00164 UNSIGNED_BYTE */ 00165 #define EQ_COMPRESSOR_TRANSFER_RGBA16F_TO_BGRA 0x307u 00166 00167 /* Transfer data from internal RGBA32F to external RGBA format with a data type 00168 float */ 00169 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_RGBA32F 0x400u 00170 /* Transfer data from internal RGBA32F to external BGRA format with a data type 00171 float */ 00172 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_BGRA32F 0x401u 00173 /* Transfer data from internal RGBA32F to external BGRA format with a data type 00174 UNSIGNED_BYTE */ 00175 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_BGRA 0x402u 00176 /* Transfer data from internal RGBA32F to external RGBA format with a data type 00177 UNSIGNED_BYTE */ 00178 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_RGBA 0x403u 00179 /* Transfer data from internal RGBA32F to external BGRA format with a data type 00180 half float */ 00181 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_BGRA16F 0x404u 00182 /* Transfer data from internal RGBA32F to external RGBA format with a data type 00183 half float */ 00184 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_RGBA16F 0x405u 00185 /* Transfer data from internal RGBA32F to external RGB format with a data type 00186 float */ 00187 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_RGB32F 0x406u 00188 /* Transfer data from internal RGBA32F to external BGR format with a data type 00189 float */ 00190 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_BGR32F 0x407u 00191 /* Transfer data from internal RGBA32F to external RGB format with a data type 00192 UNSIGNED_BYTE */ 00193 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_RGB 0x408u 00194 /* Transfer data from internal RGBA32F to external BGR format with a data type 00195 UNSIGNED_BYTE */ 00196 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_BGR 0x409u 00197 /* Transfer data from internal RGBA32F to external BGR format with a data type 00198 half float */ 00199 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_BGR16F 0x40au 00200 /* Transfer data from internal RGBA32F to external RGB format with a data type 00201 half float */ 00202 #define EQ_COMPRESSOR_TRANSFER_RGBA32F_TO_RGB16F 0x40bu 00203 00204 /* Transfer data from internal DEPTH to external DEPTH_STENCIL */ 00205 #define EQ_COMPRESSOR_TRANSFER_DEPTH_TO_DEPTH_UNSIGNED_INT 0x501u 00206 00208 #define EQ_COMPRESSOR_AUTO 0xFFFFFu 00209 00210 // Third-party plugins 00212 #define EQ_COMPRESSOR_AG_RTT_JPEG_HQ 0x100000u 00213 00214 #define EQ_COMPRESSOR_AG_RTT_JPEG_MQ 0x100001u 00215 00216 #define EQ_COMPRESSOR_AG_RTT_JPEG_LQ 0x100002u 00217 00218 #define EQ_COMPRESSOR_AG_RTT_JPEG_HQ_A 0x100003u 00219 00220 #define EQ_COMPRESSOR_AG_RTT_JPEG_MQ_A 0x100004u 00221 00222 #define EQ_COMPRESSOR_AG_RTT_JPEG_LQ_A 0x100005u 00223 00225 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_RGBA100 0x200000u 00226 00227 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_RGBA90 0x200001u 00228 00229 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_RGBA80 0x200002u 00230 00231 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_BGRA100 0x200003u 00232 00233 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_BGRA90 0x200004u 00234 00235 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_BGRA80 0x200005u 00236 00237 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_RGB100 0x200006u 00238 00239 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_RGB90 0x200007u 00240 00241 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_RGB80 0x200008u 00242 00243 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_BGR100 0x200009u 00244 00245 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_BGR90 0x20000au 00246 00247 #define EQ_COMPRESSOR_CH_EYESCALE_JPEG_BGR80 0x20000bu 00248 00256 #define EQ_COMPRESSOR_PRIVATE 0xefffffffu 00257 00259 #endif // EQ_PLUGINS_COMPRESSOR_TYPES