add_ldflags "-isysroot /Developer/SDKs/MacOSX10.6.sdk"
add_ldflags "-mmacosx-version-min=10.6"
;;
+ *-darwin11-*)
+ add_cflags "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
+ add_cflags "-mmacosx-version-min=10.7"
+ add_ldflags "-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk"
+ add_ldflags "-mmacosx-version-min=10.7"
+ ;;
esac
# Handle Solaris variants. Solaris 10 needs -lposix4
[ -n "$srcfile" ] || show_help
sfx=${sfx:-asm}
-includes=$(egrep -i "include +\"?+[a-z0-9_/]+\.${sfx}" $srcfile |
+includes=$(egrep -i "include +\"?[a-z0-9_/]+\.${sfx}" $srcfile |
perl -p -e "s;.*?([a-z0-9_/]+.${sfx}).*;\1;")
#" restore editor state
for inc in ${includes}; do
all_platforms="${all_platforms} x86-win32-vs9"
all_platforms="${all_platforms} x86_64-darwin9-gcc"
all_platforms="${all_platforms} x86_64-darwin10-gcc"
+all_platforms="${all_platforms} x86_64-darwin11-gcc"
all_platforms="${all_platforms} x86_64-linux-gcc"
all_platforms="${all_platforms} x86_64-linux-icc"
all_platforms="${all_platforms} x86_64-solaris-gcc"
#include "onyxd_int.h"
void vp8_decode_mode_mvs(VP8D_COMP *);
+void vpx_decode_mb_mode_mv(VP8D_COMP *pbi,
+ MACROBLOCKD *xd,
+ int mb_row,
+ int mb_col);
+void vpx_decode_mode_mvs_init(VP8D_COMP *pbi);
static int inv_remap_prob(int v, int m) {
const int n = 256;
const int modulus = MODULUS_PARAM;
- int i, w;
+ int i;
v = merge_index(v, n - 1, modulus);
if ((m << 1) <= n) {
i = inv_recenter_nonneg(v + 1, m);
static int remap_prob(int v, int m) {
const int n = 256;
const int modulus = MODULUS_PARAM;
- const int max1 = (n - 2 - modulus / 2 + modulus - 1) / modulus;
int i;
if ((m << 1) <= n)
i = recenter_nonneg(v, m) - 1;
vp8_writer *const w = & cpi->bc;
int update[2];
int savings;
- int bestupdndx[2 * ENTROPY_NODES];
vp8_clear_system_state(); // __asm emms;
// Build the cofficient contexts based on counts collected in encode loop