summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_motion.c
Commit message (Collapse)AuthorAgeFilesLines
* mpegvideo: Use hpeldsp instead of dsputil for half-pel functionsRonald S. Bultje2013-04-191-4/+4
| | | | | | This also converts vc1, since that is mpegvideo-based. Signed-off-by: Martin Storsjö <martin@martin.st>
* h261: Move function declarations to h261.hDiego Biurrun2013-04-051-0/+1
|
* lavc decoders: work with refcounted frames.Anton Khirnov2013-03-081-1/+1
|
* dsputil: Move LOCAL_ALIGNED macros to libavutilDiego Biurrun2013-02-081-0/+2
|
* lavc: introduce VideoDSPContextRonald S. Bultje2012-12-201-15/+15
| | | | | | | | Move some functions from dsputil. The idea is that videodsp contains functions that are useful for a large and varied set of video decoders. Currently, it contains emulated_edge_mc() and prefetch(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mpegvideo: simplify dxy calculation in hpel_motion()Mans Rullgard2012-11-231-6/+5
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* h263: avoid memcpys over array bound in motion vector caching for obmcJanne Grunau2012-10-261-13/+21
| | | | Fixes CID602232.
* mpegvideo: drop unnecessary arguments to hpel_motion()Mans Rullgard2012-09-161-24/+15
| | | | | | | These arguments are either constants or copies of MpegEncContext fields just as easily accessed within the function. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: drop 'inline' from some functionsMans Rullgard2012-09-161-11/+12
| | | | | | | These functions do not benefit from being inlined. They are large, and there are no opportunities for constant propagation. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: reduce excessive inlining of mpeg_motion()Mans Rullgard2012-08-091-25/+42
| | | | | | | | | The main benefit of inlining this function is from constant propagation for the 'field_based' argument. Instead of inlining all calls, create two versions of the function for field_based values of 0 and 1. Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: convert mpegvideo_common.h to a .c fileMans Rullgard2012-08-091-0/+875
This file defines a single, huge function, MPV_motion(), which although being declared inline is not actually inlined by the compiler (for good reason). There is thus no sense in defining this function in a header file, resulting in multiple copies of it in the final library. Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud