- 19 Sep, 2018 1 commit
-
-
Shiyou Yin authored
This optimization improved h264 decoding performance about 4%(from 74fps to 77fps, tested on loongson 3A3000). Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 18 Feb, 2016 1 commit
-
-
Diego Biurrun authored
-
- 22 Jan, 2016 2 commits
-
-
John Cox authored
Allow more of the cabac functions to be overridden and avoid generating any code for unwanted refill functions. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
John Cox authored
When refilling the low bit buffer after get_cabac count the bits with ctz if the processor has a fast version. Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 27 Nov, 2015 2 commits
-
-
Michael Niedermayer authored
Fixes integer overflows Fixes: 1430e9c43fae47a24c179c7c54f94918/signal_sigsegv_421427_2340_591e9810c7b09efe501ad84638c9e9f8.264 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Found-by: xiedingbao (Ticket4727) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
Fixes: 1430e9c43fae47a24c179c7c54f94918/signal_sigsegv_421427_2340_591e9810c7b09efe501ad84638c9e9f8.264 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Found-by: xiedingbao (Ticket4727) Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- 10 Oct, 2015 2 commits
-
-
Anton Khirnov authored
There's not much reason to generate such a small table at runtime. Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
Derek Buitenhuis authored
This becomes unuseful in the following commit. This reverts commit 092d1977. Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 08 Oct, 2015 1 commit
-
-
Anton Khirnov authored
There is not much reason to generate such a small table at runtime. Signed-off-by:
Derek Buitenhuis <derekb@vimeo.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 08 Sep, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 06 Sep, 2014 1 commit
-
-
Reimar Döffinger authored
Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 08 Mar, 2014 2 commits
-
-
Janne Grunau authored
Based on the aarch64 asm. CPU cycle counts on cortex-a9 compared to gcc 4.8.2: before: 475 decicycles in get_cabac_noinline, 67106035 runs, 2829 skips after: 393 decicycles in get_cabac_noinline, 67106474 runs, 2390 skips Overall speedup is above 2%. Code generated by clang 3.4 is slower on the same hardware and the relative change is a little larger.
-
Janne Grunau authored
Based on the x86 branchless get_cabac asm. get_cabac_noinline() gets approximately 20% faster (no cycle counts available) compared to clang from Xcode 5.1 beta5. More than 6% faster overall. A part of the overall speedup might be explained by additional inlining of get_cabac().
-
- 31 Oct, 2013 2 commits
-
-
Guillaume Martres authored
Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC project. Further contributions by the OpenHEVC project and other developers, namely: Mickaël Raulet <mraulet@insa-rennes.fr> Seppo Tomperi <seppo.tomperi@vtt.fi> Gildas Cocherel <gildas.cocherel@laposte.net> Khaled Jerbi <khaled_jerbi@yahoo.fr> Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr> Vittorio Giovara <vittorio.giovara@gmail.com> Jan Ekström <jeebjp@gmail.com> Anton Khirnov <anton@khirnov.net> Martin Storsjö <martin@martin.st> Luca Barbato <lu_zero@gentoo.org> Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> Reimar Döffinger <Reimar.Doeffinger@gmx.de> Diego Biurrun <diego@biurrun.de> Signed-off-by:
Anton Khirnov <anton@khirnov.net>
-
Michael Niedermayer authored
Fixes overreads in HEVC Fixes Ticket3070 Also fixed remaining issues from Ticket3075 and Ticket3076 Some lines of code taken from 0c5f8396:libavcodec/x86/cabac.h and 0c5f8396:libavcodec/cabac_functions.h Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 15 Oct, 2013 1 commit
-
-
Guillaume Martres authored
Initially written by Guillaume Martres <smarter@ubuntu.com> as a GSoC project. Further contributions by the OpenHEVC project and other developers, namely: Mickaël Raulet <mraulet@insa-rennes.fr> Seppo Tomperi <seppo.tomperi@vtt.fi> Gildas Cocherel <gildas.cocherel@laposte.net> Khaled Jerbi <khaled_jerbi@yahoo.fr> Wassim Hamidouche <wassim.hamidouche@insa-rennes.fr> Vittorio Giovara <vittorio.giovara@gmail.com> Jan Ekström <jeebjp@gmail.com> Anton Khirnov <anton@khirnov.net> Martin Storsjö <martin@martin.st> Luca Barbato <lu_zero@gentoo.org> Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> Signed-off-by:
Anton Khirnov <anton@khirnov.net> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 04 Jul, 2013 1 commit
-
-
Jason Garrett-Glaser authored
Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 28 Apr, 2012 2 commits
-
-
Roland Scheidegger authored
The reason is this is easier for PIC code (in particular on darwin...). Keep the old names as pointers (static in cabac_functions.h so gcc knows these are just immediate offsets) so the c code can nicely stay the same (alternatively could use offsets directly in the functions needing the tables). This should produce the same code as before with non-pic and better code (confirmed) with pic. The assembly uses the new table but still won't work for PIC case. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Roland Scheidegger authored
The reason is this is easier for PIC code (in particular on darwin...). Keep the old names as pointers (static in cabac_functions.h so gcc knows these are just immediate offsets) so the c code can nicely stay the same (alternatively could use offsets directly in the functions needing the tables). This should produce the same code as before with non-pic and better code (confirmed) with pic. The assembly uses the new table but still won't work for PIC case. Signed-off-by:
Ronald S. Bultje <rsbultje@gmail.com>
-
- 28 Mar, 2012 1 commit
-
-
Ronald S. Bultje authored
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
-
- 14 Jan, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 12 Jan, 2012 3 commits
-
-
Diego Biurrun authored
This fixes standalone compilation of some decoders with --disable-optimizations. cabac.h defines some inline functions that use symbols from cabac.c. Without optimizations these inline functions are not eliminated and linking fails with references to non-existing symbols. Splitting the inline functions off into their own header and only #including it in the places where the inline functions are used allows #including cabac.h from anywhere without ill effects.
-
Diego Biurrun authored
-
Diego Biurrun authored
It was only ever used in the cabac test program, but never initialized.
-
- 07 Jan, 2012 1 commit
-
-
Diego Biurrun authored
-
- 06 Jan, 2012 1 commit
-
-
Diego Biurrun authored
-
- 04 Jan, 2012 2 commits
-
-
Diego Biurrun authored
-
Diego Biurrun authored
-
- 17 Jul, 2011 1 commit
-
-
Diego Biurrun authored
-
- 20 Jun, 2011 10 commits
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Nothing requires this value in %eax. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
A comment says it's not faster than the C code. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
The code does not compile without this set. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-