summaryrefslogtreecommitdiff
path: root/libavcodec/cabac.h
Commit message (Collapse)AuthorAge
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Convert asm keyword into __asm__.Diego Pettenò2008-10-16
| | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless #ifdef around #include.Diego Biurrun2008-09-14
| | | | Originally committed as revision 15329 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence a couple of 'defined but not used' warnings by adding an av_unusedDiego Biurrun2008-09-02
| | | | | | attribute to the relevant function declarations. Originally committed as revision 15161 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-31
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Redo r12838, this time using svn copy to create h264_i386.h from cabac.h.Jeff Downs2008-04-16
| | | | | | | | | | | Move decode_significance_x86() and decode_significance_8x8_x86() to i386-specific file from cabac.h. New file is h264-oriented and only included from h264.c Resolves compilation when configured with --disable-optimizations due to decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is only defined in h264.c Originally committed as revision 12846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert 12838 to redo it the right way (use svn copy to create newJeff Downs2008-04-16
| | | | | | file based on old). Originally committed as revision 12845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move decode_significance_x86() and decode_significance_8x8_x86() toJeff Downs2008-04-15
| | | | | | | | | | i386-specific file from cabac.h. New file is h264-oriented and only included from h264.c Resolves compilation when configured with --disable-optimizations due to decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is only defined in h264.c Originally committed as revision 12838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: remove useless \-newline escapesMåns Rullgård2008-03-17
| | | | Originally committed as revision 12479 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use cltd instead of cdq asm mnemonic, ICC and gcc support both, butReimar Döffinger2008-02-28
| | | | | | SunStudio 12 only supports the former. Originally committed as revision 12275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Put some disabled functions that are only used in the test program in cabac.cDiego Biurrun2008-01-23
| | | | | | under TEST as preprocessor conditional, same as the test program. Originally committed as revision 11601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing const to last argument of decode_significance_8x8_x86.Reimar Döffinger2007-12-02
| | | | | | Fixes "h264.c:5470: warning: passing argument 4 of 'decode_significance_8x8_x86' discards qualifiers from pointer target type" Originally committed as revision 11135 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-17
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: refill2() is not unused, it is used conditionally.Diego Biurrun2007-10-12
| | | | | | | Fix the preprocessor directives to enable refill2() only when the conditions under which it is used apply. Originally committed as revision 10715 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable unused code; fixes several gcc warnings:Diego Biurrun2007-10-12
| | | | | | | | | | | | cabac.h:112: warning: ‘put_cabac_static’ defined but not used cabac.h:158: warning: ‘put_cabac_terminate’ defined but not used cabac.h:186: warning: ‘put_cabac_u’ defined but not used cabac.h:221: warning: ‘put_cabac_ueg’ defined but not used cabac.h:273: warning: ‘refill2’ defined but not used cabac.h:811: warning: ‘get_cabac_u’ defined but not used cabac.h:827: warning: ‘get_cabac_ueg’ defined but not used Originally committed as revision 10713 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l: Revert accidental commit, restore previous version.Diego Biurrun2007-10-02
| | | | Originally committed as revision 10644 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace CONFIG_VORBIS_DECODER #ifdef by if (ENABLE_VORBIS_DECODER).Diego Biurrun2007-10-02
| | | | | | Blessed by Luca Barbato on IRC. Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: typoDiego Biurrun2007-09-16
| | | | Originally committed as revision 10507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CONFIG_7REGS -> HAVE_7REGSRamiro Polla2007-08-15
| | | | Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: misc typo fixesDiego Biurrun2007-07-28
| | | | Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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