Skip to content

Instantly share code, notes, and snippets.

make check-TESTS
make[1]: Entering directory `/g/temp/daala'
Encoded 5777073.34 bits of entropy to 5823978.00 bits (0.805% wasted).
Packed to 727998 bytes.
Testing random streams... Random seed: 1370029413 (66A9).
PASS: src/tests/ectest.exe
Coded 128 dim, std=0.0 with 0.000452 bits/sample (0.0578 bits/vector)
Coded 128 dim, std=0.1 with 0.005416 bits/sample (0.6932 bits/vector)
Coded 128 dim, std=0.3 with 0.178480 bits/sample (22.8454 bits/vector)
Coded 128 dim, std=1.0 with 0.885759 bits/sample (113.3772 bits/vector)
@brooss
brooss / gist:5674258
Created May 29, 2013 22:13
mingw32 fixes
---
src/tests/logging_test.c | 10 ++++++++++
tools/png2y4m.c | 4 ++--
tools/y4m2png.c | 2 +-
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/tests/logging_test.c b/src/tests/logging_test.c
index 40ee116..cbe74eb 100644
--- a/src/tests/logging_test.c
+++ b/src/tests/logging_test.c
@brooss
brooss / gist:5668077
Created May 29, 2013 05:05
build krad_nanolib
export ANDROID_NDK=/path/to/your/android/ndk/root
export TOOLCHAIN=/tmp/toolchain
export SYSROOT=$TOOLCHAIN/sysroot/
$ANDROID_NDK/build/tools/make-standalone-toolchain.sh --platform=android-14 --install-dir=$TOOLCHAIN
export PATH=$TOOLCHAIN/bin:$PATH
export CC=arm-linux-androideabi-gcc
export LD=arm-linux-androideabi-ld
export AR=arm-linux-androideabi-ar
cd ~/krcam/jni/krad_nanolib/
@brooss
brooss / daala-encoder-example-mingw32-fix
Created May 27, 2013 21:50
daala-encoder-example-mingw32-fix
diff --git a/examples/encoder_example.c b/examples/encoder_example.c
index cdfaacb..293db4e 100644
--- a/examples/encoder_example.c
+++ b/examples/encoder_example.c
@@ -32,7 +32,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/
#if defined(_WIN32)
# include <fcntl.h>
# include <io.h>
-
+#endif