ffmpeg.git
11 years agoMake avfilter_get_video_buffer() recursive.
Stefano Sabatini [Sun, 18 Oct 2009 08:16:18 +0000 (08:16 +0000)]
Make avfilter_get_video_buffer() recursive.

When called on a link with a filter whose destination pad has not a
get_video_buffer callback defined, it will call
avfilter_get_video_buffer() on the first output link of the
destination filer, rather than use avfilter_default_get_buffer(), so
the video buffer can be allocated forward in the filterchain.

Also add the w and h parameters to avfilter_get_video_buffer(), as the
minimum width and height requested by each filter in the filterchain
may change, this allows for example a memcpy-less pad filter.

This change breaks API / ABI backward compatibility.

See the thread:
"[PATCH] Implement recusive avfilter_get_video_buffer()".

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

11 years agoAdd documentation for libavfilter video filters.
Stefano Sabatini [Sun, 18 Oct 2009 07:46:06 +0000 (07:46 +0000)]
Add documentation for libavfilter video filters.

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

11 years agoSupport more than 64 channels in RTMP input
Kostya Shishkov [Sun, 18 Oct 2009 07:01:06 +0000 (07:01 +0000)]
Support more than 64 channels in RTMP input

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

11 years agoAccept RTMP packets with one-byte header
Kostya Shishkov [Sun, 18 Oct 2009 06:58:00 +0000 (06:58 +0000)]
Accept RTMP packets with one-byte header

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

11 years agoLast parameter in RTMP "play" call was optional and some servers seem not to
Kostya Shishkov [Sun, 18 Oct 2009 06:54:04 +0000 (06:54 +0000)]
Last parameter in RTMP "play" call was optional and some servers seem not to
understand it, so drop it.

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

11 years agoRemove unnecessary entries in ff_vorbiscomment_metadata_conv. VorbisComment
Justin Ruggles [Sat, 17 Oct 2009 21:30:50 +0000 (21:30 +0000)]
Remove unnecessary entries in ff_vorbiscomment_metadata_conv. VorbisComment
keys are case-insensitive.

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

11 years agoMove autocorrelation function from flacenc.c to lpc.c. Also rename the
Justin Ruggles [Sat, 17 Oct 2009 21:00:39 +0000 (21:00 +0000)]
Move autocorrelation function from flacenc.c to lpc.c. Also rename the
corresponding dsputil functions and remove their dependency on the FLAC
encoder.
Fixes Issue1486.

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

11 years agoAvoid segfault for empty input files
Vitor Sessak [Sat, 17 Oct 2009 20:37:58 +0000 (20:37 +0000)]
Avoid segfault for empty input files

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

11 years agoRevert r20249, it seems the union trick works everywhere
Michael Niedermayer [Sat, 17 Oct 2009 19:35:47 +0000 (19:35 +0000)]
Revert r20249, it seems the union trick works everywhere
Original commit message:
Very evil missuse of svn to test if AVOption and AVOption2 are compatible.
If this test triggers anywhere for anyone, revert this commit immedeatly.
Ill revert this in a day or 2, its just so we know beforehand if the idea
with the union is doable or not without breaking ABI/API.

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

11 years agoRemove extraneous const keyword
Måns Rullgård [Sat, 17 Oct 2009 14:07:28 +0000 (14:07 +0000)]
Remove extraneous const keyword

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

11 years agoEmit the SDP lines in the correct order
Luca Abeni [Sat, 17 Oct 2009 11:15:45 +0000 (11:15 +0000)]
Emit the SDP lines in the correct order

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

11 years agoalacenc : use private compression_level value consistently.
Jai Menon [Sat, 17 Oct 2009 08:04:33 +0000 (08:04 +0000)]
alacenc : use private compression_level value consistently.

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

11 years agoRemove a meaningless 'inline' from add_hfyu_left_prediction_bgr32_c().
Alexander Strange [Fri, 16 Oct 2009 23:06:55 +0000 (23:06 +0000)]
Remove a meaningless 'inline' from add_hfyu_left_prediction_bgr32_c().

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

11 years agoHuffyuv: Add missing const to src pointers in dsputil functions.
Alexander Strange [Fri, 16 Oct 2009 23:04:41 +0000 (23:04 +0000)]
Huffyuv: Add missing const to src pointers in dsputil functions.

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

11 years agoHuffyuv: Remove unnecessary allocation in alloc_temp().
Alexander Strange [Fri, 16 Oct 2009 22:55:34 +0000 (22:55 +0000)]
Huffyuv: Remove unnecessary allocation in alloc_temp().

RGB only needs one temp array.

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

11 years agoHuffyuv: Fix a valgrind warning in get_vlc2().
Alexander Strange [Fri, 16 Oct 2009 22:52:23 +0000 (22:52 +0000)]
Huffyuv: Fix a valgrind warning in get_vlc2().

The padding in bitstream_buffer wasn't initialized.

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

11 years agoalacenc : Move some code around for clarity.
Jai Menon [Fri, 16 Oct 2009 16:50:15 +0000 (16:50 +0000)]
alacenc : Move some code around for clarity.

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

11 years agomlp: Indent.
Ramiro Polla [Fri, 16 Oct 2009 16:12:04 +0000 (16:12 +0000)]
mlp: Indent.

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

11 years agomlp: Only initialize VLC tables once. This caused a crash when multiple
Ramiro Polla [Fri, 16 Oct 2009 16:10:00 +0000 (16:10 +0000)]
mlp: Only initialize VLC tables once. This caused a crash when multiple
instances of the decoder were started at different times.
Bug reported by Maxim Anisiutkin.

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

11 years agomlp: Use smaller CRC tables if CONFIG_SMALL.
Reimar Döffinger [Fri, 16 Oct 2009 16:03:26 +0000 (16:03 +0000)]
mlp: Use smaller CRC tables if CONFIG_SMALL.
Patch by Reimar.

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

11 years agoDo not try to free memory that was never allocated (partial revert of r20231).
Carl Eugen Hoyos [Fri, 16 Oct 2009 15:16:59 +0000 (15:16 +0000)]
Do not try to free memory that was never allocated (partial revert of r20231).

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

11 years agoRelease unreleased buffers found by make test.
Carl Eugen Hoyos [Fri, 16 Oct 2009 14:50:08 +0000 (14:50 +0000)]
Release unreleased buffers found by make test.

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

11 years agoMake AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0.
Carl Eugen Hoyos [Fri, 16 Oct 2009 14:46:06 +0000 (14:46 +0000)]
Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0.

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

11 years agoVery evil missuse of svn to test if AVOption and AVOption2 are compatible.
Michael Niedermayer [Fri, 16 Oct 2009 12:35:49 +0000 (12:35 +0000)]
Very evil missuse of svn to test if AVOption and AVOption2 are compatible.
If this test triggers anywhere for anyone, revert this commit immedeatly.
Ill revert this in a day or 2, its just so we know beforehand if the idea
with the union is doable or not without breaking ABI/API.

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

11 years agoAdd an experimental AVOption2 that uses an union instead of double for default_val.
Michael Niedermayer [Fri, 16 Oct 2009 12:31:32 +0000 (12:31 +0000)]
Add an experimental AVOption2 that uses an union instead of double for default_val.

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

11 years agoLog a clearer warning message when muxing FLV with Speex containing more than
Justin Ruggles [Fri, 16 Oct 2009 10:04:35 +0000 (10:04 +0000)]
Log a clearer warning message when muxing FLV with Speex containing more than
8 frames per packet.

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

11 years agoSplit parts of dvdata.h into dvdata.c, this ensures that things like
Reimar Döffinger [Fri, 16 Oct 2009 07:55:57 +0000 (07:55 +0000)]
Split parts of dvdata.h into dvdata.c, this ensures that things like
work_chunks_* and dv_idct_factor_* variables appear only once in the binary
instead of 3 times.
Saves 3264 bytes in .rodata and 312416 bytes in .bss on x86_64.

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

11 years agoAdd Speex support to the FLV muxer.
Justin Ruggles [Fri, 16 Oct 2009 03:02:25 +0000 (03:02 +0000)]
Add Speex support to the FLV muxer.

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

11 years agoAdd support for hardcoded ff_sin_* tables.
Reimar Döffinger [Thu, 15 Oct 2009 18:04:55 +0000 (18:04 +0000)]
Add support for hardcoded ff_sin_* tables.

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

11 years agoMove/add COSTABLE/SINTABLE macros to dsputil to add extern definitions
Reimar Döffinger [Thu, 15 Oct 2009 17:55:51 +0000 (17:55 +0000)]
Move/add COSTABLE/SINTABLE macros to dsputil to add extern definitions
for ff_cos_* and ff_sin_* without introducing too much code duplication.

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

11 years agoRemove silly casts to the same type as we already have.
Reimar Döffinger [Thu, 15 Oct 2009 17:19:07 +0000 (17:19 +0000)]
Remove silly casts to the same type as we already have.

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

11 years agoAdd missing release_buffer at decode end for asv1 decoder.
Reimar Döffinger [Thu, 15 Oct 2009 17:16:50 +0000 (17:16 +0000)]
Add missing release_buffer at decode end for asv1 decoder.

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

11 years agoPartially revert r20233, exp2f is not available on some BSDs, DOS and AVR32.
Reimar Döffinger [Thu, 15 Oct 2009 17:10:07 +0000 (17:10 +0000)]
Partially revert r20233, exp2f is not available on some BSDs, DOS and AVR32.

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

11 years agoRaise MAX_THREADS to 16.
Frank Barchard [Thu, 15 Oct 2009 15:11:57 +0000 (15:11 +0000)]
Raise MAX_THREADS to 16.

Patch by Frank Barchard, fbarchard google com

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

11 years agoSkip padding bytes correctly in ID3 tags.
Jai Menon [Thu, 15 Oct 2009 13:55:19 +0000 (13:55 +0000)]
Skip padding bytes correctly in ID3 tags.
This fixes a regression introduced in r20170.

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

11 years agoDo not initialize ff_cos_* tables again in rdft_init, they are already
Reimar Döffinger [Thu, 15 Oct 2009 11:50:32 +0000 (11:50 +0000)]
Do not initialize ff_cos_* tables again in rdft_init, they are already
initialized by ff_fft_init and using different code can result in slightly
different values, in addition it crashes when the tables are hardcoded.
On amd64 this slightly changes qdm2 output.

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

11 years ago10l: update Makefile after rename
Justin Ruggles [Thu, 15 Oct 2009 09:49:06 +0000 (09:49 +0000)]
10l: update Makefile after rename

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

11 years agoRename aiff.c to aiffdec.c
Justin Ruggles [Thu, 15 Oct 2009 09:46:56 +0000 (09:46 +0000)]
Rename aiff.c to aiffdec.c

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

11 years agoSplit up the AIFF muxer and demuxer into separate files.
Justin Ruggles [Thu, 15 Oct 2009 09:45:16 +0000 (09:45 +0000)]
Split up the AIFF muxer and demuxer into separate files.

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

11 years agoUse cbrtf and exp2f instead of pow to calculate tables for MPEG audio decoding.
Reimar Döffinger [Thu, 15 Oct 2009 06:59:23 +0000 (06:59 +0000)]
Use cbrtf and exp2f instead of pow to calculate tables for MPEG audio decoding.
This hopefully is fast enough so that it is reasonable to use the same formula
directly instead of the table for CONFIG_SMALL.

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

11 years agoUse hardcoded instead of runtime-calculated ff_cos_* tables if
Reimar Döffinger [Wed, 14 Oct 2009 21:41:24 +0000 (21:41 +0000)]
Use hardcoded instead of runtime-calculated ff_cos_* tables if
--enable-hardcoded-tables was used.
Due to the size, the code for the tables is generated at compile time.

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

11 years agoRelease frame after decoding is done
Kostya Shishkov [Wed, 14 Oct 2009 05:28:24 +0000 (05:28 +0000)]
Release frame after decoding is done

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

11 years agoPrint a warning message when avcodec_default_free_buffers finds unreleased
Reimar Döffinger [Tue, 13 Oct 2009 20:48:51 +0000 (20:48 +0000)]
Print a warning message when avcodec_default_free_buffers finds unreleased
buffers, this hopefully should help detect codecs that do not release all
buffers e.g. in the decode_end function.

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

11 years agoRemove unnecessary calls to avcodec_check_dimensions, the check is already
Reimar Döffinger [Tue, 13 Oct 2009 20:13:28 +0000 (20:13 +0000)]
Remove unnecessary calls to avcodec_check_dimensions, the check is already
done at a higher level.

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

11 years agoCall release_buffer on close for v210dec and v210x
Reimar Döffinger [Tue, 13 Oct 2009 18:31:22 +0000 (18:31 +0000)]
Call release_buffer on close for v210dec and v210x

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

11 years agoAdd missing release_buffer on close
Reimar Döffinger [Tue, 13 Oct 2009 18:28:37 +0000 (18:28 +0000)]
Add missing release_buffer on close

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

11 years agoAdd decoder for "forward uncompressed".
Reimar Döffinger [Tue, 13 Oct 2009 18:15:57 +0000 (18:15 +0000)]
Add decoder for "forward uncompressed".
Fixes issue 1467.

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

11 years agoImplement execute2 for w32thread
Reimar Döffinger [Tue, 13 Oct 2009 13:40:03 +0000 (13:40 +0000)]
Implement execute2 for w32thread

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

11 years agoFix w32thread implementation to handle job count > thread_count.
Reimar Döffinger [Tue, 13 Oct 2009 13:03:12 +0000 (13:03 +0000)]
Fix w32thread implementation to handle job count > thread_count.

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

11 years agofft_dispatch array should be const
Reimar Döffinger [Tue, 13 Oct 2009 10:30:10 +0000 (10:30 +0000)]
fft_dispatch array should be const

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

11 years agoSimplify: use FFSWAP
Reimar Döffinger [Tue, 13 Oct 2009 08:23:00 +0000 (08:23 +0000)]
Simplify: use FFSWAP

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

11 years agoMXF: simply ignore tracks that are invalid due to not having a valid Sequence
Reimar Döffinger [Tue, 13 Oct 2009 08:08:10 +0000 (08:08 +0000)]
MXF: simply ignore tracks that are invalid due to not having a valid Sequence
part instead of failing completely.
This partly fixes issue 1470 (broken files created by BBC ingex recorder).

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

11 years agoAdd Speex support to the Ogg muxer.
Justin Ruggles [Tue, 13 Oct 2009 01:46:19 +0000 (01:46 +0000)]
Add Speex support to the Ogg muxer.

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

11 years agoDo not read data past the end of the SSND chunk in the AIFF demuxer.
Justin Ruggles [Tue, 13 Oct 2009 00:19:34 +0000 (00:19 +0000)]
Do not read data past the end of the SSND chunk in the AIFF demuxer.
Fixes Issue 1455.

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

11 years agoSupport Midvid JPEG Video Codec (still flipped).
Carl Eugen Hoyos [Mon, 12 Oct 2009 22:00:14 +0000 (22:00 +0000)]
Support Midvid JPEG Video Codec (still flipped).

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

11 years agoSupport Intel JPEG Library Video Codec (still flipped).
Carl Eugen Hoyos [Mon, 12 Oct 2009 21:35:26 +0000 (21:35 +0000)]
Support Intel JPEG Library Video Codec (still flipped).

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

11 years agoCalculate correct packet durations when demuxing Ogg/Speex. This involves
Justin Ruggles [Mon, 12 Oct 2009 21:30:03 +0000 (21:30 +0000)]
Calculate correct packet durations when demuxing Ogg/Speex. This involves
determining if there is any delay in the first packet and/or any truncation in
the final packet.

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

11 years agoextend description of avcodec_decode_audio3:
Sascha Sommer [Mon, 12 Oct 2009 19:50:31 +0000 (19:50 +0000)]
extend description of avcodec_decode_audio3:
- clarify when 0 is returned
- explain that decode_audio3 has to be called multiple times when there
  are multiple frames in a single packet

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

11 years agoMerge declaration and initialization
Reimar Döffinger [Mon, 12 Oct 2009 16:38:08 +0000 (16:38 +0000)]
Merge declaration and initialization

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

11 years agoSimplify: use FFMIN
Reimar Döffinger [Mon, 12 Oct 2009 16:36:48 +0000 (16:36 +0000)]
Simplify: use FFMIN

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

11 years agoReindent after removing the outer for loops in the execute2 patch
Reimar Döffinger [Mon, 12 Oct 2009 14:46:53 +0000 (14:46 +0000)]
Reindent after removing the outer for loops in the execute2 patch

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

11 years agoMove dnxhdenc to execute2 multithreading API.
Reimar Döffinger [Mon, 12 Oct 2009 14:43:57 +0000 (14:43 +0000)]
Move dnxhdenc to execute2 multithreading API.
This allows for some simplifications like removing some outer loops
and gives much better performance for thread_count > number of idle CPUs.

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

11 years agoAdd an execute2 function that is more flexible and allows to use parallel
Reimar Döffinger [Mon, 12 Oct 2009 11:35:35 +0000 (11:35 +0000)]
Add an execute2 function that is more flexible and allows to use parallel
processing with jobs > threads without wasting too much memory.
It also avoids needing a separate int array when the only additional data
the jobs needs is a single int running from 0 to count-1.

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

11 years agoDetect Windows Media DRM protected files and display warning if no key
Daniel G. Taylor [Sun, 11 Oct 2009 23:09:33 +0000 (23:09 +0000)]
Detect Windows Media DRM protected files and display warning if no key
was provided.

Patch by Daniel G. Taylor, dan programmer-art org

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

11 years agoARM: align stack in NEON h264 mc functions
Måns Rullgård [Sun, 11 Oct 2009 16:16:08 +0000 (16:16 +0000)]
ARM: align stack in NEON h264 mc functions

A certain rotten fruit operating system doesn't provide the 8-byte stack
alignment required by the standard ARM ABI, so align it manually.

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

11 years agoARM: force PIC for shared libs only with ARMv6T2 and later
Måns Rullgård [Sun, 11 Oct 2009 14:32:18 +0000 (14:32 +0000)]
ARM: force PIC for shared libs only with ARMv6T2 and later

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

11 years agoAllow autodetection of E-AC3.
Carl Eugen Hoyos [Sun, 11 Oct 2009 11:56:53 +0000 (11:56 +0000)]
Allow autodetection of E-AC3.

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

11 years agoDo the dnxhd_720p_rd test with -threads 4 in order to also test the threading code.
Reimar Döffinger [Sun, 11 Oct 2009 11:50:12 +0000 (11:50 +0000)]
Do the dnxhd_720p_rd test with -threads 4 in order to also test the threading code.

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

11 years agoARM: simplify movrel definition as CONFIG_PIC is now set for shared libs
Måns Rullgård [Sun, 11 Oct 2009 10:15:48 +0000 (10:15 +0000)]
ARM: simplify movrel definition as CONFIG_PIC is now set for shared libs

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

11 years agoARM: enable PIC for shared libs
Måns Rullgård [Sun, 11 Oct 2009 10:15:45 +0000 (10:15 +0000)]
ARM: enable PIC for shared libs

Recent versions of gcc generate movw/movt pairs, and the linkers fail
to handle the associated relocations properly.  Those responsible at
Codesourcery have refused to consider fixing this.  Blame them for
making shared libraries slower than they need to be.

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

11 years ago100l in avpicture_layout: width of chroma planes depends on format depth, too.
Reimar Döffinger [Sun, 11 Oct 2009 07:05:26 +0000 (07:05 +0000)]
100l in avpicture_layout: width of chroma planes depends on format depth, too.
Fixes issue 1465

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

11 years agoWarn when WVC1 cannot be decoded
Kostya Shishkov [Sun, 11 Oct 2009 05:36:59 +0000 (05:36 +0000)]
Warn when WVC1 cannot be decoded

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

11 years agoAllow demuxing of E-AC3 (stream type 0x84) in MPEG-TS.
Carl Eugen Hoyos [Sat, 10 Oct 2009 21:17:52 +0000 (21:17 +0000)]
Allow demuxing of E-AC3 (stream type 0x84) in MPEG-TS.

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

11 years agoHack: set the coded frame PTS to the incoming PTS.
Reimar Döffinger [Sat, 10 Oct 2009 14:43:31 +0000 (14:43 +0000)]
Hack: set the coded frame PTS to the incoming PTS.
This is not correct, but libtheora does not seem to provide a way
to get the correct value, and this is necessary to make encoding
produce sensible time stamps when encoded content is variable
FPS or the time base is simply different from FPS.
Somewhat fixes issue 1197.

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

11 years agoDocument the additon of the w and h fields to AVFilterPic.
Stefano Sabatini [Sat, 10 Oct 2009 10:40:36 +0000 (10:40 +0000)]
Document the additon of the w and h fields to AVFilterPic.

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

11 years agoFix 100l incorrect bitmask check.
Reimar Döffinger [Sat, 10 Oct 2009 08:49:57 +0000 (08:49 +0000)]
Fix 100l incorrect bitmask check.

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

11 years agoPrint error message when true interlaced VC-1 frames are encountered
Kostya Shishkov [Sat, 10 Oct 2009 07:35:31 +0000 (07:35 +0000)]
Print error message when true interlaced VC-1 frames are encountered
to inform user why decoder produces no output.

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

11 years agoDo not allow 0 sample rate in TMV demuxer
Daniel Verkamp [Fri, 9 Oct 2009 18:29:19 +0000 (18:29 +0000)]
Do not allow 0 sample rate in TMV demuxer

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

11 years agoStricter TMV probe
Daniel Verkamp [Fri, 9 Oct 2009 18:24:47 +0000 (18:24 +0000)]
Stricter TMV probe

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

11 years agoAAC: Fix regression introduced in r20067 where ADTS files would always be
Robert Swain [Fri, 9 Oct 2009 15:38:44 +0000 (15:38 +0000)]
AAC: Fix regression introduced in r20067 where ADTS files would always be
signalled as having a channel configuration of 1 in output_configure().
Previously this didn't matter but it does now.

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

11 years agodca and aac decoders use float_to_int16_interleave, so check for
David Conrad [Thu, 8 Oct 2009 14:40:14 +0000 (14:40 +0000)]
dca and aac decoders use float_to_int16_interleave, so check for
the C version of that rather than float_to_int16.
Fixes output on ARM/VFP

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

11 years agoARM: whitespace cosmetics
Måns Rullgård [Wed, 7 Oct 2009 21:35:24 +0000 (21:35 +0000)]
ARM: whitespace cosmetics

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

11 years agoARM: NEON avg_pixels8 and avg_h264_qpel8_mc00
Måns Rullgård [Wed, 7 Oct 2009 21:35:19 +0000 (21:35 +0000)]
ARM: NEON avg_pixels8 and avg_h264_qpel8_mc00

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

11 years agoAdd w and h fields to AVFilterPic.
Stefano Sabatini [Wed, 7 Oct 2009 18:50:00 +0000 (18:50 +0000)]
Add w and h fields to AVFilterPic.

See the thread:
"[FFmpeg-devel] [PATCH] Add w,h fields to AVFilterPic".

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

11 years agoAdd ALAC encoding and decoding regression tests.
Justin Ruggles [Tue, 6 Oct 2009 22:47:33 +0000 (22:47 +0000)]
Add ALAC encoding and decoding regression tests.

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

11 years agoImplement trace messages logging in the filterchain processing.
Stefano Sabatini [Tue, 6 Oct 2009 22:07:32 +0000 (22:07 +0000)]
Implement trace messages logging in the filterchain processing.

It is only enabled when the DEBUG symbol is defined.

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

11 years agoARM: make function names all-lowercase
Måns Rullgård [Tue, 6 Oct 2009 21:55:41 +0000 (21:55 +0000)]
ARM: make function names all-lowercase

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

11 years agoARM: enable ARMv4 add_pixels_clamped
Måns Rullgård [Tue, 6 Oct 2009 21:55:37 +0000 (21:55 +0000)]
ARM: enable ARMv4 add_pixels_clamped

Somehow this function was never used.

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

11 years agoARM: ARMv6 optimised add_pixels_clamped()
Måns Rullgård [Tue, 6 Oct 2009 21:55:35 +0000 (21:55 +0000)]
ARM: ARMv6 optimised add_pixels_clamped()

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

11 years agoARM: whitespace cosmetics
Måns Rullgård [Tue, 6 Oct 2009 21:55:30 +0000 (21:55 +0000)]
ARM: whitespace cosmetics

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

11 years agoReindent
Daniel Verkamp [Tue, 6 Oct 2009 17:51:28 +0000 (17:51 +0000)]
Reindent

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

11 years agoAdd RF64 support to wav demuxer.
Daniel Verkamp [Tue, 6 Oct 2009 17:50:10 +0000 (17:50 +0000)]
Add RF64 support to wav demuxer.

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

11 years agoAdd my GPG key fingerprint
Daniel Verkamp [Tue, 6 Oct 2009 17:42:58 +0000 (17:42 +0000)]
Add my GPG key fingerprint

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

11 years agoMove HuffYUV left prediction to dsputil.
Nathan Caldwell [Tue, 6 Oct 2009 16:06:15 +0000 (16:06 +0000)]
Move HuffYUV left prediction to dsputil.

Patch by Nathan Caldwell, saintdev gmail

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

11 years agoSince some junk may be or may be not present before actual VC-1 extradata,
Andrew Dennison [Tue, 6 Oct 2009 15:30:08 +0000 (15:30 +0000)]
Since some junk may be or may be not present before actual VC-1 extradata,
search for real extradata start instead of always skipping one byte.

Patch by Andrew Dennison gmailify(${name}d, lists)
Thread: [PATCH] Fix VC1 "Incomplete extradata" for mkv files generated by eac3to

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

11 years agoRemove casts that are useless since the argument is void *.
Reimar Döffinger [Tue, 6 Oct 2009 06:33:18 +0000 (06:33 +0000)]
Remove casts that are useless since the argument is void *.

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

11 years agoAllow building api-example from outside of libavcodec and also
Jai Menon [Tue, 6 Oct 2009 06:18:57 +0000 (06:18 +0000)]
Allow building api-example from outside of libavcodec and also
make it more consistent with libavformat/output-example.

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

11 years agoOnly read ID3v1 tag if ID3v2 isn't present or is empty.
Anton Khirnov [Mon, 5 Oct 2009 21:36:56 +0000 (21:36 +0000)]
Only read ID3v1 tag if ID3v2 isn't present or is empty.
This prevents the demuxer from exporting multiple semantically identical but
differently named tags.

Patch by Anton Khirnov, wyskas gmail

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

11 years agocosmetics: reindent and line wrap after last commit
Justin Ruggles [Mon, 5 Oct 2009 21:33:50 +0000 (21:33 +0000)]
cosmetics: reindent and line wrap after last commit

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

11 years agoalacenc: add a fixed LPC coefficient mode as compression level 1. old
Justin Ruggles [Mon, 5 Oct 2009 21:27:36 +0000 (21:27 +0000)]
alacenc: add a fixed LPC coefficient mode as compression level 1. old
compression level 1 is now compression level 2 and is still the default.

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