Blender  V2.93
logmemfile.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * Copyright 2006 Joseph Eagar <joeedh@gmail.com>
17  */
18 
25 #pragma once
26 
27 #include "logImageCore.h"
28 
29 #include <stdlib.h>
30 
31 int logimage_fseek(LogImageFile *logFile, intptr_t offset, int origin);
32 int logimage_fwrite(void *buffer, size_t size, unsigned int count, LogImageFile *logFile);
33 int logimage_fread(void *buffer, size_t size, unsigned int count, LogImageFile *logFile);
34 int logimage_read_uchar(unsigned char *x, LogImageFile *logFile);
35 int logimage_read_ushort(unsigned short *x, LogImageFile *logFile);
36 int logimage_read_uint(unsigned int *x, LogImageFile *logFile);
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
Definition: btDbvt.cpp:52
int count
__kernel void ccl_constant KernelData ccl_global void ccl_global char ccl_global int ccl_global char ccl_global unsigned int ccl_global float * buffer
int logimage_read_ushort(unsigned short *x, LogImageFile *logFile)
Definition: logmemfile.c:107
int logimage_read_uchar(unsigned char *x, LogImageFile *logFile)
Definition: logmemfile.c:95
int logimage_fseek(LogImageFile *logFile, intptr_t offset, int origin)
Definition: logmemfile.c:32
int logimage_read_uint(unsigned int *x, LogImageFile *logFile)
Definition: logmemfile.c:119
int logimage_fread(void *buffer, size_t size, unsigned int count, LogImageFile *logFile)
Definition: logmemfile.c:72
int logimage_fwrite(void *buffer, size_t size, unsigned int count, LogImageFile *logFile)
Definition: logmemfile.c:62
_W64 int intptr_t
Definition: stdint.h:121