comparison imgresample.c @ 3089:072dbc669253 libavcodec

MSVC-compatible __align8/__align16 declaration patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr
author diego
date Sun, 05 Feb 2006 13:35:17 +0000
parents 0b546eab515d
children ad3d12d04645
comparison
equal deleted inserted replaced
3088:03582724f3de 3089:072dbc669253
48 int iwidth, iheight, owidth, oheight; 48 int iwidth, iheight, owidth, oheight;
49 int topBand, bottomBand, leftBand, rightBand; 49 int topBand, bottomBand, leftBand, rightBand;
50 int padtop, padbottom, padleft, padright; 50 int padtop, padbottom, padleft, padright;
51 int pad_owidth, pad_oheight; 51 int pad_owidth, pad_oheight;
52 int h_incr, v_incr; 52 int h_incr, v_incr;
53 int16_t h_filters[NB_PHASES][NB_TAPS] __align8; /* horizontal filters */ 53 DECLARE_ALIGNED_8(int16_t, h_filters[NB_PHASES][NB_TAPS]); /* horizontal filters */
54 int16_t v_filters[NB_PHASES][NB_TAPS] __align8; /* vertical filters */ 54 DECLARE_ALIGNED_8(int16_t, v_filters[NB_PHASES][NB_TAPS]); /* vertical filters */
55 uint8_t *line_buf; 55 uint8_t *line_buf;
56 }; 56 };
57 57
58 void av_build_filter(int16_t *filter, double factor, int tap_count, int phase_count, int scale, int type); 58 void av_build_filter(int16_t *filter, double factor, int tap_count, int phase_count, int scale, int type);
59 59