summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* vp8: frame-multithreading.Ronald S. Bultje2011-05-022-59/+131
| | | | | | | | | | | | | | | | | | | | | | Tested on a Mac Pro, 2 CPUs, 2 cores each, OSX 10.6.6: time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/sintel_trailer_1080p_vp8_vorbis.webm \ -f null -vcodec rawvideo -an - 1: 0m14.630s (89.9 fps) 2: 0m8.056s (163.2 fps) 3: 0m5.882s (223.6 fps) 4: 0m4.952s (265.6 fps) time ./ffmpeg -v 0 -vsync 0 -threads [1234] -i \ ~/Downloads/Elephants_Dream-720p-Stereo.webm \ -f null -vcodec rawvideo -an - 1: 1m12.962s (215.1 fps) 2: 0m44.682s (351.2 fps) 3: 0m31.183s (503.2 fps) 4: 0m25.284s (620.6 fps) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02137-637/+637
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini2011-05-028-8/+8
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* dpx: Do not use DPX encoder for decoding.Kostya Shishkov2011-05-021-1/+1
| | | | 10l to the one who hasn't checked this.
* ALPHA: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-05-011-3/+3
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* DPX image encoderPeter Ross2011-05-016-4/+185
|
* DPX decoder: read sample aspect ratioPeter Ross2011-05-011-1/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* DPX decoder: add buffer size checks.Reimar Döffinger2011-05-011-5/+14
|
* ac3enc: clip large coefficient values and negative exponents rather than usingJustin Ruggles2011-05-011-1/+3
| | | | av_assert2().
* ac3enc: do not store a bandwidth code for each channel.Justin Ruggles2011-05-011-7/+6
| | | | | Although AC-3 allows it, it's not very useful. The encoder uses the same code for all full-bandwidth channels.
* ac3enc: remove bandwidth reduction as fallback for bit allocation failure.Justin Ruggles2011-05-011-30/+0
| | | | | It was only needed at low bitrates, which now already use a low bandwidth, so the bandwidth reduction is no longer needed.
* ac3enc: merge compute_exp_strategy_ch() into compute_exp_strategy()Justin Ruggles2011-05-011-42/+33
|
* ac3enc: return error if frame+exponent bits are too large instead of usingJustin Ruggles2011-05-011-1/+2
| | | | | | av_assert2(). This can occur in some very rare cases with low bitrates.
* ac3enc: differentiate between current block and reference block in bit_alloc()Justin Ruggles2011-05-011-7/+11
|
* ac3enc: simplify exponent_init() by calculating exponent_group_tab[] basedJustin Ruggles2011-05-011-5/+7
| | | | on exponent group sizes.
* ac3enc: simplify stereo rematrixing decision optionsJustin Ruggles2011-05-012-35/+25
|
* Update URL to fate samplesReinhard Tartler2011-05-011-1/+1
|
* AMV: disable DR1 and don't override EMU_EDGEMichael Niedermayer2011-04-291-2/+1
| | | | | | | | | | | | This works around a possibly exploitable crash. Appearently, vlc can be exploited with a malicous file. This should get reverted as soon as a proper fix is found. Reported-at: Thu, 21 Apr 2011 14:38:25 +0000 Reported-by: Dominic Chell <Dominic.Chell@ngssecure.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 89f903b3d5ec38c9c5d90fba7e626fa0eda61a32) (cherry picked from commit 9b919571e506fbb72b81a35ca1e7c1bd6efc4209)
* lavf: inspect more frames for fps when container time base is coarseAnssi Hannula2011-04-292-208/+216
| | | | | | | | | | | | | | | | | | As per issue2629, most 23.976fps matroska H.264 files are incorrectly detected as 24fps, as the matroska timestamps usually have only millisecond precision. Fix that by doubling the amount of timestamps inspected for frame rate for streams that have coarse time base. This also fixes 29.970 detection in matroska. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 78431098f9e306ebe27e7698d0ae539e3df2afe9) Tested with mplayer based on this report http://thread.gmane.org/gmane.comp.video.mplayer.user/66043/focus=66063 Signed-off-by: Reinhard Tartler <siretart@tauware.de>
* Fix races in default av_log handlerReinhard Tartler2011-04-291-3/+4
| | | | | | Prevent competing threads from overwriting (shared) buffers. Original patch by: Michael Niedermayer <michaelni@gmx.at>
* vorbis: Replace sized int_fast integer types with plain int/unsigned.Diego Biurrun2011-04-293-125/+113
| | | | | | int/unsigned is the natural memory access type for CPUs, using sized types for temporary variables, counters and similar just increases code size and can possibly cause a slowdown.
* Remove disabled non-optimized code variants.Diego Biurrun2011-04-292-162/+0
|
* bswap.h: Remove disabled code.Diego Biurrun2011-04-291-6/+0
|
* Remove some disabled printf debug cruft.Diego Biurrun2011-04-2918-197/+0
|
* Replace more disabled printf() calls by av_dlog().Diego Biurrun2011-04-292-8/+5
|
* tests: Remove disabled code.Diego Biurrun2011-04-292-23/+0
|
* Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-2911-80/+43
|
* vorbisdec: Replace some sizeof(type) by sizeof(*variable).Diego Biurrun2011-04-291-17/+24
|
* vf_fieldorder: Replace FFmpeg by Libav in license boilerplate.Diego Biurrun2011-04-291-4/+4
|
* avio: Fix the deprecated fallback URL-prefixed open flagsMartin Storsjö2011-04-281-3/+3
| | | | | | | | | | | | | | | | While deprecated, they're totally useless as long as their values are different from the AVIO_FLAG values that are used internally. Currently, this leads to old libav applications still compiling correctly (since we haven't removed the fallback wrappers), but failing since the functions internally compare to the new AVIO_FLAG values. These should be removed at some point, but they aren't removed yet. The intent is to be able to recompile an old application against the new ABI without modifying the code, and this doesn't work currently. Signed-off-by: Martin Storsjö <martin@martin.st>
* avoid duplicate -lm in .pc filesReinhard Tartler2011-04-281-1/+1
|
* mpeg12: terminate mpeg2_video_profiles arraysStefano Sabatini2011-04-281-0/+1
| | | | | | | | | Make av_get_profile_name() return NULL if no profile is detected. Fix trac issue #130, fix crash reading file tek3.m2v. (cherry picked from commit e5d80c7b2d893422e2e60a97e08bfc48ca1684e6) Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* network: Check POLLERR and POLLHUP in ff_network_wait_fdGil Pedersen2011-04-281-1/+1
| | | | | | | | Previously, the function would lead to an infinite wait (by returning AVERROR(EAGAIN)) on sockets indicating an error via either of these poll flags. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegtsenc: make PMT PID really start on pmt_start_pidAnton Khirnov2011-04-282-2/+2
|
* nut format: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BEPeter Ross2011-04-281-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* rawvideo codec: support PIX_FMT_BGR48LE and PIX_FMT_BGR48BEPeter Ross2011-04-281-0/+2
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* hflip: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-282-0/+3
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* crop: make the filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formatsPeter Ross2011-04-282-0/+3
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* libswcale: PIX_FMT_BGR48LE and PIX_FMT_BGR48BE scaler implementationPeter Ross2011-04-2812-3/+125
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* vorbisdec: Rename silly "class_" variable to plain "class".Diego Biurrun2011-04-271-7/+7
|
* simple_idct_alpha: Drop some useless casts.Diego Biurrun2011-04-271-7/+7
|
* Simplify av_log_missing_feature().Diego Biurrun2011-04-271-3/+1
| | | | | Do not print the results of the conditional call to av_log_ask_for_sample() into the same line as the main output, separate the already long text.
* ac3enc: remove check for mismatching channels and channel_layoutJustin Ruggles2011-04-271-2/+0
|
* If AVCodecContext.channels is 0 and AVCodecContext.channel_layout isJustin Ruggles2011-04-271-0/+2
| | | | | | non-zero, set channels based on channel_layout. This allows the user to set only channel_layout and not channels.
* If AVCodecContext.channel_layout and AVCodecContext.channels are bothJustin Ruggles2011-04-271-0/+7
| | | | non-zero, check to make sure they do not contradict eachother.
* cosmetics: indentationJustin Ruggles2011-04-271-8/+8
|
* Check AVCodec.supported_samplerates and AVCodec.channel_layouts inJustin Ruggles2011-04-271-1/+27
| | | | | | | avcodec_open(). If the encoder has a channel_layouts list and AVCodecContext.channel_layout is 0, then only print a warning and let the encoder decide how to handle it.
* aacdec: remove sf_scale and sf_offset.Alex Converse2011-04-272-20/+8
| | | | | | | Instead, scalefactors are adjusted by the offset amount, removing the need for sf_scale, and the MDCT scales are adjusted to compensate for the higher scalefactors. Floating-point output will be handled by modifying the MDCT scales.
* aacdec: use a scale of 2 in the LTP MDCT rather than doubling the coefficientJustin Ruggles2011-04-272-4/+4
| | | | table values from the spec.
* Define POW_SF2_ZERO in aac.h and use for ff_aac_pow2sf_tabp[] offsets insteadAlex Converse2011-04-274-8/+10
| | | | of hardcoding 200 everywhere.