summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* 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
* Use two separate memory arguments since 8+() is invalid gas syntaxDavid Conrad2010-01-21
| | | | Originally committed as revision 21360 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Always call avcodec_thread_init()Måns Rullgård2010-01-20
| | | | | | | | | The various avcodec_thread_init() functions are updated to return immediately after setting avctx->thread_count. This allows -threads 0 to pass through to codecs. It also simplifies the usage for apps using libavcodec. Originally committed as revision 21358 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Attempt to fix asm compilation failure.Michael Niedermayer2010-01-20
| | | | | | Only tested on gcc 4 & x86_64. Originally committed as revision 21355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H264 DXVA2 implementationLaurent Aimar2010-01-20
| | | | | | | | | | | | | | It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under VISTA and Windows 7). It is implemented by using AVHWAccel API. It has been tested successfully for some time in VLC using an nvidia card on Windows 7. To compile it, you need to have the system header dxva2api.h (either from microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h) The generated libavcodec.dll does not depend directly on any new lib as the necessary objects are given by the application using FFmpeg. Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move COPY3_IF_LT to lavc/mathops.hMåns Rullgård2010-01-20
| | | | | | | | This obscure macro is only used in motion_est.c so having it in lavc makes more sense. See discussion here: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-November/056561.html Originally committed as revision 21346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* H.264: Declare bS with DECLARE_ALIGNED_8 for uint64_t casts.Alexander Strange2010-01-20
| | | | Originally committed as revision 21345 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify/Optimize another of the mbaff loop filter cases.Michael Niedermayer2010-01-20
| | | | | | Its faster but too rarely used to make a differnce. Originally committed as revision 21344 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Only calculate the second chroma qp if it differs from the firstin the mainMichael Niedermayer2010-01-20
| | | | | | loop filter. (a little faster for the common case where they are equal) Originally committed as revision 21342 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set bS with 64bits at a time.Michael Niedermayer2010-01-20
| | | | Originally committed as revision 21341 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge multiple IS_* macro uses where possible.Michael Niedermayer2010-01-20
| | | | Originally committed as revision 21340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify and optimize intra code in h264_loopfilter.cMichael Niedermayer2010-01-20
| | | | Originally committed as revision 21339 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Floating point discrete cosine transformVitor Sessak2010-01-20
| | | | Originally committed as revision 21338 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use constant offsets for memory operands since gcc is unable toDavid Conrad2010-01-20
| | | | | | This fixes gcc failing to fit 6 memory locations into 7 registers on x86-32 Originally committed as revision 21337 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sightly simplify initialization of int start.Michael Niedermayer2010-01-20
| | | | | | No real speed change. Originally committed as revision 21336 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark the h264 c loop filter as av_always_inline av_flatten to make sure itsMichael Niedermayer2010-01-19
| | | | | | | all inlined, its small and horizontal & vertical versions are build out of them. no change as gcc already did this. Originally committed as revision 21333 to svn://svn.ffmpeg.org/ffmpeg/trunk
* skip outer pixels if possible in h264_loop_filter_luma_c().Michael Niedermayer2010-01-19
| | | | | | overall 3.7% faster loop filtering (C version only) Originally committed as revision 21332 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reenable ff_h264_filter_mb_fast() for all slices it supported before.Michael Niedermayer2010-01-19
| | | | Originally committed as revision 21328 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix h264_loop_filter_strength_mmx2() so it works with b frames.Michael Niedermayer2010-01-19
| | | | Originally committed as revision 21327 to svn://svn.ffmpeg.org/ffmpeg/trunk