aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/get_bits.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-131-10/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-121-10/+9
| |
* | Revert "get_bits: remove x86 inline asm in A32 bitstream reader"Elvis Presley2011-09-151-0/+8
| | | | | | | | This reverts commit 23ce6e72123a40895baaeefeb27c7c18748bd67e.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-021-8/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: get_bits: remove x86 inline asm in A32 bitstream reader doc: Remove outdated information about our issue tracker avidec: Factor out the sync fucntionality. fate-aac: Expand coverage. ac3dsp: add x86-optimized versions of ac3dsp.extract_exponents(). ac3dsp: simplify extract_exponents() now that it does not need to do clipping. ac3enc: clip coefficients after MDCT. ac3enc: add int32_t array clipping function to DSPUtil, including x86 versions. swscale: for >8bit scaling, read in native bit-depth. matroskadec: matroska_read_seek after after EBML_STOP leads to failure. doxygen: fix usage of @file directive in libavutil/{dict,file}.h doxygen: Help doxygen parser to understand the DECLARE_ALIGNED and offsetof macros Conflicts: doc/issue_tracker.txt libavformat/avidec.c libavutil/dict.h libswscale/swscale.c libswscale/utils.c tests/ref/lavfi/pixfmts_scale Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * get_bits: remove x86 inline asm in A32 bitstream readerMans Rullgard2011-07-011-8/+0
| | | | | | | | | | | | | | x86 does not use this variant so having inline asm there is pointless. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-011-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cosmetics: fix some then/than typos doxygen: Include libavcodec and libavformat examples into the documentation avutil: elaborate documentation for av_get_random_seed Add support for aac streams in mp4/mov without extradata. aes: whitespace cosmetics adler32: whitespace cosmetics swscale: fix another yuv range conversion overflow in 16bit scaling. Fix cpu flags test program opt-test: Add missing braces to silence compiler warnings. build: Eliminate obsolete test targets. udp: Fix a compilation warning swscale: Unbreak build with --enable-small base64: add fate test aes: improve test program and add fate test adler32: make test program more useful and add fate test swscale: fix yuv range correction when using 16-bit scaling. aacenc: Make chan_map const correct Conflicts: Makefile doc/examples/muxing-example.c libavformat/udp.c libavutil/random_seed.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * cosmetics: fix some then/than typosDiego Biurrun2011-06-301-2/+2
| |
| * get_bits: add av_unused tag to cache variableMans Rullgard2011-05-281-1/+1
| | | | | | | | | | | | | | This silences numerous compiler warnings from skip_bits(), where the cache variable is not used. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-051-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (23 commits) doc: Check standalone compilation before submitting new components. Fix standalone compilation of pipe protocol. Fix standalone compilation of ac3_fixed encoder. Fix standalone compilation of binkaudio_dct / binkaudio_rdft decoders. Fix standalone compilation of IMC decoder. Fix standalone compilation of WTV demuxer. Fix standalone compilation of MXPEG decoder. flashsv: K&R cosmetics matroskaenc: fix memory leak vc1: make overlap filter for I-frames bit-exact. vc1dec: use s->start/end_mb_y instead of passing them as function args. Revert "VC1: merge idct8x8, coeff adjustments and put_pixels." Replace strncpy() with av_strlcpy(). indeo3: Eliminate use of long. get_bits: make cache unsigned to eliminate undefined signed overflow. asfdec: fix assert failure on invalid files avfilter: check malloc return values. Not pulled as reason for reindent is not pulled: mpegvideo: reindent. nutenc: check malloc return values. Not pulled due to much simpler solution in ffmpeg *: don't av_malloc(0). ... Conflicts: doc/developer.texi libavcodec/Makefile libavcodec/get_bits.h libavcodec/mpegvideo.c libavformat/Makefile libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * get_bits: make cache unsigned to eliminate undefined signed overflow.Alex Converse2011-05-031-1/+1
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * get_bits: move tracing macros to end of fileMans Rullgard2011-01-231-21/+21
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Sanitise get_bits macros, part 2Mans Rullgard2011-01-231-196/+182
| | | | | | | | | | | | | | These whitespace changes improve the readability of the get_bits macros. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Sanitise get_bits macros, part 1Mans Rullgard2011-01-231-62/+65
| | | | | | | | | | | | | | | | | | Some of the macros in get_bits.h include a final semicolon, some do not. This removes these or adds do {} while(0) around the macros as appropriate and adds semicolons where needed in calling code. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Remove "libmpeg2" bitstream readerMans Rullgard2011-01-231-74/+3
| | | | | | | | | | | | | | | | | | | | Using the libmpeg2 reader causes errors in a multitude of places, including MPEG and H264 codecs. As the advantage of this reader is questionable, removing it seems the sensible course of action, especially considering the simplifications this allows elsewhere with the bit cache size increasing from 17 to 25 bits as minimum. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | bitstream_reader: Try to fix "get_bits.h:305:45: warning: variable ↵Michael Niedermayer2011-05-041-1/+1
| | | | | | | | | | | | ‘re_cache’ set but not used [-Wunused-but-set-variable]" Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | bitstream reader: remove unneeded variable initilization.Michael Niedermayer2011-05-041-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | get_bits: move tracing macros to end of fileMans Rullgard2011-01-231-21/+21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 611a6f59ce91947b25033bb8d0f9311b5c542b05)
* | Sanitise get_bits macros, part 2Mans Rullgard2011-01-231-196/+182
| | | | | | | | | | | | | | | | These whitespace changes improve the readability of the get_bits macros. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit fb5c841d5f05ae54b699ba6ef28356a6563751eb)
* | Sanitise get_bits macros, part 1Mans Rullgard2011-01-231-62/+65
| | | | | | | | | | | | | | | | | | | | Some of the macros in get_bits.h include a final semicolon, some do not. This removes these or adds do {} while(0) around the macros as appropriate and adds semicolons where needed in calling code. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit bf5f9b528b4117596afc57578a36e7b5728b15d3)
* | Remove "libmpeg2" bitstream readerMans Rullgard2011-01-231-74/+3
|/ | | | | | | | | | | Using the libmpeg2 reader causes errors in a multitude of places, including MPEG and H264 codecs. As the advantage of this reader is questionable, removing it seems the sensible course of action, especially considering the simplifications this allows elsewhere with the bit cache size increasing from 17 to 25 bits as minimum. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 938f72e19957e9ee3f4ae2bee2fb53ded359009f)
* Add av_ prefix to bswap macrosMåns Rullgård2010-07-101-2/+2
| | | | Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bswap: change ME to NE in macro namesMåns Rullgård2010-07-101-2/+2
| | | | | | | Other parts of FFmpeg use NE (native endian) rather than ME (machine). This makes it consistent. Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* get/show_bits() can read up to MIN_CACHE_BITS bitsMåns Rullgård2010-02-211-2/+2
| | | | | | | The limit for get/show_bits_long() to use get/show_bits() directly should be MIN_CACHE_BITS, not 17. Originally committed as revision 21951 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deobfuscate LE SHOW_[SU]BITS; these are simple sign/zero-extendMåns Rullgård2010-02-211-2/+2
| | | | Originally committed as revision 21948 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move NEG_[US]SR32 macros to mathops.hMåns Rullgård2010-02-171-21/+0
| | | | Originally committed as revision 21873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get_bits: Fix spelling and grammar in GET_VLC() comment.Alex Converse2010-02-171-3/+3
| | | | Originally committed as revision 21868 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark index as unsigend so gcc knows it doesnt need a sign extension on x86_64.Michael Niedermayer2010-01-241-4/+6
| | | | | | | | Any tips on how i can convince gcc that it doesnt need a mov %eax, %eax in every get_bits() ? Originally committed as revision 21433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added missing const to get_bits_count().Laurent Aimar2010-01-241-3/+3
| | | | Originally committed as revision 21419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: use ALT_BITSTREAM_READER on cores with fast unaligned accessMåns Rullgård2009-12-221-1/+1
| | | | Originally committed as revision 20911 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make get_bits_left() available for use in libavcodec (was previously heldRonald S. Bultje2009-11-091-0/+5
| | | | | | private in dv.c for some reason). See "[PATCH] get_bits_left()" thread. Originally committed as revision 20490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move ff_reverse in libavcodec to av_reverse in libavutil.Francesco Lavra2009-11-091-2/+0
| | | | | | Patch by Francesco Lavra, francescolavra interfree it Originally committed as revision 20484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Completely remove INIT_VLC_USE_STATIC, it is deprecated since ages andReimar Döffinger2009-09-241-1/+0
| | | | | | finally no longer used anywhere. Originally committed as revision 20013 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a typo in the documentation.Lars Täuber2009-09-111-1/+1
| | | | | | Patch by Lars Täuber: firstname taeuber gmx net Originally committed as revision 19820 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to clarify that anyone using get_bits must check for buffer overrunReimar Döffinger2009-09-081-0/+3
| | | | | | themselves, get_bits does not do anything in that regard. Originally committed as revision 19794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename bitstream.h to get_bits.h.Stefano Sabatini2009-04-131-0/+705
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk