diff options
author | Fox Caminiti <fox@foxcam.net> | 2022-08-01 20:03:12 -0400 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2022-08-01 20:04:43 -0400 |
commit | b26f27d9e3fd44ec5775accdc3666a339684be4c (patch) | |
tree | e5c7b8b48f5597904190529f90d71a8526ca9800 /caching.cpp | |
parent | 7d3dcee5b370c05065eb409ad5c21d0bc64790b1 (diff) |
large changes to bitmap structure
Diffstat (limited to 'caching.cpp')
-rw-r--r-- | caching.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/caching.cpp b/caching.cpp index d84377a..c35189e 100644 --- a/caching.cpp +++ b/caching.cpp @@ -1,5 +1,6 @@ -internal void +#if 0 +static void CacheFrame(cache *Cache, pixel_buffer *CompBuffer) { @@ -33,7 +34,7 @@ CacheFrame(cache *Cache, pixel_buffer *CompBuffer) } } -internal void +static void FetchCache(cache *Cache, pixel_buffer *CompBuffer) { @@ -67,7 +68,7 @@ FetchCache(cache *Cache, pixel_buffer *CompBuffer) } } -internal void +static void InteractToComp(pixel_buffer *CompBuffer, cache_pool *Cache) { int MinX = 0; @@ -114,15 +115,14 @@ InteractToComp(pixel_buffer *CompBuffer, cache_pool *Cache) } } -internal void +static void UncacheFrames(int16 Min, int16 Max, cache_pool *Cache) { for (int16 i = Min; i < Max; i++) Cache->Frame[i].Cached = false; }; -#if 0 -internal void +static void CacheKeyframeAtIndex(uint16 i, struct property_channel *Property, cache_pool *Cache) { Assert(Property->NumberOfKeyframes > 0); @@ -140,7 +140,7 @@ CacheKeyframeAtIndex(uint16 i, struct property_channel *Property, cache_pool *Ca } } -internal void +static void SortAndCacheKeyframeAtFrame(uint16 f, struct property_channel *Property, cache_pool *Cache) { Assert(Property->NumberOfKeyframes > 0); |