ffmpeg.git
9 years agocosmetics: Switch Doxygen comments to JavaDoc style.
Diego Biurrun [Tue, 20 Apr 2010 14:23:00 +0000 (14:23 +0000)]
cosmetics: Switch Doxygen comments to JavaDoc style.

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

9 years agoReset RTCP timestamps after seeking, add range start offset to the packets timestamps
Martin Storsjö [Tue, 20 Apr 2010 07:38:52 +0000 (07:38 +0000)]
Reset RTCP timestamps after seeking, add range start offset to the packets timestamps

If these aren't reset, the timestamps make a huge jump when the next RTCP
is received.

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

9 years agoRevert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext
Martin Storsjö [Tue, 20 Apr 2010 07:34:28 +0000 (07:34 +0000)]
Revert svn rev 21857, readd first_rtcp_ntp_time in RTPDemuxContext

In order to sync RTP streams that get their initial RTCP timestamp at
different times, propagate the NTP timestamp of the first RTCP packet
to all other streams.

This makes the timestamps of returned packets start at (near) zero instead
of at any random offset.

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

9 years agoSet AVFMT_NOTIMESTAMPS flag for mp3 muxer
Baptiste Coudurier [Tue, 20 Apr 2010 01:41:00 +0000 (01:41 +0000)]
Set AVFMT_NOTIMESTAMPS flag for mp3 muxer

Fixes issue 1026

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

9 years agovertical align in libx264.c
Jason Garrett-Glaser [Mon, 19 Apr 2010 21:20:20 +0000 (21:20 +0000)]
vertical align in libx264.c

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

9 years agoRevert "Fix libx264 configure check to use pkg-config if available."
Måns Rullgård [Mon, 19 Apr 2010 19:37:31 +0000 (19:37 +0000)]
Revert "Fix libx264 configure check to use pkg-config if available."

There are problems using pkg-config, and a better solution is being
worked on.

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

9 years agoFix libx264 configure check to use pkg-config if available.
Jason Garrett-Glaser [Mon, 19 Apr 2010 19:34:37 +0000 (19:34 +0000)]
Fix libx264 configure check to use pkg-config if available.

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

9 years agoMakefile: make fate target depend on compiling ffmpeg
Vitor Sessak [Mon, 19 Apr 2010 13:05:26 +0000 (13:05 +0000)]
Makefile: make fate target depend on compiling ffmpeg

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

9 years agoconfigure: simplify $COMPONENT_LIST handling
Måns Rullgård [Mon, 19 Apr 2010 12:49:56 +0000 (12:49 +0000)]
configure: simplify $COMPONENT_LIST handling

This lets check_deps set the generic CONFIG_ENCODERS and friends using
an _if_any construct.

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

9 years agoconfigure: simplify vaapi dependencies
Måns Rullgård [Mon, 19 Apr 2010 12:49:53 +0000 (12:49 +0000)]
configure: simplify vaapi dependencies

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

9 years agoconfigure: simplify vdpau dependencies
Måns Rullgård [Mon, 19 Apr 2010 12:49:51 +0000 (12:49 +0000)]
configure: simplify vdpau dependencies

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

9 years agoFATE: update nsv-demux checksums
Måns Rullgård [Mon, 19 Apr 2010 11:51:40 +0000 (11:51 +0000)]
FATE: update nsv-demux checksums

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

9 years agoMake ffserver support rfc3550
Luca Barbato [Mon, 19 Apr 2010 11:42:02 +0000 (11:42 +0000)]
Make ffserver support rfc3550

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

9 years agoMake rtp protocol obey rfc3550
Luca Barbato [Mon, 19 Apr 2010 11:40:45 +0000 (11:40 +0000)]
Make rtp protocol obey rfc3550

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

9 years agoFix leak in avfilter_graph_add_filter().
Stefano Sabatini [Sun, 18 Apr 2010 20:10:43 +0000 (20:10 +0000)]
Fix leak in avfilter_graph_add_filter().

In case of reallocation failure the pointer to the original filter
array was lost. The correct behavior seems to just keep the old array
and count.

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

9 years agoImplement librtmp seek support.
Howard Chu [Sun, 18 Apr 2010 19:09:25 +0000 (19:09 +0000)]
Implement librtmp seek support.

Implement flv_read_seek(), add a missing check on stream_index
and fix timestamp rounding in rtmp_read_seek().

Also add the flv_read_seek2() function, which is not enabled but is
useful as reference.
To actually implement flv_read_seek2() correctly, there would need to
be some corresponding av_url_read_fseek2() function to propagate the
timestamps down to the ByteIOContext and URLContext.

Patch by Howard Chu <hyc <at> highlandsun.com>.

See the thread:
Subject: [FFmpeg-devel] RTMP seek support
Date: 2010-03-28 23:35:02 GMT

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

9 years agoPrefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.
Stefano Sabatini [Sun, 18 Apr 2010 19:09:22 +0000 (19:09 +0000)]
Prefer AVERROR(ENOSYS) over AVERROR_NOTSUPP.

AVERROR_NOTSUPP is (maybe) going to be deprecated.

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

9 years agoMake url_fsize() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) if
Stefano Sabatini [Sun, 18 Apr 2010 17:37:21 +0000 (17:37 +0000)]
Make url_fsize() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) if
the seek operation is not defined in the ByteIOContext.

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

9 years agoMake url_seek() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) in
Stefano Sabatini [Sun, 18 Apr 2010 17:37:16 +0000 (17:37 +0000)]
Make url_seek() return AVERROR(ENOSYS) rather than AVERROR(EPIPE) in
the case where the seek operation is not defined in the protocol
handler.

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

9 years agoAdd const to some pointer parameters.
Michael Kaufmann [Sat, 17 Apr 2010 11:00:53 +0000 (11:00 +0000)]
Add const to some pointer parameters.

Patch by Michael Kaufmann, hallo michael-kaufmann ch

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

9 years agovp3: Use avctx pointer directly
David Conrad [Sat, 17 Apr 2010 10:37:42 +0000 (10:37 +0000)]
vp3: Use avctx pointer directly

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

9 years agovp3: Read fps and aspect ratio in the decoder
David Conrad [Sat, 17 Apr 2010 02:04:39 +0000 (02:04 +0000)]
vp3: Read fps and aspect ratio in the decoder

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

9 years agovp3: Don't crop if there's a left/top offset, it's wrong
David Conrad [Sat, 17 Apr 2010 02:04:35 +0000 (02:04 +0000)]
vp3: Don't crop if there's a left/top offset, it's wrong

Fixes issue1834

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

9 years agovp3: DC-only IDCT
David Conrad [Sat, 17 Apr 2010 02:04:30 +0000 (02:04 +0000)]
vp3: DC-only IDCT

2-4% faster overall decode

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

9 years agoTake ticks per frame into account when warning about difference between
Baptiste Coudurier [Fri, 16 Apr 2010 22:58:56 +0000 (22:58 +0000)]
Take ticks per frame into account when warning about difference between
container and codec frame rate.

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

9 years agoParse strf mov atoms
Martin Storsjö [Fri, 16 Apr 2010 20:36:24 +0000 (20:36 +0000)]
Parse strf mov atoms

This fixes roundup issue 1270.

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

9 years agovp3: More buffer length checks
David Conrad [Fri, 16 Apr 2010 12:21:44 +0000 (12:21 +0000)]
vp3: More buffer length checks

.5% slower to fix some crashes on invalid streams

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

9 years agovp3: Remove internal debug statement
David Conrad [Fri, 16 Apr 2010 12:21:41 +0000 (12:21 +0000)]
vp3: Remove internal debug statement

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

9 years agooggdec: Move warning about missing granule to the correct place
David Conrad [Fri, 16 Apr 2010 12:21:38 +0000 (12:21 +0000)]
oggdec: Move warning about missing granule to the correct place

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

9 years agooggdec: Fix duration calculation if the last page in a file has no granule
David Conrad [Fri, 16 Apr 2010 12:21:35 +0000 (12:21 +0000)]
oggdec: Fix duration calculation if the last page in a file has no granule

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

9 years agooggdec: Remove write-only variable
David Conrad [Fri, 16 Apr 2010 12:21:29 +0000 (12:21 +0000)]
oggdec: Remove write-only variable

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

9 years agoAVERROR(FF_NETERROR(x)) -> FF_NETERROR(x)
Ramiro Polla [Fri, 16 Apr 2010 00:20:11 +0000 (00:20 +0000)]
AVERROR(FF_NETERROR(x)) -> FF_NETERROR(x)
FF_NETERROR is implicitly an AVERROR.

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

9 years agoFix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
Ronald S. Bultje [Thu, 15 Apr 2010 18:27:27 +0000 (18:27 +0000)]
Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
This patch also changes FF_NETERROR() to be an AVERROR(), i.e. it is always
negative, whereas it was previously positive.

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

9 years agoRemove useless assert(), since this can (in theora) be used for any Xiph
Ronald S. Bultje [Thu, 15 Apr 2010 13:30:12 +0000 (13:30 +0000)]
Remove useless assert(), since this can (in theora) be used for any Xiph
codec, so there's no reason to (invalidly) limit it to only Theora.

Also fixes issue 1880 (compilation error on -DDEBUG).

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

9 years agoH.264: cosmetics (vertical align).
Gwenole Beauchesne [Thu, 15 Apr 2010 13:16:37 +0000 (13:16 +0000)]
H.264: cosmetics (vertical align).

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

9 years agoH.264: move avctx->{profile,level} init before AVCodecContext.get_format().
Gwenole Beauchesne [Thu, 15 Apr 2010 08:30:48 +0000 (08:30 +0000)]
H.264: move avctx->{profile,level} init before AVCodecContext.get_format().

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

9 years agoH.264: move avctx->refs init before AVCodecContext.get_format().
Gwenole Beauchesne [Thu, 15 Apr 2010 08:27:06 +0000 (08:27 +0000)]
H.264: move avctx->refs init before AVCodecContext.get_format().

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

9 years agopngdec: Add support for PIX_FMT_Y400A
Andreas Öman [Wed, 14 Apr 2010 20:15:50 +0000 (20:15 +0000)]
pngdec: Add support for PIX_FMT_Y400A

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

9 years agoAdd PIX_FMT_Y400A, 8bit gray, 8bit alpha
Andreas Öman [Wed, 14 Apr 2010 20:15:19 +0000 (20:15 +0000)]
Add PIX_FMT_Y400A, 8bit gray, 8bit alpha

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

9 years agoFix computation of the display aspect ratio.
Robert Krüger [Tue, 13 Apr 2010 23:41:46 +0000 (23:41 +0000)]
Fix computation of the display aspect ratio.

Previously ffprobe was wrongly outputting the sample aspect ratio as
display aspect ratio.

Patch by Robert Krüger $(echo k-r-u-e-g-e-r@s-i-g-n-a-l-7.d-e | sed s/-//g).

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

9 years agoFactorize code in get_bit_rate().
Stefano Sabatini [Tue, 13 Apr 2010 23:24:25 +0000 (23:24 +0000)]
Factorize code in get_bit_rate().

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

9 years agoMake avfilter_graph_add_filter() returns AVERROR(ENOMEM) in case of
Stefano Sabatini [Tue, 13 Apr 2010 23:22:22 +0000 (23:22 +0000)]
Make avfilter_graph_add_filter() returns AVERROR(ENOMEM) in case of
failed reallocation, rather than just -1.

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

9 years agoAdd rectangle.h #include for fill_rectangle().
Diego Biurrun [Tue, 13 Apr 2010 22:52:14 +0000 (22:52 +0000)]
Add rectangle.h #include for fill_rectangle().

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

9 years agoMove static function fill_filter_caches() from h264.h to h264.c.
Diego Biurrun [Tue, 13 Apr 2010 22:15:49 +0000 (22:15 +0000)]
Move static function fill_filter_caches() from h264.h to h264.c.
The function is only used within that file, so it makes sense to place
it there. This fixes many warnings of the type:
h264.h:1170: warning: ‘fill_filter_caches’ defined but not used

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

9 years agoPlug librtmp logging into av_log.
Howard Chu [Tue, 13 Apr 2010 22:11:21 +0000 (22:11 +0000)]
Plug librtmp logging into av_log.
patch by Howard Chu, hyc highlandsun com

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

9 years agowhitespace cosmetics
Diego Biurrun [Tue, 13 Apr 2010 22:08:36 +0000 (22:08 +0000)]
whitespace cosmetics

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

9 years agoFATE: update vqf-demux checksum
Måns Rullgård [Tue, 13 Apr 2010 14:29:13 +0000 (14:29 +0000)]
FATE: update vqf-demux checksum

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

9 years agoDCA: indent
Måns Rullgård [Tue, 13 Apr 2010 10:15:05 +0000 (10:15 +0000)]
DCA: indent

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

9 years agoDCA: optimise dca_subsubframe()
Måns Rullgård [Tue, 13 Apr 2010 10:15:00 +0000 (10:15 +0000)]
DCA: optimise dca_subsubframe()

8% faster overall on Cortex-A8.

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

9 years agoDo not probe when the format is known.
Jean-Daniel Dupas [Tue, 13 Apr 2010 07:25:50 +0000 (07:25 +0000)]
Do not probe when the format is known.
Patch by Jean-Daniel Dupas devlists shadowlab org

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

9 years ago[VA-API] Fix long-term reference frames addition to the DPB.
Gwenole Beauchesne [Tue, 13 Apr 2010 06:43:01 +0000 (06:43 +0000)]
[VA-API] Fix long-term reference frames addition to the DPB.

This fixes MR2_MW_A/MR2_TANDBERG_E on Intel Ironlake and NVIDIA HW.

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

9 years agoUse a suitable timebase in VQF demuxer
Vitor Sessak [Tue, 13 Apr 2010 01:19:59 +0000 (01:19 +0000)]
Use a suitable timebase in VQF demuxer

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

9 years ago10l: fix build on non-NEON ARM
Måns Rullgård [Tue, 13 Apr 2010 00:48:49 +0000 (00:48 +0000)]
10l: fix build on non-NEON ARM

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

9 years agoChange ff_raw_pixelFormatTags RGB entries (RGB555, BGR555, RGB565,
Stefano Sabatini [Mon, 12 Apr 2010 22:05:18 +0000 (22:05 +0000)]
Change ff_raw_pixelFormatTags RGB entries (RGB555, BGR555, RGB565,
BGR565, RGB565) to make them specify the tags for the LE variants
rather than for the native endian ones.

Fix NUT compatibility.

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

9 years agoFix grammar: a expression -> an expression.
Stefano Sabatini [Mon, 12 Apr 2010 21:49:04 +0000 (21:49 +0000)]
Fix grammar: a expression -> an expression.

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

9 years agoRemove stray empty line.
Stefano Sabatini [Mon, 12 Apr 2010 21:49:01 +0000 (21:49 +0000)]
Remove stray empty line.

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

9 years agoDCA: ARM/NEON optimised lfe_fir
Måns Rullgård [Mon, 12 Apr 2010 20:45:33 +0000 (20:45 +0000)]
DCA: ARM/NEON optimised lfe_fir

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

9 years agoDCA: 16-byte-align lfe_fir tables
Måns Rullgård [Mon, 12 Apr 2010 20:45:29 +0000 (20:45 +0000)]
DCA: 16-byte-align lfe_fir tables

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

9 years agoDCA: break out lfe_interpolation_fir() inner loops to a function
Måns Rullgård [Mon, 12 Apr 2010 20:45:25 +0000 (20:45 +0000)]
DCA: break out lfe_interpolation_fir() inner loops to a function

This enables SIMD optimisations of this function.

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

9 years agoFix constness for func[12] parameters in ff_parse_expr() and
Stefano Sabatini [Mon, 12 Apr 2010 20:22:55 +0000 (20:22 +0000)]
Fix constness for func[12] parameters in ff_parse_expr() and
ff_parse_and_eval_expr().

Change func[12] attributes from "** func" to "* const * func".

This is consistent with the semantics of the provided arrays of
functions, which are not supposed to be changed by the ff_parse_*
functions.

Also fix the GCC compilation warnings:
libavcodec/ratecontrol.c: In function ‘ff_rate_control_init’:
libavcodec/ratecontrol.c:109: warning: passing argument 3 of ‘ff_parse_expr’ discards qualifiers from pointer target type
libavcodec/eval.h:69: note: expected ‘double (**)(void *, double)’ but argument is of type ‘double (* const*)(void *, double)’

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

9 years agoChange constness for func[12]_name parameters of ff_parse_expr() and
Stefano Sabatini [Mon, 12 Apr 2010 19:21:19 +0000 (19:21 +0000)]
Change constness for func[12]_name parameters of ff_parse_expr() and
ff_parse_and_eval_expr().

Change attribute from "const char **" to "const char * const *".
The name arrays are not supposed to be changed by the function.

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

9 years agoRename ff_parse() to ff_parse_expr().
Stefano Sabatini [Mon, 12 Apr 2010 19:21:15 +0000 (19:21 +0000)]
Rename ff_parse() to ff_parse_expr().

The new name is more expressive and fits better in the overall naming
scheme for the revisited eval API.

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

9 years agoRemove unnecessary header inclusion directives.
Stefano Sabatini [Mon, 12 Apr 2010 19:21:08 +0000 (19:21 +0000)]
Remove unnecessary header inclusion directives.

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

9 years agoExtradata length checks for Huffyuv.
Michael Kaufmann [Mon, 12 Apr 2010 16:16:43 +0000 (16:16 +0000)]
Extradata length checks for Huffyuv.
Patch by Michael Kaufmann hallo $(name) dash $(surname) ch

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

9 years agoDCA: use FASTDIV in decode_blockcode()
Måns Rullgård [Mon, 12 Apr 2010 16:05:10 +0000 (16:05 +0000)]
DCA: use FASTDIV in decode_blockcode()

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

9 years agoAdd DOS section to the platform documentation.
Michael Kostylev [Mon, 12 Apr 2010 15:16:52 +0000 (15:16 +0000)]
Add DOS section to the platform documentation.
patch by Michael Kostylev, michael.kostylev gmail com

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

9 years agoDo not set pos to an error value.
Howard Chu [Mon, 12 Apr 2010 15:03:30 +0000 (15:03 +0000)]
Do not set pos to an error value.

Patch by Howard Chu, hyc highlandsun com

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

9 years agoARM: fix NEON synth_filter_float with hardfp calls
Måns Rullgård [Mon, 12 Apr 2010 13:28:59 +0000 (13:28 +0000)]
ARM: fix NEON synth_filter_float with hardfp calls

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

9 years agoRemove useless header inclusion.
Jai Menon [Mon, 12 Apr 2010 13:21:33 +0000 (13:21 +0000)]
Remove useless header inclusion.

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

9 years agoFix extra object path in Solaris section.
Diego Biurrun [Mon, 12 Apr 2010 11:27:41 +0000 (11:27 +0000)]
Fix extra object path in Solaris section.

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

9 years agoDCA: simplify lfe_interpolation_fir()
Måns Rullgård [Mon, 12 Apr 2010 11:14:55 +0000 (11:14 +0000)]
DCA: simplify lfe_interpolation_fir()

This reorders the lfe_fir tables, and drops the mirrored half,
such that the loops in lfe_interpolation_fir() can be simplified.
The new loop structure should be easier to implement with SIMD.
Static data size is reduced by 2kB.
3% faster on Cortex-A8.

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

9 years agoDCA: use a local variable for loop boundary
Måns Rullgård [Mon, 12 Apr 2010 11:14:51 +0000 (11:14 +0000)]
DCA: use a local variable for loop boundary

This prevents gcc reloading the value from memory on each iteration
of the loop.

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

9 years agoDCA: use some type-punning in qmf_32_subbands()
Måns Rullgård [Mon, 12 Apr 2010 11:14:48 +0000 (11:14 +0000)]
DCA: use some type-punning in qmf_32_subbands()

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

9 years agoPredicting the size of the hdlr, string data and trkn tags in the MOV muxer
Tomas Härdin [Mon, 12 Apr 2010 07:24:30 +0000 (07:24 +0000)]
Predicting the size of the hdlr, string data and trkn tags in the MOV muxer

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

9 years agoRename ff_eval2() to ff_parse_and_eval_expr().
Stefano Sabatini [Sun, 11 Apr 2010 22:32:04 +0000 (22:32 +0000)]
Rename ff_eval2() to ff_parse_and_eval_expr().

The new name better expresses what the function does.

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

9 years agoRename ff_parse_eval() to ff_eval_expr().
Stefano Sabatini [Sun, 11 Apr 2010 22:32:01 +0000 (22:32 +0000)]
Rename ff_parse_eval() to ff_eval_expr().

The new name expresses better what the function does.

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

9 years agoMove the internal function declarations in avformat.h to internal.h.
Stefano Sabatini [Sun, 11 Apr 2010 21:44:23 +0000 (21:44 +0000)]
Move the internal function declarations in avformat.h to internal.h.

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

9 years agoApply grammar/consistency nits to avfilter_graph_add_filter() doxy.
Stefano Sabatini [Sun, 11 Apr 2010 21:26:00 +0000 (21:26 +0000)]
Apply grammar/consistency nits to avfilter_graph_add_filter() doxy.

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

9 years agoPlace some empty line in the doxy.
Stefano Sabatini [Sun, 11 Apr 2010 20:04:15 +0000 (20:04 +0000)]
Place some empty line in the doxy.

Improve readability, also consistent with the predominant doxy style.

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

9 years agoRemove redundant file descriptions from copyright headers.
Stefano Sabatini [Sun, 11 Apr 2010 20:04:11 +0000 (20:04 +0000)]
Remove redundant file descriptions from copyright headers.

File description is only kept in the @file doxy.

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

9 years agoAvoid the use of the symbol ff_expr_s for referencing AVExpr.
Stefano Sabatini [Sun, 11 Apr 2010 18:44:51 +0000 (18:44 +0000)]
Avoid the use of the symbol ff_expr_s for referencing AVExpr.

This way we have to deal only with struct AVExpr and AVExpr, which is
slightly less confusing as the association between the two symbols is
obvious.

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

9 years agoDECLARE_ALIGNED usage requires #inclusion of 'mem.h'.
Jai Menon [Sun, 11 Apr 2010 15:54:45 +0000 (15:54 +0000)]
DECLARE_ALIGNED usage requires #inclusion of 'mem.h'.

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

9 years agoDoxument ff_free_expr().
Stefano Sabatini [Sun, 11 Apr 2010 14:15:32 +0000 (14:15 +0000)]
Doxument ff_free_expr().

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

9 years agoMake ff_fill_linesize() use the information stored in
Stefano Sabatini [Sun, 11 Apr 2010 14:09:05 +0000 (14:09 +0000)]
Make ff_fill_linesize() use the information stored in
av_pix_fmt_descriptors.

Allow simplification and a more generic implementation.

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

9 years agoSet audio bit rate.
Howard Chu [Sun, 11 Apr 2010 12:21:30 +0000 (12:21 +0000)]
Set audio bit rate.

Patch by Howard Chu, hyc highlandsun com

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

9 years agoRename ff_eval_free() to ff_free_expr().
Stefano Sabatini [Sun, 11 Apr 2010 11:47:33 +0000 (11:47 +0000)]
Rename ff_eval_free() to ff_free_expr().

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

9 years agoRename AVEvalExpr to AVExpr, as suggested by Michael.
Stefano Sabatini [Sun, 11 Apr 2010 11:47:29 +0000 (11:47 +0000)]
Rename AVEvalExpr to AVExpr, as suggested by Michael.

The new name is shorter and less confusing.

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

9 years agoMove AVEvalExpr declaration at the beginning of the file, where it is
Stefano Sabatini [Sun, 11 Apr 2010 11:47:24 +0000 (11:47 +0000)]
Move AVEvalExpr declaration at the beginning of the file, where it is
less distracting.

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

9 years agoRaise needed score for codec probing in CODEC_ID_PROBE before the last packet.
Michael Niedermayer [Sun, 11 Apr 2010 00:43:36 +0000 (00:43 +0000)]
Raise needed score for codec probing in CODEC_ID_PROBE before the last packet.
Fixes issue1871

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

9 years agoBump libavfilter minor version and Changelog for unsharp filter
Bobby Bingham [Sat, 10 Apr 2010 20:34:44 +0000 (20:34 +0000)]
Bump libavfilter minor version and Changelog for unsharp filter

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

9 years agoalacenc : Report supported input sample formats.
Jai Menon [Sat, 10 Apr 2010 17:32:41 +0000 (17:32 +0000)]
alacenc : Report supported input sample formats.

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

9 years agoARM: NEON optimised synth_filter_float
Måns Rullgård [Sat, 10 Apr 2010 16:27:56 +0000 (16:27 +0000)]
ARM: NEON optimised synth_filter_float

2.7x faster DCA decoding on Cortex-A8

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

9 years agoMake synth_filter a function pointer
Måns Rullgård [Sat, 10 Apr 2010 16:27:53 +0000 (16:27 +0000)]
Make synth_filter a function pointer

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

9 years agoDCA: align some arrays
Måns Rullgård [Sat, 10 Apr 2010 16:27:47 +0000 (16:27 +0000)]
DCA: align some arrays

Optimised implementations of the synth filter will require these
arrays 16-byte aligned.

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

9 years agoAdd M_SQRT2 to the constants in mathematics.h.
Alex Converse [Fri, 9 Apr 2010 23:29:47 +0000 (23:29 +0000)]
Add M_SQRT2 to the constants in mathematics.h.

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

9 years agoDont try to compute AVPacket duration for possibly interlaced video codecs
Michael Niedermayer [Fri, 9 Apr 2010 22:39:39 +0000 (22:39 +0000)]
Dont try to compute AVPacket duration for possibly interlaced video codecs
when no parser is available.
This partly fixes the frame rate misdetection in issue1756.

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

9 years agoffplay : Add 's' to the list of supported commands.
Jai Menon [Fri, 9 Apr 2010 17:52:34 +0000 (17:52 +0000)]
ffplay : Add 's' to the list of supported commands.

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

9 years agoSeeking forward in non-seekable media by discarding data, regardless of how far to...
Tomas Härdin [Thu, 8 Apr 2010 09:47:32 +0000 (09:47 +0000)]
Seeking forward in non-seekable media by discarding data, regardless of how far to seek. Won't SEEK_END unless forced though.

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

9 years agoReusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() inste...
Tomas Härdin [Thu, 8 Apr 2010 09:02:27 +0000 (09:02 +0000)]
Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced.

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

9 years agoReindent read_sbr_extension.
Alex Converse [Thu, 8 Apr 2010 06:27:39 +0000 (06:27 +0000)]
Reindent read_sbr_extension.

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