Commit Graph

6811 Commits

Author SHA1 Message Date
Vitor Sessak
6fc4fac06c More cosmetics
Originally committed as revision 13395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 17:04:42 +00:00
Vitor Sessak
b906a5e3b7 Cosmetics
Originally committed as revision 13394 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:58:25 +00:00
Vitor Sessak
f8b5f7c71d Rename var
Originally committed as revision 13393 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:53:55 +00:00
Vitor Sessak
ac1c27b21c Minor simplification of dec1()
Originally committed as revision 13392 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:52:14 +00:00
Vitor Sessak
4bf8f3029b Minor simplification of dec2()
Originally committed as revision 13391 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:50:08 +00:00
Vitor Sessak
c62c628fb3 Remove useless variable
Originally committed as revision 13390 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:46:05 +00:00
Vitor Sessak
14ff7cceeb Cosmetics: merge declaration and initialization
Originally committed as revision 13389 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:44:56 +00:00
Vitor Sessak
cdc15adf16 Cosmetics: braces removal
Originally committed as revision 13388 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:42:31 +00:00
Vitor Sessak
58e23a5f21 Move evaluation of variable a to where it is trivial
Originally committed as revision 13387 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:29:07 +00:00
Vitor Sessak
d6ff684b12 Make add_wav() receive a vector instead of three integers
Originally committed as revision 13386 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:27:33 +00:00
Justin Ruggles
93a2c8c14f cosmetics: indent
Originally committed as revision 13385 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:20:06 +00:00
Justin Ruggles
43ad93a4f1 10l: fix error in commit r13382
Originally committed as revision 13384 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:19:44 +00:00
Vitor Sessak
8916d922fc Remove gbuf2 from context
Originally committed as revision 13383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 16:10:08 +00:00
Justin Ruggles
82a591d8d1 add checks for missing information in the first block
Originally committed as revision 13382 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:34:48 +00:00
Justin Ruggles
3af9131398 add check for invalid channel mode when coupling is used
Originally committed as revision 13381 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 15:23:03 +00:00
Michael Niedermayer
5b0e7dacd8 Fix MB skipping with droppable frames.
Fixes issue323.

Originally committed as revision 13378 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 14:07:35 +00:00
Michael Niedermayer
16e30b7a04 Do not reject odd width/height.
Fixes issue371.

Originally committed as revision 13377 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:31:07 +00:00
Vitor Sessak
d7dc90e42d Use (u)int16_t instead of short for tables
Originally committed as revision 13376 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:26:04 +00:00
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
2008-05-25 13:25:10 +00:00
Vitor Sessak
cb24827f4d Remove yet another val (gbuf1) from context
Originally committed as revision 13374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 13:23:27 +00:00
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
2008-05-25 13:22:56 +00:00
Michael Niedermayer
0c5421585a Move const *pow2tab out of context.
Originally committed as revision 13366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:31:44 +00:00
Michael Niedermayer
158bf33e36 simplify init_pow2table
Originally committed as revision 13365 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:28:33 +00:00
Michael Niedermayer
40756c172c Merge init_rootpow2table and init_pow2table.
Originally committed as revision 13364 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 22:23:16 +00:00
Vitor Sessak
a6072fdc18 Indent
Originally committed as revision 13362 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:52:50 +00:00
Vitor Sessak
ae76c49908 Remove another useless variable from context
Originally committed as revision 13361 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 20:51:56 +00:00
Vladimir Voroshilov
d347a046e2 Move pitch vector interpolation code to acelp_filters
and convert it to a generic interpolation routine.

Originally committed as revision 13284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 17:18:42 +00:00
Vitor Sessak
13b6729361 Use an intermediate variable for overflow testing
Originally committed as revision 13283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 16:38:48 +00:00
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
2008-05-24 16:20:37 +00:00
Michael Niedermayer
9d2e6e84ce Anoter try to make +- behave sanely.
Originally committed as revision 13281 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 12:58:20 +00:00
Vitor Sessak
be2c232f43 Simplify eq()
Originally committed as revision 13278 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 12:33:00 +00:00
Vitor Sessak
2279dd9e41 Simplify final()
Originally committed as revision 13277 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:20:09 +00:00
Vitor Sessak
0853393979 Simplify rms()
Originally committed as revision 13276 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:19:21 +00:00
Vitor Sessak
c2c237a0d5 More simplifications of ra144_decode_frame()
Originally committed as revision 13275 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:17:30 +00:00
Vitor Sessak
d548f09ff6 Make wavtable a table instead of an array
Originally committed as revision 13274 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 09:15:01 +00:00
Carl Eugen Hoyos
d1845b4c84 Fix compilation for buggy icc.
Originally committed as revision 13273 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 07:19:12 +00:00
Vladimir Voroshilov
5b2729cd0b adaptive and fixed codebook vector operations for ACELP-based codecs
Originally committed as revision 13244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 03:10:27 +00:00
Michael Niedermayer
4a13a2d4f7 Fix + - bug with non flags.
Originally committed as revision 13243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-23 00:29:21 +00:00
Benjamin Larsson
d311f8f3e3 Update copyright and text
Originally committed as revision 13239 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 19:42:02 +00:00
Maxim Poliakovski
9d278d8859 Fix decoding of 01-Untitled(1).oma, patch by Maxim Poliakovski
Originally committed as revision 13238 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-22 19:16:28 +00:00
Vitor Sessak
afe359c110 Make gbuf2 a table instead of an array
Originally committed as revision 13221 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 19:24:17 +00:00
Vitor Sessak
53da3f5f92 Remove unneeded var from context
Originally committed as revision 13220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 19:23:15 +00:00
Stefano Sabatini
cad2af9760 Improve parse_primary() error message.
Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 17:50:42 +00:00
Vitor Sessak
3ceac114ee Cosmetics: indentation
Originally committed as revision 13216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:53:20 +00:00
Vitor Sessak
c32985829a Simplify irms()
Originally committed as revision 13215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:43:33 +00:00
Vitor Sessak
bf6497e911 Simplify add_wav()
Originally committed as revision 13214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:43:05 +00:00
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
2008-05-21 16:41:58 +00:00
Vitor Sessak
65189c6cac Make etable1 and etable2 tables instead of arrays.
Originally committed as revision 13212 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:38:44 +00:00
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
2008-05-21 16:36:19 +00:00
Vitor Sessak
432a54ef80 Use ff_sqrt() function instead of using a table
Originally committed as revision 13210 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 16:33:49 +00:00
Vitor Sessak
47abbd3eb9 Cosmetics: move function to remove forward declarations
Originally committed as revision 13198 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:51:49 +00:00
Vitor Sessak
f1bf6ba3db Minor simplification of rotate_block()
Originally committed as revision 13197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:42:55 +00:00
Vitor Sessak
f54b42736d Cosmetics: indentation
Originally committed as revision 13196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:40:36 +00:00
Vitor Sessak
0c62d04e00 Cosmetics: rename variable
Originally committed as revision 13195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:39:47 +00:00
Vitor Sessak
37e77035f2 Simplify ra144_decode_frame()
Originally committed as revision 13194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:38:12 +00:00
Michael Niedermayer
0bd134abd3 Simplify vsad16_mmx2().
Originally committed as revision 13193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:36:44 +00:00
Vitor Sessak
e1a51a578e Remove a useless temporary buffer
Originally committed as revision 13192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:35:45 +00:00
Michael Niedermayer
6bf6a9301b Simplify vsad16_mmx().
Originally committed as revision 13191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:35:14 +00:00
Vitor Sessak
b8caf9bf28 Convert ra144.h tables from hex to decimal
Originally committed as revision 13190 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:34:55 +00:00
Michael Niedermayer
e13810223a Simplify vsad_intra16_mmx2()
Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:33:01 +00:00
Michael Niedermayer
06bb35f94c Simplify vsad_intra16_mmx()
Originally committed as revision 13188 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 14:31:10 +00:00
Lars Täuber
1472b7dd28 LPCM 24 bits support, patch by Lars Täuber, lars.taeuber gmx net
Originally committed as revision 13187 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 11:42:03 +00:00
Diego Biurrun
8f89843475 The MPEG4AAC codec is provided by an external library and will be disabled
with the next libavcodec major version bump.

Originally committed as revision 13186 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 11:38:30 +00:00
Diego Biurrun
9f4aa35359 missing codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-17 10:20:01 +00:00
Michael Niedermayer
ee83232aa9 Avoid using log2() freebsd does not support it.
Originally committed as revision 13184 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 21:28:55 +00:00
Diego Biurrun
51c86db57b Fix big-endian vs. little-endian typo.
Originally committed as revision 13181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 13:12:56 +00:00
Diego Biurrun
6823d427c6 consistent codec name by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13180 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 00:28:22 +00:00
Diego Biurrun
44caa86d68 Add PCM codec long names; by Stefano Sabatini, stefano.sabatini-lala poste it.
Originally committed as revision 13179 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-16 00:26:02 +00:00
Diego Biurrun
26c5202173 cosmetics: Use C-style comment delimiters with #endif directives.
Originally committed as revision 13174 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:03:55 +00:00
Diego Biurrun
bcdab7e547 cosmetics: Fix typos in ADPCM codec long names.
Originally committed as revision 13173 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 23:02:43 +00:00
Stefano Sabatini
88c5216261 cosmetics: s/Id/id/ in libavcodec where Id refers to id Software.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13172 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 22:51:38 +00:00
Vitor Sessak
0ba20fa566 Remove useless buffers
Originally committed as revision 13168 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:49:50 +00:00
Vitor Sessak
be4488dcbe Simplify rotate_block()
Originally committed as revision 13167 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:42:05 +00:00
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
2008-05-15 18:41:04 +00:00
Vitor Sessak
e9de4f5640 Declare vars as const when possible
Originally committed as revision 13165 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:39:07 +00:00
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
2008-05-15 18:36:12 +00:00
Vitor Sessak
bd0d10c2f1 Remove unneeded fields from the decoder context
Originally committed as revision 13163 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:34:31 +00:00
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
2008-05-15 18:31:55 +00:00
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
2008-05-15 18:30:05 +00:00
Vitor Sessak
cf408d8873 Cosmetics: remove useless parenthesis
Originally committed as revision 13160 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 18:29:05 +00:00
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
2008-05-15 18:28:24 +00:00
Diego Biurrun
d349334abc ADPCM codec long names by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 11:35:19 +00:00
Stefano Sabatini
0f3af710de DPCM codec long names, patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13156 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 11:31:14 +00:00
Stefano Sabatini
5cec11b612 Make av_set_string() fail when number could not be set.
Patch by Stefano Sabatini stefano§sabatini-lalaATposte§it

Originally committed as revision 13155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-15 01:03:48 +00:00
Stefano Sabatini
7c55e71d51 Add codec long name, patch by Stefano Sabatini, stefano.sabatini-lala poste it.
Originally committed as revision 13154 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-14 16:30:37 +00:00
Stefano Sabatini
9203741a46 Update offset in the option string later, to have a better error message.
Patch by Stefano Sabatini stefanoTODsabatini-lalaCHEZposteTODit

Originally committed as revision 13153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-14 02:14:11 +00:00
Måns Rullgård
40a655e306 acelp_filters.h needs stdint.h
Originally committed as revision 13150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 18:10:15 +00:00
Carl Eugen Hoyos
738a89b93a Add VP56_FRAME_NONE and use VP56_FRAME_CURRENT.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 15:56:45 +00:00
Stefano Sabatini
0be2f1e3f0 Fix a typo.
Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit

Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-13 00:49:38 +00:00
Carl Eugen Hoyos
3f8adf26a4 Correct type for pcx_rle_decode().
Fixes icc warning #120: return value type does not match the function
type

Originally committed as revision 13139 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 19:04:08 +00:00
Carl Eugen Hoyos
88a50f6c92 Replace one more occurrence of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 10:31:52 +00:00
Guillaume Poirier
d9481eb7f3 armv4l/float_arm_vfp.o must be added to OBJS-$(HAVE_ARMVFP) list since
it's build out of a C file, not an ASM file

Originally committed as revision 13134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 09:18:32 +00:00
Carl Eugen Hoyos
b1d966a088 Do not use variable frame_info before its value is set.
Originally committed as revision 13133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-12 06:51:30 +00:00
Alexander Strange
5da1ab1ae1 Previous commit missed an initialization - this fixes FATE's test sample.
Originally committed as revision 13131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 23:39:55 +00:00
Carl Eugen Hoyos
eacced45c4 Replace some occurrences of -1 with PIX_FMT_NONE.
Fixes icc warning #188: enumerated type mixed with another type

Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 22:28:43 +00:00
Alexander Strange
488aca9b1e Set and use h->mb_xy in SVQ3 too.
Originally committed as revision 13129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 20:26:35 +00:00
Siarhei Siamashka
e6303192c7 Add some initial optimizations for ARM VFP (floating
point coprocessor available in some ARM11 cores).
Patch by Siarhei Siamashka % siarhei.siamashka@gmail.com %
Original thread:
date: Apr 20, 2008 5:41 PM
subject: [FFmpeg-devel] [PATCH] Some ARM VFP optimizations (vector_fmul, vector_fmul_reverse, float_to_int16)

Originally committed as revision 13128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 20:06:03 +00:00
Alexander Strange
bff2266a7f Remove newly unused variables.
Originally committed as revision 13127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 19:22:28 +00:00
Alexander Strange
d2b54ec801 Use h->mb_xy directly in decode_cabac_residual().
Originally committed as revision 13126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 19:18:39 +00:00
Alexander Strange
64514ee8de Store mb_xy in H264Context and only calculate it once per MB.
Originally committed as revision 13125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-11 19:16:21 +00:00