summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* CONFIG_7REGS -> HAVE_7REGSRamiro Polla2007-08-15
| | | | Originally committed as revision 10121 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Statements like a = b = c = d = e; store from right-to-left, so ifAlexander Strange2007-08-14
| | | | | | | | | | | you write them in the right order it comes out backwards. This removes them from fill_rectangle(). patch by Alexander Strange %astrange A ithinksw P com% Original thread: Date: Aug 14, 2007 5:36 AM Subject: [FFmpeg-devel] [PATCH] two small h264 optimizations Originally committed as revision 10118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't check the return value of decode_cabac_residual since it alwaysAlexander Strange2007-08-12
| | | | | | | | | | returns 0. This leads to a 0.4% speed-up. Patch by Alexander Strange astrange at_ ithinksw dot com Original thread: Date: Aug 11, 2007 11:44 PM Subject: [FFmpeg-devel] [PATCH] h264: don't check decode_cabac_residual return Originally committed as revision 10084 to svn://svn.ffmpeg.org/ffmpeg/trunk
* debug: tell how much bits are skipped with unknown nal codeAlex Beregszaszi2007-08-08
| | | | Originally committed as revision 9993 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use ENABLE_GRAYMichael Niedermayer2007-08-01
| | | | Originally committed as revision 9847 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix cabac decoding with some Blue-Ray sourcesAndreas Öman2007-07-30
| | | | | | | | | Patch by Andreas Öman %andreas A olebyn P nu% Original thread: Date: Jul 7, 2007 1:23 AM Subject: [FFmpeg-devel] Corrupted blocks and seeking issues in H264 disc sources Originally committed as revision 9836 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the self tests which are contained in some codecs and are using random().Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9755 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix visual painting of MVs from h264: they are painted twice too longAndreas Öman2007-07-15
| | | | | | | | | since the MVs are in qpel res. Patch by Andreas Öman % andreas A olebyn P nu % Date: Jul 14, 2007 12:40 PM Subject: [FFmpeg-devel] [PATCH] h264 mv visualization Originally committed as revision 9688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bring back h264 buildBenoit Fouet2007-07-09
| | | | Originally committed as revision 9555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* trivial warning fixesMåns Rullgård2007-07-08
| | | | Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for streams with different chroma_qp_index_offsetAndreas Öman2007-07-06
| | | | | | | | | | for Cr and Cb Patch by Andreas Öman % andreas A olebyn P nu % Original thread: Date: Jun 26, 2007 8:48 PM subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources Originally committed as revision 9505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Precompute a chroma_qp table with index offset for each pps,Andreas Öman2007-07-06
| | | | | | | | | | this saves speed for the upcoming secondqp fix. Patch by Andreas Öman % andreas A olebyn P nu % Original thread: Date: Jun 26, 2007 8:48 PM subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources Originally committed as revision 9498 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Compute the dequant coefficient table ptr outside the loop,Andreas Öman2007-07-06
| | | | | | | | | | this saves speed for the upcoming secondqp fix. Patch by Andreas Öman % andreas A olebyn P nu % Original thread: Date: Jun 26, 2007 8:48 PM subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources Originally committed as revision 9497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't swap back un-deblocked lines for intra prediction whenAndreas Öman2007-06-21
| | | | | | | | | | | | | at slice boundaries for deblocking-type 2 content. This is needed for slice based threading only and doesn't do much good or bad otherwise. Patch by Andreas Oman %andreas A olebyn P nu% Original thread: date: Jun 18, 2007 1:21 PM subject: Re: [FFmpeg-devel] [PATCH] h264 parallelized, Originally committed as revision 9380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not reuse the rbsp de-escape buffer if bothAndreas Öman2007-06-20
| | | | | | | | | | the intra and inter -nal units are escaped patch by Andreas Öman: \andreas olebyn nu/ original thread: [FFmpeg-devel] [PATCH] h264: rbsp de-escape and data partitioning.. date: 06/20/2007 09:32 AM Originally committed as revision 9374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Decouple bit context from h264 context in decode_ref_pic_marking()Andreas Öman2007-06-19
| | | | | | | | | | (done in order to implement slice-level parallel decoding) Patch by Andreas Öman % andreas olebyn nu % Original thread: Date: Jun 15, 2007 10:10 PM Subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept) Originally committed as revision 9371 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentationAndreas Öman2007-06-18
| | | | | | patch by Andreas Öman: [andreas olebyn nu] Originally committed as revision 9360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor out init_scan_tables(), patch by Andreas Öman %andreas A olebyn.nu%Andreas Öman2007-06-16
| | | | | | | | original thread: Date: Jun 15, 2007 10:10 PM Subject: [FFmpeg-devel] [PATCH] h264 parallelized, (was: Parallelized h264 proof-of-concept) Originally committed as revision 9341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix some printf format specifiersMåns Rullgård2007-06-16
| | | | Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-12
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: use 'simple' in border backup / xchgAndreas Öman2007-06-07
| | | | | | | | | patch by Andreas Öman: [andreas olebyn nu] original thread: subject: [FFmpeg-devel] [patch] h264: use 'simple' in border backup / xchg date: 06/07/2007 03:24 PM Originally committed as revision 9237 to svn://svn.ffmpeg.org/ffmpeg/trunk
* filter_mb_fast() doesn't handle h->deblocking_filter==2 (skip slice edges), ↵Andreas Öman2007-06-03
| | | | | | | | so delegate that case to filter_mb(). Patch by Andreas Öman [andreas at olebyn dot nu]. Originally committed as revision 9180 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename attribute_unused to av_unused and moves its declaration to common.hCarl Eugen Hoyos2007-05-30
| | | | | | | | patch by Carl Eugen Hoyos cehoyos chez ag or at original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused date: 05/29/2007 01:23 PM Originally committed as revision 9155 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allocate PPS and SPS dynamicallyAndreas Öman2007-05-29
| | | | | | | | | patch by Andreas Öman andreas ta olebyn tod nu reference thread: subject: [FFmpeg-devel] [PATCH] h264: allocate PPS and SPS dynamically date: 05/28/2007 03:00 PM Originally committed as revision 9148 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export the four remaining H.264 decoder intra prediction functions for reuse inPanagiotis Issaris2007-05-23
| | | | | | | the H.264 encoder. These functions are: pred8x8_left_dc_c, pred8x8_top_dc_c, pred16x16_left_dc_c and pred16x16_top_dc_c. Originally committed as revision 9107 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move attribute_unused to variable declarations in macros instead ofReimar Döffinger2007-05-17
| | | | | | introducing a useless extra variable. Originally committed as revision 9052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change some leftover __attribute__((unused)) and __attribute__((used)) toReimar Döffinger2007-05-14
| | | | | | attribute_unused and attribute_used respectively to ease compiling on non-gcc. Originally committed as revision 9024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove duplicate #includes, avcodec.h #includes common.h.Diego Biurrun2007-05-11
| | | | Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split h264.c to move parser in its own fileAurelien Jacobs2007-05-10
| | | | Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make some parser parameters const to avoid casting const to non-constAurelien Jacobs2007-05-07
| | | | Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.Diego Biurrun2007-05-05
| | | | Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2007-05-02
| | | | Originally committed as revision 8878 to svn://svn.ffmpeg.org/ffmpeg/trunk
* prevent going out of the buffer if the nal size does not fit in the buffer.Mean2007-04-29
| | | | | | | | | Patch by Mean % fixounet A free P fr % Original thread: Date: Apr 29, 2007 2:00 PM Subject: Re: [Ffmpeg-devel] [patch] h264.c, dont go beyond buffer in h264_decode_nal_unit Originally committed as revision 8858 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark code parts that cannot work on AMD64 due to broken relocations as such.Diego Biurrun2007-04-27
| | | | | | | | | | This allows building shared libraries on AMD64 again. based on a patch by Diego 'Flameeyes' Pettenò and suggestions by Michael original thread: Date: Wed, 18 Apr 2007 11:26:12 +0200 Subject: [Ffmpeg-devel] [PATCH] (try 2) Build shared libraries on AMD64 again Originally committed as revision 8849 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: Rename missed occurrences of CONFIG_EBX_AVAILABLE to HAVE_EBX_AVAILABLE.Diego Biurrun2007-04-26
| | | | Originally committed as revision 8821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a check before find_frame_end callLimin Wang2007-04-11
| | | | | | | | | Patch by Limin Wang % lance P lmwang A gmail P com % Original thread: date: 04/09/2007 03:54 PM subject: [Ffmpeg-devel] [PATCH] fix segment fault in h264_parse if buf_size is zero Originally committed as revision 8714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When dst_length == 0 bit_length has to be 0, too, but the current code stillReinhard Nissl2007-04-09
| | | | | | | | | calls decode_rbsp_trailing() and therefore bit_length might get negative. Although the remaining code is able to handle a negative bit_length, avoid the calculation at all by setting bit_length to 0 for dst_length == 0. patch by Reinhard Nissl, rnissl gmx de Originally committed as revision 8690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a NAL unit's trailing zero bytes even when dst_length is 1.Reinhard Nissl2007-04-09
| | | | | | | | | | | | | | | | | | | Consider the following byte sequence 00 00 01 0a 00 00 00 01 09 ... ^ ^ A B decode_nal() determines dst_length to be 1 (i. e. the byte between label A and B above). However, this byte is a trailing zero byte as the spec says the the current NAL unit is terminated by a byte sequence 00 00 00. The current code used a loop to decrement dst_length accordingly. But the loop doesn't start as the loop condition checks for dst_length > 1, which should read dst_length > 0. patch by Reinhard Nissl, rnissl gmx de Originally committed as revision 8689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* scenario: A properly coded frame is followed by an end of sequence NAL unit,Reinhard Nissl2007-04-09
| | | | | | | | | | i.e. the four bytes 00 00 01 0a. When decode_nal() decodes the end of sequence NAL unit, it returns with dst_length == 0. The original code leads to a return -1 which discards the current properly decoded frame. patch by Reinhard Nissl, rnissl gmx de Originally committed as revision 8688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typos/grammarDiego Biurrun2007-04-07
| | | | Originally committed as revision 8641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* changes some function declarations from () to (void) as per ansi c.Stefan Huehner2007-04-04
| | | | | | Patch by Stefan Huehner % stefan A huehner P org % Originally committed as revision 8625 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation when using the --disable-opts parameter. This to help thosePanagiotis Issaris2007-03-29
| | | | | | | | | | interested in using a debugger to debug FFmpeg. Original thread: Subject: [PATCH] Fix compilation when using --disable-opts Date: 2007-03-15 16:58:35 GMT Originally committed as revision 8549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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