summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo_motion.c
Commit message (Collapse)AuthorAge
* mpegvideo: reduce excessive inlining of mpeg_motion()Mans Rullgard2012-08-09
| | | | | | | | | 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-09
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>