mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Rename SIGN macro to the more fitting UNFOLD.
Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
6b6b5003de
commit
15e35274d8
@ -352,9 +352,9 @@ static int tta_decode_frame(AVCodecContext *avctx,
|
|||||||
rice->k0++;
|
rice->k0++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// extract sign
|
// extract coded value
|
||||||
#define SIGN(x) (((x)&1) ? (++(x)>>1) : (-(x)>>1))
|
#define UNFOLD(x) (((x)&1) ? (++(x)>>1) : (-(x)>>1))
|
||||||
*p = SIGN(value);
|
*p = UNFOLD(value);
|
||||||
|
|
||||||
// run hybrid filter
|
// run hybrid filter
|
||||||
ttafilter_process(filter, p, 0);
|
ttafilter_process(filter, p, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user