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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-10-24 21:12:28 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-10-24 21:12:28 +0400
commit3cbadbf895f4775290d626bed00e97f997b8a962 (patch)
tree6c7bf02b67120dd96074e0d80e137481b2c30d1c /source/blender/imbuf/CMakeLists.txt
parent8afc509be42c6422b1600d9dab133a8d5b025aad (diff)
MovieCache implementation
Implementation of cache for general movie-related areas such as sequencer and clip editor (in the future) Some changes in limiter were necessary: - Limiter counted mapped memory twice when was checking how many memory is used. - It was using "global" memory usage not memory usage by cached elements. It will cause big problems when there's large mesh or plenty of undo steps are in memory nothing would be cached in sequencer. - To solve this problem introduced "callback" to measure cached element size. It could be not very accurate in general, but it works well for image buffers. And if this callback isn't set old-school memory usage check would be used. - The whole cache used to get freed when memory limit exceeded, now it'll drop only as much elements as necessary to reduce memory usage. Seqcache is switched to use this new cache code.
Diffstat (limited to 'source/blender/imbuf/CMakeLists.txt')
-rw-r--r--source/blender/imbuf/CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/imbuf/CMakeLists.txt b/source/blender/imbuf/CMakeLists.txt
index a03d6ce280d..1b190ae96de 100644
--- a/source/blender/imbuf/CMakeLists.txt
+++ b/source/blender/imbuf/CMakeLists.txt
@@ -23,6 +23,11 @@
#
# ***** END GPL LICENSE BLOCK *****
+if(WITH_CODEC_FFMPEG)
+ # FFMPEG gives warnigns which are hard to avoid across multiple versions.
+ remove_strict_flags()
+endif()
+
set(INC
.
../avi
@@ -155,12 +160,6 @@ if(WITH_CODEC_FFMPEG)
${FFMPEG_INCLUDE_DIRS}
)
add_definitions(-DWITH_FFMPEG)
-
- remove_strict_flags_file(
- intern/indexer.c
- intern/util.c
- intern/anim_movie.c
- )
endif()
if(WITH_IMAGE_DDS)