comparison h264.c @ 8955:e03f0d4f9e3d libavcodec

cosmetics: 'void/int inline' --> 'inline void/int' to avoid warnings of the type "'inline' is not at beginning of declaration" with -Wextra.
author diego
date Tue, 17 Feb 2009 12:11:46 +0000
parents a79f5a6fd15a
children de631175196e
comparison
equal deleted inserted replaced
8954:409d20e15da8 8955:e03f0d4f9e3d
6264 #undef FILTER 6264 #undef FILTER
6265 } 6265 }
6266 } 6266 }
6267 6267
6268 6268
6269 static void av_always_inline filter_mb_dir(H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int mb_xy, int mb_type, int mvy_limit, int first_vertical_edge_done, int dir) { 6269 static av_always_inline void filter_mb_dir(H264Context *h, int mb_x, int mb_y, uint8_t *img_y, uint8_t *img_cb, uint8_t *img_cr, unsigned int linesize, unsigned int uvlinesize, int mb_xy, int mb_type, int mvy_limit, int first_vertical_edge_done, int dir) {
6270 MpegEncContext * const s = &h->s; 6270 MpegEncContext * const s = &h->s;
6271 int edge; 6271 int edge;
6272 const int mbm_xy = dir == 0 ? mb_xy -1 : h->top_mb_xy; 6272 const int mbm_xy = dir == 0 ? mb_xy -1 : h->top_mb_xy;
6273 const int mbm_type = s->current_picture.mb_type[mbm_xy]; 6273 const int mbm_type = s->current_picture.mb_type[mbm_xy];
6274 int (*ref2frm) [64] = h->ref2frm[ h->slice_num &(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2); 6274 int (*ref2frm) [64] = h->ref2frm[ h->slice_num &(MAX_SLICES-1) ][0] + (MB_MBAFF ? 20 : 2);