summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* Always initialize bit_depth_luma and bit_depth_chroma in the H264Laurent Aimar2010-01-09
| | | | | | | | decoder which allows their usage without checking profile_idc. Patch by Laurent Aimar (fenrir (AT) videolan org) Originally committed as revision 21107 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Log unknown NAL code from correct contextAndreas Öman2010-01-08
| | | | Originally committed as revision 21090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* End startcode prefix search at the end of a AVC unit.Michael Niedermayer2009-12-09
| | | | | | Fixes issue1550. Originally committed as revision 20784 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce warnings about too few consumed bytes to debug level.Michael Niedermayer2009-12-08
| | | | | | Fixes issue1061. Originally committed as revision 20772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call ff_find_hwaccel() after calling avcodec_set_dimensions().Reimar Döffinger2009-11-24
| | | | | | Patch by Reimar Originally committed as revision 20599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use avcodec_set_dimensions()Michael Niedermayer2009-11-23
| | | | Originally committed as revision 20591 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use get_bits_left() instead of size_in_bits - get_bits_count().Ronald S. Bultje2009-11-16
| | | | Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reset rbsp buffer size when freeing its data buffer.Mike Scheutzow2009-11-13
| | | | | | Patch by Mike Scheutzow $(name) AT alcatel 'minus' lucent com Originally committed as revision 20531 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2009-11-10
| | | | Originally committed as revision 20507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix indentation after r20505.Carl Eugen Hoyos2009-11-10
| | | | Originally committed as revision 20506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add .pix_fmts to H264 VDPAU decoder declaration and remove obsolete testCarl Eugen Hoyos2009-11-10
| | | | | | for codec->capabilities. Originally committed as revision 20505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to fix has_b_frame calculation for open gop files.Michael Niedermayer2009-11-10
| | | | | | Fixes issue1523 Originally committed as revision 20504 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove casts that are useless since the argument is void *.Reimar Döffinger2009-10-06
| | | | Originally committed as revision 20177 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix typo.Carl Eugen Hoyos2009-09-23
| | | | Originally committed as revision 19980 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check num_units_in_tick/time_scale to be valid and within the range we support.Michael Niedermayer2009-09-23
| | | | | | based on a patch by chrome Originally committed as revision 19979 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and labelRamiro Polla2009-09-06
| | | | | | parameters. Originally committed as revision 19776 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace WORDS_BIGENDIAN with HAVE_BIGENDIANMåns Rullgård2009-07-26
| | | | Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Check the return value of decode_vui_parameters()Alexander Strange2009-07-04
| | | | | | | | | Files with invalid VUI are now rejected like other invalid SPS are. Fixes issue1231. Originally committed as revision 19335 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Don't set data_partitioning for invalid NAL_DPA.Alexander Strange2009-07-03
| | | | | | | | | | | Before, the decoder could interpret a corrupt frame as a NAL_DPA and NAL_DPC, and then start decoding even if decode_slice_header() returned an error. This frequently caused crashes. Fixes issue1228, issue1229, and partially issue1238. Originally committed as revision 19328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix nalsize check to avoid an integer overflow that made the checkReimar Döffinger2009-06-30
| | | | | | incorrect for nalsize > INT_MAX - buf_index Originally committed as revision 19307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Improve wording: s/reseted/resetHaruhiko Yamagata2009-06-24
| | | | | | Patch by Haruhiko Yamagata, h D yamagata A nifty D com Originally committed as revision 19266 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix H.264 picture reordering, 2nd try.Haruhiko Yamagata2009-06-23
| | | | | | | | First, reverted one was r19239. Patch by Haruhiko Yamagata, h D yamagata A nifty D com Originally committed as revision 19258 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r19239: It broke four conformance tests.Carl Eugen Hoyos2009-06-20
| | | | Originally committed as revision 19241 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix H.264 picture reordering.Haruhiko Yamagata2009-06-20
| | | | | | Patch by Haruhiko Yamagata, h D yamagata A nifty D com Originally committed as revision 19239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Fix memory leaks with multithreading.Alexander Strange2009-06-16
| | | | | | | | | The threads' contexts and rbsp_buffers were not freed at the end of decoding. Fixes issue 1581 Originally committed as revision 19207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add field prev_interlaced_frame to H264Context to be able to flag soft telecineHaruhiko Yamagata2009-06-09
| | | | | | | | progressive. Patch by Haruhiko Yamagata, h D yamagata A nifty D com Originally committed as revision 19141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix sei_ct_type check so it does not mistreat ct_type= unknown.Michael Niedermayer2009-06-03
| | | | Originally committed as revision 19082 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print ct_type and pic_struct.Michael Niedermayer2009-06-03
| | | | Originally committed as revision 19081 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused hack which set AVCodecContext frame_number to pic timestampBaptiste Coudurier2009-05-30
| | | | Originally committed as revision 18988 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264: Don't deblock if alpha or beta is 0.Haruhiko Yamagata2009-05-24
| | | | | | | This ensures that the MMX loop filter is always bitexact with the C version. Patch by Haruhiko Yamagata <h.yamagata _a_ nifty com> Originally committed as revision 18923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a chroma_sample_location field to define positioning of chroma samplesDavid Conrad2009-05-11
| | | | Originally committed as revision 18795 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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