Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@barrbrain
barrbrain / CfL non-linear.ipynb
Last active April 1, 2018 16:05
Non-linear Chroma from Luma
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@barrbrain
barrbrain / build_aom.sh
Last active January 18, 2018 16:23
Build AOM for Android on OS X
ANDROID_SDK="$HOME/Library/Android/sdk"
ANDROID_NDK="$ANDROID_SDK/ndk-bundle"
echo 'include("'$ANDROID_NDK'/build/cmake/android.toolchain.cmake")' > android.toolchain.cmake
cat ../aom/build/cmake/toolchains/armv7-linux-gcc.cmake >> android.toolchain.cmake
export PATH="$PATH:$ANDROID_NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin"
$ANDROID_SDK/cmake/3.6.4111459/bin/cmake \
-G'Android Gradle - Ninja' \
-DANDROID_ABI=armeabi-v7a \
-DANDROID_ARM_NEON=ON \
-DANDROID_NATIVE_API_LEVEL=26 \
@barrbrain
barrbrain / Sudoku.ipynb
Created January 9, 2018 14:59
Exploring Sudoku solving in Python
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@barrbrain
barrbrain / S3TC style color quantization.ipynb
Created August 11, 2017 16:41
S3TC style color quantization
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@barrbrain
barrbrain / Chroma from Luma Basis Functions.ipynb
Last active August 3, 2017 15:43
Chroma from Luma Basis Functions
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@barrbrain
barrbrain / Median of the maximum of independent poisson random variables.ipynb
Last active January 23, 2017 14:08
Median of the maximum of independent poisson random variables
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@barrbrain
barrbrain / AV1 PVQ delta rate analysis.ipynb
Last active February 15, 2017 13:32
Simulate Daala quantization-bitrate trends for subset3
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.