summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* Check return value of frame_start(), this avoids a crash if ↵Reimar Döffinger2009-02-22
| | | | | | | | AVCodecContext::get_buffer failed. Not sure if returning -1 is the best possible solution but at least avoids the crash. Originally committed as revision 17520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the following H264 functions available to the parser:Ivan Schreter2009-02-21
| | | | | | | | | | ff_h264_decode_sei, ff_h264_decode_seq_parameter_set, ff_h264_decode_picture_parameter_set, ff_h264_decode_nal, ff_h264_decode_rbsp_trailing Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use last decoded SPS as current SPS in order to parse picture timing SEIIvan Schreter2009-02-20
| | | | | | | | correctly. This works around an apparent H.264 standard deficiency. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17471 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence two warnings:Ivan Schreter2009-02-19
| | | | | | | | cast discards qualifiers from pointer target type Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17463 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse buffering period (H.264, D.1.1).Ivan Schreter2009-02-18
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store CPB count in the context.Ivan Schreter2009-02-18
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse cbp_removal_delay in SEI picture structure.Ivan Schreter2009-02-18
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17413 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse dpb_output_delay in SEI picture structure.Ivan Schreter2009-02-18
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17412 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Parse initial_cpb_removal_delay_length.Ivan Schreter2009-02-18
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move initialization of {luma,chroma}_weight_flag[] up,Gwenole Beauchesne2009-02-17
| | | | | | | to make sure they are always initialized. Patch by Gwenole Beauchesne g${name} splitted-desktop com Originally committed as revision 17393 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: 'void/int inline' --> 'inline void/int' to avoid warnings of the typeDiego Biurrun2009-02-17
| | | | | | "'inline' is not at beginning of declaration" with -Wextra. Originally committed as revision 17392 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Silence following warning if only zeros were not consumed:Carl Eugen Hoyos2009-02-15
| | | | | | AVC: Consumed only m bytes instead of n Originally committed as revision 17327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264: Change left_block_options to uint8_t from int, saving a little space.Alexander Strange2009-02-11
| | | | Originally committed as revision 17147 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add SEI recovery point frame counter to H264Context and use it whenIvan Schreter2009-02-09
| | | | | | | | setting key_frame. Patch by Ivan Schreter schreter A gmx D net Originally committed as revision 17109 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace hard-coded SEI type constants with symbolic namesIvan Schreter2009-02-08
| | | | | | Patch by Ivan Schreter ( schreter gmx net ) Originally committed as revision 17064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove CONFIG_H264_ENCODER referencesMåns Rullgård2009-02-04
| | | | Originally committed as revision 16996 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add fields to H264Context and SPS for upcoming VA API support.Gwenole Beauchesne2009-02-03
| | | | | | Patch by Gwenole Beauchesne gbeauchesne A splitted-desktop dotcom Originally committed as revision 16976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_unused to conditionally used variable, fixes the warning:Diego Biurrun2009-02-02
| | | | | | h264.c:6464: warning: unused variable 'dir' Originally committed as revision 16925 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Add empty line for consistent formatting.Gwenole Beauchesne2009-01-29
| | | | | | patch by Gwenolé Beauchesne, gbeauchesne splitted-desktop com Originally committed as revision 16852 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove zigzag_scan8x8, it is the same as ff_zigzag_directStefan Gehrer2009-01-24
| | | | Originally committed as revision 16744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-18
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove CODEC_ID_H264_VDPAU.Carl Eugen Hoyos2009-01-17
| | | | Originally committed as revision 16649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove H264Context from vdpau_internal.h.Carl Eugen Hoyos2009-01-11
| | | | Originally committed as revision 16524 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Rename ff_vdpau_h264_add_data_chunk as ff_vdpau_add_data_chunk.Carl Eugen Hoyos2009-01-10
| | | | Originally committed as revision 16521 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use only MpegEncContext in ff_vdpau_h264_add_data_chunk.Carl Eugen Hoyos2009-01-10
| | | | Originally committed as revision 16520 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move vdpau_h264_set_reference_frames() call from vdpauvideo.c into h264.c.Carl Eugen Hoyos2009-01-10
| | | | Originally committed as revision 16513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move VDPAU check, make future VDPAU patches smaller.Carl Eugen Hoyos2009-01-09
| | | | Originally committed as revision 16508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ff_VDPAU as ff_vdpau.Carl Eugen Hoyos2009-01-07
| | | | Originally committed as revision 16492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only #include svq3.c if the SVQ3 decoder is enabled.Diego Biurrun2009-01-07
| | | | Originally committed as revision 16487 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Disable SVQ3 checks if SVQ3 support is not compiled in.Diego Biurrun2009-01-07
| | | | Originally committed as revision 16462 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 50l: Reenable error resilience for H264 (Patch by Dark Shikari).Jason Garrett-Glaser2009-01-05
| | | | Originally committed as revision 16434 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix indentation.Carl Eugen Hoyos2009-01-05
| | | | Originally committed as revision 16433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VDPAU hardware accelerated decoding for H264 which can be used byNVIDIA Corporation2009-01-04
| | | | | | | | video players. Original patch by NVIDIA corporation. Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export refsMichael Niedermayer2008-12-24
| | | | Originally committed as revision 16306 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize pred_pskip_motion()Michael Niedermayer2008-12-24
| | | | | | 7 cpu cycles faster on pentium dual. Originally committed as revision 16304 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentMichael Niedermayer2008-12-23
| | | | Originally committed as revision 16302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Integrate get_te0_golomb() calls into the code, this allows some checksMichael Niedermayer2008-12-23
| | | | | | | | to be avoided and the function is pretty small. 3% speedup, though this is probably due to changed inlining and not directly this change. Originally committed as revision 16301 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use get_ue_golomb_31() where possible, almost all are just in headersMichael Niedermayer2008-12-23
| | | | | | though. Originally committed as revision 16300 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-12-23
| | | | Originally committed as revision 16296 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the new VLC table for the first non trailing coeff too.Michael Niedermayer2008-12-23
| | | | | | | Sadly only 5 cycles faster here on pentium dual. So maybe the complexity is not worth it and this should be reverted ... Originally committed as revision 16295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize esc removal code.Michael Niedermayer2008-12-23
| | | | Originally committed as revision 16294 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentMichael Niedermayer2008-12-23
| | | | Originally committed as revision 16292 to svn://svn.ffmpeg.org/ffmpeg/trunk
* unified CAVLC level decoding LUT.Michael Niedermayer2008-12-23
| | | | | | Quite a bit faster (HPCVMOLQ_BRCM_B.264 was 3% faster here) Originally committed as revision 16291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, I broke H.264 again, forgot one hunk.Michael Niedermayer2008-12-23
| | | | | | Thanks to FATE for finding it. Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize 0 0 0-3 search, 45% faster on pentium dual.Michael Niedermayer2008-12-23
| | | | Originally committed as revision 16284 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify decode_cabac_mb_ref() a little bit, 2 cpu cycles faster onMichael Niedermayer2008-12-22
| | | | | | pentium dual. Originally committed as revision 16279 to svn://svn.ffmpeg.org/ffmpeg/trunk
* IndentMichael Niedermayer2008-12-22
| | | | Originally committed as revision 16278 to svn://svn.ffmpeg.org/ffmpeg/trunk