summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
Commit message (Collapse)AuthorAge
...
* 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
* H.264: Use 64-/128-bit write-combining macros for copiesAlexander Strange2010-01-25
| | | | | | 2-3% faster decode on x86-32 core2. Originally committed as revision 21440 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove is_complex from loop_filter() its useless there in its current form.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21423 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added a missing const to ff_h264_get_slice_type().Laurent Aimar2010-01-24
| | | | Originally committed as revision 21421 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove all uses of slice_type* from the loop filter, also remove itsMichael Niedermayer2010-01-24
| | | | | | initialization befre the loop filter. Originally committed as revision 21416 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move +52 from the loop filter to the alpha/beta offsets in the context.Michael Niedermayer2010-01-23
| | | | | | | This should fix a segfault, also it might be faster on systems where the +52 wasnt free. Originally committed as revision 21406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic, get rid of &x[0]Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21309 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with -O0.Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21308 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix 10l segfault with threads.Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21293 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Perform reference remapping at fill_cache() time instead of in theMichael Niedermayer2010-01-18
| | | | | | | loop filter. This removes one obstacle of getting ff_h264_filter_mb_fast() bitexact. code is maybe 0.1% faster Originally committed as revision 21280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the qp check to skip the loop filter up.Michael Niedermayer2010-01-18
| | | | Originally committed as revision 21274 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split fill_caches() between filter and decoder.Michael Niedermayer2010-01-17
| | | | Originally committed as revision 21271 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rearchitecturing the stiched up goose part 1Michael Niedermayer2010-01-17
| | | | | | | | | | | Run loop filter per row instead of per MB, this also should make it much easier to switch to per frame filtering and also doing so in a seperate thread in the future if some volunteer wants to try. Overall decoding speedup of 1.7% (single thread on pentium dual / cathedral sample) This change also allows some optimizations to be tried that would not have been possible before. Originally committed as revision 21270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consider slice_beta_offet in qp_thresh.Michael Niedermayer2010-01-16
| | | | Originally committed as revision 21244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid wasting 4 cpu cycles per MB in redundantly calculating qp_thresh.Michael Niedermayer2010-01-16
| | | | Originally committed as revision 21243 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove unused variableMichael Niedermayer2010-01-13
| | | | Originally committed as revision 21182 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split cabac decoding code out of h264.c.Michael Niedermayer2010-01-13
| | | | | | not slower according to benchmarks. Originally committed as revision 21181 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split cavlc out of h264.c.Michael Niedermayer2010-01-13
| | | | | | | | Seems to speed the code up a little... The placement of many generic functions between h264.c and h264.h is still open Currently they are a little randomly placed between them. Originally committed as revision 21178 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split motion vector prediction off h264.c/h.Michael Niedermayer2010-01-12
| | | | Originally committed as revision 21174 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move check_intra4x4_pred_mode() back from h264.h to h264.c, the function is justMichael Niedermayer2010-01-12
| | | | | | | | called once per MB in worst case and doesnt seem to benefit from static inline. Actually the code might be a hair faster now (0.1% according to my benchmark but this could be random noise) Originally committed as revision 21173 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split all the reference picture handling off h264.c.Michael Niedermayer2010-01-12
| | | | Originally committed as revision 21172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split (picture|seq) parameter set decoding out of h264.c.Michael Niedermayer2010-01-12
| | | | | | no speedloss meassured, also its really not touching anything that is speed relevant. Originally committed as revision 21169 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split SEI code off h264.c.Michael Niedermayer2010-01-12
| | | | Originally committed as revision 21168 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split direct mode (macro)block decoding off h264.c.Michael Niedermayer2010-01-12
| | | | | | No speedloss meassured (its slightly faster here but that may be random fluctuations) Originally committed as revision 21165 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split h264 loop filter off h264.c.Michael Niedermayer2010-01-12
| | | | | | No meassureable speed difference on pentium dual & cathedral sample. Originally committed as revision 21159 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of #include "svq3.c"Michael Niedermayer2010-01-12
| | | | | | | | | | | functions called more than per mb are moved into the header, scan8 is also as it must be known at compiletime. The code after this patch duplicates h264data.h, this has been done to minimize the changes in this step and allow more fine grained benchmarking. Speedwise this is 1% faster on my pentium dual core with diegos cursed cathedral sample. Originally committed as revision 21157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export fullrange flag and color information for h.264David Conrad2010-01-11
| | | | Originally committed as revision 21126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export get_slice_type() as ff_h264_get_slice_type().Laurent Aimar2010-01-09
| | | | | | Patch by Laurent Aimar <fenrir at videolan dot org>. Originally committed as revision 21110 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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