aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Extend fill_rectangle() support for 16bitMichael Niedermayer2010-02-241-26/+27
| | | | Originally committed as revision 22036 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Calculate mvd without abs()Michael Niedermayer2010-02-241-14/+18
| | | | | | same speed (ask gcc why, i dont know) Originally committed as revision 22035 to svn://svn.ffmpeg.org/ffmpeg/trunk
* switch back to (amvd>2)+(amvd>32), its 5 cpu cycles faster now.Michael Niedermayer2010-02-241-1/+1
| | | | Originally committed as revision 22032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize common code from the top of decode_cabac_mb_mvd()Michael Niedermayer2010-02-241-13/+16
| | | | | | 10-15 cpu cycles faster. Originally committed as revision 22029 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace mvd>2 + mvd>32 by MIN((mvd+28)*17>>9, 2)Michael Niedermayer2010-02-241-1/+1
| | | | | | | | same speed as far as i can meassure but it might have fewer branches on some archs. Idea from x264 / jason Originally committed as revision 22027 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace ad-hoc fill rectangle by fill_rectangle().Michael Niedermayer2010-02-241-4/+2
| | | | Originally committed as revision 22025 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ff_msmpeg4_decode_init() calls ff_h263_decode_init() which callsKostya Shishkov2010-02-241-3/+1
| | | | | | | | MPV_common_init(), so calling both is redundant and leads to memory leaks in WMV3/VC-1 decoder. Thus use only the first function in WMV3/VC-1 decoder initialization. Originally committed as revision 22024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* it is not necessary to display the decoder name, as av_log() automatically ↵Peter Ross2010-02-241-1/+1
| | | | | | prints the context Originally committed as revision 22023 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace /2 by faster >>1 as the mvd values are now all positive.Michael Niedermayer2010-02-241-1/+1
| | | | Originally committed as revision 22013 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable. Seems i forgot to commit this.Michael Niedermayer2010-02-241-1/+0
| | | | Originally committed as revision 22012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mlp_parser: Fix memleak.Jai Menon2010-02-231-1/+1
| | | | | | | | ff_combine_frame() is called, which allocates ParseContext->buffer if needed, so ff_parse_close() must be called to free it. Patch by jai. Originally committed as revision 22005 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: break all Makefile lines at 80 columns or lessDaniel Verkamp2010-02-231-22/+43
| | | | Originally committed as revision 22000 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use reported_size to truncate final Bink Audio framePeter Ross2010-02-231-5/+1
| | | | Originally committed as revision 21993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix iff demuxer dependenciesDaniel Verkamp2010-02-231-0/+1
| | | | Originally committed as revision 21992 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix vc1 parser dependenciesDaniel Verkamp2010-02-231-1/+1
| | | | Originally committed as revision 21991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix h264 parser dependenciesDaniel Verkamp2010-02-231-0/+1
| | | | Originally committed as revision 21990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix mpeg4video parser dependenciesDaniel Verkamp2010-02-231-1/+1
| | | | Originally committed as revision 21989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix wmv2 encoder dependenciesDaniel Verkamp2010-02-231-1/+1
| | | | Originally committed as revision 21988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix gif encoder dependenciesDaniel Verkamp2010-02-231-1/+1
| | | | Originally committed as revision 21986 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix snow encoder dependenciesDaniel Verkamp2010-02-231-1/+1
| | | | Originally committed as revision 21985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix svq1 encoder dependenciesDaniel Verkamp2010-02-231-1/+1
| | | | Originally committed as revision 21984 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l trocadero: Indeo 5 decoder did not free custom VLCs for macroblock andKostya Shishkov2010-02-232-0/+5
| | | | | | block decoding at exit, so prevent that memory leak now. Originally committed as revision 21983 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decode alpha plane in Bink videoKostya Shishkov2010-02-231-6/+4
| | | | Originally committed as revision 21982 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: reindent after last commitKostya Shishkov2010-02-231-157/+157
| | | | Originally committed as revision 21981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move plane decoding code into separate function in Bink decoderKostya Shishkov2010-02-231-58/+70
| | | | Originally committed as revision 21980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bink video decoder now can use extradata to detect alpha plane presenceKostya Shishkov2010-02-231-1/+10
| | | | Originally committed as revision 21979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Declare indeo VLC table storage with correct typeMåns Rullgård2010-02-231-1/+1
| | | | Originally committed as revision 21977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to set has_b_frames in codec init if we know everything alraedy.Michael Niedermayer2010-02-231-0/+4
| | | | | | This fixes some issues with the first few timestamps. Originally committed as revision 21976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move extradata reading code into codec init instead of doing itMichael Niedermayer2010-02-231-55/+45
| | | | | | in read frame. Originally committed as revision 21975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make Bink decoder able to skip alpha planeKostya Shishkov2010-02-221-0/+10
| | | | Originally committed as revision 21963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Macroblock and block Huffman code sets are to be used by both Indeo 4 andKostya Shishkov2010-02-223-17/+39
| | | | | | | | Indeo 5, so make them global and move their initialization to the common place as well. And fix static VLC initialization, as ff_ivi_create_huff_from_desc() used old way to do so. Originally committed as revision 21962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make Bink decoder to stop decoding planes after all bits are used.Kostya Shishkov2010-02-221-1/+4
| | | | | | | This prevents crashes during decoding grayscale Bink files like samples from Impossible Creatures game demo. Originally committed as revision 21961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct bundle lengths calculation for small Bink files.Kostya Shishkov2010-02-221-1/+2
| | | | | | This fixes issue 1764. Originally committed as revision 21959 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: NEON scalarproduct_int16 and scalarproduct_and_madd_int16Kostya Shishkov2010-02-223-0/+127
| | | | | | Patch by Kostya, minor fixes by me. Originally committed as revision 21958 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation for --enable-version3 --enable-libopencore_amrwb (only).Carl Eugen Hoyos2010-02-221-1/+1
| | | | Originally committed as revision 21956 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: add missing preserve8 directivesMåns Rullgård2010-02-222-0/+4
| | | | Originally committed as revision 21952 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
* Fix timestamp association for mpeg2 field pictures.Michael Niedermayer2010-02-211-1/+1
| | | | | | Fixes /MPlayer/incoming/codec_copy_fails_vob_to_mpeg-ts/codec_copy_fails_vob_to_mpeg-ts.vob Originally committed as revision 21949 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
* Add zero_extend() functionMåns Rullgård2010-02-211-0/+7
| | | | Originally committed as revision 21947 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable mb_xy.avcoder2010-02-211-1/+0
| | | | | | Patch by avcoder, ffmpeg gmail Originally committed as revision 21945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AMR-NB floating-point based decoder.Vitor Sessak2010-02-214-0/+2758
| | | | | | Code produced during SoC by Robert Swain and Colin McQuillan. Originally committed as revision 21943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable, fixes warnings of the type:Diego Biurrun2010-02-211-1/+0
| | | | | | libavcodec/h264.h:816: warning: unused variable `mb_xy' Originally committed as revision 21941 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMåns Rullgård2010-02-211-32/+32
| | | | Originally committed as revision 21940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid negative shifts in build_table()Måns Rullgård2010-02-211-1/+3
| | | | | | | | A shift by a negative amount has undefined behaviour. Even though the result of this shift is never used, the shift itself could cause an exception of some kind. Originally committed as revision 21939 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bink video decoderKostya Shishkov2010-02-218-1/+1786
| | | | Originally committed as revision 21937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VC1: fix missing include h263.hMåns Rullgård2010-02-211-0/+1
| | | | Originally committed as revision 21932 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify determing whether fragments are codedDavid Conrad2010-02-211-26/+5
| | | | | | No measurable speed difference Originally committed as revision 21931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Handle Theora's continued runs in superblock coding.David Conrad2010-02-211-0/+6
| | | | | | | This doesn't really matter yet since 4:2:0 1080p has only 3060 superblocks, but larger resolutions or 4:4:4 1080p could hit this case. Originally committed as revision 21930 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decode fully coded superblocks in the same manner as partial superblocks and qpiDavid Conrad2010-02-211-29/+22
| | | | | | No speed difference, but it will simplify the special 4129 case. Originally committed as revision 21929 to svn://svn.ffmpeg.org/ffmpeg/trunk