Måns Rullgård
cc1e807f4c
snow: remove unused stub functions
...
w53_32_c() and w97_32_c() are defined as stubs when snow encoder is
disabled. In this case, those functions are not referenced at all
and do thus not need to be defined.
Originally committed as revision 22448 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2023cfea0f
Add some required casts
...
These casts are correct and safe. The pointers are guaranteed to
have proper alignment, and aliasing is not a problem with character
types.
Originally committed as revision 22446 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
86decad652
sparc: fix a few pages of cast warnings
...
Originally committed as revision 22441 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
ad40380240
sparc: fix dsputil prototypes
...
Originally committed as revision 22440 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
18c31f6ff8
Only use .size in ARM assembly when targeting ELF
...
This fixes compilation on mingw32ce
Originally committed as revision 22437 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
9885284c22
Check level_prefix a bit (this just checks the max our bitreader can handle,
...
as i did nt find a limit in the spec)
This should stop cavlc_decode_residual() on a zero bitstream
Originally committed as revision 22429 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
93bff1de77
Replace $(G) with more generic $(M) in silent make rules
...
Originally committed as revision 22419 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
f50dafa8fc
vp3: avoid buffer overread in coeff decode
...
I couldn't measure it to be slower for normal interframe videos.
For the worst case, high-bitrate intra-only videos, it can be 0.7% slower.
Originally committed as revision 22416 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
2cbc1ec676
Fix indentation after r22414.
...
Originally committed as revision 22415 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Zhou Zongyi
d00261a34b
SIMD optimization using float_to_int16_interleave.
...
Patch by Zhou Zongyi, zhouzy A os D pku D edu D cn
Originally committed as revision 22414 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
6ebc724060
aacsbr: Check that bs_num_env is valid before writing arrays with it as an offset.
...
Originally committed as revision 22413 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
134b8cbb9a
aacsbr: Cleanup read_sbr_grid and copy_sbr_grid after the recent overhaul of those functions.
...
Originally committed as revision 22412 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
f7e7888b2a
aacsbr: Factor out the common end border case from t_q setup.
...
Originally committed as revision 22411 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
ac8d655a79
aacsbr: read bs_rel_bord directly into t_env.
...
Originally committed as revision 22410 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
ecc1f8c3c8
aacsbr: Make the previous value of bs_num_env local to read_sbr_data().
...
Originally committed as revision 22409 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
46751a65e3
aacsbr: Initialize e_a[1] to -1.
...
This triggers lAPrev (e_a[0]) on the first SBR frame to be -1. The spec is
somewhat ambiguous to what this value should be but this increases the accuracy
of al_sbr_e_44_1 and similar streams from 14 bits to 15 bits.
Originally committed as revision 22408 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
2ed6f39944
Replace many includes of libavutil/common.h with what is actually needed
...
This reduces the number of false dependencies on header files and
speeds up compilation.
Originally committed as revision 22407 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a7e7d40c2e
ARM: set size of asm functions in object files
...
Originally committed as revision 22404 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
28e5130b5f
Replace some printf() with puts() in tableprint.c
...
This gets rid of a gcc warning about non-literal format strings.
Originally committed as revision 22402 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
a736e0e5c2
Prettify make output when generating headers
...
Originally committed as revision 22401 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
5889172087
aacsbr: Dead code removal.
...
Originally committed as revision 22387 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
afd96c345f
aacsbr: Remove a slightly incorrect comment.
...
The two conditions are equivalent.
Originally committed as revision 22386 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
171b7b9112
Revert r22288 "Increase FF_INPUT_BUFFER_PADDING_SIZE to 64."
...
Originally committed as revision 22385 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
7935078623
aacsbr: Cleanup the newly merged read_sbr_grid, eliminating several context
...
and some duplicate local variables.
Originally committed as revision 22384 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
7333f849b1
aacsbr: Move the e_a calculation from sbr_mapping() to read_sbr_grid().
...
Originally committed as revision 22383 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
b9c3e3b6e7
aacsbr: Merge sbr_time_freq_grid into read_sbr_grid (and into copy_sbr_grid).
...
Originally committed as revision 22382 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
ed1d112931
aacsbr: Fail early on illegal envelope counts.
...
Originally committed as revision 22381 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
8a9ee4b102
aacsbr: Check for illegal values of bs_pointer in sbr_read_grid().
...
Originally committed as revision 22380 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
e8ff21fdf5
Revert commit 22378.
...
It broke FATE and kostya asked me on IRC to revert it.
Originally committed as revision 22379 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Kostya Shishkov
95bd18eeca
Check for reference frames so RV 3/4 won't segfault trying to copy data from
...
nonexisting reference.
Originally committed as revision 22378 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
d63a718764
vp3: correctly clip vp3_draw_horiz_band call
...
Originally committed as revision 22377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
bf3d904c3d
10l: Include missing return values in functions made non-void by the previous commit.
...
Originally committed as revision 22376 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
58b1cba0c9
aacsbr: Propagate errors from read_sbr_grid to prevent crashes in malformatted streams.
...
Originally committed as revision 22375 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Georgi Chorbadzhiyski
e0be763052
Add a missing fft.h include to the aacsbr decoder.
...
Patch by Georgi Chorbadzhiyski gf at unixsol dot org
Originally committed as revision 22374 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
b0e88ca6d3
Bump avcodec minor version for kgv1 decoder
...
Originally committed as revision 22367 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Daniel Verkamp
bf35412201
Kega Game Video (KGV1) decoder
...
Originally committed as revision 22364 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
1307463d52
Fix interlaced vc-3 decoding, issue #1753
...
Originally committed as revision 22362 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
ff65969fd8
vp3: Set pict_type
...
Originally committed as revision 22361 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
7a4e8b5913
vp3: Allocate a dummy reference frame if we have no keyframe
...
Originally committed as revision 22360 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
0c9afacbf5
vp3: use FF_BUFFER_TYPE_COPY
...
Originally committed as revision 22359 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
e72d2d1221
vp3: Don't leak buffers on errors
...
Originally committed as revision 22358 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
739b5090af
vp3: Simplify buffer management
...
Originally committed as revision 22357 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
David Conrad
01f9640b21
vp3: be less spammy on broken files
...
Originally committed as revision 22356 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
94ca624fbc
Move ff_sqrt() to libavutil/intmath.h
...
Originally committed as revision 22345 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
dd14a04e4a
Add missing includes in bfin and sh4 files
...
Originally committed as revision 22342 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
4a89e0a675
ARM: add some missing includes
...
Originally committed as revision 22340 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
0926c00980
ARM: fix dct-test
...
Originally committed as revision 22339 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
1e2a6688f6
Skip mpegaudio3.h in checkheaders
...
This unused header is a placeholder for work in progress(?).
This makes checkheaders pass again.
Originally committed as revision 22338 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
9c9a0840d0
Add lots of missing includes
...
Originally committed as revision 22337 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
8eecdc8b78
Skip the tablegen fragments in checkheaders
...
Originally committed as revision 22336 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago