summaryrefslogtreecommitdiffstats
path: root/libavcodec/cabac.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-211-335/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample(). x86: cabac: fix register constraints for 32-bit mode cabac: move x86 asm to libavcodec/x86/cabac.h x86: h264: cast pointers to intptr_t rather than int x86: h264: remove hardcoded edi in decode_significance_8x8_x86() x86: h264: remove hardcoded esi in decode_significance[_8x8]_x86() x86: h264: remove hardcoded edx in decode_significance[_8x8]_x86() x86: h264: remove hardcoded eax in decode_significance[_8x8]_x86() x86: cabac: change 'a' constraint to 'r' in get_cabac_inline() x86: cabac: remove hardcoded esi in get_cabac_inline() x86: cabac: remove hardcoded edx in get_cabac_inline() x86: cabac: remove unused macro parameter x86: cabac: remove hardcoded ebx in inline asm x86: cabac: remove hardcoded struct offsets from inline asm cabac: remove inline asm under #if 0 cabac: remove BRANCHLESS_CABAC_DECODER switch cabac: remove #if 0 cascade under never-set #ifdef ARCH_X86_DISABLED document libswscale bump error_resilience: skip last-MV predictor step if MVs are not available. error_resilience: actually add counter when adding a MV predictor. ... Conflicts: Changelog libavcodec/error_resilience.c libavfilter/defaults.c libavfilter/vf_drawtext.c libswscale/swscale.h tests/ref/vsynth1/error tests/ref/vsynth2/error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cabac: move x86 asm to libavcodec/x86/cabac.hMans Rullgard2011-06-201-132/+24
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()Mans Rullgard2011-06-201-1/+1
| | | | | | | | | | | | Nothing requires this value in %eax. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded esi in get_cabac_inline()Mans Rullgard2011-06-201-8/+8
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded edx in get_cabac_inline()Mans Rullgard2011-06-201-8/+8
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove unused macro parameterMans Rullgard2011-06-201-3/+3
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded ebx in inline asmMans Rullgard2011-06-201-26/+27
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded struct offsets from inline asmMans Rullgard2011-06-201-26/+21
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: remove inline asm under #if 0Mans Rullgard2011-06-201-31/+0
| | | | | | | | | | | | A comment says it's not faster than the C code. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: remove BRANCHLESS_CABAC_DECODER switchMans Rullgard2011-06-201-105/+1
| | | | | | | | | | | | The code does not compile without this set. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: remove #if 0 cascade under never-set #ifdef ARCH_X86_DISABLEDMans Rullgard2011-06-201-62/+0
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
|/ | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace #ifdef PIC checks with the more appropriate ↵Reimar Döffinger2009-08-211-1/+1
| | | | | | HAVE_EBX_AVAILABLE/HAVE_7REGS. Originally committed as revision 19676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-121-1/+1
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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-131-7/+7
| | | | | | 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-161-9/+9
| | | | | | | | | | | | | 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-141-2/+0
| | | | 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-021-4/+4
| | | | | | 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-311-3/+3
| | | | | | | | | 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-091-1/+1
| | | | 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-161-110/+0
| | | | | | | | | | | 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-161-0/+110
| | | | | | 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-151-110/+0
| | | | | | | | | | 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-171-6/+6
| | | | 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-281-3/+3
| | | | | | 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-231-2/+2
| | | | | | 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-021-1/+1
| | | | | | 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-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: refill2() is not unused, it is used conditionally.Diego Biurrun2007-10-121-1/+1
| | | | | | | 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-121-0/+6
| | | | | | | | | | | | 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-021-5/+0
| | | | 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-021-0/+5
| | | | | | Blessed by Luca Barbato on IRC. Originally committed as revision 10642 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: typoDiego Biurrun2007-09-161-1/+1
| | | | Originally committed as revision 10507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* CONFIG_7REGS -> HAVE_7REGSRamiro Polla2007-08-151-5/+5
| | | | Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: misc typo fixesDiego Biurrun2007-07-281-1/+1
| | | | Originally committed as revision 9815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-121-1/+1
| | | | 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-301-1/+1
| | | | | | | | 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-101-0/+6
| | | | 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-051-1/+1
| | | | 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-271-5/+5
| | | | | | | | | | 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-261-5/+5
| | | | 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-141-3/+3
| | | | | | 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-291-2/+2
| | | | | | | | | | 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-231-1/+1
| | | | 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-271-3/+3
| | | | Originally committed as revision 7729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace a few hardcoded numbers with their correct named onesMichael Niedermayer2007-01-131-8/+8
| | | | 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-081-2/+2
| | | | Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud