summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
* Pass codec pixel format list to get_format, if present, fix vdpau decodingBaptiste Coudurier2010-05-31
| | | | Originally committed as revision 23396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In h264 decoder, use jpeg yuv pixel format when full range is set in vuiBaptiste Coudurier2010-05-28
| | | | Originally committed as revision 23369 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factorize ff_h264_decode_extradata().Howard Chu2010-05-26
| | | | | | Patch by Howard Chu, hyc highlandsun com Originally committed as revision 23340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: cosmetics (vertical align).Gwenole Beauchesne2010-04-15
| | | | Originally committed as revision 22885 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: move avctx->{profile,level} init before AVCodecContext.get_format().Gwenole Beauchesne2010-04-15
| | | | Originally committed as revision 22884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: move avctx->refs init before AVCodecContext.get_format().Gwenole Beauchesne2010-04-15
| | | | Originally committed as revision 22883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move static function fill_filter_caches() from h264.h to h264.c.Diego Biurrun2010-04-13
| | | | | | | | The function is only used within that file, so it makes sense to place it there. This fixes many warnings of the type: h264.h:1170: warning: ‘fill_filter_caches’ defined but not used Originally committed as revision 22876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264: Copy h264dsp when creating new slice threadsAlexander Strange2010-03-31
| | | | | | | Fixes slice multithreading (broken in r22565) Fixes issue1815 Originally committed as revision 22740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix implicit weight for b frames in mbaff.Michael Niedermayer2010-03-30
| | | | Originally committed as revision 22733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set VDPAU H264 picture parameter field_order_cnt and frame_num at theStephen Warren2010-03-30
| | | | | | | | | start of decoding a picture instead of at the end. Fixes mmco01.264 Patch by Stephen Warren Originally committed as revision 22728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable, fixes the warning:Diego Biurrun2010-03-23
| | | | | | libavcodec/h264.c:1562: warning: unused variable `s' Originally committed as revision 22647 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reinitialize the h264 decoder context on every valid aspect ratioJanusz Krzysztofik2010-03-18
| | | | | | | | change, not only size changes. Patch by Janusz Krzysztofik foo=zyszt <jkr$foo@tis.icnet.pl>. Originally committed as revision 22597 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move H264 dsputil functions into their own structMåns Rullgård2010-03-16
| | | | | | | | | | | This moves the H264-specific functions from DSPContext to the new H264DSPContext. The code is made conditional on CONFIG_H264DSP which is set by the codecs requiring it. The qpel and chroma MC functions are not moved as these are used by non-h264 code. Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix indentionMichael Niedermayer2010-03-12
| | | | Originally committed as revision 22484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always reset slice_table.Michael Niedermayer2010-03-12
| | | | | | | | | Previously, the area of a lost slice would be left at the slice number of the previous frame which could occasionally match the number of the next slice and thus a non existing slice could have been used for prediction leading to additional decoding errors in otherwise undamaged slices. Originally committed as revision 22483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder indexes in weight tables.Michael Niedermayer2010-03-03
| | | | | | 5 cpu cycles faster. Originally committed as revision 22183 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetic addition of {}Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22178 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge weight & offset tables, 15 cpu cycles faster.Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify implicit_weight table init.Michael Niedermayer2010-03-03
| | | | Originally committed as revision 22168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a bunch of bugs ive introduced recently that broke threaded decoding.Michael Niedermayer2010-03-02
| | | | | | might also fix issue1788 Originally committed as revision 22141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4Aurelien Jacobs2010-03-01
| | | | Originally committed as revision 22125 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Process picture aspect ratio changes in H.264.Janusz Krzysztofik2010-02-28
| | | | | | | | | This fixes playback of such streams with ffplay (but does not affect current ffmpeg). Patch by Janusz Krzysztofik, jkrzyszt A tis D icnet D pl Originally committed as revision 22112 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move init of right side of ref_cache from fill_caches() to ↵Michael Niedermayer2010-02-26
| | | | | | init_the_darn_decoder(). Originally committed as revision 22071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of mb2b8_xy and b8_stride, change arrays organized based on b8_stride toMichael Niedermayer2010-02-25
| | | | | | | ones based on mb_stride in h264. about 20 cpu cycles faster overall per MB Originally committed as revision 22065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont allocate direct_table 8 times too large.Michael Niedermayer2010-02-25
| | | | Originally committed as revision 22056 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder intra4x4_pred_mode so that we can read/write 4 values at once.Michael Niedermayer2010-02-25
| | | | | | 3-7 cpu cycles faster Originally committed as revision 22053 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Store intra4x4_pred_mode per row only.Michael Niedermayer2010-02-25
| | | | | | | | about 5 cpu cycles slower in the local code but should be overall faster due to reduced cache use. (my sample though has too few intra4x4 blocks for this to be meassureable easily either way) Originally committed as revision 22052 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cut the size of mvd_table by yet another factor of 2.Michael Niedermayer2010-02-25
| | | | | | | The code read/write code itself was 1 cycle faster, overall its likely more due to cache effects Originally committed as revision 22048 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Keep mvd_table values of only 2 mb rows.Michael Niedermayer2010-02-25
| | | | Originally committed as revision 22047 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change mvd_cache & mvd_table to 8bit, this is overall a bit fasterMichael Niedermayer2010-02-24
| | | | | | | for high resolution videos. about 20cycles faster per MB for cathederal. Originally committed as revision 22038 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to set has_b_frames in codec init if we know everything alraedy.Michael Niedermayer2010-02-23
| | | | | | This fixes some issues with the first few timestamps. Originally committed as revision 21976 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move extradata reading code into codec init instead of doing itMichael Niedermayer2010-02-23
| | | | | | in read frame. Originally committed as revision 21975 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable mb_xy.avcoder2010-02-21
| | | | | | Patch by avcoder, ffmpeg gmail Originally committed as revision 21945 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264: use alias-safe macrosMåns Rullgård2010-02-18
| | | | | | | This eliminates all aliasing violation warnings in h264 code. No measurable speed difference with gcc-4.4.3 on i7. Originally committed as revision 21881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify deblock_left/top condition for deblocking_filter=2Michael Niedermayer2010-02-18
| | | | Originally committed as revision 21876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move predict_field_decoding_flag() from h264.h to .c as its only used there ↵Michael Niedermayer2010-02-17
| | | | | | | | and belongs there as well. Originally committed as revision 21861 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move check for and call of predict_field_decoding_flag() from the mb code toMichael Niedermayer2010-02-17
| | | | | | the row code. This function would only be needed on a MB basis for MBAFF+FMO Originally committed as revision 21860 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge decode_cabac_mb_dqp() with surronding code.Michael Niedermayer2010-02-14
| | | | | | ~20 cpu cycles faster Originally committed as revision 21826 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop if(0) code.Michael Niedermayer2010-02-14
| | | | Originally committed as revision 21825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* h264: Remove unused variables.Alexander Strange2010-02-13
| | | | Originally committed as revision 21815 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Dont drop B frames without last_picture.Michael Niedermayer2010-02-12
| | | | | | Fixes issue1722 Originally committed as revision 21783 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to support truncated h264 frames mixed with mpeg pes headers in mkv.Michael Niedermayer2010-02-12
| | | | | | Fixes issue1585 Originally committed as revision 21772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set x264_build so that checks are simpler.Michael Niedermayer2010-02-08
| | | | Originally committed as revision 21681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix large timebases.Michael Niedermayer2010-02-04
| | | | | | Fixed issue1633 Originally committed as revision 21636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export H264 profile and level in AVCodecContext.Rafaël Carré2010-01-28
| | | | | | Patch by Rafaël Carré, rafael D carre A gmail Originally committed as revision 21517 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix svq3_* function declarations.Rafaël Carré2010-01-27
| | | | | | Patch by Rafaël Carré, rafael D carre A gmail Originally committed as revision 21489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l typo fix, mixed up +-1 forcing the loop filter skip to never skip.Michael Niedermayer2010-01-26
| | | | Originally committed as revision 21455 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l, correct wrong H.264+adaptive MBAFF decodingAlexander Strange2010-01-25
| | | | | | Fixes several FATE tests. Originally committed as revision 21445 to svn://svn.ffmpeg.org/ffmpeg/trunk