summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* reindent after last commitBaptiste Coudurier2007-03-14
| | | | Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264 complete frames parsing supportBaptiste Coudurier2007-03-14
| | | | Originally committed as revision 8398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for no frame and prevent segfaultMichael Niedermayer2007-03-03
| | | | Originally committed as revision 8211 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support feeding individual NAL units to the decoder instead of just complete ↵Michael Niedermayer2007-03-02
| | | | | | frames Originally committed as revision 8197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Supply context to tprintfMichel Bardiaux2007-02-27
| | | | Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to clip functionsReimar Döffinger2007-02-25
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rewrite find_frame_end()Michael Niedermayer2007-02-25
| | | | | | new code correctly splits long start codes, also its about twice as fast Originally committed as revision 8120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264 optimization: common case hl_decode_mb patch by (Alexander Strange ↵Alexander Strange2007-02-24
| | | | | | | | | astrange ithinksw com) 144095->142319 dezicycles for hl_decode_mb() on duron trailing whitespace removed by me Originally committed as revision 8106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* output delayed framesMichael Niedermayer2007-02-21
| | | | | | | | | fixes: CANL4_SVA_B.264 NL3_SVA_C.264 NL3_SVA_E.264 Originally committed as revision 8055 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Fix a common typo, sepErate --> sepArate.Diego Biurrun2007-02-21
| | | | Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify in fill_cachesLoren Merritt2007-02-19
| | | | Originally committed as revision 8026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize more calls to fill_rectangle()Michael Niedermayer2007-02-18
| | | | Originally committed as revision 8017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize fill_rectangle() callsMichael Niedermayer2007-02-18
| | | | Originally committed as revision 8016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize fill_rectangle()Michael Niedermayer2007-02-16
| | | | | | | remove more silly ref_count checks use list_count where appropriate Originally committed as revision 8000 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace list<2 checks by list<list_countMichael Niedermayer2007-02-16
| | | | | | remove silly ref_count<0 and ref_count==0 checks its impossible for this variable to have such a value Originally committed as revision 7999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 2nd ref_count checkMichael Niedermayer2007-02-16
| | | | | | add list_count Originally committed as revision 7998 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix ref_count checkMichael Niedermayer2007-02-16
| | | | Originally committed as revision 7997 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize mv_cache and mvd_cache initMichael Niedermayer2007-02-16
| | | | Originally committed as revision 7996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2007-02-16
| | | | Originally committed as revision 7995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* always decode extradata when of non-avc stream (like RTSP)Francois Oligny-Lemieux2007-02-09
| | | | | | | | | Patch by Francois Oligny-Lemieux % eucloid A gmail P com % Original thread: Date: Feb 9, 2007 12:00 AM Subject: [Ffmpeg-devel] h264.c patch, always decoding extradata when on non avc stream Originally committed as revision 7904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix segfault with darkkben.free.fr/corrupted_h264.mp4Michael Niedermayer2007-01-23
| | | | Originally committed as revision 7671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flameMichael Niedermayer2007-01-23
| | | | Originally committed as revision 7664 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check num_reorder_frames for validityMichael Niedermayer2007-01-23
| | | | | | increase delayed_pic buffer size (one temporary is used and a terminating NULL is assumed by most code so it has to be 18 large) Originally committed as revision 7663 to svn://svn.ffmpeg.org/ffmpeg/trunk
* adding assert to protect delayed_picMichael Niedermayer2007-01-23
| | | | Originally committed as revision 7661 to svn://svn.ffmpeg.org/ffmpeg/trunk
* checking bitstream values and other related changesMichael Niedermayer2007-01-20
| | | | | | some of these might have been exploitable Originally committed as revision 7591 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename BE/LE_8/16/32 to AV_RL/B_8/16/32Alex Beregszaszi2007-01-19
| | | | Originally committed as revision 7587 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless cast that makes code unreadableGuillaume Poirier2007-01-19
| | | | Originally committed as revision 7586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* harden h264 decoding to prevent some crashes when input data is corrupted.Francois Oligny-Lemieux2007-01-19
| | | | | | | | | | | | | | Patch by Frank %eucloid A gmail P com% date: Jan 18, 2007 6:48 PM subject: Re: [Ffmpeg-devel] h264, protection against corrupted data (second try patch) AND date: Jan 17, 2007 8:22 PM subject: [Ffmpeg-devel] h264, protection against corrupted data this also fixes a possible security issue (the sps and pps ids where not checked, then used as index into an array of sps/pps structs which was then filled with data from the bitstream) Originally committed as revision 7585 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid calling decode_slice when context_initialized is not set.Reimar Döffinger2007-01-16
| | | | | | Avoids a crash due to dsp.clear_blocks being NULL when called. Originally committed as revision 7547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix 16 CABAC_BIT * 10l bug introduced in r6578Michael Niedermayer2007-01-13
| | | | Originally committed as revision 7440 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename always_inline to av_always_inline and move to common.hMåns Rullgård2006-12-08
| | | | Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Making rem6 and div6 globally visible and thus adding prefixes.Panagiotis Issaris2006-12-07
| | | | Originally committed as revision 7245 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Removing unused codePanagiotis Issaris2006-12-07
| | | | Originally committed as revision 7244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export symbols of several H.264 intra prediction functionsPanagiotis Issaris2006-12-06
| | | | Originally committed as revision 7232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix crash when decoding a truncated H264 sliceAlexander Chemeris2006-12-05
| | | | | | | | | patch by Alexander Chemeris % ipse P ffmpeg A gmail.com % Original thread: date: Dec 5, 2006 7:26 PM subject: [Ffmpeg-devel] [PATCH] Fix crush when truncated slice passed to H.264 decoder Originally committed as revision 7229 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Removing unused codePanagiotis Issaris2006-12-05
| | | | Originally committed as revision 7228 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change NAL unit type defines to an enum and move to a header file for usagePanagiotis Issaris2006-12-05
| | | | | | in other code. Originally committed as revision 7226 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename cropTbl -> ff_cropTblMåns Rullgård2006-11-12
| | | | Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the H264Context parameter from decode_init_vlc() as it is not being used.Panagiotis Issaris2006-11-09
| | | | Originally committed as revision 6955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* merge clip() into the alpha/beta/tc0 tables (10% faster filter_mb_fast() on P3)Michael Niedermayer2006-11-01
| | | | Originally committed as revision 6863 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reenable AMD64 optimizations for cabac accidentially disabled in r6852Reimar Döffinger2006-11-01
| | | | Originally committed as revision 6853 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ARCH_X86_32 as a new define for 32 bit x86 architectures and changeDiego Biurrun2006-11-01
| | | | | | the semantics of ARCH_X86 to mean both 32 and 64 bits. Originally committed as revision 6852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with PIC enabled, BRANCHLESS_GET_CABAC is defined underDiego Biurrun2006-10-29
| | | | | | !PIC but gets used without a check for !PIC. Originally committed as revision 6834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* decode_significance_8x8_x86()Michael Niedermayer2006-10-20
| | | | | | 8% faster decode_cabac_residual() (8x8 case only) on P3 Originally committed as revision 6750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* slightly faster decode_cabac_mb_mvd()Michael Niedermayer2006-10-19
| | | | Originally committed as revision 6735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1 variable less in decode_cabac_residual() no speed change (but less vars ↵Michael Niedermayer2006-10-19
| | | | | | means less things gcc can load and store redundantly) Originally committed as revision 6734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize sign decoding code in decode_residual()Michael Niedermayer2006-10-19
| | | | | | | | x86 is 4% faster on P3 C sign stuff + x86 code for everything else is also faster then before (sorry forgot to test pure C) ... and if i replace the second occurance of the sign decoding in decode_residual by the asm too then everything gets slower iam starting to think that it might be best to write the whole function in asm, playing this avoid random deoptimizations game with gcc is not fun at all Originally committed as revision 6732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* copy cabac context onto the stack for the c code in decode_cabac_residual() ↵Michael Niedermayer2006-10-17
| | | | | | (15% faster on P3 but still slower then the current asm) Originally committed as revision 6725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* x86 asm version of the decode significance loop (not 8x8) of ↵Michael Niedermayer2006-10-17
| | | | | | decode_residual() 5% faster decode_residual() on P3 Originally committed as revision 6724 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify escape decodingMichael Niedermayer2006-10-13
| | | | Originally committed as revision 6685 to svn://svn.ffmpeg.org/ffmpeg/trunk