summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
Commit message (Collapse)AuthorAge
...
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename attribute_unused to av_unused and moves its declaration to common.hCarl Eugen Hoyos2007-05-30
| | | | | | | | patch by Carl Eugen Hoyos cehoyos chez ag or at original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused date: 05/29/2007 01:23 PM Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split h264.c to move parser in its own fileAurelien Jacobs2007-05-10
| | | | Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.Diego Biurrun2007-05-05
| | | | Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark code parts that cannot work on AMD64 due to broken relocations as such.Diego Biurrun2007-04-27
| | | | | | | | | | This allows building shared libraries on AMD64 again. based on a patch by Diego 'Flameeyes' Pettenò and suggestions by Michael original thread: Date: Wed, 18 Apr 2007 11:26:12 +0200 Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: Rename missed occurrences of CONFIG_EBX_AVAILABLE to HAVE_EBX_AVAILABLE.Diego Biurrun2007-04-26
| | | | Originally committed as revision 8821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update preprocessor directive comments to take recent changes to this fileDiego Biurrun2007-04-14
| | | | | | into account. Originally committed as revision 8731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation when using the --disable-opts parameter. This to help thosePanagiotis Issaris2007-03-29
| | | | | | | | | | interested in using a debugger to debug FFmpeg. Original thread: Subject: [PATCH] Fix compilation when using --disable-opts Date: 2007-03-15 16:58:35 GMT Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_noinline instead of __attribute((noinline))Aurelien Jacobs2007-02-23
| | | | Originally committed as revision 8091 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename CMOV_IS_FAST to HAVE_FAST_CMOV and simplify configureMåns Rullgård2007-01-27
| | | | Originally committed as revision 7729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace a few hardcoded numbers with their correct named onesMichael Niedermayer2007-01-13
| | | | Originally committed as revision 7441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename always_inline to av_always_inline and move to common.hMåns Rullgård2006-12-08
| | | | Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* PIC fixMichael Niedermayer2006-11-27
| | | | Originally committed as revision 7173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reenable AMD64 optimizations for cabac accidentially disabled in r6852Reimar Döffinger2006-11-01
| | | | Originally committed as revision 6853 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ARCH_X86_32 as a new define for 32 bit x86 architectures and changeDiego Biurrun2006-11-01
| | | | | | the semantics of ARCH_X86 to mean both 32 and 64 bits. Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with PIC enabled, BRANCHLESS_GET_CABAC is defined underDiego Biurrun2006-10-29
| | | | | | !PIC but gets used without a check for !PIC. Originally committed as revision 6834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CABAC assembler optimizations ported to AMD64Reimar Döffinger2006-10-23
| | | | Originally committed as revision 6776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* decode_significance_8x8_x86()Michael Niedermayer2006-10-20
| | | | | | 8% faster decode_cabac_residual() (8x8 case only) on P3 Originally committed as revision 6750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Protect code that uses CMOV instructions with HAVE_CMOV,Guillaume Poirier2006-10-20
| | | | | | | Make configure set CMOV_IS_FAST on arches on which cmov has a low latency (typically non-Netburst based processor) Originally committed as revision 6749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* another instruction less in decode_significance_x86() -> 1% faster ion P3Michael Niedermayer2006-10-20
| | | | Originally committed as revision 6745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1 instruction lessMichael Niedermayer2006-10-20
| | | | Originally committed as revision 6743 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reordering instructions a little in decode_significance_x86() -> 2 ↵Michael Niedermayer2006-10-20
| | | | | | instructions less / 1% faster decode_residual on P3 Originally committed as revision 6741 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize get_cabac asm (0.5% slower but its much cleaner)Michael Niedermayer2006-10-20
| | | | Originally committed as revision 6740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix PIC compilation, some defines were under #ifdef !PIC but usedBernhard Rosenkränzer2006-10-19
| | | | | | | in the PIC case nevertheless. patch by Bernhard Rosenkranzer, bero arklinux org Originally committed as revision 6738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unused variableMichael Niedermayer2006-10-19
| | | | Originally committed as revision 6737 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize sign decoding code in decode_residual()Michael Niedermayer2006-10-19
| | | | | | | | x86 is 4% faster on P3 C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C) ... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all Originally committed as revision 6732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Kill a warning with MSVCJindřich Makovička2006-10-18
| | | | | | | | | Patch by Jindrich Makovicka makovick A gmail P com Original thread: Date: 08:21 AM Subject Re: [Ffmpeg-devel] Weird line in cabac.h Originally committed as revision 6726 to svn://svn.ffmpeg.org/ffmpeg/trunk
* x86 asm version of the decode significance loop (not 8x8) of ↵Michael Niedermayer2006-10-17
| | | | | | decode_residual() 5% faster decode_residual() on P3 Originally committed as revision 6724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetic (%%eax->%0)Michael Niedermayer2006-10-17
| | | | Originally committed as revision 6717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash with illegal instruction, cmov is available on 686 and later only.Diego Biurrun2006-10-16
| | | | Originally committed as revision 6715 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Expand some #endif comments.Diego Biurrun2006-10-16
| | | | Originally committed as revision 6714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix !CMOV_IS_FAST case (iam not really happy with the fix but i didnt come ↵Michael Niedermayer2006-10-16
| | | | | | up with a better one quickly) Originally committed as revision 6707 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2006-10-15
| | | | Originally committed as revision 6704 to svn://svn.ffmpeg.org/ffmpeg/trunk
* this code will not work with PIC as it needs 7 registers and gcc doesnt ↵Michael Niedermayer2006-10-15
| | | | | | support that in PIC Originally committed as revision 6703 to svn://svn.ffmpeg.org/ffmpeg/trunk
* shift CABACContext.range right, this reduces the number of shifts needed in ↵Michael Niedermayer2006-10-15
| | | | | | get_cabac() and is slightly faster on P3 (and should be much faster on P4 as the P4 except the more recent variants lacks an integer shifter and so shifts have ~10 times longer latency then simple operations like adds) Originally committed as revision 6702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dehack *ps_state indexing in the branchless decoderMichael Niedermayer2006-10-13
| | | | Originally committed as revision 6683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add "memory" to the clobber list we change memory so we need it, this also ↵Michael Niedermayer2006-10-12
| | | | | | fixes some problems with gcc svn Originally committed as revision 6679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prevent "mb level" get_cabac() calls from being inlined (3% faster ↵Michael Niedermayer2006-10-12
| | | | | | decode_mb_cabac() on P3) Originally committed as revision 6674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adds some useful comments after some of the #else, #elseif,Guillaume Poirier2006-10-12
| | | | | | | #endif preprocessor directives to make it clearer which code block depends on which #define xx Originally committed as revision 6668 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ABS macro to FFABS.Diego Biurrun2006-10-11
| | | | Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slightly faster on P3 slightly slower on athlon and probably faster on P4Michael Niedermayer2006-10-11
| | | | Originally committed as revision 6663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moving lps state transition code a little up in the branched asm code (1% ↵Michael Niedermayer2006-10-11
| | | | | | faster on P3) Originally committed as revision 6658 to svn://svn.ffmpeg.org/ffmpeg/trunk
* write cabac low and range variables as early as possible to prevent stalls ↵Michael Niedermayer2006-10-11
| | | | | | from reading them before they where written, the P4 is said to disslike that alot, on P3 its 2% faster (START/STOP_TIMER over decode_residual) Originally committed as revision 6657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use ecx instead of cl (no speed change on P3 but might avoid partial ↵Michael Niedermayer2006-10-11
| | | | | | register stalls on some cpus) Originally committed as revision 6656 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make state transition tables global as they are constant and the code is ↵Michael Niedermayer2006-10-11
| | | | | | slightly faster that way Originally committed as revision 6655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2006-10-11
| | | | Originally committed as revision 6654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make lps_range a global table its constant anyway (saves 1 addition for ↵Michael Niedermayer2006-10-11
| | | | | | accessing it) Originally committed as revision 6653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* enable CMOV_IS_FAST as its faster or equal speed on every cpu (duron, ↵Michael Niedermayer2006-10-11
| | | | | | athlon, PM, P3) from which ive seen benchmarks, it might be slower on P4 but noone has posted benchmarks ... Originally committed as revision 6652 to svn://svn.ffmpeg.org/ffmpeg/trunk
* BRANCHLESS_CABAD --> BRANCHLESS_CABAC_DECODERDiego Biurrun2006-10-10
| | | | Originally committed as revision 6623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moving another bit&1 out, this is as fast as with it in there, but it makes ↵Michael Niedermayer2006-10-10
| | | | | | more sense with it outside of the loop Originally committed as revision 6618 to svn://svn.ffmpeg.org/ffmpeg/trunk