summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warn about unimplemented H264 feature.Carl Eugen Hoyos2008-05-29
| | | | Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
* in TRUNCATED mode, use residual fragments in ParseContextPascal Massimino2008-05-29
| | | | | | for decoding the very last frame. Originally committed as revision 13538 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: spelling typo fixesDiego Biurrun2008-05-28
| | | | Originally committed as revision 13489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* consistency cosmetics: indices --> indexesDiego Biurrun2008-05-26
| | | | Originally committed as revision 13444 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print direct_spatial_mv_predMichael Niedermayer2008-05-26
| | | | Originally committed as revision 13409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove newly unused variables.Alexander Strange2008-05-11
| | | | Originally committed as revision 13127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use h->mb_xy directly in decode_cabac_residual().Alexander Strange2008-05-11
| | | | Originally committed as revision 13126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store mb_xy in H264Context and only calculate it once per MB.Alexander Strange2008-05-11
| | | | Originally committed as revision 13125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* One const per declaration is enough.Carl Eugen Hoyos2008-05-08
| | | | Originally committed as revision 13079 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a state machine to reduce branching logic in decode_cabac_residual.Jason Garrett-Glaser2008-05-04
| | | | | | Patch by Jason Garrett-Glaser (darkshikari gmail com) Originally committed as revision 13060 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some long names to AVCodec declarations.Stefano Sabatini2008-04-29
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement FFMAX3(a,b,c) - maximum over three arguments.Vladimir Voroshilov2008-04-19
| | | | Originally committed as revision 12910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Redo r12838, this time using svn copy to create h264_i386.h from cabac.h.Jeff Downs2008-04-16
| | | | | | | | | | | Move decode_significance_x86() and decode_significance_8x8_x86() to i386-specific file from cabac.h. New file is h264-oriented and only included from h264.c Resolves compilation when configured with --disable-optimizations due to decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is only defined in h264.c Originally committed as revision 12846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert 12838 to redo it the right way (use svn copy to create newJeff Downs2008-04-16
| | | | | | file based on old). Originally committed as revision 12845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move decode_significance_x86() and decode_significance_8x8_x86() toJeff Downs2008-04-15
| | | | | | | | | | i386-specific file from cabac.h. New file is h264-oriented and only included from h264.c Resolves compilation when configured with --disable-optimizations due to decode_significance_8x8_x86 using last_coeff_flag_offset_8x8, which is only defined in h264.c Originally committed as revision 12838 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid crash with idiotic cropping. Fixes crash with CVFC1_Sony_C.jsvMichael Niedermayer2008-04-11
| | | | | | and closes issue333. Originally committed as revision 12788 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: occured --> occurredDiego Biurrun2008-03-22
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* If consumed does not match nalsize, favor nalsize.Michael Niedermayer2008-03-13
| | | | | | Fixes issue385. Originally committed as revision 12430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo fixesDiego Biurrun2008-03-12
| | | | Originally committed as revision 12428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-09
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* more aspect ratios added in one of the ammendmentsLoren Merritt2008-03-01
| | | | Originally committed as revision 12282 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ;;Michael Niedermayer2008-02-19
| | | | Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* "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