ffmpeg.git
10 years agoremove useless duplication of what av_new_stream() already does
Aurelien Jacobs [Fri, 10 Apr 2009 12:49:53 +0000 (12:49 +0000)]
remove useless duplication of what av_new_stream() already does

Originally committed as revision 18416 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd 'PNG1' to PNG fourcc codes.
Thilo Borgmann [Fri, 10 Apr 2009 12:18:04 +0000 (12:18 +0000)]
Add 'PNG1' to PNG fourcc codes.

Patch by Thilo Borgmann thilo DOT borgmann _AT_ gXXglemail.cXm.

Originally committed as revision 18415 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 12:07:06 +0000 (12:07 +0000)]
Use the new avcodec_decode_* API.

Patch by Thilo Borgmann thilo.borgmann * googlemail ! com.

Originally committed as revision 18414 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove unused variables along with the related warnings.
Diego Biurrun [Fri, 10 Apr 2009 11:33:14 +0000 (11:33 +0000)]
Remove unused variables along with the related warnings.

Originally committed as revision 18413 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd forgotten void return type to ff_h264_free_context
Reimar Döffinger [Fri, 10 Apr 2009 11:31:55 +0000 (11:31 +0000)]
Add forgotten void return type to ff_h264_free_context

Originally committed as revision 18411 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix sigill on non-MMX2 CPUs.
Diego Biurrun [Fri, 10 Apr 2009 11:29:51 +0000 (11:29 +0000)]
Fix sigill on non-MMX2 CPUs.

Originally committed as revision 18410 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 11:07:52 +0000 (11:07 +0000)]
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

10 years agoMake try_decode_frame() use the new avcodec_decode_* API.
Thilo Borgmann [Fri, 10 Apr 2009 11:03:06 +0000 (11:03 +0000)]
Make try_decode_frame() use the new avcodec_decode_* API.

Patch by Thilo Borgmann thilo.borgmann AT g00glemail dot com.

Originally committed as revision 18408 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake sure error resilience does not try to use unavailable reference frames.
Reimar Döffinger [Fri, 10 Apr 2009 07:17:30 +0000 (07:17 +0000)]
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

10 years agoAdd a ff_h264_free_context function and call it from the H.264 parser.
Reimar Döffinger [Fri, 10 Apr 2009 07:01:55 +0000 (07:01 +0000)]
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

10 years agoMake sure mpeg2 has its height rounded up to 32 as that is needed
Michael Niedermayer [Fri, 10 Apr 2009 00:09:07 +0000 (00:09 +0000)]
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

10 years agoDo not use SSE2 SAD for snow as it requires more alignment than can be
Michael Niedermayer [Thu, 9 Apr 2009 21:53:48 +0000 (21:53 +0000)]
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

10 years agoFix documentation for the "-ps" option
Martin Storsjö [Thu, 9 Apr 2009 21:52:12 +0000 (21:52 +0000)]
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

10 years agoAAC packetiser cleanup: use consts instead of #defines
Luca Abeni [Thu, 9 Apr 2009 21:48:45 +0000 (21:48 +0000)]
AAC packetiser cleanup: use consts instead of #defines

Originally committed as revision 18402 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAAC packetiser cleanup: remove check for a condition that cannot happen
Luca Abeni [Thu, 9 Apr 2009 21:39:07 +0000 (21:39 +0000)]
AAC packetiser cleanup: remove check for a condition that cannot happen

Originally committed as revision 18401 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix two checks in the AAC packetiser, which were too conservative
Martin Storsjö [Thu, 9 Apr 2009 21:37:11 +0000 (21:37 +0000)]
Fix two checks in the AAC packetiser, which were too conservative
Patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18400 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake sure the next used frame is released so get_buffer() wont fail.
Michael Niedermayer [Thu, 9 Apr 2009 21:19:25 +0000 (21:19 +0000)]
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

10 years agoMove release_buffer() up so it is prior to a future call to it.
Michael Niedermayer [Thu, 9 Apr 2009 21:17:53 +0000 (21:17 +0000)]
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

10 years agoFactorize release_buffer()
Michael Niedermayer [Thu, 9 Apr 2009 20:44:18 +0000 (20:44 +0000)]
Factorize release_buffer()

Originally committed as revision 18397 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake sure spatial_decomposition_count is not too large for picture size.
Michael Niedermayer [Thu, 9 Apr 2009 20:23:13 +0000 (20:23 +0000)]
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

10 years agoSkip non intra frames that have no reference frames.
Michael Niedermayer [Thu, 9 Apr 2009 20:13:35 +0000 (20:13 +0000)]
Skip non intra frames that have no reference frames.

Originally committed as revision 18395 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake sure spatial_decomposition_count is >0.
Michael Niedermayer [Thu, 9 Apr 2009 19:45:10 +0000 (19:45 +0000)]
Make sure spatial_decomposition_count is >0.

Originally committed as revision 18394 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMake sure the block array is of the correct size.
Michael Niedermayer [Thu, 9 Apr 2009 18:47:50 +0000 (18:47 +0000)]
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

10 years agoCheck spatial_decomposition_count too, fixes another crash.
Michael Niedermayer [Thu, 9 Apr 2009 18:37:26 +0000 (18:37 +0000)]
Check spatial_decomposition_count too, fixes another crash.

Originally committed as revision 18392 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years ago10l, forgot to remove old code, which broke snow.
Michael Niedermayer [Thu, 9 Apr 2009 18:29:54 +0000 (18:29 +0000)]
10l, forgot to remove old code, which broke snow.

Originally committed as revision 18391 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFactorize check of read symbols.
Michael Niedermayer [Thu, 9 Apr 2009 18:21:51 +0000 (18:21 +0000)]
Factorize check of read symbols.

Originally committed as revision 18390 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix spatial_decomposition_type validity check.
Michael Niedermayer [Thu, 9 Apr 2009 15:33:02 +0000 (15:33 +0000)]
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

10 years agoFix crash when max_ref_frames was out of range.
Michael Niedermayer [Thu, 9 Apr 2009 15:17:03 +0000 (15:17 +0000)]
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

10 years agoGive liblzo benchmark conditionals more descriptive names and add convenience
Diego Biurrun [Thu, 9 Apr 2009 15:11:48 +0000 (15:11 +0000)]
Give liblzo benchmark conditionals more descriptive names and add convenience
definitions along with instructions for changing them.

Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd a configure check for lzo1x_999_compress() and compile the lzo test program
Diego Biurrun [Thu, 9 Apr 2009 14:55:05 +0000 (14:55 +0000)]
Add a configure check for lzo1x_999_compress() and compile the lzo test program
in libavutil when this function is available.

Originally committed as revision 18386 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix memleak in nuv demuxer: free packet already allocated packet when
Reimar Döffinger [Thu, 9 Apr 2009 14:16:22 +0000 (14:16 +0000)]
Fix memleak in nuv demuxer: free packet already allocated packet when
returning an error in nuv_packet.

Originally committed as revision 18385 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRemove unnecessary gcc_fixes.h #include.
Diego Biurrun [Thu, 9 Apr 2009 11:54:13 +0000 (11:54 +0000)]
Remove unnecessary gcc_fixes.h #include.

Originally committed as revision 18384 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetics: Reformat comment paragraph and fix a few typos in it.
Diego Biurrun [Thu, 9 Apr 2009 10:06:54 +0000 (10:06 +0000)]
cosmetics: Reformat comment paragraph and fix a few typos in it.

Originally committed as revision 18383 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix -ss / -t interaction with -acodec copy.
Michael Niedermayer [Thu, 9 Apr 2009 00:13:59 +0000 (00:13 +0000)]
Fix -ss / -t interaction with -acodec copy.
Fixes issue203

Originally committed as revision 18382 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix mb_height for interlaced mpeg2.
Michael Niedermayer [Wed, 8 Apr 2009 20:48:44 +0000 (20:48 +0000)]
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

10 years agoconfigure: Add --enable-runtime-cpudetect
Ramiro Polla [Wed, 8 Apr 2009 20:26:18 +0000 (20:26 +0000)]
configure: Add --enable-runtime-cpudetect

Originally committed as revision 18380 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.
Ramiro Polla [Wed, 8 Apr 2009 20:21:21 +0000 (20:21 +0000)]
Rename RUNTIME_CPUDETECT to CONFIG_RUNTIME_CPUDETECT and always define it.

Originally committed as revision 29154 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoCorrectly set packet size for partial video packets in nuv demuxer.
Reimar Döffinger [Wed, 8 Apr 2009 20:20:42 +0000 (20:20 +0000)]
Correctly set packet size for partial video packets in nuv demuxer.

Originally committed as revision 18379 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd av_shrink_packet function for use in av_get_packet that reduces pkt->size
Reimar Döffinger [Wed, 8 Apr 2009 20:19:12 +0000 (20:19 +0000)]
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

10 years agoReduce code duplication.
Zhentan Feng [Wed, 8 Apr 2009 16:01:10 +0000 (16:01 +0000)]
Reduce code duplication.

Patch by Zhentan Feng, spyfeng gmail

Originally committed as revision 18377 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDocument addition of new avcodec_decode_video2/audio3/subtitle2() API and
Ronald S. Bultje [Wed, 8 Apr 2009 12:37:29 +0000 (12:37 +0000)]
Document addition of new avcodec_decode_video2/audio3/subtitle2() API and
the deprecation of the old API calls.

Originally committed as revision 18376 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd support for AMR audio in the RTP muxer
Martin Storsjö [Wed, 8 Apr 2009 07:16:14 +0000 (07:16 +0000)]
Add support for AMR audio in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18375 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoforce sample for qcelp when not stored in mov, fix #968
Baptiste Coudurier [Wed, 8 Apr 2009 03:38:59 +0000 (03:38 +0000)]
force sample for qcelp when not stored in mov, fix #968

Originally committed as revision 18374 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoReindent after r18372.
Ronald S. Bultje [Wed, 8 Apr 2009 03:06:08 +0000 (03:06 +0000)]
Reindent after r18372.

Originally committed as revision 18373 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd waveformat-extensible support in the wav muxer.
Ronald S. Bultje [Wed, 8 Apr 2009 03:04:57 +0000 (03:04 +0000)]
Add waveformat-extensible support in the wav muxer.

Patch (GSoC qualfication task) by Zhentan Feng spyfeng gmail com, see
"[FFmpeg-devel] Add waveformat extensible support in wav muxer (SoC
qualification task)" thread on mailinglist.

Originally committed as revision 18372 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoClarify which time_base the relevant members of AVPacket use
Robert Swain [Wed, 8 Apr 2009 01:45:44 +0000 (01:45 +0000)]
Clarify which time_base the relevant members of AVPacket use

Originally committed as revision 18371 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomove codec tag tables near corresponding code
Baptiste Coudurier [Tue, 7 Apr 2009 22:34:05 +0000 (22:34 +0000)]
move codec tag tables near corresponding code

Originally committed as revision 18370 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetics, reindent
Baptiste Coudurier [Tue, 7 Apr 2009 22:31:53 +0000 (22:31 +0000)]
cosmetics, reindent

Originally committed as revision 18369 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetics, add empty line and remove useless braces
Baptiste Coudurier [Tue, 7 Apr 2009 22:31:17 +0000 (22:31 +0000)]
cosmetics, add empty line and remove useless braces

Originally committed as revision 18368 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agofix compilation, add missing parenthesis
Baptiste Coudurier [Tue, 7 Apr 2009 22:28:39 +0000 (22:28 +0000)]
fix compilation, add missing parenthesis

Originally committed as revision 18367 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocomment the ipod subtitle check
Baptiste Coudurier [Tue, 7 Apr 2009 22:26:47 +0000 (22:26 +0000)]
comment the ipod subtitle check

Originally committed as revision 18366 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoinvert condition to simplify code
Baptiste Coudurier [Tue, 7 Apr 2009 22:25:11 +0000 (22:25 +0000)]
invert condition to simplify code

Originally committed as revision 18365 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoremove no more needed code, tag is set by default
Baptiste Coudurier [Tue, 7 Apr 2009 22:23:15 +0000 (22:23 +0000)]
remove no more needed code, tag is set by default

Originally committed as revision 18364 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agocosmetics, reindent, add empty lines
Baptiste Coudurier [Tue, 7 Apr 2009 22:21:43 +0000 (22:21 +0000)]
cosmetics, reindent, add empty lines

Originally committed as revision 18363 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agosplit mov_find_codec_tag in separate per format functions
Baptiste Coudurier [Tue, 7 Apr 2009 22:19:58 +0000 (22:19 +0000)]
split mov_find_codec_tag in separate per format functions

Originally committed as revision 18362 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImprove grammar/comprehensibility of the lavu 50.2.0 entry.
Stefano Sabatini [Tue, 7 Apr 2009 21:59:16 +0000 (21:59 +0000)]
Improve grammar/comprehensibility of the lavu 50.2.0 entry.

Originally committed as revision 18361 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAlways return 0 if read_packet is successful.
Reimar Döffinger [Tue, 7 Apr 2009 21:25:02 +0000 (21:25 +0000)]
Always return 0 if read_packet is successful.

Originally committed as revision 18360 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDo not uselessly read version string into a buffer.
Reimar Döffinger [Tue, 7 Apr 2009 21:16:11 +0000 (21:16 +0000)]
Do not uselessly read version string into a buffer.

Originally committed as revision 18359 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDescribe read_alloc return value and required pkt handling to avoid memleaks
Reimar Döffinger [Tue, 7 Apr 2009 21:10:10 +0000 (21:10 +0000)]
Describe read_alloc return value and required pkt handling to avoid memleaks

Originally committed as revision 18358 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoError out also when reading nuv header returns with partial data and return
Reimar Döffinger [Tue, 7 Apr 2009 20:52:37 +0000 (20:52 +0000)]
Error out also when reading nuv header returns with partial data and return
AVERROR(EIO) then.

Originally committed as revision 18357 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoset bits_per_coded_sample for rawvideo
Baptiste Coudurier [Tue, 7 Apr 2009 20:47:56 +0000 (20:47 +0000)]
set bits_per_coded_sample for rawvideo

Originally committed as revision 18356 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agooverride mov fourcc for pcm audio, this is safer when stream copying
Baptiste Coudurier [Tue, 7 Apr 2009 20:37:30 +0000 (20:37 +0000)]
override mov fourcc for pcm audio, this is safer when stream copying

Originally committed as revision 18355 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix second amr_nb_decode_frame() to also use the new AVPacket argument
Robert Swain [Tue, 7 Apr 2009 19:29:00 +0000 (19:29 +0000)]
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

10 years agoMove av_packet_*() functions from libavformat/ to libavcodec/, where the
Thilo Borgmann [Tue, 7 Apr 2009 18:31:14 +0000 (18:31 +0000)]
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

10 years agofix vp5/vp6 decoding by using new prototype for decode function
Aurelien Jacobs [Tue, 7 Apr 2009 18:24:47 +0000 (18:24 +0000)]
fix vp5/vp6 decoding by using new prototype for decode function

Originally committed as revision 18352 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
Thilo Borgmann [Tue, 7 Apr 2009 15:59:50 +0000 (15:59 +0000)]
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

10 years agoMove AVPacket up a bit, so that structs/functions that include AVPacket can
Thilo Borgmann [Tue, 7 Apr 2009 15:37:26 +0000 (15:37 +0000)]
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

10 years agouse av_freep() instead of av_free() + =NULL.
Aurelien Jacobs [Tue, 7 Apr 2009 12:31:28 +0000 (12:31 +0000)]
use av_freep() instead of av_free() + =NULL.

Originally committed as revision 18349 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix the copyright year
Luca Abeni [Tue, 7 Apr 2009 12:28:41 +0000 (12:28 +0000)]
Fix the copyright year

Originally committed as revision 18348 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd support for H.263 video in the RTP muxer
Martin Storsjö [Tue, 7 Apr 2009 06:41:55 +0000 (06:41 +0000)]
Add support for H.263 video in the RTP muxer
patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18347 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDo not return payload type 34 for H.263 (it is deprecated)
Luca Abeni [Tue, 7 Apr 2009 06:37:12 +0000 (06:37 +0000)]
Do not return payload type 34 for H.263 (it is deprecated)

Originally committed as revision 18346 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMove scale factor computation to its own function. Patch by Kenan
Kenan Gillet [Tue, 7 Apr 2009 01:39:17 +0000 (01:39 +0000)]
Move scale factor computation to its own function. Patch by Kenan
Gillet.

Originally committed as revision 18345 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoTry to honor even completely invalid motion vectors as far as is
Michael Niedermayer [Mon, 6 Apr 2009 21:45:02 +0000 (21:45 +0000)]
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

10 years agoOnly insert the SPS and PPS NALs in sprop-parameter-sets
Martin Storsjö [Mon, 6 Apr 2009 21:04:26 +0000 (21:04 +0000)]
Only insert the SPS and PPS NALs in sprop-parameter-sets
Patch by Martin Storsjö (martin AT martin DOT st)

Originally committed as revision 18343 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing entry corresponding to r18163.
Stefano Sabatini [Mon, 6 Apr 2009 17:44:31 +0000 (17:44 +0000)]
Add missing entry corresponding to r18163.

Originally committed as revision 18342 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoCosmetics: remove empty line.
Stefano Sabatini [Mon, 6 Apr 2009 17:41:15 +0000 (17:41 +0000)]
Cosmetics: remove empty line.

Originally committed as revision 18341 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoFix minor version for the r18116 entry: minor was not bumped in that
Stefano Sabatini [Mon, 6 Apr 2009 17:39:39 +0000 (17:39 +0000)]
Fix minor version for the r18116 entry: minor was not bumped in that
revision.

Originally committed as revision 18340 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd convenience macros for 5.0/5.1 back speaker configurations.
Justin Ruggles [Mon, 6 Apr 2009 01:07:09 +0000 (01:07 +0000)]
Add convenience macros for 5.0/5.1 back speaker configurations.

Originally committed as revision 18339 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: Filters and matrices may change only once per substream per access unit.
Ramiro Polla [Mon, 6 Apr 2009 00:58:03 +0000 (00:58 +0000)]
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

10 years agomlpdec: There must be no extraword for MLP.
Ramiro Polla [Sun, 5 Apr 2009 20:54:19 +0000 (20:54 +0000)]
mlpdec: There must be no extraword for MLP.

Originally committed as revision 18337 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: Validate non-restart bit from the substream header.
Ramiro Polla [Sun, 5 Apr 2009 20:46:53 +0000 (20:46 +0000)]
mlpdec: Validate non-restart bit from the substream header.

Originally committed as revision 18336 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agomlpdec: matrix_out_ch must not be greater than max_matrix_channel, and not max_channel.
Ramiro Polla [Sun, 5 Apr 2009 20:11:40 +0000 (20:11 +0000)]
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

10 years agoswscale: Remove X86 commented out code.
Ramiro Polla [Sun, 5 Apr 2009 19:17:53 +0000 (19:17 +0000)]
swscale: Remove X86 commented out code.

Originally committed as revision 29149 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoMake sure the last bits of huffyuv frames are zeroed.
Michael Niedermayer [Sun, 5 Apr 2009 13:02:47 +0000 (13:02 +0000)]
Make sure the last bits of huffyuv frames are zeroed.
Fixes issue946

Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoswscale: Use function pointers for swScale functions.
Ramiro Polla [Sat, 4 Apr 2009 22:45:02 +0000 (22:45 +0000)]
swscale: Use function pointers for swScale functions.

Originally committed as revision 29145 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoswscale: {}-related cosmetics.
Ramiro Polla [Sat, 4 Apr 2009 22:43:24 +0000 (22:43 +0000)]
swscale: {}-related cosmetics.

Originally committed as revision 29144 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoswscale: Add const to some swScale functions' parameters.
Ramiro Polla [Sat, 4 Apr 2009 22:41:46 +0000 (22:41 +0000)]
swscale: Add const to some swScale functions' parameters.

Originally committed as revision 29143 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

10 years agoARM: NEON optimized put_signed_pixels_clamped
David Conrad [Sat, 4 Apr 2009 21:02:48 +0000 (21:02 +0000)]
ARM: NEON optimized put_signed_pixels_clamped

Originally committed as revision 18333 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoARM: NEON optimised add_pixels_clamped
Måns Rullgård [Sat, 4 Apr 2009 20:18:58 +0000 (20:18 +0000)]
ARM: NEON optimised add_pixels_clamped

Based on patch by David Conrad.

Originally committed as revision 18332 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd missing static qualifier from function declaration. Patch by Kenan
Kenan Gillet [Sat, 4 Apr 2009 16:27:54 +0000 (16:27 +0000)]
Add missing static qualifier from function declaration. Patch by Kenan
Gillet.

Originally committed as revision 18331 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoRename FF_MM_MMXEXT to FF_MM_MMX2, for both clarity and consistency
Stefano Sabatini [Sat, 4 Apr 2009 13:20:53 +0000 (13:20 +0000)]
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

10 years agoRemove JACK input device addition entry.
Stefano Sabatini [Fri, 3 Apr 2009 21:28:04 +0000 (21:28 +0000)]
Remove JACK input device addition entry.

The addition of a new component is not considered an API change.

Originally committed as revision 18329 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoDo not fail on zero packets.
Michael Niedermayer [Fri, 3 Apr 2009 15:32:31 +0000 (15:32 +0000)]
Do not fail on zero packets.

Originally committed as revision 18328 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMark line_skip3 asm argument as output-only instead of using av_uninit.
Reimar Döffinger [Fri, 3 Apr 2009 14:03:49 +0000 (14:03 +0000)]
Mark line_skip3 asm argument as output-only instead of using av_uninit.

Originally committed as revision 18327 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoMark put_signed_pixels_clamped_mmx output operands as early-clobber because
Reimar Döffinger [Fri, 3 Apr 2009 14:02:34 +0000 (14:02 +0000)]
Mark put_signed_pixels_clamped_mmx output operands as early-clobber because
they are. Hopefully fixes some FATE errors, too.

Originally committed as revision 18326 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUse DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE
Reimar Döffinger [Fri, 3 Apr 2009 14:01:24 +0000 (14:01 +0000)]
Use DECLARE_ASM_CONST for non-global ff_vector128 constant used via MANGLE

Originally committed as revision 18325 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoAdd VC-1 bitstream decoding through VA API.
Gwenole Beauchesne [Fri, 3 Apr 2009 07:40:58 +0000 (07:40 +0000)]
Add VC-1 bitstream decoding through VA API.

Originally committed as revision 18324 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoUpdate after the last two commits.
Stefano Sabatini [Fri, 3 Apr 2009 00:06:17 +0000 (00:06 +0000)]
Update after the last two commits.

Originally committed as revision 18323 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement JACK input device.
Olivier Guilyardi [Thu, 2 Apr 2009 23:53:47 +0000 (23:53 +0000)]
Implement JACK input device.

Patch by Olivier Guilyardi list samalyse com.
See the thread: "[FFmpeg-devel] [PATCH] libavdevice: JACK demuxer".

Originally committed as revision 18322 to svn://svn.ffmpeg.org/ffmpeg/trunk

10 years agoImplement av_fifo_space().
Olivier Guilyardi [Thu, 2 Apr 2009 23:22:19 +0000 (23:22 +0000)]
Implement av_fifo_space().

Patch by Olivier Guilyardi list et samalyse DOT c0m.

Originally committed as revision 18321 to svn://svn.ffmpeg.org/ffmpeg/trunk