summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAgeFilesLines
* bring back h264 buildBenoit Fouet2007-07-091-0/+1
| | | | Originally committed as revision 9555 to svn://svn.ffmpeg.org/ffmpeg/trunk
* trivial warning fixesMåns Rullgård2007-07-081-1/+0
| | | | Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for streams with different chroma_qp_index_offsetAndreas Öman2007-07-061-47/+67
| | | | | | | | | | 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-061-21/+29
| | | | | | | | | | 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-061-2/+4
| | | | | | | | | | 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-051-1/+0
| | | | 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-211-2/+12
| | | | | | | | | | | | | 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-201-3/+6
| | | | | | | | | | 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-191-8/+8
| | | | | | | | | | (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-181-23/+23
| | | | | | 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-161-44/+50
| | | | | | | | 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-161-1/+1
| | | | Originally committed as revision 9334 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-121-1/+1
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc spelling fixesDiego Biurrun2007-06-121-8/+8
| | | | Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: use 'simple' in border backup / xchgAndreas Öman2007-06-071-7/+7
| | | | | | | | | 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-031-2/+5
| | | | | | | | 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-301-14/+14
| | | | | | | | 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-291-15/+37
| | | | | | | | | 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-231-8/+8
| | | | | | | 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-171-15/+12
| | | | | | 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-141-4/+4
| | | | | | 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-111-1/+0
| | | | Originally committed as revision 8995 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split h264.c to move parser in its own fileAurelien Jacobs2007-05-101-473/+3
| | | | 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-071-4/+4
| | | | 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-051-3/+3
| | | | Originally committed as revision 8894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2007-05-021-2/+0
| | | | 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-291-1/+1
| | | | | | | | | 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-271-1/+1
| | | | | | | | | | 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-261-1/+1
| | | | Originally committed as revision 8821 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add a check before find_frame_end callLimin Wang2007-04-111-1/+2
| | | | | | | | | 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-091-1/+1
| | | | | | | | | 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-091-1/+1
| | | | | | | | | | | | | | | | | | | 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-091-1/+1
| | | | | | | | | | 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-071-1/+1
| | | | 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-041-1/+1
| | | | | | 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-291-1/+1
| | | | | | | | | | 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-141-9/+9
| | | | Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264 complete frames parsing supportBaptiste Coudurier2007-03-141-0/+4
| | | | Originally committed as revision 8398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for no frame and prevent segfaultMichael Niedermayer2007-03-031-0/+5
| | | | 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-021-31/+34
| | | | | | frames Originally committed as revision 8197 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Supply context to tprintfMichel Bardiaux2007-02-271-59/+59
| | | | Originally committed as revision 8142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to clip functionsReimar Döffinger2007-02-251-17/+17
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rewrite find_frame_end()Michael Niedermayer2007-02-251-25/+38
| | | | | | 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-241-19/+46
| | | | | | | | | 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-211-0/+20
| | | | | | | | | 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-211-3/+3
| | | | Originally committed as revision 8047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify in fill_cachesLoren Merritt2007-02-191-29/+16
| | | | Originally committed as revision 8026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize more calls to fill_rectangle()Michael Niedermayer2007-02-181-6/+9
| | | | Originally committed as revision 8017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize fill_rectangle() callsMichael Niedermayer2007-02-181-8/+8
| | | | Originally committed as revision 8016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* factorize fill_rectangle()Michael Niedermayer2007-02-161-32/+33
| | | | | | | remove more silly ref_count checks use list_count where appropriate Originally committed as revision 8000 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud