summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Split setting neighboring MBs from fill_decode_caches()Michael Niedermayer2010-02-153-20/+53
| | | | | | no speed change. Originally committed as revision 21842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify decode_cabac_mb_intra4x4_pred_mode().Michael Niedermayer2010-02-151-4/+1
| | | | | | same speed Originally committed as revision 21839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decode_cabac_mb_type_b() into calling code.Michael Niedermayer2010-02-151-44/+34
| | | | | | This avoids a conditional branch and is about 3 cpu cyclues faster. Originally committed as revision 21838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove outdated comment.Maxim Poliakovski2010-02-151-1/+0
| | | | | | Patch by Maxim, max_pole gmx de Originally committed as revision 21837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add heuristic to discern the old sample clips from streams encodedStefan Gehrer2010-02-152-0/+10
| | | | | | with rm52j encoder, a marker_bit has been added in the I-Frame syntax Originally committed as revision 21836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avoid using DECLARE_ALIGNED on stack variable as suggested by ReimarStefan Gehrer2010-02-151-4/+4
| | | | Originally committed as revision 21835 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Mark che_configure() as av_cold.Alex Converse2010-02-151-1/+1
| | | | | | It is also only called when the output configuration is not locked. Originally committed as revision 21834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Mark functions that are only called when the output configuration is ↵Alex Converse2010-02-151-2/+2
| | | | | | not locked as av_cold. Originally committed as revision 21833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IFF bitmap n-bit color supportPeter Ross2010-02-151-52/+74
| | | | Originally committed as revision 21831 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l ;; gcc 2.95 compilation fix by mikeMichael Niedermayer2010-02-151-1/+1
| | | | Originally committed as revision 21830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l use pack16to32(), should fix big endian h264 failures.Michael Niedermayer2010-02-151-2/+2
| | | | Originally committed as revision 21829 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge the single line function decode_cabac_mb_transform_size()Michael Niedermayer2010-02-151-7/+2
| | | | | | | into the calling code. 8 cpu cycles faster Originally committed as revision 21828 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2010-02-141-6/+6
| | | | Originally committed as revision 21827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decode_cabac_mb_dqp() with surronding code.Michael Niedermayer2010-02-142-22/+24
| | | | | | ~20 cpu cycles faster Originally committed as revision 21826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop if(0) code.Michael Niedermayer2010-02-141-12/+0
| | | | Originally committed as revision 21825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set sub_mb_type in direct_cache instead of just the direct flag.Michael Niedermayer2010-02-141-4/+1
| | | | | | Simpler, cleaner and faster. Originally committed as revision 21822 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store sub_mb_type in direct_cache/direct_table.Michael Niedermayer2010-02-142-13/+13
| | | | | | This is equal complexity but could be more usefull. Originally committed as revision 21821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove slice_table checks from decode_cabac_mb_cbp_luma() and set ↵Michael Niedermayer2010-02-142-6/+6
| | | | | | | | left/top_cbp so these checks arent needed. Originally committed as revision 21819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r21814Michael Niedermayer2010-02-141-3/+3
| | | | | | | | | | | | | | Log: h264: Fix pointer warnings by removing redundant [0] Fixes: h264.h:1222:38: warning: initialization from incompatible pointer type h264.h:1299:38: warning: initialization from incompatible pointer type h264.h:1314:42: warning: initialization from incompatible pointer type Reason: breaks h264 decoding & fate Originally committed as revision 21818 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics, vertical align.Michael Niedermayer2010-02-141-1/+1
| | | | Originally committed as revision 21817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Direct temporal skiped MBs dont need fill_decode_caches() at all so dont call itMichael Niedermayer2010-02-131-1/+1
| | | | | | for them. Originally committed as revision 21816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Remove unused variables.Alexander Strange2010-02-133-7/+3
| | | | Originally committed as revision 21815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Fix pointer warnings by removing redundant [0]Alexander Strange2010-02-131-3/+3
| | | | | | | | | Fixes: h264.h:1222:38: warning: initialization from incompatible pointer type h264.h:1299:38: warning: initialization from incompatible pointer type h264.h:1314:42: warning: initialization from incompatible pointer type Originally committed as revision 21814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix integer overflow warnings in h264.hAlexander Strange2010-02-131-2/+2
| | | | | | | | | Fixes: h264.h: In function 'fill_filter_caches': h264.h:1216:73: warning: integer overflow in expression h264.h:1307:81: warning: integer overflow in expression Originally committed as revision 21813 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge (IS_SKIP(mb_type) || IS_DIRECT(mb_type)Michael Niedermayer2010-02-131-1/+1
| | | | Originally committed as revision 21812 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skiped MBs dont need the cbp stuff so skip initing that.Michael Niedermayer2010-02-131-0/+2
| | | | Originally committed as revision 21811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent a line.Thilo Borgmann2010-02-131-1/+1
| | | | Originally committed as revision 21810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Also skip direct/mvd_cache init for skiped blocks.Michael Niedermayer2010-02-131-1/+1
| | | | | | Odd thing is i thought ive tryed this already and it failed previously. Originally committed as revision 21809 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move more code under if(!IS_DIRECT(mb_type)).Michael Niedermayer2010-02-131-2/+3
| | | | Originally committed as revision 21806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move CODEC_FLAG_GRAY check to outer loopDavid Conrad2010-02-131-2/+3
| | | | Originally committed as revision 21805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move branch based on custom mode outside the loopDavid Conrad2010-02-131-5/+5
| | | | Originally committed as revision 21804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Directly check whether a fragment is coded for 4MV mode instead of iteratingDavid Conrad2010-02-131-5/+2
| | | | | | through the entire coded fragment list. Originally committed as revision 21803 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate fragment -> macroblock mapping arrayDavid Conrad2010-02-131-48/+13
| | | | Originally committed as revision 21802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate macroblock -> fragment mapping arrayDavid Conrad2010-02-131-50/+33
| | | | Originally committed as revision 21801 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate superblock <-> macroblock mapping arrayDavid Conrad2010-02-131-74/+19
| | | | Originally committed as revision 21800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support arithmetic decoding in ALS.Thilo Borgmann2010-02-134-6/+733
| | | | Originally committed as revision 21799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Skip some more code that isnt needed for direct MBs.Michael Niedermayer2010-02-131-1/+1
| | | | Originally committed as revision 21798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix reading beyond buffer end on RA144Context.lpc_tables.Francesco Lavra2010-02-131-3/+3
| | | | | | Patch by Francesco Lavra (francescolavra -at- interfree -dot- it) Originally committed as revision 21796 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move setting MB_TYPE_L0L1 for direct MBs up, this is simpler.Michael Niedermayer2010-02-133-4/+3
| | | | Originally committed as revision 21794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont calculate any surrounding MVs for temporal MBsMichael Niedermayer2010-02-131-4/+3
| | | | Originally committed as revision 21793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify if()Michael Niedermayer2010-02-131-1/+1
| | | | Originally committed as revision 21791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Init sub_mb_type cleanly.Michael Niedermayer2010-02-131-2/+1
| | | | Originally committed as revision 21790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l Forgoten hunk.unbreak compile before someone notices.Michael Niedermayer2010-02-131-1/+0
| | | | Originally committed as revision 21789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Restructure spatial direct MV generation so that the zero predictior shortcutMichael Niedermayer2010-02-131-65/+70
| | | | | | | is closer at the top. 50-130 cpu cycles faster depending on which kind of direct MBs are meassured. Originally committed as revision 21788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split spatial and temporal direct MV generation.Michael Niedermayer2010-02-131-3/+87
| | | | | | | | A little faster and needed for future optimizations. This sadly leads to some code duplication (which i hope i can factor out again after the optimizations on the direcr mv code are done) Originally committed as revision 21787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with --enable-libgsm on Gentoo and OpenSUSE.Ramiro Polla2010-02-131-1/+1
| | | | | | Patch by Ramiro Originally committed as revision 21786 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Special case for spatial direct MV predictor being 0.Michael Niedermayer2010-02-131-1/+7
| | | | | | a little less than 200 cpu cycles faster with the cathedral sample. Originally committed as revision 21785 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Pack MVs together from the begin for spatial direct, this simplifies the codeMichael Niedermayer2010-02-131-20/+17
| | | | | | and is a bit faster (5-10 cpu cycles depending on what is meassured). Originally committed as revision 21784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont drop B frames without last_picture.Michael Niedermayer2010-02-121-5/+0
| | | | | | Fixes issue1722 Originally committed as revision 21783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Special case VP5/6 chroma alignment on x86 as wellDavid Conrad2010-02-121-1/+3
| | | | Originally committed as revision 21782 to svn://svn.ffmpeg.org/ffmpeg/trunk