Revision 92db6235 libswscale/swscale_internal.h

View differences:

libswscale/swscale_internal.h
166 166
#define Y_TEMP                "11*8+4*4*256*2+40"
167 167
#define ALP_MMX_FILTER_OFFSET "11*8+4*4*256*2+48"
168 168

  
169
    uint64_t redDither   __attribute__((aligned(8)));
170
    uint64_t greenDither __attribute__((aligned(8)));
171
    uint64_t blueDither  __attribute__((aligned(8)));
172

  
173
    uint64_t yCoeff      __attribute__((aligned(8)));
174
    uint64_t vrCoeff     __attribute__((aligned(8)));
175
    uint64_t ubCoeff     __attribute__((aligned(8)));
176
    uint64_t vgCoeff     __attribute__((aligned(8)));
177
    uint64_t ugCoeff     __attribute__((aligned(8)));
178
    uint64_t yOffset     __attribute__((aligned(8)));
179
    uint64_t uOffset     __attribute__((aligned(8)));
180
    uint64_t vOffset     __attribute__((aligned(8)));
169
    DECLARE_ALIGNED(8, uint64_t, redDither);
170
    DECLARE_ALIGNED(8, uint64_t, greenDither);
171
    DECLARE_ALIGNED(8, uint64_t, blueDither);
172

  
173
    DECLARE_ALIGNED(8, uint64_t, yCoeff);
174
    DECLARE_ALIGNED(8, uint64_t, vrCoeff);
175
    DECLARE_ALIGNED(8, uint64_t, ubCoeff);
176
    DECLARE_ALIGNED(8, uint64_t, vgCoeff);
177
    DECLARE_ALIGNED(8, uint64_t, ugCoeff);
178
    DECLARE_ALIGNED(8, uint64_t, yOffset);
179
    DECLARE_ALIGNED(8, uint64_t, uOffset);
180
    DECLARE_ALIGNED(8, uint64_t, vOffset);
181 181
    int32_t  lumMmxFilter[4*MAX_FILTER_SIZE];
182 182
    int32_t  chrMmxFilter[4*MAX_FILTER_SIZE];
183 183
    int dstW;
184
    uint64_t esp          __attribute__((aligned(8)));
185
    uint64_t vRounder     __attribute__((aligned(8)));
186
    uint64_t u_temp       __attribute__((aligned(8)));
187
    uint64_t v_temp       __attribute__((aligned(8)));
188
    uint64_t y_temp       __attribute__((aligned(8)));
184
    DECLARE_ALIGNED(8, uint64_t, esp);
185
    DECLARE_ALIGNED(8, uint64_t, vRounder);
186
    DECLARE_ALIGNED(8, uint64_t, u_temp);
187
    DECLARE_ALIGNED(8, uint64_t, v_temp);
188
    DECLARE_ALIGNED(8, uint64_t, y_temp);
189 189
    int32_t  alpMmxFilter[4*MAX_FILTER_SIZE];
190 190

  
191 191
#if HAVE_ALTIVEC
......
200 200
#endif
201 201

  
202 202
#if ARCH_BFIN
203
    uint32_t oy           __attribute__((aligned(4)));
204
    uint32_t oc           __attribute__((aligned(4)));
205
    uint32_t zero         __attribute__((aligned(4)));
206
    uint32_t cy           __attribute__((aligned(4)));
207
    uint32_t crv          __attribute__((aligned(4)));
208
    uint32_t rmask        __attribute__((aligned(4)));
209
    uint32_t cbu          __attribute__((aligned(4)));
210
    uint32_t bmask        __attribute__((aligned(4)));
211
    uint32_t cgu          __attribute__((aligned(4)));
212
    uint32_t cgv          __attribute__((aligned(4)));
213
    uint32_t gmask        __attribute__((aligned(4)));
203
    DECLARE_ALIGNED(4, uint32_t, oy);
204
    DECLARE_ALIGNED(4, uint32_t, oc);
205
    DECLARE_ALIGNED(4, uint32_t, zero);
206
    DECLARE_ALIGNED(4, uint32_t, cy);
207
    DECLARE_ALIGNED(4, uint32_t, crv);
208
    DECLARE_ALIGNED(4, uint32_t, rmask);
209
    DECLARE_ALIGNED(4, uint32_t, cbu);
210
    DECLARE_ALIGNED(4, uint32_t, bmask);
211
    DECLARE_ALIGNED(4, uint32_t, cgu);
212
    DECLARE_ALIGNED(4, uint32_t, cgv);
213
    DECLARE_ALIGNED(4, uint32_t, gmask);
214 214
#endif
215 215

  
216 216
#if HAVE_VIS
217
    uint64_t sparc_coeffs[10] __attribute__((aligned(8)));
217
    DECLARE_ALIGNED(8, uint64_t, sparc_coeffs[10]);
218 218
#endif
219 219

  
220 220
    /* function pointers for swScale() */

Also available in: Unified diff