Eneboo - Documentación para desarrolladores
|
00001 /* ************************************************************************** */ 00002 /* * For conditions of distribution and use, * */ 00003 /* * see copyright notice in libmng.h * */ 00004 /* ************************************************************************** */ 00005 /* * * */ 00006 /* * project : libmng * */ 00007 /* * file : libmng_pixels.h copyright (c) 2000 G.Juyn * */ 00008 /* * version : 1.0.1 * */ 00009 /* * * */ 00010 /* * purpose : Pixel-row management routines (definition) * */ 00011 /* * * */ 00012 /* * author : G.Juyn * */ 00013 /* * web : http://www.3-t.com * */ 00014 /* * email : mailto:info@3-t.com * */ 00015 /* * * */ 00016 /* * comment : Definition of the pixel-row management routines * */ 00017 /* * * */ 00018 /* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */ 00019 /* * - changed strict-ANSI stuff * */ 00020 /* * * */ 00021 /* * 0.5.2 - 05/22/2000 - G.Juyn * */ 00022 /* * - added some JNG definitions * */ 00023 /* * - added delta-image row-processing routines * */ 00024 /* * 0.5.2 - 06/05/2000 - G.Juyn * */ 00025 /* * - added support for RGB8_A8 canvasstyle * */ 00026 /* * * */ 00027 /* * 0.5.3 - 06/16/2000 - G.Juyn * */ 00028 /* * - changed progressive-display processing * */ 00029 /* * * */ 00030 /* * 0.9.2 - 08/05/2000 - G.Juyn * */ 00031 /* * - changed file-prefixes * */ 00032 /* * * */ 00033 /* * 0.9.3 - 08/26/2000 - G.Juyn * */ 00034 /* * - added MAGN support * */ 00035 /* * 0.9.3 - 09/07/2000 - G.Juyn * */ 00036 /* * - added support for new filter_types * */ 00037 /* * 0.9.3 - 10/16/2000 - G.Juyn * */ 00038 /* * - added optional support for bKGD for PNG images * */ 00039 /* * - added support for JDAA * */ 00040 /* * 0.9.3 - 10/19/2000 - G.Juyn * */ 00041 /* * - implemented delayed delta-processing * */ 00042 /* * * */ 00043 /* * 0.9.4 - 1/18/2001 - G.Juyn * */ 00044 /* * - added "new" MAGN methods 3, 4 & 5 * */ 00045 /* * * */ 00046 /* * 1.0.1 - 04/21/2001 - G.Juyn (code by G.Kelly) * */ 00047 /* * - added BGRA8 canvas with premultiplied alpha * */ 00048 /* * * */ 00049 /* ************************************************************************** */ 00050 00051 #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI) 00052 #pragma option -A /* force ANSI-C */ 00053 #endif 00054 00055 #ifndef _libmng_pixels_h_ 00056 #define _libmng_pixels_h_ 00057 00058 /* ************************************************************************** */ 00059 /* * * */ 00060 /* * Progressive display check - checks to see if progressive display is * */ 00061 /* * in order & indicates so * */ 00062 /* * * */ 00063 /* * The routine is called after a call to one of the display_xxx routines * */ 00064 /* * if appropriate * */ 00065 /* * * */ 00066 /* * The refresh is warrented in the read_chunk routine (mng_read.c) * */ 00067 /* * and only during read&display processing, since there's not much point * */ 00068 /* * doing it from memory! * */ 00069 /* * * */ 00070 /* ************************************************************************** */ 00071 00072 mng_retcode display_progressive_check (mng_datap pData); 00073 00074 /* ************************************************************************** */ 00075 /* * * */ 00076 /* * Display routines - convert rowdata (which is already color-corrected) * */ 00077 /* * to the output canvas, respecting any transparency information * */ 00078 /* * * */ 00079 /* ************************************************************************** */ 00080 00081 mng_retcode display_rgb8 (mng_datap pData); 00082 mng_retcode display_rgba8 (mng_datap pData); 00083 mng_retcode display_argb8 (mng_datap pData); 00084 mng_retcode display_rgb8_a8 (mng_datap pData); 00085 mng_retcode display_bgr8 (mng_datap pData); 00086 mng_retcode display_bgra8 (mng_datap pData); 00087 mng_retcode display_bgra8_pm (mng_datap pData); 00088 mng_retcode display_abgr8 (mng_datap pData); 00089 00090 /* ************************************************************************** */ 00091 /* * * */ 00092 /* * Background restore routines - restore the background with info from * */ 00093 /* * the BACK and/or bKGD chunk and/or the app's background canvas * */ 00094 /* * * */ 00095 /* ************************************************************************** */ 00096 00097 mng_retcode restore_bkgd_backimage (mng_datap pData); 00098 mng_retcode restore_bkgd_backcolor (mng_datap pData); 00099 mng_retcode restore_bkgd_bkgd (mng_datap pData); 00100 mng_retcode restore_bkgd_bgcolor (mng_datap pData); 00101 mng_retcode restore_bkgd_rgb8 (mng_datap pData); 00102 mng_retcode restore_bkgd_bgr8 (mng_datap pData); 00103 00104 /* ************************************************************************** */ 00105 /* * * */ 00106 /* * Row retrieval routines - retrieve processed & uncompressed row-data * */ 00107 /* * from the current "object" * */ 00108 /* * * */ 00109 /* ************************************************************************** */ 00110 00111 mng_retcode retrieve_g8 (mng_datap pData); 00112 mng_retcode retrieve_g16 (mng_datap pData); 00113 mng_retcode retrieve_rgb8 (mng_datap pData); 00114 mng_retcode retrieve_rgb16 (mng_datap pData); 00115 mng_retcode retrieve_idx8 (mng_datap pData); 00116 mng_retcode retrieve_ga8 (mng_datap pData); 00117 mng_retcode retrieve_ga16 (mng_datap pData); 00118 mng_retcode retrieve_rgba8 (mng_datap pData); 00119 mng_retcode retrieve_rgba16 (mng_datap pData); 00120 00121 /* ************************************************************************** */ 00122 /* * * */ 00123 /* * Row storage routines - store processed & uncompressed row-data * */ 00124 /* * into the current "object" * */ 00125 /* * * */ 00126 /* ************************************************************************** */ 00127 00128 mng_retcode store_g1 (mng_datap pData); 00129 mng_retcode store_g2 (mng_datap pData); 00130 mng_retcode store_g4 (mng_datap pData); 00131 mng_retcode store_g8 (mng_datap pData); 00132 mng_retcode store_g16 (mng_datap pData); 00133 mng_retcode store_rgb8 (mng_datap pData); 00134 mng_retcode store_rgb16 (mng_datap pData); 00135 mng_retcode store_idx1 (mng_datap pData); 00136 mng_retcode store_idx2 (mng_datap pData); 00137 mng_retcode store_idx4 (mng_datap pData); 00138 mng_retcode store_idx8 (mng_datap pData); 00139 mng_retcode store_ga8 (mng_datap pData); 00140 mng_retcode store_ga16 (mng_datap pData); 00141 mng_retcode store_rgba8 (mng_datap pData); 00142 mng_retcode store_rgba16 (mng_datap pData); 00143 00144 /* ************************************************************************** */ 00145 /* * * */ 00146 /* * Row storage routines (JPEG) - store processed & uncompressed row-data * */ 00147 /* * into the current "object" * */ 00148 /* * * */ 00149 /* ************************************************************************** */ 00150 00151 mng_retcode store_jpeg_g8 (mng_datap pData); 00152 mng_retcode store_jpeg_rgb8 (mng_datap pData); 00153 mng_retcode store_jpeg_ga8 (mng_datap pData); 00154 mng_retcode store_jpeg_rgba8 (mng_datap pData); 00155 00156 mng_retcode store_jpeg_g12 (mng_datap pData); 00157 mng_retcode store_jpeg_rgb12 (mng_datap pData); 00158 mng_retcode store_jpeg_ga12 (mng_datap pData); 00159 mng_retcode store_jpeg_rgba12 (mng_datap pData); 00160 00161 mng_retcode store_jpeg_g8_alpha (mng_datap pData); 00162 mng_retcode store_jpeg_rgb8_alpha (mng_datap pData); 00163 00164 mng_retcode store_jpeg_g8_a1 (mng_datap pData); 00165 mng_retcode store_jpeg_g8_a2 (mng_datap pData); 00166 mng_retcode store_jpeg_g8_a4 (mng_datap pData); 00167 mng_retcode store_jpeg_g8_a8 (mng_datap pData); 00168 mng_retcode store_jpeg_g8_a16 (mng_datap pData); 00169 00170 mng_retcode store_jpeg_rgb8_a1 (mng_datap pData); 00171 mng_retcode store_jpeg_rgb8_a2 (mng_datap pData); 00172 mng_retcode store_jpeg_rgb8_a4 (mng_datap pData); 00173 mng_retcode store_jpeg_rgb8_a8 (mng_datap pData); 00174 mng_retcode store_jpeg_rgb8_a16 (mng_datap pData); 00175 00176 mng_retcode store_jpeg_g12_a1 (mng_datap pData); 00177 mng_retcode store_jpeg_g12_a2 (mng_datap pData); 00178 mng_retcode store_jpeg_g12_a4 (mng_datap pData); 00179 mng_retcode store_jpeg_g12_a8 (mng_datap pData); 00180 mng_retcode store_jpeg_g12_a16 (mng_datap pData); 00181 00182 mng_retcode store_jpeg_rgb12_a1 (mng_datap pData); 00183 mng_retcode store_jpeg_rgb12_a2 (mng_datap pData); 00184 mng_retcode store_jpeg_rgb12_a4 (mng_datap pData); 00185 mng_retcode store_jpeg_rgb12_a8 (mng_datap pData); 00186 mng_retcode store_jpeg_rgb12_a16 (mng_datap pData); 00187 00188 /* ************************************************************************** */ 00189 /* * * */ 00190 /* * Delta-image row routines - apply the processed & uncompressed row-data * */ 00191 /* * onto the target "object" * */ 00192 /* * * */ 00193 /* ************************************************************************** */ 00194 00195 mng_retcode delta_g1 (mng_datap pData); 00196 mng_retcode delta_g2 (mng_datap pData); 00197 mng_retcode delta_g4 (mng_datap pData); 00198 mng_retcode delta_g8 (mng_datap pData); 00199 mng_retcode delta_g16 (mng_datap pData); 00200 mng_retcode delta_rgb8 (mng_datap pData); 00201 mng_retcode delta_rgb16 (mng_datap pData); 00202 mng_retcode delta_idx1 (mng_datap pData); 00203 mng_retcode delta_idx2 (mng_datap pData); 00204 mng_retcode delta_idx4 (mng_datap pData); 00205 mng_retcode delta_idx8 (mng_datap pData); 00206 mng_retcode delta_ga8 (mng_datap pData); 00207 mng_retcode delta_ga16 (mng_datap pData); 00208 mng_retcode delta_rgba8 (mng_datap pData); 00209 mng_retcode delta_rgba16 (mng_datap pData); 00210 00211 /* ************************************************************************** */ 00212 /* * * */ 00213 /* * Delta-image row routines - apply the source row onto the target * */ 00214 /* * * */ 00215 /* ************************************************************************** */ 00216 00217 mng_retcode delta_g1_g1 (mng_datap pData); 00218 mng_retcode delta_g2_g2 (mng_datap pData); 00219 mng_retcode delta_g4_g4 (mng_datap pData); 00220 mng_retcode delta_g8_g8 (mng_datap pData); 00221 mng_retcode delta_g16_g16 (mng_datap pData); 00222 mng_retcode delta_rgb8_rgb8 (mng_datap pData); 00223 mng_retcode delta_rgb16_rgb16 (mng_datap pData); 00224 mng_retcode delta_ga8_ga8 (mng_datap pData); 00225 mng_retcode delta_ga8_g8 (mng_datap pData); 00226 mng_retcode delta_ga8_a8 (mng_datap pData); 00227 mng_retcode delta_ga16_ga16 (mng_datap pData); 00228 mng_retcode delta_ga16_g16 (mng_datap pData); 00229 mng_retcode delta_ga16_a16 (mng_datap pData); 00230 mng_retcode delta_rgba8_rgba8 (mng_datap pData); 00231 mng_retcode delta_rgba8_rgb8 (mng_datap pData); 00232 mng_retcode delta_rgba8_a8 (mng_datap pData); 00233 mng_retcode delta_rgba16_rgba16 (mng_datap pData); 00234 mng_retcode delta_rgba16_rgb16 (mng_datap pData); 00235 mng_retcode delta_rgba16_a16 (mng_datap pData); 00236 00237 /* ************************************************************************** */ 00238 /* * * */ 00239 /* * Delta-image row routines - scale the source to bitdepth of target * */ 00240 /* * * */ 00241 /* ************************************************************************** */ 00242 00243 00244 00245 /* ************************************************************************** */ 00246 /* * * */ 00247 /* * Row processing routines - convert uncompressed data from zlib to * */ 00248 /* * managable row-data which serves as input to the color-management * */ 00249 /* * routines * */ 00250 /* * * */ 00251 /* ************************************************************************** */ 00252 00253 mng_retcode process_g1 (mng_datap pData); 00254 mng_retcode process_g2 (mng_datap pData); 00255 mng_retcode process_g4 (mng_datap pData); 00256 mng_retcode process_g8 (mng_datap pData); 00257 mng_retcode process_g16 (mng_datap pData); 00258 mng_retcode process_rgb8 (mng_datap pData); 00259 mng_retcode process_rgb16 (mng_datap pData); 00260 mng_retcode process_idx1 (mng_datap pData); 00261 mng_retcode process_idx2 (mng_datap pData); 00262 mng_retcode process_idx4 (mng_datap pData); 00263 mng_retcode process_idx8 (mng_datap pData); 00264 mng_retcode process_ga8 (mng_datap pData); 00265 mng_retcode process_ga16 (mng_datap pData); 00266 mng_retcode process_rgba8 (mng_datap pData); 00267 mng_retcode process_rgba16 (mng_datap pData); 00268 00269 /* ************************************************************************** */ 00270 /* * * */ 00271 /* * Row processing initialization routines - set up the variables needed * */ 00272 /* * to process uncompressed row-data * */ 00273 /* * * */ 00274 /* ************************************************************************** */ 00275 00276 mng_retcode init_g1_ni (mng_datap pData); 00277 mng_retcode init_g1_i (mng_datap pData); 00278 mng_retcode init_g2_ni (mng_datap pData); 00279 mng_retcode init_g2_i (mng_datap pData); 00280 mng_retcode init_g4_ni (mng_datap pData); 00281 mng_retcode init_g4_i (mng_datap pData); 00282 mng_retcode init_g8_ni (mng_datap pData); 00283 mng_retcode init_g8_i (mng_datap pData); 00284 mng_retcode init_g16_ni (mng_datap pData); 00285 mng_retcode init_g16_i (mng_datap pData); 00286 mng_retcode init_rgb8_ni (mng_datap pData); 00287 mng_retcode init_rgb8_i (mng_datap pData); 00288 mng_retcode init_rgb16_ni (mng_datap pData); 00289 mng_retcode init_rgb16_i (mng_datap pData); 00290 mng_retcode init_idx1_ni (mng_datap pData); 00291 mng_retcode init_idx1_i (mng_datap pData); 00292 mng_retcode init_idx2_ni (mng_datap pData); 00293 mng_retcode init_idx2_i (mng_datap pData); 00294 mng_retcode init_idx4_ni (mng_datap pData); 00295 mng_retcode init_idx4_i (mng_datap pData); 00296 mng_retcode init_idx8_ni (mng_datap pData); 00297 mng_retcode init_idx8_i (mng_datap pData); 00298 mng_retcode init_ga8_ni (mng_datap pData); 00299 mng_retcode init_ga8_i (mng_datap pData); 00300 mng_retcode init_ga16_ni (mng_datap pData); 00301 mng_retcode init_ga16_i (mng_datap pData); 00302 mng_retcode init_rgba8_ni (mng_datap pData); 00303 mng_retcode init_rgba8_i (mng_datap pData); 00304 mng_retcode init_rgba16_ni (mng_datap pData); 00305 mng_retcode init_rgba16_i (mng_datap pData); 00306 00307 /* ************************************************************************** */ 00308 /* * * */ 00309 /* * Row processing initialization routines (JPEG) - set up the variables * */ 00310 /* * needed to process uncompressed row-data * */ 00311 /* * * */ 00312 /* ************************************************************************** */ 00313 00314 mng_retcode init_jpeg_a1_ni (mng_datap pData); 00315 mng_retcode init_jpeg_a2_ni (mng_datap pData); 00316 mng_retcode init_jpeg_a4_ni (mng_datap pData); 00317 mng_retcode init_jpeg_a8_ni (mng_datap pData); 00318 mng_retcode init_jpeg_a16_ni (mng_datap pData); 00319 00320 /* ************************************************************************** */ 00321 /* * * */ 00322 /* * General row processing routines * */ 00323 /* * * */ 00324 /* ************************************************************************** */ 00325 00326 mng_retcode init_rowproc (mng_datap pData); 00327 mng_retcode next_row (mng_datap pData); 00328 mng_retcode next_jpeg_alpharow (mng_datap pData); 00329 mng_retcode next_jpeg_row (mng_datap pData); 00330 mng_retcode cleanup_rowproc (mng_datap pData); 00331 00332 /* ************************************************************************** */ 00333 /* * * */ 00334 /* * Magnification row routines - apply magnification transforms * */ 00335 /* * * */ 00336 /* ************************************************************************** */ 00337 00338 mng_retcode magnify_g8_x1 (mng_datap pData, 00339 mng_uint16 iMX, 00340 mng_uint16 iML, 00341 mng_uint16 iMR, 00342 mng_uint32 iWidth, 00343 mng_uint8p pSrcline, 00344 mng_uint8p pDstline); 00345 mng_retcode magnify_g8_x2 (mng_datap pData, 00346 mng_uint16 iMX, 00347 mng_uint16 iML, 00348 mng_uint16 iMR, 00349 mng_uint32 iWidth, 00350 mng_uint8p pSrcline, 00351 mng_uint8p pDstline); 00352 mng_retcode magnify_g8_x3 (mng_datap pData, 00353 mng_uint16 iMX, 00354 mng_uint16 iML, 00355 mng_uint16 iMR, 00356 mng_uint32 iWidth, 00357 mng_uint8p pSrcline, 00358 mng_uint8p pDstline); 00359 mng_retcode magnify_rgb8_x1 (mng_datap pData, 00360 mng_uint16 iMX, 00361 mng_uint16 iML, 00362 mng_uint16 iMR, 00363 mng_uint32 iWidth, 00364 mng_uint8p pSrcline, 00365 mng_uint8p pDstline); 00366 mng_retcode magnify_rgb8_x2 (mng_datap pData, 00367 mng_uint16 iMX, 00368 mng_uint16 iML, 00369 mng_uint16 iMR, 00370 mng_uint32 iWidth, 00371 mng_uint8p pSrcline, 00372 mng_uint8p pDstline); 00373 mng_retcode magnify_rgb8_x3 (mng_datap pData, 00374 mng_uint16 iMX, 00375 mng_uint16 iML, 00376 mng_uint16 iMR, 00377 mng_uint32 iWidth, 00378 mng_uint8p pSrcline, 00379 mng_uint8p pDstline); 00380 mng_retcode magnify_ga8_x1 (mng_datap pData, 00381 mng_uint16 iMX, 00382 mng_uint16 iML, 00383 mng_uint16 iMR, 00384 mng_uint32 iWidth, 00385 mng_uint8p pSrcline, 00386 mng_uint8p pDstline); 00387 mng_retcode magnify_ga8_x2 (mng_datap pData, 00388 mng_uint16 iMX, 00389 mng_uint16 iML, 00390 mng_uint16 iMR, 00391 mng_uint32 iWidth, 00392 mng_uint8p pSrcline, 00393 mng_uint8p pDstline); 00394 mng_retcode magnify_ga8_x3 (mng_datap pData, 00395 mng_uint16 iMX, 00396 mng_uint16 iML, 00397 mng_uint16 iMR, 00398 mng_uint32 iWidth, 00399 mng_uint8p pSrcline, 00400 mng_uint8p pDstline); 00401 mng_retcode magnify_ga8_x4 (mng_datap pData, 00402 mng_uint16 iMX, 00403 mng_uint16 iML, 00404 mng_uint16 iMR, 00405 mng_uint32 iWidth, 00406 mng_uint8p pSrcline, 00407 mng_uint8p pDstline); 00408 mng_retcode magnify_ga8_x5 (mng_datap pData, 00409 mng_uint16 iMX, 00410 mng_uint16 iML, 00411 mng_uint16 iMR, 00412 mng_uint32 iWidth, 00413 mng_uint8p pSrcline, 00414 mng_uint8p pDstline); 00415 mng_retcode magnify_rgba8_x1 (mng_datap pData, 00416 mng_uint16 iMX, 00417 mng_uint16 iML, 00418 mng_uint16 iMR, 00419 mng_uint32 iWidth, 00420 mng_uint8p pSrcline, 00421 mng_uint8p pDstline); 00422 mng_retcode magnify_rgba8_x2 (mng_datap pData, 00423 mng_uint16 iMX, 00424 mng_uint16 iML, 00425 mng_uint16 iMR, 00426 mng_uint32 iWidth, 00427 mng_uint8p pSrcline, 00428 mng_uint8p pDstline); 00429 mng_retcode magnify_rgba8_x3 (mng_datap pData, 00430 mng_uint16 iMX, 00431 mng_uint16 iML, 00432 mng_uint16 iMR, 00433 mng_uint32 iWidth, 00434 mng_uint8p pSrcline, 00435 mng_uint8p pDstline); 00436 mng_retcode magnify_rgba8_x4 (mng_datap pData, 00437 mng_uint16 iMX, 00438 mng_uint16 iML, 00439 mng_uint16 iMR, 00440 mng_uint32 iWidth, 00441 mng_uint8p pSrcline, 00442 mng_uint8p pDstline); 00443 mng_retcode magnify_rgba8_x5 (mng_datap pData, 00444 mng_uint16 iMX, 00445 mng_uint16 iML, 00446 mng_uint16 iMR, 00447 mng_uint32 iWidth, 00448 mng_uint8p pSrcline, 00449 mng_uint8p pDstline); 00450 00451 mng_retcode magnify_g8_y1 (mng_datap pData, 00452 mng_int32 iS, 00453 mng_int32 iM, 00454 mng_uint32 iWidth, 00455 mng_uint8p pSrcline1, 00456 mng_uint8p pSrcline2, 00457 mng_uint8p pDstline); 00458 mng_retcode magnify_g8_y2 (mng_datap pData, 00459 mng_int32 iS, 00460 mng_int32 iM, 00461 mng_uint32 iWidth, 00462 mng_uint8p pSrcline1, 00463 mng_uint8p pSrcline2, 00464 mng_uint8p pDstline); 00465 mng_retcode magnify_g8_y3 (mng_datap pData, 00466 mng_int32 iS, 00467 mng_int32 iM, 00468 mng_uint32 iWidth, 00469 mng_uint8p pSrcline1, 00470 mng_uint8p pSrcline2, 00471 mng_uint8p pDstline); 00472 mng_retcode magnify_rgb8_y1 (mng_datap pData, 00473 mng_int32 iS, 00474 mng_int32 iM, 00475 mng_uint32 iWidth, 00476 mng_uint8p pSrcline1, 00477 mng_uint8p pSrcline2, 00478 mng_uint8p pDstline); 00479 mng_retcode magnify_rgb8_y2 (mng_datap pData, 00480 mng_int32 iS, 00481 mng_int32 iM, 00482 mng_uint32 iWidth, 00483 mng_uint8p pSrcline1, 00484 mng_uint8p pSrcline2, 00485 mng_uint8p pDstline); 00486 mng_retcode magnify_rgb8_y3 (mng_datap pData, 00487 mng_int32 iS, 00488 mng_int32 iM, 00489 mng_uint32 iWidth, 00490 mng_uint8p pSrcline1, 00491 mng_uint8p pSrcline2, 00492 mng_uint8p pDstline); 00493 mng_retcode magnify_ga8_y1 (mng_datap pData, 00494 mng_int32 iS, 00495 mng_int32 iM, 00496 mng_uint32 iWidth, 00497 mng_uint8p pSrcline1, 00498 mng_uint8p pSrcline2, 00499 mng_uint8p pDstline); 00500 mng_retcode magnify_ga8_y2 (mng_datap pData, 00501 mng_int32 iS, 00502 mng_int32 iM, 00503 mng_uint32 iWidth, 00504 mng_uint8p pSrcline1, 00505 mng_uint8p pSrcline2, 00506 mng_uint8p pDstline); 00507 mng_retcode magnify_ga8_y3 (mng_datap pData, 00508 mng_int32 iS, 00509 mng_int32 iM, 00510 mng_uint32 iWidth, 00511 mng_uint8p pSrcline1, 00512 mng_uint8p pSrcline2, 00513 mng_uint8p pDstline); 00514 mng_retcode magnify_ga8_y4 (mng_datap pData, 00515 mng_int32 iS, 00516 mng_int32 iM, 00517 mng_uint32 iWidth, 00518 mng_uint8p pSrcline1, 00519 mng_uint8p pSrcline2, 00520 mng_uint8p pDstline); 00521 mng_retcode magnify_ga8_y5 (mng_datap pData, 00522 mng_int32 iS, 00523 mng_int32 iM, 00524 mng_uint32 iWidth, 00525 mng_uint8p pSrcline1, 00526 mng_uint8p pSrcline2, 00527 mng_uint8p pDstline); 00528 mng_retcode magnify_rgba8_y1 (mng_datap pData, 00529 mng_int32 iS, 00530 mng_int32 iM, 00531 mng_uint32 iWidth, 00532 mng_uint8p pSrcline1, 00533 mng_uint8p pSrcline2, 00534 mng_uint8p pDstline); 00535 mng_retcode magnify_rgba8_y2 (mng_datap pData, 00536 mng_int32 iS, 00537 mng_int32 iM, 00538 mng_uint32 iWidth, 00539 mng_uint8p pSrcline1, 00540 mng_uint8p pSrcline2, 00541 mng_uint8p pDstline); 00542 mng_retcode magnify_rgba8_y3 (mng_datap pData, 00543 mng_int32 iS, 00544 mng_int32 iM, 00545 mng_uint32 iWidth, 00546 mng_uint8p pSrcline1, 00547 mng_uint8p pSrcline2, 00548 mng_uint8p pDstline); 00549 mng_retcode magnify_rgba8_y4 (mng_datap pData, 00550 mng_int32 iS, 00551 mng_int32 iM, 00552 mng_uint32 iWidth, 00553 mng_uint8p pSrcline1, 00554 mng_uint8p pSrcline2, 00555 mng_uint8p pDstline); 00556 mng_retcode magnify_rgba8_y5 (mng_datap pData, 00557 mng_int32 iS, 00558 mng_int32 iM, 00559 mng_uint32 iWidth, 00560 mng_uint8p pSrcline1, 00561 mng_uint8p pSrcline2, 00562 mng_uint8p pDstline); 00563 00564 /* ************************************************************************** */ 00565 00566 #endif /* _libmng_pixels_h_ */ 00567 00568 /* ************************************************************************** */ 00569 /* * end of file * */ 00570 /* ************************************************************************** */