Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-18mdct: remove unnecessary multiplicationYoung Han Lee
3*n4 was already calculated in n3. (cherry picked from commit 979395bbbb9381b522b44c3448c24aef9c819ffc)
2011-02-18ac3enc: fix bug in stereo rematrixing decision.Justin Ruggles
The rematrixing strategy reuse flags are not reset between frames, so they need to be initialized for all blocks, not just block 0. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 5b54d4b376fbd2c291b8a6dba7d425e28f654bcf)
2011-02-17ac3dsp: Change punpckhqdq to movhlps in ac3_max_msb_abs_int16().Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 1f004fc512babe8215e2aa31fa4770aa27812cab)
2011-02-17Document audio_resample_close().Stefano Sabatini
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-17ac3enc: change default floor code to 7.Justin Ruggles
This is to match the value in every (E-)AC-3 file from commercial sources. It has a negligible effect on audio quality. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 50d7140441b61809ad4ba4ea7b4ad8fe77bc6888)
2011-02-17Merge libavcore into libavutilReinhard Tartler
Done to keep ABI compatible. Otherwise this is just silly
2011-02-16vbv_delay AVOption for ABI compatibilityMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-16Pass VBV delay to the calling application via ctxChristophe Massiot
VBV delay is useful for T-STD compliance in some TS muxers. It is certainly possible to retrieve it by parsing the output of FFmpeg, but getting it from the context makes it simpler and less error-prone. Signed-off-by: Mans Rullgard <mans@mansr.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-15binkaudio: remove unused copy of AVCodecContext*Peter Ross
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 71f88b1f3843fdb676d6f72181da0c8c460341d8)
2011-02-15binkaudio: fix channel count checkPeter Ross
Perform validity check on AVFormatContext.channels instead of uninitialised field. This fixes issue 2001. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 9806fbd5351fa84f99fa5b18fe06859acb514f34)
2011-02-15aacdec: Implement LTP support.Young Han Lee
Ported from gsoc svn. (cherry picked from commit ead15f1dc196ad164d105e31c8c9025f8a4ee4e7)
2011-02-15aac: remove dead SBR input scalingAlex Converse
It has been unused since 9d06d7bce3babb82ed650c13ed13a57f6f626a71 Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 916dee9f45dab85cfc20b6bf63ce8722746e6508)
2011-02-15ac3enc: Add x86-optimized function to speed up log2_tab().Justin Ruggles
AC3DSPContext.ac3_max_msb_abs_int16() finds the maximum MSB of the absolute value of each element in an array of int16_t. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit fbb6b49dabc3398440c6dfa838aa090a7a6ebc0d)
2011-02-15FFT: factor a shuffle out of the inner loop and merge it into fft_permute.Loren Merritt
6% faster SSE FFT on Conroe, 2.5% on Penryn. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit e6b1ed693ae4098e6b9eabf938fc31ec0b09b120)
2011-02-15bink: permute Bink version 'b' quant matrices by inverse scan orderPeter Ross
This fixes visual glitches in Bink version 'b' files, as the quantization tables were not being permuted. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 231539217431c32d4f22a16ee2834e24f54611f4)
2011-02-15bink: simplify how quantization matrices are passed to read_dct_coeffs()Peter Ross
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit cb62510cab8b745e65eb966c72ab7e9b122d564b)
2011-02-14Make truncated mpeg4 GOP header check a bit more specific.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-14Apply minor cosmetics fixes to the av_audio_resample_init() doxy.Stefano Sabatini
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-14Document audio_resample_close().Stefano Sabatini
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-13Detect null gop headers.Michael Niedermayer
Fix issue2592. / mpeg4-bad-gvop.raw
2011-02-13Make tables generation insensitive to floating-point implementationVitor Sessak
Using doubles make the double -> int cast well defined for all the values used, with the exception of when s[i]==1.0, which is special-cased. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 47d62c965b7bcf4715127fbf9bffab7b4c5c88b7)
2011-02-13VP8: ARM optimised decode_block_coeffs_internalMans Rullgard
Approximately 5% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit a7878c9f73c12cfa685bd8af8f3afcca85f56a8b)
2011-02-13ARM optimised vp56_rac_get_prob()Mans Rullgard
Approximately 3% faster on Cortex-A8. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 7da48fd0111adf504cfcfc5ebda7fd0681968041)
2011-02-13bink: reindent after last commitPeter Ross
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit adb1ad0d8005dfcbae863bccdda8fdd26bb63f30)
2011-02-13Bink version 'b' video decoderPeter Ross
Based on original patch by Kostya Shishkov Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit e00f41d5742b3a0dc1877b030f4f6f58c19b7bbd)
2011-02-13Clarify that pts_correction* fields are internal to libavcodecMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-02-12Set maximum lowres value for the MJPEG decoder to 3.Carl Eugen Hoyos
While 4 works for some samples, 3 is the correct value since 8x8 DCT is used by (m)jpeg.
2011-02-11VP8: optimized mv prediction and decodingJason Garrett-Glaser
Merge find_near_mvs and mv bitstream decoding: don't do prediction steps until absolutely necessary. (cherry picked from commit f3d09d44b70492022964e2ead5f439bb7c96eaa2)
2011-02-11ac3enc: Remove unneeded clipping of shift amount.Justin Ruggles
s->windowed_samples will always have a range of [-32767,32767] due to the window function, so the return value from log2_tab() will always be in the range [0,14]. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 626264b11b5406c0c78c4056cabb63cb650e9bf2)
2011-02-11ac3enc: remove right shifting from lshift_tab() and make lshift unsigned.Justin Ruggles
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d4582889eefeee4dd23face9e74b2829dbaaeae5)
2011-02-11Remove final semicolon from some macrosMans Rullgard
This avoids double semicolons after macro expansion. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 44adbebe1744c68d66d7f811c38270fdcc89665a)
2011-02-11dvbsubenc: Fix placement of the object versionRonen Mizrahi
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit df211c3ab73b36208ac4511a9cd7feb817f551fa)
2011-02-11dvbsubdec: check against buffer overreadsJanne Grunau
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 493aa30adf88baf5bc734072592a22db586f0cfb)
2011-02-11Do not fail DVB sub decoding because of a few padding bytesReimar Döffinger
Instead of returning an error when bytes are left over, just return the number of actually used bytes as other decoders do. Instead add a special case so an error will be returned when none of the data looks valid to avoid making debugging a pain. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 4a72765a1c94b05bd3053b1f34f8457a3b71d714)
2011-02-11Add x86-optimized versions of exponent_min().Justin Ruggles
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit dda3f0ef48aa5c3b03566b60b6bf63211e1fe579)
2011-02-11Remove incorrect return statement from avcodec_thread_free()Mans Rullgard
The function return type is void, so a return statement with an expression is forbidden (and pointless). Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit b4668274b944abae61759e796c5cc36ade510f24)
2011-02-11ivi_dsp: remove semicolons after function definitionsMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit dbb09ec23f16cb5e4ec3d4e0911dae0beb95869b)
2011-02-11Fix build with threading disabledMans Rullgard
The avcodec_thread_free() compatibility wrapper calls ff_thread_free(), which is not defined when threading is disabled. Make this call conditional. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 9a77a92c2b6855781d2a4cfab14c67ae4025760c)
2011-02-11w32thread: add missing #include thread.hMans Rullgard
This should fix building with win32 threads. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit aef669cdfd984a737ad876b33ee1b160f87f5f9a)
2011-02-11check sample_fmt in avcodec_openReimar Döffinger
check AVCodecContext->sample_fmt against AVCodec->sample_fmts[] to ensure that the encoder supports the specified sample format. Error out if it doesn't. Previously, it would continue and output garbage. Fixes issue 2587. (cherry picked from commit 2cfa2d925808e6cc6fb7a7c133b7cb7622afd37e)
2011-02-11vp3: Frame-based multithreading supportAlexander Strange
Decode times for big_buck_bunny_720p_stereo: 1 thread: real 1m14.227s user 1m13.104s sys 0m1.108s 2 threads: (33% faster) real 0m49.329s user 1m33.735s sys 0m1.834s 3 threads: (44% faster) real 0m41.593s user 1m44.884s sys 0m1.967s (cherry picked from commit d23845f311f04e98777612cae1b55e28923ccdc6)
2011-02-11Deprecate avcodec_thread_init()Alexander Strange
As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c0b102ca03fe92250f1ce620aec3836f529fc1d6)
2011-02-11Frame-based multithreading framework using pthreadsAlexander Strange
See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-02-09Update qmin/qmax values for libx264 presetsJason Garrett-Glaser
Also allow qmin/qmax to go up to 69 (the current max value for libx264). This will have to increase when we add 9/10-bit support. (cherry picked from commit c7ac200d15e3240972d269df768068f0e3bb9c2f)
2011-02-09Fix broken vbv_buffer_init handling in libx264.cJason Garrett-Glaser
Due to being pants-on-head retarded, libavcodec defaults this to zero, which results in broken output. This didn't affect ffmpeg.c, which sets it itself, but caused problems for other calling apps using VBV. (cherry picked from commit f7f8120fb9a06b5d7fbf5add48a0d8464319a332)
2011-02-09VP8: idct_mb optimizationsJason Garrett-Glaser
Currently uses AV_RL32 instead of AV_RL32A, as the latter doesn't exist yet. (cherry picked from commit 62457f9052ea15123688455aad866cb070634f13)
2011-02-09Fix ff_emu_edge_core_sse() on Win64.Ronald S. Bultje
Fix emu_edge_v_extend_15 to be <128 bytes on Win64, by being more strict on the size of registers and which registers are being used for operations where multiple are available. This fixes segfaults in emulated_edge() function calls on Win64. (cherry picked from commit 17cf7c68ed26a4cb3c7adf7488a38c2e19118918)
2011-02-09logging: downgrade recoverable errors to warningsStefan Kost
In all 3 cases, the decoding continues and thus a warning would be sufficient. Helps application that catch them with own log handers to handle them accordingly. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit ae2104791ffa8466d3f6972ed0793b2a165daabe)
2011-02-09h264: define FF_PROFILE_H264_HIGH_444 to the correct valueJanne Grunau
It was removed in fe9a3fb since it had the wrong value. Add profile name for it. (cherry picked from commit 440b61691db2166abac3f58e01da1d4722f1f1e4)
2011-02-09VP8: ARM NEON optimisations for dsp functionsMans Rullgard
This adds NEON optimised versions of all functions in VP8DSPContext. Based on initial work by Rob Clark. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit a1c1d3c003b0ec16fdb6574913781313fb2c7ab6)