Vitor Sessak
|
8916d922fc
|
Remove gbuf2 from context
Originally committed as revision 13383 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
d7dc90e42d
|
Use (u)int16_t instead of short for tables
Originally committed as revision 13376 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
0a08273542
|
Make tables that fit in one byte (u)int8_t
Originally committed as revision 13375 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
cb24827f4d
|
Remove yet another val (gbuf1) from context
Originally committed as revision 13374 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
94e79f0949
|
Parameter n of dec functions is always 3. Hardcode it.
Originally committed as revision 13373 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
a6072fdc18
|
Indent
Originally committed as revision 13362 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
ae76c49908
|
Remove another useless variable from context
Originally committed as revision 13361 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
13b6729361
|
Use an intermediate variable for overflow testing
Originally committed as revision 13283 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
84490b744e
|
Handle the case where we do not have enough input
Originally committed as revision 13282 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
be2c232f43
|
Simplify eq()
Originally committed as revision 13278 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
2279dd9e41
|
Simplify final()
Originally committed as revision 13277 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
0853393979
|
Simplify rms()
Originally committed as revision 13276 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
c2c237a0d5
|
More simplifications of ra144_decode_frame()
Originally committed as revision 13275 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
d548f09ff6
|
Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
afe359c110
|
Make gbuf2 a table instead of an array
Originally committed as revision 13221 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
53da3f5f92
|
Remove unneeded var from context
Originally committed as revision 13220 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
3ceac114ee
|
Cosmetics: indentation
Originally committed as revision 13216 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
c32985829a
|
Simplify irms()
Originally committed as revision 13215 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
bf6497e911
|
Simplify add_wav()
Originally committed as revision 13214 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
c7666095fa
|
Only one out of two values of gbuf1 is actually used. Make it half the size.
Originally committed as revision 13213 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
65189c6cac
|
Make etable1 and etable2 tables instead of arrays.
Originally committed as revision 13212 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
59ffb6e2cc
|
Simplify ra144_decode_frame() by unrolling a senseless
loop.
Thanks mkhdor for suggesting this patch.
Originally committed as revision 13211 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
432a54ef80
|
Use ff_sqrt() function instead of using a table
Originally committed as revision 13210 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
47abbd3eb9
|
Cosmetics: move function to remove forward declarations
Originally committed as revision 13198 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
f1bf6ba3db
|
Minor simplification of rotate_block()
Originally committed as revision 13197 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
f54b42736d
|
Cosmetics: indentation
Originally committed as revision 13196 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
0c62d04e00
|
Cosmetics: rename variable
Originally committed as revision 13195 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
37e77035f2
|
Simplify ra144_decode_frame()
Originally committed as revision 13194 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
e1a51a578e
|
Remove a useless temporary buffer
Originally committed as revision 13192 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
0ba20fa566
|
Remove useless buffers
Originally committed as revision 13168 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
be4488dcbe
|
Simplify rotate_block()
Originally committed as revision 13167 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
177fa453db
|
Do not pass the context to functions that do not use it
Originally committed as revision 13166 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
e9de4f5640
|
Declare vars as const when possible
Originally committed as revision 13165 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
4aa485a3f6
|
Do not copy tables to a context var, use them directly
Originally committed as revision 13164 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
bd0d10c2f1
|
Remove unneeded fields from the decoder context
Originally committed as revision 13163 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
ae9b8019ec
|
Read the bitstream where the data is actually needed instead of doing it in unpack_input()
Originally committed as revision 13162 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
ab5e6526a3
|
Use correct type in FFSWAP (thanks to Benoit Fouet for pointing it out)
Originally committed as revision 13161 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
cf408d8873
|
Cosmetics: remove useless parenthesis
Originally committed as revision 13160 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
dbef8b1c84
|
The first table of decodetable[] is unrelated to the other. Rename it.
Originally committed as revision 13159 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
1d46ba661c
|
Simplify do_voice().
Patch by Vitor Sessak (vitor1001 gmail com)
Originally committed as revision 13124 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
0d493edd0b
|
Replace some hardcoded swapping with FFSWAP.
Patch by Vitor Sessak (vitor1001 gmail com)
Originally committed as revision 13123 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
cd780422e1
|
Remove unused defines from ra144.
Patch by Vitor Sessak (vitor1001 gmail com)
Originally committed as revision 13122 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
f863bee841
|
Simplify a list of array allocations with a loop.
patch by Vitor Sessak, vitor1001 gmail com
Originally committed as revision 13109 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
bf21a10f1c
|
Remove useless memset, patch by Vitor Sessak, vitor1001 gmail com.
Originally committed as revision 13107 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
57ecbbbb1e
|
Rewrite unpack_input() completely, patch by Vitor Sessak, vitor1001 gmail com.
Originally committed as revision 13106 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Vitor Sessak
|
47eb818713
|
cosmetics: Reindent file, patch by Vitor Sessak, vitor1001 gmail com,
some further prettyprinting by myself.
Originally committed as revision 13105 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Stefano Sabatini
|
162d4fc99d
|
Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Michael Niedermayer
|
96c5ba1584
|
const
Originally committed as revision 11771 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
17 years ago |
Aurelien Jacobs
|
295f373792
|
various simplifications around recent av_clip_int16() usage
Originally committed as revision 10080 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |
Aurelien Jacobs
|
aee481cebe
|
use av_clip_int16() where it makes sense
Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
|
18 years ago |