Vitor Sessak
3c617380e7
Simplify co(): do not abuse pointer aritmetics
...
Originally committed as revision 14303 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2a811db238
Make the automatic has_b_frames increasing code increase it up to the
...
same maximum that can be achieved by specifying the value in the bitstream.
Originally committed as revision 14302 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6bc5714be6
Simplify co(): remove variables that are only used once
...
Originally committed as revision 14301 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
28bb9eb24b
Try to fix my latest 100l fate SVQ3 breakage.
...
Originally committed as revision 14300 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
801b27fa7c
Remove apparently unneeded out!=NULL check.
...
Originally committed as revision 14299 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
3eaa6d0e56
Simplify picture output code.
...
Originally committed as revision 14298 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6b476f05e3
Remove useless #if 0 code.
...
Originally committed as revision 14297 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
7c0efeccfa
Do not forget marking disposed delayed pics as unused.
...
Fixes issue335
Originally committed as revision 14296 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
79f4494a04
indent
...
Originally committed as revision 14292 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
0ab515e935
simplify
...
Originally committed as revision 14291 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
7645da9194
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
...
Originally committed as revision 14290 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
df8a7dff29
Remove delayed_output_pic, I do not understand what this variable was good for.
...
It is simpler and might be faster now.
Originally committed as revision 14289 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1b547abaa3
Drop out of order pics even if bitstream_restriction_flag is set.
...
Originally committed as revision 14288 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
34e0d78936
Set avctx->coded_frame in RoQ encoder. At some point in
...
the SVN history this became mandated. Fix issue 548.
Originally committed as revision 14287 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6ebc89ac48
Make the ugly hack which uses an unused entry in the internal buffer
...
array actually use a unused one, so it does work.
Originally committed as revision 14286 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
5bfe3b853a
minor simplification of qdm2_decode_fft_packets()
...
Originally committed as revision 14284 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
197ea52443
Make frames non reference by default, so they are disposed of automatically
...
in MPV_frame_start() if we break out due to an error at a random place.
Fixes issue334
Originally committed as revision 14283 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
e0168e3b9c
Support reading large metadata.
...
fixes issue187
Originally committed as revision 14281 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1e77df15dd
Make bitstream_* fields unsigned.
...
Originally committed as revision 14280 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
cfcd396bae
Only realloc() bitstream buffer when the needed size increased,
...
this is needed to prevent loosing bitstream data with large metadata.
Originally committed as revision 14279 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
2b4b8c824e
If metadata has been parsed goto end instead of trying to
...
decorrelate and output somehing nonexistng.
Originally committed as revision 14278 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Erik Hovland
8d8d2b7391
Fix a mem leak in vc1_decode_frame().
...
Patch by Erik Hovland erik hovland org
Originally committed as revision 14277 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
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