24# define PATHSEP_CHAR '\\'
26# define PATHSEP_CHAR '/'
191 const char *creator);
208 return (x >> 8) | (x << 8);
218 return (x >> 24) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | (x << 24);
234 dat2.b[0] = dat1.b[3];
235 dat2.b[1] = dat1.b[2];
236 dat2.b[2] = dat1.b[1];
237 dat2.b[3] = dat1.b[0];
278 else if (value > (1.0f - 0.5f / (
float)max)) {
282 return (
unsigned int)(((
float)max * value) + 0.5f);
local_group_size(16, 16) .push_constant(Type b
draw_view in_light_buf[] float
BLI_INLINE float clamp_float(float x, float low, float high)
BLI_INLINE unsigned int clamp_uint(unsigned int x, unsigned int low, unsigned int high)
int logImageIsDpx(const void *buffer, unsigned int size)
LogImageFile * logImageOpenFromFile(const char *filepath, int cineon)
struct LogImageFile LogImageFile
void logImageSetVerbose(int verbosity)
int logImageSetDataRGBA(LogImageFile *logImage, const float *data, int dataIsLinearRGB)
struct LogImageElement LogImageElement
size_t getRowLength(size_t width, const LogImageElement *logElement)
@ descriptor_UserDefined3Elt
@ descriptor_UserDefined6Elt
@ descriptor_UserDefined5Elt
@ descriptor_UserDefined8Elt
@ descriptor_UserDefined4Elt
@ descriptor_UserDefined7Elt
@ descriptor_UserDefined2Elt
BLI_INLINE float swap_float(float x, int swap)
@ transfer_PrintingDensity
BLI_INLINE unsigned short swap_ushort(unsigned short x, int swap)
void logImageClose(LogImageFile *logImage)
LogImageFile * logImageOpenFromMemory(const unsigned char *buffer, unsigned int size)
LogImageFile * logImageCreate(const char *filepath, int cineon, int width, int height, int bitsPerSample, int isLogarithmic, int hasAlpha, int referenceWhite, int referenceBlack, float gamma, const char *creator)
BLI_INLINE unsigned int swap_uint(unsigned int x, int swap)
BLI_INLINE unsigned int float_uint(float value, unsigned int max)
int logImageGetDataRGBA(LogImageFile *logImage, float *data, int dataIsLinearRGB)
int logImageIsCineon(const void *buffer, unsigned int size)
void logImageGetSize(const LogImageFile *logImage, int *width, int *height, int *depth)
_W64 unsigned int uintptr_t
unsigned char * memBuffer
unsigned char * memCursor