Vitor Sessak
96e8987e5b
Simplify: do not overuse pointer aritmetic
...
Originally committed as revision 14271 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
c52d2da905
Declare parameters of pred() that could be const as such
...
Originally committed as revision 14270 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
efa85e5e45
Another simplification
...
Originally committed as revision 14269 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4a51e06bfc
Simplify
...
Originally committed as revision 14268 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
02a1eb9329
Simplify
...
Originally committed as revision 14267 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
e4265007a6
Declare function parameters as const
...
Originally committed as revision 14266 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7c5ea40ca4
100l, someone used FLT_MIN where -FLT_MAX was meant at a few places in the
...
AVOptions array.
Originally committed as revision 14264 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
ef2b64f04c
Free in avcodec_close() avctx->rc_eq. Fix a memory leak.
...
Originally committed as revision 14260 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9dff86c672
10000l, revert
...
r14254
Log:
The funny memcpyin svq3 generally has src & dst overlapping, so it
should at least be a memmove().
I was tired, they do not overlap.
Originally committed as revision 14259 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1d42f41091
indent
...
Originally committed as revision 14258 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7a9dba3cd6
SVQ3 uses the JPEG variant of YUV 4:2:0.
...
Fixes issue256
Originally committed as revision 14257 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
38844c0b42
The funny memcpyin svq3 generally has src & dst overlapping, so it
...
should at least be a memmove().
Originally committed as revision 14254 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fb0fbd7c6c
Print slice num as well.
...
Originally committed as revision 14253 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
5eb0f2a425
float_to_int16_interleave: change src to an array of pointers instead of assuming it's contiguous.
...
this has no immediate effect, but will allow it to be used in more codecs.
Originally committed as revision 14252 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
633d9def9d
vorbis: reduce memory by reusing buffers
...
Originally committed as revision 14251 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
1a32536737
unroll another common case in vorbis_residue_decode
...
Originally committed as revision 14250 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alexander Strange
64b9d48f76
Move the size of the H264Context delayed_pic array into a #define.
...
This improves readability by getting rid of some magic numbers.
Originally committed as revision 14248 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
b0367ef00a
ARM: optimised MAC64 and MLS64
...
Originally committed as revision 14245 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
6865e04620
ARM: optimised MUL64
...
Originally committed as revision 14244 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
7995962d4b
ARM: ARMv6 optimised MULH
...
Originally committed as revision 14243 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
29c8b6263a
Remove dead code in bitstream.h
...
Originally committed as revision 14238 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
4342a7f30b
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples
...
Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
e1f15d3836
H264: fix index range assert() in remove_short_at_index()
...
Originally committed as revision 14233 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
54347c2f51
Fix infinite loop at EOF.
...
Originally committed as revision 14231 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
0e3510a31f
Revert r14218. FFMAX is a macro, so
...
sum = FFMAX(1, scalar_product(...));
might calculate the scalar product twice, which is slower.
Originally committed as revision 14230 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
f55a5281ac
Fix decoding of 320x240.ogg.
...
Originally committed as revision 14227 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4c453ddbbc
Make our flac decoder decode all the data at EOF.
...
Fixes issue524
Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
9606a83824
strdup() the default value for rc_eq in AVCodec when setting it in
...
avcodec_get_context_defaults(). The value has to be alloced dinamically
rather than statically since it may be freed for example by
av_set_string2(). Fix a segmentation fault.
Originally committed as revision 14221 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
f969058998
Fix the logic to access the location of a string to free when setting
...
a new value for a string with av_set_string2(). Fix a segmentation
fault.
Originally committed as revision 14219 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
b903a9285e
Simplify
...
Originally committed as revision 14218 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
3819081f75
Another av_clipf() usage
...
Originally committed as revision 14217 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
aa64ee30d1
Do not declare as double a var that only stores a float
...
Originally committed as revision 14216 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
1894db1487
Simplify: use FFMAX
...
Originally committed as revision 14215 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
b08edb2268
check that csize in ff_lzw_decode_init is < LZW_MAXBITS, <= is not enough and
...
might read outside the prefix array
Originally committed as revision 14214 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
4138ad961c
Add av_clipf() function to common.h and use it in ra288.c
...
Originally committed as revision 14213 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
8effdce0e7
dvdsubdec: allow compilation with -DDEBUG
...
Originally committed as revision 14212 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
b9fa32082c
exploit mdct symmetry
...
2% faster vorbis on conroe, k8. 7% on celeron.
Originally committed as revision 14207 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
eb2cd99c73
mlpdec: Check for bits left before each read of End-of-Stream indicator and
...
Substream parity check independently. This allows decoding of streams that
have EOS but don't have Substream parity check.
Originally committed as revision 14206 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
f27e1d645e
simplify vorbis windowing
...
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
6647ab80e3
bitstream: move put_sbits() from flacenc.c to bitstream.h and use it
...
throughout libavcodec.
Originally committed as revision 14204 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
f9bd305694
clip MS ADPCM predictor range to correct [0..6] range, not [0..7]
...
Originally committed as revision 14203 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
962fe7e1c4
Use bytestream and AV_RL* functions in ADPCM code where possible
...
Originally committed as revision 14202 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
ae8afab998
Fix MS ADPCM de- and encoding: first and second sample are swapped.
...
Noticeable better decoding of e.g. http://samples.mplayerhq.hu/A-codecs/msadpcm-stereo/dance-b5th.asf
Originally committed as revision 14201 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
9ea583e1f6
mpegaudio: use MAC/MLS macros in ff_mpa_synth_filter
...
Originally committed as revision 14199 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
ffa978f157
mathops: add MAC64, MLS64, and MLS16
...
MAC64: 64 += 32 x 32 (bits)
MLS64: 64 -= 32 x 32
MLS16: 32 -= 16 x 16
Originally committed as revision 14198 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Måns Rullgård
71c465a151
Bitstream: use AV_RB16() in LIBMPEG2_BITSTREAM_READER
...
This makes LIBMPEG2_BITSTREAM_READER_HACK redundant, so remove it.
Originally committed as revision 14197 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anuradha Suraparaju
007f67b012
Fix pts handling when encoding with libschroedinger, closes issue 453.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14192 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Anuradha Suraparaju
f73b204000
Fix pts handling when encoding with libdirac.
...
patch by Anuradha Suraparaju, anuradha rd.bbc.co uk
Originally committed as revision 14191 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0bef08e516
New codec probing system try #1 .
...
Originally committed as revision 14184 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
09fec2b929
Use new style static VLC tables for IMC decoder.
...
Also fixes a memleak due to the previous in-context tables not being freed.
Originally committed as revision 14182 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago