LEFT | RIGHT |
1 /* | 1 /* |
2 * $Id$· | 2 * $Id$· |
3 * | 3 * |
4 * ***** BEGIN GPL LICENSE BLOCK ***** | 4 * ***** BEGIN GPL LICENSE BLOCK ***** |
5 * | 5 * |
6 * This program is free software; you can redistribute it and/or | 6 * This program is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU General Public License | 7 * modify it under the terms of the GNU General Public License |
8 * as published by the Free Software Foundation; either version 2 | 8 * as published by the Free Software Foundation; either version 2 |
9 * of the License, or (at your option) any later version. | 9 * of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 */ | 314 */ |
315 int imb_get_anim_type(const char *name); | 315 int imb_get_anim_type(const char *name); |
316 | 316 |
317 /** | 317 /** |
318 * | 318 * |
319 * @attention Defined in divers.c | 319 * @attention Defined in divers.c |
320 */ | 320 */ |
321 void IMB_de_interlace(struct ImBuf *ibuf); | 321 void IMB_de_interlace(struct ImBuf *ibuf); |
322 void IMB_interlace(struct ImBuf *ibuf); | 322 void IMB_interlace(struct ImBuf *ibuf); |
323 | 323 |
324 /*create char buffer, color corrected if necessary, for ImBufs that lack one*/· | 324 /* create char buffer, color corrected if necessary, for ImBufs that lack one */
· |
325 void IMB_rect_from_float(struct ImBuf *ibuf); | 325 void IMB_rect_from_float(struct ImBuf *ibuf); |
326 /*create char buffer for part of the image, color corrected if necessary, | 326 /* create char buffer for part of the image, color corrected if necessary, |
327 Changed part will be stored in buffer. This is expected to bu used for texure pa
inting updates*/· | 327 Changed part will be stored in buffer. This is expected to be used for textur
e painting updates */· |
328 void IMB_partial_rect_from_float(struct ImBuf *ibuf, float *buffer, int x, int y
, int w, int h); | 328 void IMB_partial_rect_from_float(struct ImBuf *ibuf, float *buffer, int x, int y
, int w, int h); |
329 /*Create a new float buffer containing color corrected colors from an Imbuf*/ | |
330 void IMB_float_color_corrected_from_float_rect(struct ImBuf *ibuf, float *buffer
); | |
331 void IMB_float_from_rect(struct ImBuf *ibuf); | 329 void IMB_float_from_rect(struct ImBuf *ibuf); |
332 void IMB_float_from_rect_simple(struct ImBuf *ibuf); /* no profile conversion */ | 330 void IMB_float_from_rect_simple(struct ImBuf *ibuf); /* no profile conversion */ |
333 /* note, check that the conversion exists, only some are supported */ | 331 /* note, check that the conversion exists, only some are supported */ |
334 void IMB_convert_profile(struct ImBuf *ibuf, int profile); | 332 void IMB_convert_profile(struct ImBuf *ibuf, int profile); |
335 float *IMB_float_profile_ensure(struct ImBuf *ibuf, int profile, int *alloc); | 333 float *IMB_float_profile_ensure(struct ImBuf *ibuf, int profile, int *alloc); |
336 | 334 |
337 /** | 335 /** |
338 * Change the ordering of the color bytes pointed to by rect from | 336 * Change the ordering of the color bytes pointed to by rect from |
339 * rgba to abgr. size * 4 color bytes are reordered. | 337 * rgba to abgr. size * 4 color bytes are reordered. |
340 * | 338 * |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 | 450 |
453 short imb_addrectfloatImBuf(struct ImBuf *ibuf); | 451 short imb_addrectfloatImBuf(struct ImBuf *ibuf); |
454 void imb_freerectfloatImBuf(struct ImBuf *ibuf); | 452 void imb_freerectfloatImBuf(struct ImBuf *ibuf); |
455 void imb_freemipmapImBuf(struct ImBuf *ibuf); | 453 void imb_freemipmapImBuf(struct ImBuf *ibuf); |
456 | 454 |
457 short imb_addtilesImBuf(struct ImBuf *ibuf); | 455 short imb_addtilesImBuf(struct ImBuf *ibuf); |
458 void imb_freetilesImBuf(struct ImBuf *ibuf); | 456 void imb_freetilesImBuf(struct ImBuf *ibuf); |
459 | 457 |
460 #endif | 458 #endif |
461 | 459 |
LEFT | RIGHT |