Stefano Sabatini
fc7e2d34cf
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
2010-04-12 20:22:55 +00:00
Stefano Sabatini
82fdcd449c
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
2010-04-12 19:21:19 +00:00
Stefano Sabatini
1235429c27
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
2010-04-12 19:21:15 +00:00
Stefano Sabatini
6c71d2c135
Remove unnecessary header inclusion directives.
...
Originally committed as revision 22857 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 19:21:08 +00:00
Michael Kaufmann
2818bdf22b
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
2010-04-12 16:16:43 +00:00
Måns Rullgård
843c7aa8fb
DCA: use FASTDIV in decode_blockcode()
...
Originally committed as revision 22855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 16:05:10 +00:00
Michael Kostylev
6a36798f9b
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
2010-04-12 15:16:52 +00:00
Howard Chu
c007c687c9
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
2010-04-12 15:03:30 +00:00
Måns Rullgård
f01210a691
ARM: fix NEON synth_filter_float with hardfp calls
...
Originally committed as revision 22852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 13:28:59 +00:00
Jai Menon
a7fc91468c
Remove useless header inclusion.
...
Originally committed as revision 22851 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 13:21:33 +00:00
Diego Biurrun
ee9455478f
Fix extra object path in Solaris section.
...
Originally committed as revision 22850 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 11:27:41 +00:00
Måns Rullgård
766fefe8e2
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
2010-04-12 11:14:55 +00:00
Måns Rullgård
b92d483bac
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
2010-04-12 11:14:51 +00:00
Måns Rullgård
0dc7df28dd
DCA: use some type-punning in qmf_32_subbands()
...
Originally committed as revision 22847 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 11:14:48 +00:00
Tomas Härdin
6b174197b5
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
2010-04-12 07:24:30 +00:00
Stefano Sabatini
a367be1e88
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
2010-04-11 22:32:04 +00:00
Stefano Sabatini
4565caf120
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
2010-04-11 22:32:01 +00:00
Stefano Sabatini
9a2cb05ff9
Move the internal function declarations in avformat.h to internal.h.
...
Originally committed as revision 22843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 21:44:23 +00:00
Stefano Sabatini
bc3c85a3e6
Apply grammar/consistency nits to avfilter_graph_add_filter() doxy.
...
Originally committed as revision 22842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 21:26:00 +00:00
Stefano Sabatini
f54978f117
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
2010-04-11 20:04:15 +00:00
Stefano Sabatini
8c21647382
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
2010-04-11 20:04:11 +00:00
Stefano Sabatini
a3731cadfc
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
2010-04-11 18:44:51 +00:00
Jai Menon
96561c12c5
DECLARE_ALIGNED usage requires #inclusion of 'mem.h'.
...
Originally committed as revision 22838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 15:54:45 +00:00
Stefano Sabatini
80ed701443
Doxument ff_free_expr().
...
Originally committed as revision 22837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 14:15:32 +00:00
Stefano Sabatini
21302fed02
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
2010-04-11 14:09:05 +00:00
Howard Chu
7e939205d9
Set audio bit rate.
...
Patch by Howard Chu, hyc highlandsun com
Originally committed as revision 22835 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 12:21:30 +00:00
Stefano Sabatini
f8fea468b2
Rename ff_eval_free() to ff_free_expr().
...
Originally committed as revision 22834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-11 11:47:33 +00:00
Stefano Sabatini
073f6d5b96
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
2010-04-11 11:47:29 +00:00
Stefano Sabatini
5fccafdbc1
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
2010-04-11 11:47:24 +00:00
Michael Niedermayer
0f1f4816d5
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
2010-04-11 00:43:36 +00:00
Bobby Bingham
ac1c95645a
Bump libavfilter minor version and Changelog for unsharp filter
...
Originally committed as revision 22830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-10 20:34:44 +00:00
Jai Menon
3ffdd09a7a
alacenc : Report supported input sample formats.
...
Originally committed as revision 22829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-10 17:32:41 +00:00
Måns Rullgård
e73d1a5efc
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
2010-04-10 16:27:56 +00:00
Måns Rullgård
f462ed1f82
Make synth_filter a function pointer
...
Originally committed as revision 22827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-10 16:27:53 +00:00
Måns Rullgård
38d52f3ea3
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
2010-04-10 16:27:47 +00:00
Alex Converse
b9f60bd8fd
Add M_SQRT2 to the constants in mathematics.h.
...
Originally committed as revision 22825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-09 23:29:47 +00:00
Michael Niedermayer
497431a5b6
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
2010-04-09 22:39:39 +00:00
Jai Menon
79f8b328cd
ffplay : Add 's' to the list of supported commands.
...
Originally committed as revision 22823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-09 17:52:34 +00:00
Tomas Härdin
7a6fe01f99
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
2010-04-08 09:47:32 +00:00
Tomas Härdin
01d91b9be9
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
2010-04-08 09:02:27 +00:00
Alex Converse
ba659bedb8
Reindent read_sbr_extension.
...
Originally committed as revision 22820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-08 06:27:39 +00:00
Alex Converse
73c2704608
Print an error and skip PS when PS is found but explicitly found but
...
signaled to be absent.
Originally committed as revision 22819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-08 06:27:35 +00:00
Alex Converse
d14662f66a
Add support for PS sync extensions.
...
Originally committed as revision 22818 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-08 06:04:41 +00:00
Alex Converse
37216b99e0
Use get_bits_left() in the sync extension check.
...
Originally committed as revision 22817 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-08 06:04:37 +00:00
Alex Converse
702b73bc9f
Fix ext_object_type.
...
In the case of explicit non-backwards compible PS, the extension object
type should be set to SBR. See 14496-3:2009 (fourth edition).
Originally committed as revision 22816 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-08 06:04:31 +00:00
Benjamin Larsson
58f48adb51
Add DynamicACL support for FFserver.
...
Originally committed as revision 22815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-07 20:06:02 +00:00
Joakim Plate
c6cf6ae69d
Don't write an empty spdif header in spdif muxers write_header function before actual data starts.
...
Patch by Elupus.
Originally committed as revision 22814 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-07 19:40:46 +00:00
Bobby Bingham
e0728d7991
Add unsharp video filter.
...
Contributed by Daniel G. Taylor (dan/at/programmer-art/dot/org)
Originally committed as revision 22813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-07 01:05:24 +00:00
Stefano Sabatini
b9bd6589d7
Clarify doxy for av_fifo_alloc().
...
Originally committed as revision 22812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-06 22:31:59 +00:00
Craig Thomasson
77a670e796
Fix segfault when encoder initialization fails.
...
Patch by Craig Thomasson $(name) dot $(surname) ripcode com
Originally committed as revision 22811 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-06 09:52:41 +00:00