summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 10l use pack16to32(), should fix big endian h264 failures.Michael Niedermayer2010-02-15
| | | | 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-15
| | | | | | | into the calling code. 8 cpu cycles faster Originally committed as revision 21828 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2010-02-14
| | | | Originally committed as revision 21827 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decode_cabac_mb_dqp() with surronding code.Michael Niedermayer2010-02-14
| | | | | | ~20 cpu cycles faster Originally committed as revision 21826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop if(0) code.Michael Niedermayer2010-02-14
| | | | 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-14
| | | | | | 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-14
| | | | | | 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-14
| | | | | | | | left/top_cbp so these checks arent needed. Originally committed as revision 21819 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r21814Michael Niedermayer2010-02-14
| | | | | | | | | | | | | | 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-14
| | | | 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-13
| | | | | | for them. Originally committed as revision 21816 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Remove unused variables.Alexander Strange2010-02-13
| | | | Originally committed as revision 21815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Fix pointer warnings by removing redundant [0]Alexander Strange2010-02-13
| | | | | | | | | 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-13
| | | | | | | | | 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-13
| | | | 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-13
| | | | Originally committed as revision 21811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent a line.Thilo Borgmann2010-02-13
| | | | Originally committed as revision 21810 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Also skip direct/mvd_cache init for skiped blocks.Michael Niedermayer2010-02-13
| | | | | | 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-13
| | | | Originally committed as revision 21806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move CODEC_FLAG_GRAY check to outer loopDavid Conrad2010-02-13
| | | | Originally committed as revision 21805 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move branch based on custom mode outside the loopDavid Conrad2010-02-13
| | | | 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-13
| | | | | | 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-13
| | | | Originally committed as revision 21802 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate macroblock -> fragment mapping arrayDavid Conrad2010-02-13
| | | | Originally committed as revision 21801 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate superblock <-> macroblock mapping arrayDavid Conrad2010-02-13
| | | | Originally committed as revision 21800 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support arithmetic decoding in ALS.Thilo Borgmann2010-02-13
| | | | 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-13
| | | | Originally committed as revision 21798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix reading beyond buffer end on RA144Context.lpc_tables.Francesco Lavra2010-02-13
| | | | | | 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-13
| | | | Originally committed as revision 21794 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont calculate any surrounding MVs for temporal MBsMichael Niedermayer2010-02-13
| | | | Originally committed as revision 21793 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify if()Michael Niedermayer2010-02-13
| | | | Originally committed as revision 21791 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Init sub_mb_type cleanly.Michael Niedermayer2010-02-13
| | | | Originally committed as revision 21790 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l Forgoten hunk.unbreak compile before someone notices.Michael Niedermayer2010-02-13
| | | | 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-13
| | | | | | | 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-13
| | | | | | | | 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-13
| | | | | | 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-13
| | | | | | 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-13
| | | | | | 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-12
| | | | | | 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-12
| | | | Originally committed as revision 21782 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't pre-calculate first_pixelDavid Conrad2010-02-12
| | | | | | 3.6% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn Originally committed as revision 21781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement CODEC_CAP_DRAW_HORIZ_BAND for VP3 decoderDavid Conrad2010-02-12
| | | | Originally committed as revision 21780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: reindentDavid Conrad2010-02-12
| | | | Originally committed as revision 21779 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do loop filter per-row rather than per-frameDavid Conrad2010-02-12
| | | | | | 3% faster on Elephants_Dream_HD-q7-aq7.ogg on my penryn Originally committed as revision 21778 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move apply_loop_filter above render_slice, it'll be used by the latter soonDavid Conrad2010-02-12
| | | | Originally committed as revision 21777 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export Theora colorspace info if presentDavid Conrad2010-02-12
| | | | Originally committed as revision 21776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Theora 3.4 doesn't exist; these fields were misunderstandings of the specDavid Conrad2010-02-12
| | | | Originally committed as revision 21775 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused code that's moved elsewhereDavid Conrad2010-02-12
| | | | Originally committed as revision 21774 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to support truncated h264 frames mixed with mpeg pes headers in mkv.Michael Niedermayer2010-02-12
| | | | | | Fixes issue1585 Originally committed as revision 21772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use int8_t instead of char, the signedness of char can differ between systems.Reimar Döffinger2010-02-12
| | | | Originally committed as revision 21771 to svn://svn.ffmpeg.org/ffmpeg/trunk