Stefano Sabatini
fc660a0143
Doxygenate flush_put_bits() documentation.
...
Originally committed as revision 18426 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
e46ddebd14
Doxygenate put_bits_count() documentation.
...
Originally committed as revision 18425 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f7a2aab7d8
Doxygenate init_put_bits().
...
Originally committed as revision 18423 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
64bde1974b
cosmetics: Rename prn variable to prng (Pseudo Random Number Generator).
...
Originally committed as revision 18422 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
ee30cdabad
Add support to CorePNG P-frames.
...
Patch by Thilo Borgmann thilo DOT borgmann A googlemail com.
Originally committed as revision 18421 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
6752dd5aee
Loop up to MAX_THREADS instead of h->s.avctx->thread_count to free the thread
...
contexts, this avoids a crash when freeing the H.264 parser context introduced in
r18406, since h->s.avctx is NULL there.
Originally committed as revision 18418 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
222ab26c62
Remove unused variables along with the related warnings.
...
Originally committed as revision 18413 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
cbf1eae9a5
Add forgotten void return type to ff_h264_free_context
...
Originally committed as revision 18411 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e4732ba98b
Fix sigill on non-MMX2 CPUs.
...
Originally committed as revision 18410 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
4f313925ec
Use the new avcodec_decode_* API.
...
Patch by Thilo Borgmann name.surname AT googlemail.com.
Originally committed as revision 18409 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b6b6676085
Make sure error resilience does not try to use unavailable reference frames.
...
Fixes the crash described in issue 706.
Originally committed as revision 18407 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
15861962a7
Add a ff_h264_free_context function and call it from the H.264 parser.
...
This ensures that the parser will no longer leak memory for all SPS/PPS it encounters.
Originally committed as revision 18406 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c81185a183
Make sure mpeg2 has its height rounded up to 32 as that is needed
...
for interlaced stuff.
This might have been exploitable when emu edge was not set though
note this bug has been introduced just a few days ago.
Originally committed as revision 18405 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
cfe675269b
Do not use SSE2 SAD for snow as it requires more alignment than can be
...
easily provided.
Fixes issue315.
Originally committed as revision 18404 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Martin Storsjö
2b12317a90
Fix documentation for the "-ps" option
...
Patch by Martin Storsjö (martin AT martin DOT st)
Originally committed as revision 18403 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
cc0241283b
Make sure the next used frame is released so get_buffer() wont fail.
...
Originally committed as revision 18399 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
38fd076c21
Move release_buffer() up so it is prior to a future call to it.
...
Originally committed as revision 18398 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0a08b5735b
Factorize release_buffer()
...
Originally committed as revision 18397 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
eebbb33abf
Make sure spatial_decomposition_count is not too large for picture size.
...
this led to an infinite loop in mirror().
Originally committed as revision 18396 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
69409ccb80
Skip non intra frames that have no reference frames.
...
Originally committed as revision 18395 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
440882f7be
Make sure spatial_decomposition_count is >0.
...
Originally committed as revision 18394 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dc7f45a08e
Make sure the block array is of the correct size.
...
This might have been exploitable.
Originally committed as revision 18393 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
bc4350a333
Check spatial_decomposition_count too, fixes another crash.
...
Originally committed as revision 18392 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
45d1d9794d
10l, forgot to remove old code, which broke snow.
...
Originally committed as revision 18391 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
158f189f82
Factorize check of read symbols.
...
Originally committed as revision 18390 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
a794356602
Fix spatial_decomposition_type validity check.
...
Fixes infinite loop (did no investigate why exactly it got stuck).
Originally committed as revision 18389 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f0812be883
Fix crash when max_ref_frames was out of range.
...
This might have been exploitable.
Fixes first crash of issue840.
Originally committed as revision 18388 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7a709548a7
Remove unnecessary gcc_fixes.h #include.
...
Originally committed as revision 18384 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
952f18ffe6
cosmetics: Reformat comment paragraph and fix a few typos in it.
...
Originally committed as revision 18383 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
0127b86108
Fix mb_height for interlaced mpeg2.
...
This correctly fixes issue961, thanks to steven warren for spotting my mistake.
Originally committed as revision 18381 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
e90f5b5ab1
configure: Add --enable-runtime-cpudetect
...
Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
feb993e579
Add av_shrink_packet function for use in av_get_packet that reduces pkt->size
...
and ensures the following padding is correctly initialized to 0.
Originally committed as revision 18378 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
7b356d3951
Clarify which time_base the relevant members of AVPacket use
...
Originally committed as revision 18371 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Robert Swain
f0ed92df60
Fix second amr_nb_decode_frame() to also use the new AVPacket argument
...
Originally committed as revision 18354 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
cdd8930e6a
Move av_packet_*() functions from libavformat/ to libavcodec/, where the
...
AVPacket structure now resides also.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see the mailinglist
thread "Google Summer of Code participation" for additional discussion.
Originally committed as revision 18353 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
012f930855
fix vp5/vp6 decoding by using new prototype for decode function
...
Originally committed as revision 18352 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
18c915eef4
Move AVPacket up a bit, so that structs/functions that include AVPacket can
...
themselves be reasonably positioned.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see mailinglist thread
"[FFmpeg-devel] Google Summer of Code participation".
Originally committed as revision 18350 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
809e07c618
Move scale factor computation to its own function. Patch by Kenan
...
Gillet.
Originally committed as revision 18345 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
38d5647a63
Try to honor even completely invalid motion vectors as far as is
...
easy.
Fixes issue961.
Originally committed as revision 18344 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
8613af0a65
Add convenience macros for 5.0/5.1 back speaker configurations.
...
Originally committed as revision 18339 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
75428fa447
mlpdec: Filters and matrices may change only once per substream per access unit.
...
Originally committed as revision 18338 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
89e39be3b6
mlpdec: There must be no extraword for MLP.
...
Originally committed as revision 18337 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
cc9c512638
mlpdec: Validate non-restart bit from the substream header.
...
Originally committed as revision 18336 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
0091d8a164
mlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.
...
Originally committed as revision 18335 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
300a3d0d00
Make sure the last bits of huffyuv frames are zeroed.
...
Fixes issue946
Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
cc2e555420
ARM: NEON optimized put_signed_pixels_clamped
...
Originally committed as revision 18333 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
08e12b2240
ARM: NEON optimised add_pixels_clamped
...
Based on patch by David Conrad.
Originally committed as revision 18332 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kenan Gillet
3c00556f4b
Add missing static qualifier from function declaration. Patch by Kenan
...
Gillet.
Originally committed as revision 18331 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
6b4343616c
Rename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
...
with libswscale.
Originally committed as revision 18330 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago