Revision 2816ce4c libswscale/yuv2rgb_template.c

View differences:

libswscale/yuv2rgb_template.c
162 162
        "add $"AV_STRINGIFY(depth*8)", %1    \n\t" \
163 163
        "add                       $4, %0    \n\t" \
164 164
        " js                       1b        \n\t" \
165
\
165

  
166
#define YUV2RGB_OPERANDS \
166 167
        : "+r" (index), "+r" (image) \
167 168
        : "r" (pu - index), "r" (pv - index), "r"(&c->redDither), "r" (py - 2*index) \
168 169
        ); \
......
223 224
        MOVNTQ "   %%mm5, 8 (%1);" /* store pixel 4-7 */
224 225

  
225 226
    YUV2RGB_ENDLOOP(2)
227
    YUV2RGB_OPERANDS
226 228
}
227 229

  
228 230
static inline int RENAME(yuv420_rgb15)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
......
280 282
        MOVNTQ " %%mm5, 8 (%1);" /* store pixel 4-7 */
281 283

  
282 284
    YUV2RGB_ENDLOOP(2)
285
    YUV2RGB_OPERANDS
283 286
}
284 287

  
285 288
static inline int RENAME(yuv420_rgb24)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
......
394 397
#endif
395 398

  
396 399
    YUV2RGB_ENDLOOP(3)
400
    YUV2RGB_OPERANDS
397 401
}
398 402

  
399 403
#define RGB_PLANAR2PACKED32                                             \
......
450 454
        RGB_PLANAR2PACKED32
451 455

  
452 456
    YUV2RGB_ENDLOOP(4)
457
    YUV2RGB_OPERANDS
453 458
}

Also available in: Unified diff