Mercurial > libavcodec.hg
comparison motion_est_template.c @ 5083:ce36118abbbb libavcodec
rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM
author | benoit |
---|---|
date | Wed, 30 May 2007 09:32:25 +0000 |
parents | efeca638ad20 |
children | 2b72f9bc4f06 |
comparison
equal
deleted
inserted
replaced
5082:176ac8353f48 | 5083:ce36118abbbb |
---|---|
25 * Motion estimation template. | 25 * Motion estimation template. |
26 */ | 26 */ |
27 | 27 |
28 //lets hope gcc will remove the unused vars ...(gcc 3.2.2 seems to do it ...) | 28 //lets hope gcc will remove the unused vars ...(gcc 3.2.2 seems to do it ...) |
29 #define LOAD_COMMON\ | 29 #define LOAD_COMMON\ |
30 uint32_t attribute_unused * const score_map= c->score_map;\ | 30 uint32_t av_unused * const score_map= c->score_map;\ |
31 const int attribute_unused xmin= c->xmin;\ | 31 const int av_unused xmin= c->xmin;\ |
32 const int attribute_unused ymin= c->ymin;\ | 32 const int av_unused ymin= c->ymin;\ |
33 const int attribute_unused xmax= c->xmax;\ | 33 const int av_unused xmax= c->xmax;\ |
34 const int attribute_unused ymax= c->ymax;\ | 34 const int av_unused ymax= c->ymax;\ |
35 uint8_t *mv_penalty= c->current_mv_penalty;\ | 35 uint8_t *mv_penalty= c->current_mv_penalty;\ |
36 const int pred_x= c->pred_x;\ | 36 const int pred_x= c->pred_x;\ |
37 const int pred_y= c->pred_y;\ | 37 const int pred_y= c->pred_y;\ |
38 | 38 |
39 #define CHECK_HALF_MV(dx, dy, x, y)\ | 39 #define CHECK_HALF_MV(dx, dy, x, y)\ |