summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* "swap first two elements of L1 if L0 and L1 are identical" applies after ↵Loren Merritt2008-02-02
| | | | | | splitting the lists into fields Originally committed as revision 11808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix mbaff diagonal neighbor mvLoren Merritt2008-02-02
| | | | Originally committed as revision 11807 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mbaff spatial directLoren Merritt2008-02-02
| | | | Originally committed as revision 11806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* constsMichael Niedermayer2008-02-01
| | | | Originally committed as revision 11705 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Indention, it seems i have forgotton to commit this.Michael Niedermayer2008-02-01
| | | | Originally committed as revision 11702 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix the following warnings:Andreas Öman2008-01-31
| | | | | | | | h264.c:2093: warning: unused variable 's' h264.c:2406: warning: suggest parentheses around arithmetic in operand of ^ h264.c:2412: warning: suggest parentheses around arithmetic in operand of ^ Originally committed as revision 11680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memory leak in h264 decoder. allocated_edge_emu_buffer was being allocatedJeff Downs2008-01-28
| | | | | | | | | | | | in both mpegvideo and h264 decoder. Fixed by allowing all (master and duplicate) contexts to fully initialize in MPV_frame_start and copying these into H264Contexts. Mailing list discussion: [FFmpeg-devel] Memory leak in h264 Tue, 22 Jan 2008 15:22:55 Originally committed as revision 11657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add and use DECLARE_ASM_CONST for constants used in assembler code.Reimar Döffinger2008-01-27
| | | | | | Should make it easier to work around compilation problems with e.g. ICC. Originally committed as revision 11641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash for CAVLC->CABAC switch caused by writing into NULL tables.Michael Niedermayer2008-01-24
| | | | | | | | (iam not sure if this might have been exploitable) fixes issue332 / CVCANLMA2_Sony_C.jsv Other solutions which waste a few bytes less are welcome ... Originally committed as revision 11605 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add #undef printf and disable non-functional code to make test program compile.Diego Biurrun2008-01-23
| | | | Originally committed as revision 11604 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consistently use TEST as the preprocessor condition to enable test code.Diego Biurrun2008-01-20
| | | | Originally committed as revision 11581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix problem with multithreaded decoding, introduced by r11214.Reinhard Nissl2007-12-19
| | | | | | Patch by Reinhard Nissl: rnissl gmx de Originally committed as revision 11275 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: comment typo fixesDiego Biurrun2007-12-16
| | | | Originally committed as revision 11232 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make fill_rectangle() available for other decodersKostya Shishkov2007-12-15
| | | | Originally committed as revision 11219 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix brain-dead parts of r11216, specifically:Jeff Downs2007-12-14
| | | | | | | | Actually unreference removed pics And check for too many reference frames as originally intended, not equal to max reference frames. Originally committed as revision 11218 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that our total reference frame count does not exceed the SPSJeff Downs2007-12-14
| | | | | | | | max frame count, which is limited to less than the size of the reference buffers, thereby preventing overflow. Part of fix for issue 281. Originally committed as revision 11216 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Actually return with an error condition if we're being asked to deal with tooJeff Downs2007-12-14
| | | | | | | | many reference frames. Also check max num ref frames against our internal ref buffer sizes. Part of fix for roundup issue 281 Originally committed as revision 11215 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make h264 decoder conform to requirements of mpegvideo's MPV_frame_start.Jeff Downs2007-12-14
| | | | | | | | | | Namely, that it should not be called if you are starting to decode a B frame without any reference pictures. Prevents an endless allocation cycle in MPV_frame_start that will end in picture buffer overflow and abort. Fixes roundup issue 216. Originally committed as revision 11214 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix non_zero_count_cache for deblocking in field pictures.Jeff Downs2007-12-13
| | | | | | | | Based on original patch by Martin Zlomek martin.zlomek a email D cz ffmpeg-devel thread: H264: Fix non_zero_count_cache for deblocking in fields Fri, 30 Nov 2007 9:58:23 Originally committed as revision 11212 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Verify long_ref_count!=0. Fix issue 281.Panagiotis Issaris2007-12-05
| | | | Originally committed as revision 11171 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initialize function pointers used by error resilience code before anyJeff Downs2007-12-05
| | | | | | | | potential error return from decode_slice_header. Fixes issue 284. Originally committed as revision 11168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spellingVitor Sessak2007-12-01
| | | | Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* main() --> main(void)Diego Biurrun2007-11-23
| | | | Originally committed as revision 11079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call mpegvideo flush routine on h264 flush. Needed in particularJeff Downs2007-11-17
| | | | | | | | to clear last_picture_ptr, next_picture_ptr for proper picture management. Prevents crashes in error concealer following seeks. Fixes Roundup issue 189. Originally committed as revision 11049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Provide top_field_first logic for h264Reinhard Nissl2007-11-10
| | | | | | patch by: Reinhard Nissl rnissl a gmx d de Originally committed as revision 10989 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix deblocking filter for field pictures by properly looking for firstJeff Downs2007-11-07
| | | | | | row in bottom fields and preventing the use of "fast" deblocking for such. Originally committed as revision 10950 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix poc for field pictures. Prior to this, the poc of the second fieldJeff Downs2007-11-06
| | | | | | | | in decoding order would always be assigned to a field pair's poc. Original thread: H.264: Fix poc for field pairs, 6 Nov 2007 17:41:02 Originally committed as revision 10937 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct assignment of interlaced_frame; was being set on output frames,Jeff Downs2007-11-05
| | | | | | | | | | | in display order, based on decoding information in decoding order. Now set properly, immediately upon completion of decode. Based on original patch from Reinhard Nissl, rnisssl % gmx , de Original Thread: [FFmpeg-devel] H.264 + PAFF: BBC HD recording shows extreme interlacing artefacts, Thu, 01 Nov 2007 22:43:09 Originally committed as revision 10931 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix chroma mv offsets for PAFF in a way that is compatible with MBAFF byJeff Downs2007-10-15
| | | | | | | | | setting Picture.reference to indicate parity for all Pictures in reference list. Patch by Jeff Downs, heydowns T borg O com Originally committed as revision 10744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix mix-up of values in r10690 (deblocking for PAFF).Martin Zlomek2007-10-15
| | | | | | Patch by Martin Zlomek, martin d zlomek a email d cz Originally committed as revision 10738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify tests for field macroblocksJeff Downs2007-10-13
| | | | | | patch by Jeff Downs, heydowns a borg d com Originally committed as revision 10721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Interlaced pictures (not just MBAFF) + spatial direct mode is notJeff Downs2007-10-12
| | | | | | | | | implemented. Patch by Jeff Downs, heydowns . borg @ com Original thread: Enable PAFF decoding, 2007-10-09 11:04 Originally committed as revision 10714 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set pict->interlaced_frame if returned frame is MBAFF or PAFF.Carl Eugen Hoyos2007-10-10
| | | | Originally committed as revision 10703 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix incorrect check for abs_diff_pic_num overflowJeff Downs2007-10-09
| | | | | | patch by Jeff Downs, heydowns a borg d com Originally committed as revision 10700 to svn://svn.ffmpeg.org/ffmpeg/trunk
* reindentAndreas Öman2007-10-09
| | | | Originally committed as revision 10698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Enable PAFF decodingCarl Eugen Hoyos2007-10-09
| | | | Originally committed as revision 10696 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Manage Picture buffers for fields as well as frames. Pair complementary ↵Jeff Downs2007-10-08
| | | | | | | | | | | | | fields into one MPV Picture. Part of PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix deblocking for PAFF contentMartin Zlomek2007-10-08
| | | | | | Patch by Martin Zlomek, martin d zlomek a email d cz Originally committed as revision 10690 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after PAFF MMCO implementation patch.Jeff Downs2007-10-07
| | | | | | | | | patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Augment MMCO execution to work with both fields and frames. Part of PAFFJeff Downs2007-10-07
| | | | | | | | | | | implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic renaming variable so that it makes more sense for forthcoming PAFF ↵Jeff Downs2007-10-06
| | | | | | | | | | | mmco patches. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Augment mmcodecoding process to work properly with fields. Part of PAFF ↵Jeff Downs2007-10-06
| | | | | | | | | | | implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10675 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Edge emulation for fields. Part of PAFF implementationJeff Downs2007-10-06
| | | | | | | | | patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10674 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set Picture.poc for fields and field pairs. Part of PAFF implementation.Jeff Downs2007-10-06
| | | | | | | | | patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Modifies macroblock addressing and current macroblock y-position for field ↵Jeff Downs2007-10-06
| | | | | | | | | | | | | decoding. Adds convenience definition for pictures that are field or mbaff based. Part of PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support function and changes to reference picture reordering for PAFF.Jeff Downs2007-10-05
| | | | | | | | | patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent fill_default_ref_list after changes for PAFFJeff Downs2007-10-05
| | | | | | | | | patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support functions and changes to default reference list creation for PAFF.Jeff Downs2007-10-05
| | | | | | | | | patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorganize long reference management to minimize code duplication in ↵Jeff Downs2007-10-04
| | | | | | | | | | | upcoming PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10665 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix Picture.key_frame setting to be compatible with frame and field ↵Jeff Downs2007-10-04
| | | | | | | | | | | | contexts. Part of PAFF implementation. Contributed in part by Neil Brown. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10664 to svn://svn.ffmpeg.org/ffmpeg/trunk