summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* Release buffer when decoding is finished.Carl Eugen Hoyos2010-01-25
| | | | Originally committed as revision 21449 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize decode_cabac_field_decoding_flag().Michael Niedermayer2010-01-25
| | | | | | ~4 cpu cycles faster Originally committed as revision 21447 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
* Only check frame size if the header is valid.Justin Ruggles2010-01-24
| | | | Originally committed as revision 21439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix decoding ATI VCR2 codec, sample inCarl Eugen Hoyos2010-01-24
| | | | | | | | | samples/V-codecs/ATI-VCR12/ATI/VCR2test.avi Software decoding was broken since r8865, when two new context variables were added, but not initialized in vcr2_init_sequence(). Another such context variable was added in r18381. Originally committed as revision 21438 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Branchless setting of MB_TYPE_8x8DCT.Michael Niedermayer2010-01-24
| | | | | | Not benchmarked as i failed to find a sample that uses this one. But it should be faster. Originally committed as revision 21435 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove cruft.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21434 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark index as unsigend so gcc knows it doesnt need a sign extension on x86_64.Michael Niedermayer2010-01-24
| | | | | | | | Any tips on how i can convince gcc that it doesnt need a mov %eax, %eax in every get_bits() ? Originally committed as revision 21433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* a[b-1] -> (a-1)[b].Michael Niedermayer2010-01-24
| | | | | | Helps gcc not to add seperate -1 instructions. Originally committed as revision 21432 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize suffix_length computation, 1 cpu cycle speedup.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21431 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify suffix_length computation, same speed.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize level_code computation, 6cpu cycles speedup.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21428 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix crash in MLP decoder due to integer overflow.Reimar Döffinger2010-01-24
| | | | | | | Probably only DoS, init_get_bits sets buffer to NULL, thus causing a NULL-dereference directly after. Originally committed as revision 21426 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1 cpu cycle faster suffix_length calculation.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21425 to svn://svn.ffmpeg.org/ffmpeg/trunk
* VC-1/WMV3 DXVA2 implementationLaurent Aimar2010-01-24
| | | | | | | | It allows VLD VC-1/WMV3 decoding using DXVA2 (GPU assisted decoding API under VISTA and Windows 7). It is implemented by using AVHWAccel API. Originally committed as revision 21424 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 few missing consts in dxva_h264.Laurent Aimar2010-01-24
| | | | Originally committed as revision 21422 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
* Added missing const to get_bits_count().Laurent Aimar2010-01-24
| | | | Originally committed as revision 21419 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prefer cbp over cbp_table.Michael Niedermayer2010-01-24
| | | | Originally committed as revision 21418 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
* Remove unneeded reset of non_zero_count_cache for deblock.Michael Niedermayer2010-01-23
| | | | Originally committed as revision 21414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove useless things from the deblock side of fill_caches().Michael Niedermayer2010-01-23
| | | | Originally committed as revision 21413 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make mv_cache init 64bit where possible.Michael Niedermayer2010-01-23
| | | | Originally committed as revision 21412 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Moved reusable functions from dxva2_h264.c to dxva2.cLaurent Aimar2010-01-23
| | | | Originally committed as revision 21407 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
* Release buffer when the codec is closed.Reimar Döffinger2010-01-23
| | | | Originally committed as revision 21405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use qstride = 0 and allocate only a single line for qscale_table sinceReimar Döffinger2010-01-23
| | | | | | for this codecs all quants are the same for a single frame. Originally committed as revision 21404 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Added ff_dxva2_ prefix to get_surface(_index) and commit_buffer functions.Laurent Aimar2010-01-23
| | | | Originally committed as revision 21403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent the content of one if(){} in ff_dxva2_common_end_frame.Laurent Aimar2010-01-23
| | | | Originally committed as revision 21402 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Moved reusable code from dxva2_h264.c:end_frame to ff_dxva2_common_end_frame.Laurent Aimar2010-01-23
| | | | Originally committed as revision 21401 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set edges based on cbp and mv partitioning, not just skiped MBs.Michael Niedermayer2010-01-23
| | | | | | This is faster for videos that have lots of MBs that fall in this category. Originally committed as revision 21400 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AVPALETTE_COUNT instead of hard-coding 256.Reimar Döffinger2010-01-23
| | | | | | | This is consistent with other codecs and will also avoid a crash on the memcpy to data[1] if AVPALETTE_SIZE ever increases. Originally committed as revision 21399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant initialization of the palette, it is part of the contextReimar Döffinger2010-01-23
| | | | | | and that one is always 0-initialized already. Originally committed as revision 21398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optimize filter_mb_mbaff_edge*()Michael Niedermayer2010-01-23
| | | | Originally committed as revision 21397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Optmize 8x8dct check used to skip some borders in the loop filter.Michael Niedermayer2010-01-23
| | | | | | 4 cpu cycles faster. Originally committed as revision 21396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_freep intead of av_free to free pointers in vp56 context.Reimar Döffinger2010-01-23
| | | | Originally committed as revision 21395 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Zero the frame data on allocation for VB codec, e.g. the FATE sample seems toReimar Döffinger2010-01-23
| | | | | | rely on this. Originally committed as revision 21394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Export wma_critical_freqs as ff_wma_critical_freqsDaniel Verkamp2010-01-23
| | | | Originally committed as revision 21391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The SSSE3 version of dct_quantize in mpegvideo_mmx_template.c needsReimar Döffinger2010-01-22
| | | | | | | inv_zigzag_direct16 16-byte aligned, so mark it appropriately. Fixes encoder crashes e.g. with MPlayer's -vf lavc. Originally committed as revision 21389 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement an sse version of scalarproduct_float().Alex Converse2010-01-22
| | | | Originally committed as revision 21386 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check for chunk boundaries when decoding VB codec dataKostya Shishkov2010-01-22
| | | | Originally committed as revision 21385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Zero palette in case not all entries are initialized laterKostya Shishkov2010-01-22
| | | | Originally committed as revision 21384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move array specifiers outside DECLARE_ALIGNED() invocationsMåns Rullgård2010-01-22
| | | | Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Gcc idiocy fixes related to filter_mb_edge*.Michael Niedermayer2010-01-22
| | | | | | | | | | | | | | Change order of operands as gcc uses a hardcoded register per operand it seems even for static functions thus reducing unneeded moved (now functions try to pass the same argument in the same spot). Change signed int to unsigned int for array indexes as signed requires signed extension while unsigned is free. move the +52 up and merge it where it will end as a lea instruction, gcc always splits the 52 out there turning the free +52 into an expensive one otherwise. The changed code becomes a little faster. Originally committed as revision 21375 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move dquant check into qscale overflow check.Michael Niedermayer2010-01-21
| | | | | | | This should be faster (couldnt meassue a difference), and its less picky on slightly out of spec dquant. Originally committed as revision 21373 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make calculation of mask_edge free of branches, faster of course but probablyMichael Niedermayer2010-01-21
| | | | | | little effect overall as this is not that often executed. Originally committed as revision 21366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Clarify CODEC_CAP_SUBFRAMES.Michael Niedermayer2010-01-21
| | | | Originally committed as revision 21364 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set CODEC_CAP_SUBFRAMES for adpcm decodersMåns Rullgård2010-01-21
| | | | | | | | This makes ffmpeg stop printing millions of Multiple frames in a packet from stream 0 when decoding adpcm. Originally committed as revision 21362 to svn://svn.ffmpeg.org/ffmpeg/trunk