git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6b6b500
)
Rename SIGN macro to the more fitting UNFOLD.
author
Diego Biurrun
<diego@biurrun.de>
Tue, 10 Oct 2006 12:07:25 +0000
(12:07 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Tue, 10 Oct 2006 12:07:25 +0000
(12:07 +0000)
Originally committed as revision 6626 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/tta.c
patch
|
blob
|
history
diff --git
a/libavcodec/tta.c
b/libavcodec/tta.c
index
bf70649
..
82713fb
100644
(file)
--- a/
libavcodec/tta.c
+++ b/
libavcodec/tta.c
@@
-352,9
+352,9
@@
static int tta_decode_frame(AVCodecContext *avctx,
rice->k0++;
}
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);
// run hybrid filter
ttafilter_process(filter, p, 0);