Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-05-16 17:34:42 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-05-16 17:34:42 +0400
commitb434e7f93337f65909c003ce865cc34f167c3973 (patch)
treec885976de6299b980ea2947d62d419532367562f /source/blender/imbuf
parent37e95c525dcbd78fa1ec981a4f9b6880f9375f79 (diff)
LCMS code removed, was an experiment but never finished.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/CMakeLists.txt4
-rw-r--r--source/blender/imbuf/IMB_imbuf_types.h5
-rw-r--r--source/blender/imbuf/SConscript3
-rw-r--r--source/blender/imbuf/intern/allocimbuf.c6
4 files changed, 0 insertions, 18 deletions
diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt
index 24f04098d0c..6404ae3de75 100644
--- a/source/blender/imbuf/CMakeLists.txt
+++ b/source/blender/imbuf/CMakeLists.txt
@@ -146,8 +146,4 @@ if(WITH_IMAGE_HDR)
add_definitions(-DWITH_HDR)
endif()
-if(WITH_LCMS)
- add_definitions(-DWITH_LCMS)
-endif()
-
blender_add_lib(bf_imbuf "${SRC}" "${INC}")
diff --git a/source/blender/imbuf/IMB_imbuf_types.h b/source/blender/imbuf/IMB_imbuf_types.h
index 5717a92db54..f5e2bf71468 100644
--- a/source/blender/imbuf/IMB_imbuf_types.h
+++ b/source/blender/imbuf/IMB_imbuf_types.h
@@ -88,11 +88,6 @@ typedef struct ImBuf {
Linear RGB color space - may need gamma correction to
sRGB when generating 8bit representations */
-#ifdef WITH_LCMS
- unsigned int *crect; /* color corrected pixel values stored here */
- char profile_filename[256]; /* to be implemented properly, specific filename for custom profiles */
-#endif
-
/* resolution - pixels per meter */
double ppm[2];
diff --git a/source/blender/imbuf/SConscript b/source/blender/imbuf/SConscript
index 59b938c3373..ecb9a89c274 100644
--- a/source/blender/imbuf/SConscript
+++ b/source/blender/imbuf/SConscript
@@ -48,7 +48,4 @@ if env['WITH_BF_QUICKTIME']:
incs += ' ../quicktime ' + env['BF_QUICKTIME_INC']
defs.append('WITH_QUICKTIME')
-if env['WITH_BF_LCMS']:
- defs.append('WITH_LCMS')
-
env.BlenderLib ( libname = 'bf_imbuf', sources = sources, includes = Split(incs), defines = defs, libtype=['core','player'], priority = [185,115] )
diff --git a/source/blender/imbuf/intern/allocimbuf.c b/source/blender/imbuf/intern/allocimbuf.c
index 91583f02a49..59772771f3b 100644
--- a/source/blender/imbuf/intern/allocimbuf.c
+++ b/source/blender/imbuf/intern/allocimbuf.c
@@ -85,12 +85,6 @@ void imb_freerectImBuf(ImBuf *ibuf)
{
if(ibuf==NULL) return;
-#ifdef WITH_LCMS
- if(ibuf->crect)
- MEM_freeN(ibuf->crect);
- ibuf->crect= NULL;
-#endif
-
if(ibuf->rect && (ibuf->mall & IB_rect))
MEM_freeN(ibuf->rect);
ibuf->rect= NULL;