# HG changeset patch # User diego # Date 1160482045 0 # Node ID 082a52023a5b1c6a8406d5daa1092132f89a4c13 # Parent bb186452e7da04b9d35e21b6b13962da42eb2c9d Rename SIGN macro to the more fitting UNFOLD. diff -r bb186452e7da -r 082a52023a5b tta.c --- a/tta.c Tue Oct 10 08:16:41 2006 +0000 +++ b/tta.c Tue Oct 10 12:07:25 2006 +0000 @@ -352,9 +352,9 @@ rice->k0++; } - // extract sign -#define SIGN(x) (((x)&1) ? (++(x)>>1) : (-(x)>>1)) - *p = SIGN(value); + // extract coded value +#define UNFOLD(x) (((x)&1) ? (++(x)>>1) : (-(x)>>1)) + *p = UNFOLD(value); // run hybrid filter ttafilter_process(filter, p, 0);