sws:ix yuv2rgb48_1_c_template()

This commit is contained in:
Michael Niedermayer 2011-07-02 23:30:14 +02:00
parent ae05dd8731
commit 9470205414
1 changed files with 2 additions and 2 deletions

View File

@ -1027,8 +1027,8 @@ yuv2rgb48_1_c_template(SwsContext *c, const int32_t *buf0,
for (i = 0; i < (dstW >> 1); i++) {
int Y1 = (buf0[i * 2] ) >> 2;
int Y2 = (buf0[i * 2 + 1]) >> 2;
int U = (ubuf0[i] + ubuf1[i] + (-128 << 11)) >> 3;
int V = (vbuf0[i] + vbuf1[i] + (-128 << 11)) >> 3;
int U = (ubuf0[i] + ubuf1[i] + (-128 << 12)) >> 3;
int V = (vbuf0[i] + vbuf1[i] + (-128 << 12)) >> 3;
int R, G, B;
Y1 -= c->yuv2rgb_y_offset;