Blender
V3.3
|
#include "logImageCore.h"
#include <math.h>
#include <stdio.h>
#include <string.h>
#include "IMB_filetype.h"
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
#include "IMB_colormanagement.h"
#include "IMB_colormanagement_intern.h"
#include "BKE_global.h"
#include "MEM_guardedalloc.h"
Go to the source code of this file.
Functions | |
static struct ImBuf * | imb_load_dpx_cineon (const unsigned char *mem, size_t size, int use_cineon, int flags, char colorspace[IM_MAX_SPACE]) |
static int | imb_save_dpx_cineon (ImBuf *ibuf, const char *filepath, int use_cineon, int flags) |
bool | imb_save_cineon (struct ImBuf *buf, const char *filepath, int flags) |
bool | imb_is_a_cineon (const unsigned char *buf, size_t size) |
ImBuf * | imb_load_cineon (const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE]) |
bool | imb_save_dpx (struct ImBuf *buf, const char *filepath, int flags) |
bool | imb_is_a_dpx (const unsigned char *buf, size_t size) |
ImBuf * | imb_load_dpx (const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE]) |
bool imb_is_a_cineon | ( | const unsigned char * | buf, |
size_t | size | ||
) |
Definition at line 176 of file cineon_dpx.c.
References logImageIsCineon(), and size().
Referenced by imb_load_cineon().
bool imb_is_a_dpx | ( | const unsigned char * | buf, |
size_t | size | ||
) |
Definition at line 197 of file cineon_dpx.c.
References logImageIsDpx(), and size().
Referenced by imb_load_dpx().
ImBuf* imb_load_cineon | ( | const unsigned char * | mem, |
size_t | size, | ||
int | flags, | ||
char | colorspace[IM_MAX_SPACE] | ||
) |
Definition at line 181 of file cineon_dpx.c.
References ImBuf::flags, imb_is_a_cineon(), imb_load_dpx_cineon(), NULL, and size().
ImBuf* imb_load_dpx | ( | const unsigned char * | mem, |
size_t | size, | ||
int | flags, | ||
char | colorspace[IM_MAX_SPACE] | ||
) |
Definition at line 202 of file cineon_dpx.c.
References ImBuf::flags, imb_is_a_dpx(), imb_load_dpx_cineon(), NULL, and size().
|
static |
Definition at line 24 of file cineon_dpx.c.
References COLOR_ROLE_DEFAULT_FLOAT, colorspace_set_default_role(), ImBuf::flags, ImBuf::ftype, G, G_DEBUG, height, IB_alphamode_detect, IB_alphamode_premul, IB_rectfloat, IB_test, IM_MAX_SPACE, image(), IMB_allocImBuf(), IMB_flipy(), IMB_freeImBuf(), logImageClose(), logImageGetDataRGBA(), logImageGetSize(), logImageOpenFromMemory(), logImageSetVerbose(), NULL, ImBuf::rect_float, size(), and width.
Referenced by imb_load_cineon(), and imb_load_dpx().
Definition at line 171 of file cineon_dpx.c.
References ImBuf::flags, and imb_save_dpx_cineon().
Definition at line 192 of file cineon_dpx.c.
References ImBuf::flags, and imb_save_dpx_cineon().
|
static |
Definition at line 72 of file cineon_dpx.c.
References ImbFormatOptions::flag, ImBuf::flags, float(), ImBuf::foptions, G, G_DEBUG, IB_mem, IMB_rect_from_float(), logImageClose(), logImageCreate(), logImageSetDataRGBA(), logImageSetVerbose(), MEM_freeN, MEM_mallocN, NULL, ImBuf::planes, ImBuf::rect, ImBuf::rect_float, x, ImBuf::x, y, and ImBuf::y.
Referenced by imb_save_cineon(), and imb_save_dpx().