- 28 Apr, 2012 3 commits
-
-
Ronald S. Bultje authored
Force-inlining increases object size by 8kB and causes a 2% slowdown.
-
Christophe Gisquet authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Christophe Gisquet authored
is_block2 was always 0, so just remove it, and change accordingly the code. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 10 Apr, 2012 1 commit
-
-
Christophe GISQUET authored
Quite often, the original weights are multiple of 512. By prescaling them by 1/512 when they are computed (once per frame), no intermediate shifting is needed, and no prescaling on each call either. The x86 code already used that trick. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 07 Apr, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 28 Mar, 2012 1 commit
-
-
Diego Biurrun authored
Also remove one pointless zero initialization in rangecoder.c.
-
- 26 Mar, 2012 1 commit
-
-
Ronald S. Bultje authored
Prevents running error resilience on a previous frame which will write to the pic->mb_type[] array of the previous image. The array might already be re-used for a new image in a subsequent thread, thus cause two threads to write to the same pic->mb_type[] array, causing a race condition which can crash in rv34_decode_cbp(), called by rv34_decode_inter_mb_header() (which accesses mb_type[] twice, assuming values are maintained, which the race condition breaks). Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 23 Mar, 2012 2 commits
-
-
Janne Grunau authored
-
Janne Grunau authored
Correct handling of errors to prevent hags or crashes is very complex otherwise. The frame initializing is also moved from decode_slice() to decode_frame() for clarity.
-
- 07 Mar, 2012 2 commits
-
-
Christophe GISQUET authored
This was an incorrect copy-and-paste to a code not needing the original code. Spotted by Jason in a previous review but forgotten in the commit. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
Christophe GISQUET authored
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 01 Mar, 2012 1 commit
-
-
Diego Biurrun authored
-
- 15 Feb, 2012 2 commits
-
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 14 Feb, 2012 2 commits
-
-
Janne Grunau authored
Factors all context dynamic memory handling to its own functions. Fixes bug 220.
-
Janne Grunau authored
Also adds an error message.
-
- 16 Jan, 2012 1 commit
-
-
Christophe GISQUET authored
Implement 1-pass inverse transform and reconstruction for inter blocks.
-
- 15 Jan, 2012 2 commits
-
-
Christophe GISQUET authored
Extract processing of intra 16x16 blocks from intra macroblock processing. Also implement a function performing inverse transform and block reconstruction for DC-only blocks in 1 pass instead of 2.
-
Christophe GISQUET authored
Split inter/intra macroblock handling code. This will allow further optimizations such as performing inverse transform and block reconstruction in a single pass as well as specialize code. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-
- 12 Jan, 2012 2 commits
-
-
Janne Grunau authored
The sporadic threading errors during fate-rv30 were caused by calling ff_thread_await_progress with mb row -1 as argument. That returns immediately since progress is initialized to -1. Not yet computed motion vectors from the reference could be used for the first macroblocks.
-
Christophe GISQUET authored
When decoding coefficients, detect whether the block is DC-only, and take advantage of this knowledge to perform DC-only inverse transform. This is achieved by: - first, changing the 108x4 element modulo_three_table into a 108 element table (kind of base4), and accessing each value using mask and shifts. - then, checking low bits for 0 (as they represent the presence of higher frequency coefficients) Also provide x86 SIMD code for the DC-only inverse transform. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
- 10 Jan, 2012 2 commits
-
-
Janne Grunau authored
Statistics for bourne.rmvb -an -f null 1 thread: 37.12s user 0.03s system 99% cpu 37.174 total 2 threads: 47.63s user 0.24s system 185% cpu 25.807 total 4 threads: 41.21s user 0.30s system 327% cpu 12.674 total
-
Janne Grunau authored
It is not necessary to store the bit stream length in a RV34DecContext field.
-
- 04 Jan, 2012 2 commits
-
-
John Brooks authored
For small video dimensions calculations of the upper bound for pixel access may result in negative value. Using an unsigned comparison works only if the greater operand is non-negative. This is fixed by doing edge emulation explicitly for such conditions. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
Christophe GISQUET authored
Perform dequantization while decoding coefficients instead of performing it on the entire coefficients buffer. Since quantized coefficients are very sparse, this usually causes a small speedup. Speedup of around 1% on Panda board compared to the removed here neon code. Global speedup is probably around 3%. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
-
- 13 Dec, 2011 3 commits
-
-
Luca Barbato authored
Simplify a little error resilience calls Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
Add the namespace to {AC_,DC_,MV_}{END,ERROR} macros Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
Mans Rullgard authored
Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 01 Dec, 2011 1 commit
-
-
Mans Rullgard authored
This is needed for optimised transforms. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 26 Nov, 2011 1 commit
-
-
Mans Rullgard authored
Multiply by unsigned 0x01010101 to replicate bytes into 32-bit word. Signed-off-by: Mans Rullgard <mans@mansr.com>
-
- 21 Oct, 2011 1 commit
-
-
Baptiste Coudurier authored
Signed-off-by: Diego Biurrun <diego@biurrun.de> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 12 Oct, 2011 1 commit
-
-
Janne Grunau authored
-
- 22 Sep, 2011 1 commit
-
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 21 Sep, 2011 1 commit
-
-
Laurent Aimar authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 20 Sep, 2011 1 commit
-
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 19 Sep, 2011 4 commits
-
-
Laurent Aimar authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
Signed-off-by: Martin Storsjö <martin@martin.st>
-
Laurent Aimar authored
rv34_decode_slice() can return without allocating any pictures. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 17 Sep, 2011 1 commit
-
-
Laurent Aimar authored
rv34_decode_slice() can return without allocating any pictures. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-