Changed the rle encoder a little and made it more universal.
authorXiaohui Sun <sunxiaohui@dsp.ac.cn>
Tue, 3 Apr 2007 06:40:21 +0000 (06:40 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Apr 2007 06:40:21 +0000 (06:40 +0000)
commitb25514a43f8780a13de5f09cb45c6046a60f4447
treed912bdb78e1361fffe86570059c8cfde3b8f6152
parent65df54496e86cdb46948b3c15df4ba91d2927ceb
Changed the rle encoder a little and made it more universal.
Not only the repeated byte is calculated as (count ^ xor) + add
but also the raw encoding lenth byte is calculated as that too
patch by Xiaohui Sun sunxiaohui  dsp ac cn

Originally committed as revision 8602 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rle.c
libavcodec/rle.h
libavcodec/targaenc.c