Alex Converse
51cbabc792
aacenc: Use an estimated codebook for the TLS (two loop search).
...
Originally committed as revision 23134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:30 +00:00
Alex Converse
960323a230
aacenc: Select the TLS (two-loop search) as the default scalefactor coder.
...
Originally committed as revision 23133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:21 +00:00
Alex Converse
31184aac87
aacenc: Fix psy logic.
...
Set band info before determining scalefactors. Use the look ahead for
windowing decision.
Originally committed as revision 23132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:11 +00:00
Carl Eugen Hoyos
eb0a4d3222
Fix compilation of AC3 decoder if E-AC3 decoder was disabled.
...
Originally committed as revision 23131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 20:41:36 +00:00
Martin Storsjö
86e09922a5
qt-faststart: Abort scanning of the input file if a badly sized atom is encountered
...
If the atom size is 0, qt-faststart currently hangs forever while scanning
the file.
Originally committed as revision 23129 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:22:56 +00:00
Sebastian Vater
6d81016282
Reindent after r23124. Patch by Sebastian Vater <cdgs basty googlemail com>.
...
Originally committed as revision 23128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:18:54 +00:00
Martin Storsjö
2ef9fd8e9b
Cosmetics: Initialize pointers with NULL instead of 0, for consistency
...
Originally committed as revision 23127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:18:27 +00:00
Martin Storsjö
e3d7269fc8
Cosmetics: reindent
...
Originally committed as revision 23126 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:17:49 +00:00
Martin Storsjö
c937454d89
qt-faststart: Use the error_out cleanup code path for all error returns
...
Originally committed as revision 23125 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:17:15 +00:00
Sebastian Vater
7a0e859cdb
Grayscale support. Patch by Sebastian Vater <cdgs basty googlemail com>.
...
Originally committed as revision 23124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:16:03 +00:00
Måns Rullgård
57fcb7d7da
Add mpegaudiodec_float.o dependency on tables header with hardcoded tables
...
Originally committed as revision 23123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:41:18 +00:00
Stefano Sabatini
aeaa9630e5
Remove the name of the file from the @file doxy, it is unnecessary and
...
inconsistent with the other files.
Originally committed as revision 23122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:11 +00:00
Stefano Sabatini
622e6ce53a
Make the init and config_filter callbacks of the pad filter return
...
AVERROR(EINVAL) rather than -1 in case of invalid parameters.
Originally committed as revision 23121 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:07 +00:00
Stefano Sabatini
dc0eaef318
Make av_parse_color() return AVERROR(EINVAL) rather than -1.
...
Originally committed as revision 23120 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:26:03 +00:00
Michael Niedermayer
40914d97cc
1.0 and the resulting exactly representable value must be marked as float as well,
...
gcc is hopelessly trash.
Originally committed as revision 23119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:06:44 +00:00
Michael Niedermayer
0628f3e8cf
Cast constants to float to avoid gcc converting to and from
...
float<->double in every operation.
Originally committed as revision 23118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 17:58:17 +00:00
Michael Niedermayer
e969e261a5
Use standard C for implementing sign_extend() and zero_extend().
...
This fixes compilation of probetest
Originally committed as revision 23116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 16:32:21 +00:00
Michael Niedermayer
a74d707cb7
av_alias is an attribute and belongs to attributes.h
...
also attributes.h is public and external api and can thus not depend
on configure tested compiler support thus this part is removed. A
different solution must be found if this breaks for some compiler
which i hope it does not.
Originally committed as revision 23115 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 16:30:58 +00:00
Sebastian Vater
299ac811ba
Reindent after r23112.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:41:49 +00:00
Sebastian Vater
65d213ec86
Move handling of paletted data to the IFF demuxer. This allows future
...
handling of things such as masking/EHB/HAM for this type of data.
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:39:40 +00:00
Sebastian Vater
ebcf7c3227
Handle palette underflows, fill remaining space with black (zero) data.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:33:36 +00:00
Sebastian Vater
2f955ea41b
Move a while(..){..} -> do{..}while(..), slightly faster.
...
Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 13:18:25 +00:00
Vitor Sessak
e904c51fa1
Replace "-vfilters" by "-vf" in regtests. Should fix regtest breakage.
...
Originally committed as revision 23109 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 12:30:46 +00:00
Måns Rullgård
458638e3db
FATE: change -vfilters to -vf
...
Originally committed as revision 23108 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 11:32:13 +00:00
Michael Niedermayer
bfbdc58e52
Fix compilation with low precission mpeg audio decoding.
...
Originally committed as revision 23107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 10:04:31 +00:00
Michael Kostylev
3e48d792b6
Fix mpegaudio tablegen.
...
Patch by Michael Kostylev, michael D kostylev A gmail
Originally committed as revision 23106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 10:02:48 +00:00
Michael Kostylev
56b37cd1c7
Support writing 2d float arrays.
...
Patch by Michael Kostylev, michael D kostylev A gmail
Originally committed as revision 23105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 10:02:04 +00:00
Baptiste Coudurier
09ed11e58c
rename -vfilters cli option to -vf in ffplay as well
...
Originally committed as revision 23104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 23:18:12 +00:00
Loren Merritt
f39ab2071f
change a variable-length array to a malloc.
...
Originally committed as revision 23103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 22:38:05 +00:00
Stefano Sabatini
7693b93e5c
Doxygen av_codec_get_id() and av_codec_get_tag().
...
Originally committed as revision 23102 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 22:17:29 +00:00
Ramiro Polla
c3ab0004ae
Revert r31153. It failed to build on:
...
x86_64 / Mac OS X gcc 4.0.1
x86_64 / Linux icc (all)
x86_64 / Linux gcc 4.0.4
x86_64 / OpenBSD gcc 3.3.5
x86_64 / Linux suncc 5.10
and there are some reports of crashes.
Originally committed as revision 31170 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-12 20:47:32 +00:00
Reimar Döffinger
b3ab319944
Set coded_frame to NULL when closing a codec, since it might
...
be invalid after the codec is "gone".
Originally committed as revision 23101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 17:05:56 +00:00
Baptiste Coudurier
521cfa4aae
rename -vfilters cli option to -vf
...
Originally committed as revision 23100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 01:47:14 +00:00
Michael Niedermayer
3b7117b73a
Do the same sign flip optimization to the low freq decoder.
...
as with the high freq 10-20 cycles faster
Originally committed as revision 23099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 21:31:54 +00:00
Michael Niedermayer
4b070a7a61
Factorize READ_FLIP_SIGN() optimization out
...
Originally committed as revision 23098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 21:20:33 +00:00
Michael Niedermayer
0c0d88aed5
Optimize decoding high freqs.
...
this is 10-20cpu cycles faster on duron (whole is about 50-60 cpu cylses)
I wonder why gcc isnt doing this on its own ...
Originally committed as revision 23097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 21:10:55 +00:00
Michael Niedermayer
fd9451c68f
Make lsf_sf_expand() 4 times faster.
...
Originally committed as revision 23096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 20:33:48 +00:00
Michael Niedermayer
b91d46614d
float based mp1/mp2/mp3 decoders.
...
Originally committed as revision 23095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 19:52:42 +00:00
Alex Converse
495af353db
Set cur_channel in the AAC encoder context where needed.
...
Most coder functions read it. Carting this around in the context may be
suboptimal; a refactor should be considered.
Originally committed as revision 23094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 18:53:49 +00:00
Baptiste Coudurier
2c2b2c0ac2
silence gcc warning about potential uninitialized usage
...
Originally committed as revision 23093 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:39:52 +00:00
Baptiste Coudurier
d21f58b52d
cosmetics, rename loop to frame_available
...
Originally committed as revision 23092 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:25:18 +00:00
Baptiste Coudurier
a9f3cb9372
rename curr_filter to last_filter, factorize filter declaration
...
Originally committed as revision 23091 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:23:06 +00:00
Baptiste Coudurier
79b90b2549
cosmetics: indentation, whitespaces
...
Originally committed as revision 23090 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:18:13 +00:00
Baptiste Coudurier
6e82e7fa48
simplify, reuse existing args variable
...
Originally committed as revision 23089 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:16:52 +00:00
Baptiste Coudurier
aa1249b8aa
cosmetics: filt_graph_all -> graph, like in ffplay.c
...
Originally committed as revision 23088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 17:14:36 +00:00
Janne Grunau
405213b736
Add -ldl to libfaadbin_extralibs instead of libfaadbin_decoder_extralibs.
...
The latter does not exist and thus compilation fails.
patch by Janne Grunau, janne-ffmpeg jannau.net
Originally committed as revision 23087 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 15:58:50 +00:00
Michael Niedermayer
86433cc6f5
Remove unused FRAC_RND() macro from mpegaudiodec.c.
...
Originally committed as revision 23086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 14:49:48 +00:00
Nick Brereton
857c30ecba
mlpdec: Comment channel_params field in struct SubStream.
...
Patch by Nick Brereton <nick at nbrereton dot net>
Originally committed as revision 23085 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 01:46:13 +00:00
Nick Brereton
22fb814c2f
mlpdec: Allocate channel decoding parameters for each substream. Some file
...
was encountered with a channel range that overlapped the previous substreams,
and the code assumed no such overlap was possible.
Patch by Nick Brereton <nick at nbrereton dot net>
Originally committed as revision 23084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 01:44:52 +00:00
Ramiro Polla
d9d14dc607
Use int instead of long to pass width parameters in non-public functions.
...
long was being incorrectly used as an x86-sized register, both for 32 and 64
bits, but this is not the case in win64.
Originally committed as revision 31153 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2010-05-11 00:36:34 +00:00