summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* Support broken avc nal encapsulation.Michael Niedermayer2009-04-16
| | | | | | Fixes issue987. Originally committed as revision 18533 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 2 access units in a packet mp4s.Michael Niedermayer2009-04-12
| | | | | | Fixes issue944 and possibly others. Originally committed as revision 18474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of the non sensical idea of using the current picture for missingMichael Niedermayer2009-04-12
| | | | | | reference pictures. Originally committed as revision 18473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize field_end() out.Michael Niedermayer2009-04-12
| | | | Originally committed as revision 18472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Assert that the first list1 entry is a reference frame.Michael Niedermayer2009-04-12
| | | | Originally committed as revision 18471 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a av_fast_malloc function and replace several uses of av_fast_realloc,Reimar Döffinger2009-04-12
| | | | | | thus avoiding potential memleaks and pointless memcpys. Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Loop up to MAX_THREADS instead of h->s.avctx->thread_count to free the threadReimar Döffinger2009-04-10
| | | | | | | contexts, this avoids a crash when freeing the H.264 parser context introduced in r18406, since h->s.avctx is NULL there. Originally committed as revision 18418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add forgotten void return type to ff_h264_free_contextReimar Döffinger2009-04-10
| | | | Originally committed as revision 18411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a ff_h264_free_context function and call it from the H.264 parser.Reimar Döffinger2009-04-10
| | | | | | 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-07
| | | | | | | | | | | 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-13
| | | | 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-05
| | | | | | 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-04
| | | | Originally committed as revision 17811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add more correct bound checking in filter_mb().Vitor Sessak2009-03-04
| | | | | | 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-03
| | | | | | 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-03
| | | | 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-01
| | | | | | | 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-28
| | | | | | 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-27
| | | | | | 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-27
| | | | | | 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-27
| | | | 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-26
| | | | | | 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-26
| | | | | | | 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-25
| | | | Originally committed as revision 17591 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct time_base of H.264 and repeat_pict.Ivan Schreter2009-02-24
| | | | | | 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-24
| | | | Originally committed as revision 17569 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add and use ff_pixfmt_list_420.Michael Niedermayer2009-02-24
| | | | 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-24
| | | | 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-23
| | | | | | 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-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