summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a ff_h264_free_context function and call it from the H.264 parser.Reimar Döffinger2009-04-101-3/+9
| | | | | | This ensures that the parser will no longer leak memory for all SPS/PPS it encounters. Originally committed as revision 18406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes anThilo Borgmann2009-04-071-1/+3
| | | | | | | | | | | AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows passing of packet-specific flags from demuxer to decoder, such as the keyframe flag, which appears necessary to playback corePNG P-frames. Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread "Google Summer of Code participation" on the mailinglist. Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print timing_info on -debug 1.Michael Niedermayer2009-03-131-2/+4
| | | | Originally committed as revision 17949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark variables "j" and "structure" in execute_ref_pic_marking() as av_uninitDiego Biurrun2009-03-051-2/+2
| | | | | | to work around false positive 'may be used uninitialized' warnings. Originally committed as revision 17837 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add support for ct_type to correctly detect interlaced flagIvan Schreter2009-03-041-11/+7
| | | | Originally committed as revision 17811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add more correct bound checking in filter_mb().Vitor Sessak2009-03-041-1/+1
| | | | | | Should fix decoding of CVMAPAQP3_Sony_E.jsv in MinGW Originally committed as revision 17806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* When a H.264 stream references a PPS or SPS id which doesn't exist, instead ofPanagiotis Issaris2009-03-031-2/+2
| | | | | | just saying that a non-existing id is referenced, show the value of the id. Originally committed as revision 17771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Simplify decode_residual()Alex Converse2009-03-031-5/+4
| | | | Originally committed as revision 17750 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set low_delay if has_b_frames has been set before init()Michael Niedermayer2009-03-011-0/+1
| | | | | | | this will be needed once the parser can figure out has_b_frames in av_find_stream_info(). Originally committed as revision 17673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adjust time_base exactly when changing ticks_per_frame to 2 this is saferMichael Niedermayer2009-02-281-4/+5
| | | | | | and for some raw h264 we managed to change the timebase twice before. Originally committed as revision 17669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly reset SEI variables.Ivan Schreter2009-02-271-12/+15
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add hardware acceleration hooks to H.264.Gwenole Beauchesne2009-02-271-1/+11
| | | | | | Patch by Gwenolé Beauchesne. Originally committed as revision 17644 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix SVQ3 regression since ticks_per_frame=2.Michael Niedermayer2009-02-271-1/+2
| | | | Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ticks_per_frame, this should hopefully fix the regressions causedMichael Niedermayer2009-02-261-0/+1
| | | | | | by the time_base change. Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Half user provided time_base once during the first frame when there is noMichael Niedermayer2009-02-261-0/+3
| | | | | | | timebase stored in the h264 stream. This should fix fate. (ffmpeg.c used pict_repeat with its default 1/25 timebase) Originally committed as revision 17622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add hwaccel->decode_slice() call for avhwaccel by Gwenole Beauchesne.Michael Niedermayer2009-02-251-0/+4
| | | | Originally committed as revision 17591 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct time_base of H.264 and repeat_pict.Ivan Schreter2009-02-241-1/+1
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add ff_find_hwaccel() by Gwenole BeauchesneMichael Niedermayer2009-02-241-0/+1
| | | | Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add and use ff_pixfmt_list_420.Michael Niedermayer2009-02-241-4/+3
| | | | Originally committed as revision 17564 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark two variables with av_uninit to avoid false positive gcc warnings.Diego Biurrun2009-02-241-2/+2
| | | | Originally committed as revision 17552 to svn://svn.ffmpeg.org/ffmpeg/trunk
* More approved hunks for VAAPI & our new and cleaner hwaccel API.Gwenole Beauchesne2009-02-231-0/+3
| | | | | | patch by Gwenole Beauchesne gbeauchesne splitted-desktop com Originally committed as revision 17540 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check return value of frame_start(), this avoids a crash if ↵Reimar Döffinger2009-02-221-1/+2
| | | | | | | | 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-211-22/+11
| | | | | | | | | | 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-201-0/+1
| | | | | | | | 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-191-2/+2
| | | | | | | | 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-181-0/+38
| | | | | | 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-181-0/+1
| | | | | | 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-181-1/+4
| | | | | | 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-181-1/+4
| | | | | | 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-181-1/+1
| | | | | | 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-171-4/+5
| | | | | | | 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-171-1/+1
| | | | | | "'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-151-1/+5
| | | | | | 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-111-2/+2
| | | | 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-091-1/+19
| | | | | | | | 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-081-2/+2
| | | | | | 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-041-4/+1
| | | | 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-031-7/+22
| | | | | | 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-021-1/+1
| | | | | | 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-011-1/+1
| | | | | | | 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-291-0/+1
| | | | | | 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-241-4/+4
| | | | 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-181-0/+1
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove CODEC_ID_H264_VDPAU.Carl Eugen Hoyos2009-01-171-6/+6
| | | | 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-141-14/+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-131-10/+10
| | | | | | 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-111-2/+2
| | | | 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-101-2/+2
| | | | 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-101-2/+2
| | | | 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-101-0/+3
| | | | Originally committed as revision 16513 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud