Changeset View
Changeset View
Standalone View
Standalone View
source/blender/imbuf/intern/colormanagement.c
| Show First 20 Lines • Show All 336 Lines • ▼ Show 20 Lines | static ImBuf *colormanage_cache_get_ibuf(ImBuf *ibuf, | ||||
| if (!moviecache) { | if (!moviecache) { | ||||
| /* If there's no moviecache it means no color management was applied | /* If there's no moviecache it means no color management was applied | ||||
| * on given image buffer before. */ | * on given image buffer before. */ | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| *cache_handle = NULL; | *cache_handle = NULL; | ||||
| cache_ibuf = IMB_moviecache_get(moviecache, key); | cache_ibuf = IMB_moviecache_get(moviecache, key, NULL); | ||||
| *cache_handle = cache_ibuf; | *cache_handle = cache_ibuf; | ||||
| return cache_ibuf; | return cache_ibuf; | ||||
| } | } | ||||
| static unsigned char *colormanage_cache_get( | static unsigned char *colormanage_cache_get( | ||||
| ImBuf *ibuf, | ImBuf *ibuf, | ||||
| ▲ Show 20 Lines • Show All 3,790 Lines • Show Last 20 Lines | |||||