24# define PATHSEP_CHAR '\\'
26# define PATHSEP_CHAR '/'
90void logImageGetSize(
const LogImageFile *logImage,
int *width,
int *height,
int *depth);
92LogImageFile *
logImageCreate(
const char *filepath,
int width,
int height,
const char *creator);
96size_t getRowLength(
size_t width,
const LogImageElement *logElement);
109 return (
x >> 8) | (
x << 8);
117 return (
x >> 24) | ((
x << 8) & 0x00FF0000) | ((
x >> 8) & 0x0000FF00) | (
x << 24);
131 dat2.b[0] = dat1.b[3];
132 dat2.b[1] = dat1.b[2];
133 dat2.b[2] = dat1.b[1];
134 dat2.b[3] = dat1.b[0];
158 if (value > (1.0f - 0.5f /
float(
max))) {
161 return static_cast<unsigned int>((
float(
max) * value) + 0.5f);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
size_t getRowLength(size_t width, const LogImageElement *logElement)
BLI_INLINE float clamp_float(float x, float low, float high)
void logImageClose(LogImageFile *logImage)
int logImageIsCineon(const void *buffer, const uint size)
void logImageGetSize(const LogImageFile *logImage, int *width, int *height, int *depth)
BLI_INLINE unsigned int float_uint(float value, unsigned int max)
void logImageSetVerbose(int verbosity)
BLI_INLINE unsigned int swap_uint(unsigned int x, int swap)
LogImageFile * logImageOpenFromMemory(const uchar *buffer, uint size)
BMesh const char void * data
LogImageFile * logImageCreate(const char *filepath, int width, int height, const char *creator)
int logImageSetDataRGBA(LogImageFile *logImage, const float *data, int dataIsLinearRGB)
@ transfer_PrintingDensity
_W64 unsigned int uintptr_t
int logImageGetDataRGBA(LogImageFile *logImage, float *data, int dataIsLinearRGB)
BLI_INLINE float swap_float(float x, int swap)
BLI_INLINE unsigned short swap_ushort(unsigned short x, int swap)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
unsigned char * memCursor
LogImageElement element[8]
unsigned char * memBuffer