| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
It was doubled in size for the LTP implementation. This brings it back
down to its original size.
(cherry picked from commit e22910b21a6c78b0159f98426b10c204f12bc15a)
|
|
|
|
|
|
|
|
| |
The 4-tap filters should only access one row/column before the
reference block.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit e0e46cae377347cbe1cd27c0d85568921b12c2ad)
|
|
|
|
|
|
|
|
|
| |
GCC 4.3 and later are more particular about signedness matching
in vector operations. The operations under if(rangered) were
missing assignments and thus had no effect.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 381efba0ecedd41575f99ba9e9bd3826551079f6)
|
|
|
|
| |
(cherry picked from commit 78e2380a6d09e7a8b2a74d090abfb0a922e046f6)
|
|
|
|
|
|
| |
Merging these functions allows merging some loops, which makes the
results (particularly after SIMD optimizations) much faster.
(cherry picked from commit f8bed30d8b176fa030f6737765338bb4a2bcabc9)
|
|
|
|
| |
(cherry picked from commit 484a337cd7cd8bb180c4a1bd3321881f1c874a92)
|
|
|
|
|
|
|
| |
Advantage is that it allows us to combine several loops into a single
one, and these can eventually be merged into the IDCT itself. Also, it
allows us to remove vc1_put_block(), and makes CODEC_FLAG_GRAY faster.
(cherry picked from commit bbfd2e7ab4e2ae0b934657fe51afdbbbaead52b7)
|
|
|
|
|
|
|
| |
lsf_r is an array of int16_t, not float.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 1efa772e20be5869817b2370a557bb14e7ce2fff)
|
|
|
|
|
|
|
|
|
| |
Advanced profile never uses "range reduction", so vc1_put_block() quite
literally just calls put_pixels_clamped() from vc1_decode_i_blocks_adv().
By inlining the function, we can prevent calling IDCT8x8 if
CODEC_FLAG_GRAY is set, and we don't have to scale the coeffs in the
[0,256] range, but can instead use put_signed_pixels_clamped().
(cherry picked from commit 70aa916e4630bcec14439a2d703074b6d4c890a8)
|
|
|
|
|
| |
Remove ff_vector128, it is identical to ff_pb_80.
(cherry picked from commit bf6fa732459399fac215bdfa44dd39a6fb1d1e01)
|
|
|
|
|
| |
Patch discussed and taken from https://roundup.ffmpeg.org/issue2584
(cherry picked from commit 2bbec1eda46d907605772a8b6e8263caa4bc4c82)
|
|
|
|
|
|
|
| |
With negative stride, the start of the edge_emu buffer should be pointing to
the last line, not the end of the buffer.
With positive stride, pointing to the end of the buffer was completely wrong.
(cherry picked from commit a89f4ca005efa5ee82089583c7b8bc00bcee816a)
|
|
|
|
| |
(cherry picked from commit 9707f84fa73c23352937fc7e4e0a85eaf3135cbc)
|
|
|
|
|
|
| |
Also remove qscale_table code; this didn't make sense anyways as VP3 doesn't
use an MPEG-like quantizer scale.
(cherry picked from commit 902685b8abf4e2089802528a32a50f3c68033fda)
|
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 351423ae1f861da1c647d30c73503fde2b1f3dad)
|
|
|
|
| |
(cherry picked from commit ed040f35f298b39f1ddd45a133c82cb5d6d79dda)
|
|
|
|
|
| |
This one didn't actually need to be initialized.
(cherry picked from commit 891b1f15a7e45a2a5f91cb4c27d11259ef8e012f)
|
|
|
|
| |
(cherry picked from commit bcf4568f183055331415ba230e82af6d59faac1c)
|
|
|
|
| |
(cherry picked from commit 7634771e70575b2a5abaeb420c5b3c2f9948c693)
|
|
|
|
| |
(cherry picked from commit 12802ec0601c3bd7b9c7a2503518e28fd5e7d744)
|
|
|
|
| |
(cherry picked from commit 0b16cdc3fa1d73056649abf43288be0a7624fdcc)
|
|
|
|
| |
(cherry picked from commit 1da6ea39542424ddb691dc6cf08d611a4c6db247)
|
|
|
|
|
| |
3*n4 was already calculated in n3.
(cherry picked from commit 979395bbbb9381b522b44c3448c24aef9c819ffc)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 1f004fc512babe8215e2aa31fa4770aa27812cab)
|
|
|
|
|
| |
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Done to keep ABI compatible. Otherwise this is just silly
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 71f88b1f3843fdb676d6f72181da0c8c460341d8)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Ported from gsoc svn.
(cherry picked from commit ead15f1dc196ad164d105e31c8c9025f8a4ee4e7)
|
|
|
|
|
|
|
| |
It has been unused since 9d06d7bce3babb82ed650c13ed13a57f6f626a71
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 916dee9f45dab85cfc20b6bf63ce8722746e6508)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
6% faster SSE FFT on Conroe, 2.5% on Penryn.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit e6b1ed693ae4098e6b9eabf938fc31ec0b09b120)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit cb62510cab8b745e65eb966c72ab7e9b122d564b)
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
| |
Fix issue2592. / mpeg4-bad-gvop.raw
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
Approximately 5% faster on Cortex-A8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit a7878c9f73c12cfa685bd8af8f3afcca85f56a8b)
|
|
|
|
|
|
|
| |
Approximately 3% faster on Cortex-A8.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 7da48fd0111adf504cfcfc5ebda7fd0681968041)
|
|
|
|
|
| |
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit adb1ad0d8005dfcbae863bccdda8fdd26bb63f30)
|
|
|
|
|
|
|
| |
Based on original patch by Kostya Shishkov
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit e00f41d5742b3a0dc1877b030f4f6f58c19b7bbd)
|
|
|
|
| |
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
|
|
|
|
|
| |
While 4 works for some samples, 3 is the correct value since 8x8
DCT is used by (m)jpeg.
|
|
|
|
|
|
| |
Merge find_near_mvs and mv bitstream decoding: don't do prediction steps
until absolutely necessary.
(cherry picked from commit f3d09d44b70492022964e2ead5f439bb7c96eaa2)
|