Note some more platforms where float-approx is tested, fix a bug in the prediction ctl,

and remove some dead code from bands.c.
This commit is contained in:
Gregory Maxwell 2009-06-29 12:48:57 -04:00
parent b92dce3270
commit a80958b025
3 changed files with 2 additions and 4 deletions

View file

@ -93,7 +93,7 @@ AC_DEFINE_UNQUOTED(CELT_EXTRA_VERSION, "${CELT_EXTRA_VERSION}", [Version extra])
has_float_approx=no
#case "$host_cpu" in
#i[[3456]]86 | x86_64)
#i[[3456]]86 | x86_64 | powerpc64 | powerpc32 | ia64)
# has_float_approx=yes
# ;;
#esac

View file

@ -916,7 +916,6 @@ void unquant_bands_stereo(const CELTMode *m, celt_norm_t * restrict X, celt_norm
int enabled = 1;
pband++;
if (remaining_bits >= 1<<BITRES) {
enabled = pgains[pband] > QCONST16(.5,15);
enabled = ec_dec_bits(dec, 1);
balance += 1<<BITRES;
}
@ -1019,7 +1018,6 @@ void unquant_bands_stereo(const CELTMode *m, celt_norm_t * restrict X, celt_norm
int enabled = 1;
pband++;
if (remaining_bits >= 1<<BITRES) {
enabled = pgains[pband] > QCONST16(.5,15);
enabled = ec_dec_bits(dec, 1);
balance += 1<<BITRES;
}

View file

@ -1016,7 +1016,7 @@ int celt_encoder_ctl(CELTEncoder * restrict st, int request, ...)
{
st->force_intra = 1;
st->pitch_permitted = 0;
} else if (value=1) {
} else if (value==1) {
st->force_intra = 0;
st->pitch_permitted = 0;
} else {