286c2ca80b
* cache for low res (deactivating high res for now) * new way of view3d rendering of smoke (no longer 3 axes) -using 3dtexture now (introduced into gpu/intern) * introducing LZO and LZMA libs into extern (makefiles missing for now) * reducing memory usage after simulating for the frame ended (freeing temporary buffers) * splitting smoke into 2 modifier for the cache-sake (it cannot handle more than 1 cache on the same modifier-index) * no color on gui anymore * fixing non-power-of-2 resolutions (hopefully) * fixing select-deselect of domain drawing bug * fixing drawobject.c coding style (making Ton happy) ;-) HINT #1: If scons doesn't work -> cmakefiles are up-to-date, couldn't test scons (but i tried to mantain them, too) CODERS HINT #1: we really need a way to disable adding all modifiers through "Add Modifiers" dropdown! WARNING #1: before applying this commit, deactivate your SMOKE DOMAIN in your old files and save them then. You can open them then savely after that. WARNING #2: File and cache format of smoke can be changed, this is not final!
31 lines
638 B
C
31 lines
638 B
C
/* Bcj2.h -- Converter for x86 code (BCJ2)
|
|
2008-10-04 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef __BCJ2_H
|
|
#define __BCJ2_H
|
|
|
|
#include "Types.h"
|
|
|
|
/*
|
|
Conditions:
|
|
outSize <= FullOutputSize,
|
|
where FullOutputSize is full size of output stream of x86_2 filter.
|
|
|
|
If buf0 overlaps outBuf, there are two required conditions:
|
|
1) (buf0 >= outBuf)
|
|
2) (buf0 + size0 >= outBuf + FullOutputSize).
|
|
|
|
Returns:
|
|
SZ_OK
|
|
SZ_ERROR_DATA - Data error
|
|
*/
|
|
|
|
int Bcj2_Decode(
|
|
const Byte *buf0, SizeT size0,
|
|
const Byte *buf1, SizeT size1,
|
|
const Byte *buf2, SizeT size2,
|
|
const Byte *buf3, SizeT size3,
|
|
Byte *outBuf, SizeT outSize);
|
|
|
|
#endif
|