summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* Making it easier to send arbitrary structures as work orders to MT workersRoman Shaposhnik2008-11-12
| | | | Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Implement decoding of picture timing SEI message.Andreas Öman2008-11-04
| | | | | | | | | Now correct values are propagated to interlaced_frame, top_field_first and repeat_pict in AVFrame structure. patch by ffdshow tryouts Originally committed as revision 15773 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace literally hardcoded max slice number by named constant.Michael Niedermayer2008-10-28
| | | | Originally committed as revision 15736 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark ff_div6 and ff_rem6 static in h264.c. Patch by Diego PettenòDiego Pettenò2008-10-04
| | | | Originally committed as revision 15549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename copy_picture to ff_copy_picture.Carl Eugen Hoyos2008-10-02
| | | | Originally committed as revision 15508 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2008-09-26
| | | | Originally committed as revision 15427 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid out of picture accesses when CODEC_FLAG_EMU_EDGE is set.Michael Niedermayer2008-09-25
| | | | | | Fixes issue427. Originally committed as revision 15418 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not free sps & pps on width/height changes.Michael Niedermayer2008-09-25
| | | | | | Fixes issue557. Originally committed as revision 15414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initialize next/last_picture* as the generic code does not alwaysMichael Niedermayer2008-09-25
| | | | | | set them to sane values. Originally committed as revision 15412 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print which slices are IDR not just the slice type.Michael Niedermayer2008-09-25
| | | | Originally committed as revision 15411 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix CAVLC+8x8+MBAFF loop filter.Michael Niedermayer2008-09-25
| | | | | | Fixes FREXT02_JVC_C. Originally committed as revision 15410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Field -> MBAFF direct mode can use data from fields that are notMichael Niedermayer2008-09-24
| | | | | | | | in the reference list. Follow the spec and no comment on the sanity of this design ... Fixes HPCAMAPALQ_BRCM_B Originally committed as revision 15407 to svn://svn.ffmpeg.org/ffmpeg/trunk
* A few empty lines for readability.Michael Niedermayer2008-09-22
| | | | Originally committed as revision 15385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Another try to fix temporal direct mode references.Michael Niedermayer2008-09-22
| | | | | | | | Fixes at least CAPAMA3_Sand_F.264 CVMAPAQP3_Sony_E.jsv Originally committed as revision 15384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix ref_shift so that it is correct for more/all? MBAFF/PAFF mixes.Michael Niedermayer2008-09-22
| | | | | | Fixes at least MR9_BT_B. Originally committed as revision 15380 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-09-21
| | | | Originally committed as revision 15379 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correct comment in the direct mode code.Michael Niedermayer2008-09-21
| | | | | | | (note, yes this is unrelated to the previous simplification, the code always behaved like it is documented now.) Originally committed as revision 15378 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify initialization of a few direct mode related variables.Michael Niedermayer2008-09-21
| | | | Originally committed as revision 15377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make MBAFF temporal direct mode closer to the spec.Michael Niedermayer2008-09-21
| | | | | | | | | Fixes at least: CAMANL2_TOSHIBA_B CVMANL2_TOSHIBA_B camp_mot_mbaff0_full Originally committed as revision 15375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move direct_dist_scale_factor() and direct_ref_list_init() after ↵Michael Niedermayer2008-09-21
| | | | | | | | fill_mbaff_ref_list() as future changes will need the mbaff lists inited. Originally committed as revision 15374 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set poc for field references in MBAFF.Michael Niedermayer2008-09-21
| | | | Originally committed as revision 15373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove fixme that is based on the assumption of !direct_8x8_inference && MBAFF.Michael Niedermayer2008-09-19
| | | | Originally committed as revision 15370 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove check and error message for "MBAFF + !direct_8x8_inference is not ↵Michael Niedermayer2008-09-19
| | | | | | | | | implemented" because this mode does not exist, H.264-2007 says "When frame_mbs_only_flag is equal to 0, direct_8x8_inference_flag shall be equal to 1." Originally committed as revision 15369 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make pps/sps scaling_matrix initialization closer to the spec.Michael Niedermayer2008-09-18
| | | | | | This does not affect any of the conformance streams. Originally committed as revision 15365 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that extradata is not parsed twice.Michael Niedermayer2008-09-18
| | | | | | Fixes FRExt1_Panasonic. Originally committed as revision 15361 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix incorrect printing of brainfart cropping error in some cases in ↵Jason Garrett-Glaser2008-09-11
| | | | | | progressive mode. Originally committed as revision 15293 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename error_resilience to error_recognition.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures andMichael Niedermayer2008-09-04
| | | | | | subsequent zero POC value. Originally committed as revision 15194 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to support invalid h264 that does not mark IDR with POC=0.Michael Niedermayer2008-09-02
| | | | | | Fixes issue576. Originally committed as revision 15153 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2008-08-13
| | | | Originally committed as revision 14732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The deblock filter does not need all the intra availability stuff so doMichael Niedermayer2008-08-11
| | | | | | not recalculate it. Originally committed as revision 14689 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify constrained_intra_pred code in fill_caches().Michael Niedermayer2008-08-11
| | | | Originally committed as revision 14688 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Support MBAFF + constrained intra prediction.Michael Niedermayer2008-08-11
| | | | | | | | (no i would not have tried to implement this had i known what mess it is) fixes at least: CAMACI3_Sony_C Originally committed as revision 14687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mask bits of reference indexes properly to avoid negative numbers entanglingMichael Niedermayer2008-08-10
| | | | | | | | | | | | | | | | | | each other. Fixes at least: CAMA1_TOSHIBA_B cama1_vtc_c CAMA3_Sand_E cama3_vtc_b CAMASL3_Sony_B CVMA1_TOSHIBA_B CVMAQP3_Sony_D cvmp_mot_mbaff0_full_B FRExt/HCAMFF1_HHI FRExt/HCHP3_HHI_A FRExt/HVLCMFF0_Sony_B Originally committed as revision 14683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a few more lines of unneeded code in fill_caches() for MBAFF.Michael Niedermayer2008-08-10
| | | | | | Also document why the remaining related part is apparently needed. Originally committed as revision 14682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the correct reference tables for interlaced MBAFF MBs in the loop filter.Michael Niedermayer2008-08-10
| | | | | | | | | Fixes at least CAMP_MOT_MBAFF_L30 CAMP_MOT_MBAFF_L31 FRExt/FREXT01_JVC_D Originally committed as revision 14680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not execute the part of fill_caches() for the loopfilter that overwritesMichael Niedermayer2008-08-10
| | | | | | | | reference indexes and motion vectors. Fixes at least: CVMAQP2_Sony_G Originally committed as revision 14678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove more code that has become useless after the pairless MBAFF loopMichael Niedermayer2008-08-09
| | | | | | filter cleanup. Originally committed as revision 14676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove odd pairwise deblock filtering applied to MBAFF MBs.Michael Niedermayer2008-08-09
| | | | Originally committed as revision 14673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use local variabes for *stride, where local variables exist.Michael Niedermayer2008-08-05
| | | | Originally committed as revision 14623 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-08-05
| | | | Originally committed as revision 14622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify l1mv/l1ref calculation.Michael Niedermayer2008-08-05
| | | | Originally committed as revision 14621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify y_shift/ref_shift codeMichael Niedermayer2008-08-05
| | | | Originally committed as revision 14620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentMichael Niedermayer2008-08-05
| | | | Originally committed as revision 14619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize some code between temporal and spatial direct mode.Michael Niedermayer2008-08-05
| | | | Originally committed as revision 14618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port b4/b8_stride code from spatial direct mode to temporal.Michael Niedermayer2008-08-05
| | | | | | | | | | Fixes at least: CAMANL3_Sand_E.264 camp_mot_picaff0_full.26l CAPA1_TOSHIBA_B.264 CVPA1_TOSHIBA_B.264 Originally committed as revision 14546 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use frame_num and reference instead of poc for matching frames for directMichael Niedermayer2008-08-05
| | | | | | | mode MBs, this seems to work better with field/frame mixes. POC of both can be the same and can be different that makes its use tricky. Originally committed as revision 14545 to svn://svn.ffmpeg.org/ffmpeg/trunk
* *2 /2 is wrong for PAFF references, so do not do it.Michael Niedermayer2008-08-04
| | | | Originally committed as revision 14544 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Port col_parity code from spatial mode to temporal mode,Michael Niedermayer2008-08-04
| | | | | | I also love it if people duplicate code and fix one but not the other. Originally committed as revision 14543 to svn://svn.ffmpeg.org/ffmpeg/trunk