1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-01 16:59:58 +02:00
Commit Graph

11599 Commits

Author SHA1 Message Date
Alex Converse
2d23fecd5d Enforce time border monotonicity.
Thanks to Chromium.

Originally committed as revision 23000 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 23:32:42 +00:00
Alex Converse
a91d82b5cc Move the SBR patch count check to prevent overwrites.
Thanks to Chromium.

Originally committed as revision 22999 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 23:08:44 +00:00
Alex Converse
10678e5c72 Increase size of patch_borders[].
6 patches means there can be 7 borders. Found by Chromium.

Originally committed as revision 22998 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 22:42:52 +00:00
Michael Niedermayer
19a00c5eb2 avi bgr24 padding fix.
Fixes issue1901

Originally committed as revision 22997 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 22:09:42 +00:00
Alex Converse
d0dedce71d Reindent
Originally committed as revision 22996 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 21:43:29 +00:00
Alex Converse
ca6d3f234c Rewrite ff_sbr_apply in a manner more friendly to PS.
This includes merging ff_sbr_dequant into ff_sbr_apply.

Originally committed as revision 22995 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 21:43:23 +00:00
Måns Rullgård
5635985c26 ARM: NEON optimised VP6 edge filter
Originally committed as revision 22993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 21:30:27 +00:00
Måns Rullgård
5e1ba34bbb VP56: move vp56_edge_filter to new VP56DSPContext
Using macro templates allows the vp[56]_adjust functions to be
inlined instead of called through function pointers.  The new
function pointers enable optimised implementations of the filters.

4% faster VP6 decoding on Cortex-A8.

Originally committed as revision 22992 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-30 21:30:22 +00:00
Michael Niedermayer
2308b6c19a Add version to AVClass so we can add to and use fields of AVClass without ABI issues.
Originally committed as revision 22987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-28 20:00:23 +00:00
Sebastian Vater
726dc06158 Reidnent after r22795.
Patch by Sebastian Vater <cdgs.basty googlemail com>.

Originally committed as revision 22976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-26 22:39:08 +00:00
Sebastian Vater
fe51b5ce50 Move some branches outside looped code. Should improve the generated asm (and
thus performance) slightly.

Patch by Sebastian Vater <cdgs.basty googlemail com>.

Originally committed as revision 22975 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-26 22:38:41 +00:00
Sebastian Vater
473147bed0 Switch some ints to unsigned (they can only have positive values, this allows
compiler to optimize some math from mul/div to shr/shl). Also add a cast to
uint32_t when calling decodeplane32(), this silences a compiler warning.
Lastly, in decodeplane8/32(), flatten a double-loop into a single-loop and
calculate the length once before entering the loop instead of during every
iteration (since it doesn't change).

Patch by Sebastian Vater <cdgs.basty googlemail com>.

Originally committed as revision 22974 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-26 22:37:13 +00:00
Sebastian Vater
687dc3555d Make two functions out of #define hackery.
Patch by Sebastian Vater, cdgs D basty A googlemail

Originally committed as revision 22970 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-26 22:00:57 +00:00
Stefano Sabatini
4cf1ba0445 Make avcodec_check_dimensions() return AVERROR(EINVAL) rather than -1
in case of invalid picture size.

Originally committed as revision 22962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-25 15:05:16 +00:00
Ronald S. Bultje
0bb848016a Add acelp_filters.o as QCELP decoder object file.
Originally committed as revision 22956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-23 16:45:38 +00:00
Måns Rullgård
07876e25c8 Workaround for missing llrintf()
Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-23 16:28:10 +00:00
Justin Ruggles
cc8538ff93 ac3dec: return smaller of buf_size and frame_size instead of always returning
frame_size.

Originally committed as revision 22950 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 21:43:36 +00:00
Måns Rullgård
84368aa629 ARM: fix build for darwin/iphone
References to external symbols in asm code need prefixes.

Originally committed as revision 22949 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 21:19:32 +00:00
Michael Niedermayer
ddecab2097 Set .supported_samplerates for mpeg audio encoders.
Originally committed as revision 22944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-22 09:41:45 +00:00
Ronald S. Bultje
9a32573b49 WMAVoice postfilter.
Originally committed as revision 22938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 18:01:34 +00:00
Ronald S. Bultje
b1078e9fe6 Move clipping of audio samples (for those codecs outputting float) from decoder
to the audio conversion routines.

Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:57:48 +00:00
Jai Menon
6858ce2ffc Fix typo.
Originally committed as revision 22936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:51:37 +00:00
Ronald S. Bultje
805a83d506 Implement QCELP postfilter.
Originally committed as revision 22935 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:50:08 +00:00
Ronald S. Bultje
5180a0b197 Make the Sipr16k postfilter function write data into the target/output buffer.
Originally committed as revision 22934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:46:59 +00:00
Ronald S. Bultje
8955a9d79c Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
Originally committed as revision 22933 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:45:24 +00:00
Ronald S. Bultje
bb2dd9efd8 Split the input/output data arguments to ff_adaptive_gain_control().
Originally committed as revision 22932 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 17:43:52 +00:00
David Conrad
8e6daa4a95 theora: coeff huffman codes are allowed to be up to 32 bits long (for 32 tokens)
Originally committed as revision 22931 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 13:19:00 +00:00
Vitor Sessak
a2d3588813 10l: do not try to unpack DTX frames in AMR-NB decoder
Originally committed as revision 22930 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-21 13:05:25 +00:00
Diego Biurrun
ba87f0801d Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.

Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:45:34 +00:00
Diego Biurrun
4311ff776b cosmetics: Switch Doxygen comments to JavaDoc style.
Originally committed as revision 22919 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-20 14:23:00 +00:00
Jason Garrett-Glaser
dbb4f0515f vertical align in libx264.c
Originally committed as revision 22915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 21:20:20 +00:00
Michael Kaufmann
22c29c36cd 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
2010-04-17 11:00:53 +00:00
David Conrad
33e623831b vp3: Use avctx pointer directly
Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-17 10:37:42 +00:00
David Conrad
8099d6c985 vp3: Read fps and aspect ratio in the decoder
Originally committed as revision 22898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-17 02:04:39 +00:00
David Conrad
ddc7e438e0 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
2010-04-17 02:04:35 +00:00
David Conrad
eb6a6cd788 vp3: DC-only IDCT
2-4% faster overall decode

Originally committed as revision 22896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-17 02:04:30 +00:00
David Conrad
6086731299 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
2010-04-16 12:21:44 +00:00
David Conrad
d7097c2d88 vp3: Remove internal debug statement
Originally committed as revision 22892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-16 12:21:41 +00:00
Gwenole Beauchesne
6752a3cc6c H.264: cosmetics (vertical align).
Originally committed as revision 22885 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-15 13:16:37 +00:00
Gwenole Beauchesne
fa37cf0db3 H.264: move avctx->{profile,level} init before AVCodecContext.get_format().
Originally committed as revision 22884 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-15 08:30:48 +00:00
Gwenole Beauchesne
b08e38e8c3 H.264: move avctx->refs init before AVCodecContext.get_format().
Originally committed as revision 22883 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-15 08:27:06 +00:00
Andreas Öman
67d96fb42d pngdec: Add support for PIX_FMT_Y400A
Originally committed as revision 22882 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-14 20:15:50 +00:00
Andreas Öman
4744f896e5 Add PIX_FMT_Y400A, 8bit gray, 8bit alpha
Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-14 20:15:19 +00:00
Stefano Sabatini
4563cf247d Factorize code in get_bit_rate().
Originally committed as revision 22879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 23:24:25 +00:00
Diego Biurrun
e5d2bdec11 Add rectangle.h #include for fill_rectangle().
Originally committed as revision 22877 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 22:52:14 +00:00
Diego Biurrun
d02bb3ecf1 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
2010-04-13 22:15:49 +00:00
Måns Rullgård
2bb29da602 DCA: indent
Originally committed as revision 22872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 10:15:05 +00:00
Måns Rullgård
69e171364e DCA: optimise dca_subsubframe()
8% faster overall on Cortex-A8.

Originally committed as revision 22871 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 10:15:00 +00:00
Gwenole Beauchesne
b0941dee3c [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
2010-04-13 06:43:01 +00:00
Måns Rullgård
b591c7af31 10l: fix build on non-NEON ARM
Originally committed as revision 22867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 00:48:49 +00:00
Stefano Sabatini
e574770633 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
2010-04-12 22:05:18 +00:00
Stefano Sabatini
94e57758da Fix grammar: a expression -> an expression.
Originally committed as revision 22865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 21:49:04 +00:00
Stefano Sabatini
85c36856ff Remove stray empty line.
Originally committed as revision 22864 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 21:49:01 +00:00
Måns Rullgård
08255107cf DCA: ARM/NEON optimised lfe_fir
Originally committed as revision 22863 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 20:45:33 +00:00
Måns Rullgård
e168a5567a DCA: 16-byte-align lfe_fir tables
Originally committed as revision 22862 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-12 20:45:29 +00:00
Måns Rullgård
309d16a4a0 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
2010-04-12 20:45:25 +00:00
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
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
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
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
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
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
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
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
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
Reinhard Tartler
2819760b5c Avoid division by zero
Based on clang-scan report http://permalink.gmane.org/gmane.comp.video.ffmpeg.devel/107290

Originally committed as revision 22795 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-04 07:18:10 +00:00
Vitor Sessak
c99baf05c3 Add help for (I)RDFT test in fft-test
Originally committed as revision 22793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-03 15:05:27 +00:00
Vitor Sessak
c2b774a04e Make code using 1d-DCT consistent with the API change
Originally committed as revision 22792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-03 15:04:15 +00:00
Stefano Sabatini
2874c81cc8 Replace all remaining occurrences of AVERROR_NOMEM with
AVERROR(ENOMEM).

AVERROR_NOMEM is deprecated and will be dropped at the next libavutil
major bump.

Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-03 14:15:00 +00:00
Alex Converse
523429220b aacenc: Error when an unsupported profile is requested
Originally committed as revision 22784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 16:26:10 +00:00
Alex Converse
636da41a20 aacenc: Don't lowpass the input unless specifically requested.
The heuristic for estimating a good cutoff is busted.

Originally committed as revision 22779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 14:19:39 +00:00
Michael Niedermayer
008593be52 Change default for bidir_refine to 1.
Originally committed as revision 22778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 14:08:51 +00:00
Michael Niedermayer
fd8277ffa0 Optimize bidir_refine a bit.
compiled code is less tham 1/4 the size.
a tiny bit faster

Originally committed as revision 22777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 14:04:15 +00:00
Michael Niedermayer
a69220cce0 Change bidir refine hash code so we only need to perform a single
hash calculation for the whole function.
negligibly faster (about 0.1%)

Originally committed as revision 22775 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 12:34:08 +00:00
Michael Niedermayer
2d603902f3 Reduce the size of the bidir refine hashtable from 4096 to 256 and
change the hash function to something more sane and simple.
about 1/3 faster, no meassureable change in psnr or size and i gues
its even same md5 with my test file but i forgot testing that.

Originally committed as revision 22773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 11:06:29 +00:00
Michael Niedermayer
e056d2a24b Move comment that belonged to cmp() back to cmp().
Originally committed as revision 22772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 01:13:59 +00:00
Michael Niedermayer
919e749772 slice dice, inline and outline cmp()
motion_est.o is now less than half its previous size.
No speedchange meassureable.

Originally committed as revision 22771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 01:07:03 +00:00