From 7cc206ddca5fd240f87210d6dfb311c81ca4ac65 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 29 Feb 2012 15:00:37 +0000 Subject: Code Cleanup: remove non existing function declarations. added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count --- source/blender/imbuf/intern/IMB_allocimbuf.h | 6 ------ source/blender/imbuf/intern/IMB_filetype.h | 1 - source/blender/imbuf/intern/cineon/cineonlib.h | 4 ---- source/blender/imbuf/intern/cineon/logImageLib.h | 6 +----- 4 files changed, 1 insertion(+), 16 deletions(-) (limited to 'source/blender/imbuf/intern') diff --git a/source/blender/imbuf/intern/IMB_allocimbuf.h b/source/blender/imbuf/intern/IMB_allocimbuf.h index 52b3bc1f11a..27be9ea1cab 100644 --- a/source/blender/imbuf/intern/IMB_allocimbuf.h +++ b/source/blender/imbuf/intern/IMB_allocimbuf.h @@ -38,14 +38,8 @@ struct ImBuf; -short imb_addplanesImBuf(struct ImBuf *ibuf); - short imb_addencodedbufferImBuf(struct ImBuf *ibuf); short imb_enlargeencodedbufferImBuf(struct ImBuf *ibuf); -void imb_freeplanesImBuf(struct ImBuf *ibuf); - -short imb_addcmapImBuf(struct ImBuf *ibuf); - #endif diff --git a/source/blender/imbuf/intern/IMB_filetype.h b/source/blender/imbuf/intern/IMB_filetype.h index 83267ed323d..74d0a92f26b 100644 --- a/source/blender/imbuf/intern/IMB_filetype.h +++ b/source/blender/imbuf/intern/IMB_filetype.h @@ -117,7 +117,6 @@ struct ImBuf *imb_loadtiff(unsigned char *mem, size_t size, int flags); void imb_loadtiletiff(struct ImBuf *ibuf, unsigned char *mem, size_t size, int tx, int ty, unsigned int *rect); int imb_savetiff(struct ImBuf *ibuf, const char *name, int flags); -void *libtiff_findsymbol(char *name); #endif /* __IMB_FILETYPE_H__ */ diff --git a/source/blender/imbuf/intern/cineon/cineonlib.h b/source/blender/imbuf/intern/cineon/cineonlib.h index b1ad0532e25..48b5a001b9a 100644 --- a/source/blender/imbuf/intern/cineon/cineonlib.h +++ b/source/blender/imbuf/intern/cineon/cineonlib.h @@ -49,10 +49,6 @@ int cineonGetSize(const CineonFile* cineon, int* xsize, int* ysize, int* channel CineonFile* cineonCreate(const char* filename, int xsize, int ysize, int channels); int cineonIsMemFileCineon(unsigned char *mem); -/* get / set header block NYI */ -int cineonGetHeader(CineonFile*, int*, void**); -int cineonSetHeader(CineonFile*, int, void*); - /* get/set scanline of converted bytes */ int cineonGetRowBytes(CineonFile* cineon, unsigned short* row, int y); int cineonSetRowBytes(CineonFile* cineon, const unsigned short* row, int y); diff --git a/source/blender/imbuf/intern/cineon/logImageLib.h b/source/blender/imbuf/intern/cineon/logImageLib.h index 72448ed962b..6e72dd495e6 100644 --- a/source/blender/imbuf/intern/cineon/logImageLib.h +++ b/source/blender/imbuf/intern/cineon/logImageLib.h @@ -60,11 +60,7 @@ void logImageSetVerbose(int); LogImageFile* logImageOpenFromMem(unsigned char *buffer, unsigned int size, int cineon); LogImageFile* logImageOpen(const char* filename, int cineon); int logImageGetSize(const LogImageFile* logImage, int* xsize, int* ysize, int* channels); -LogImageFile* logImageCreate(const char* filename, int cineon, int xsize, int ysize, int channels); - -/* get / set header block NYI */ -int logImageGetHeader(LogImageFile*, int*, void**); -int logImageSetHeader(LogImageFile*, int, void*); +LogImageFile* logImageCreate(const char* filename, int cineon, int xsize, int ysize, int channels);interpolateOnTriangle /* byte conversion routines for mapping logImage (usually) 10 bit values to 8 bit */ /* see Kodak docs for details... */ -- cgit v1.2.3