Fix calling parameters for YuvPixel.

YUVPixel did not have all the requisite parameters.
Review URL: http://webrtc-codereview.appspot.com/244005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@35 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
frkoenig@google.com 2011-10-20 23:42:36 +00:00
parent 3c0099d09a
commit 3dcaf7341c

View File

@ -510,7 +510,7 @@ void FastConvertYUV444ToRGB32Row(const uint8* y_buf,
uint8 u = u_buf[x];
uint8 v = v_buf[x];
uint8 y = y_buf[x];
YuvPixel(y, u, v, rgb_buf);
YuvPixel(y, u, v, rgb_buf, 24, 16, 8, 0);
rgb_buf += 4; // Advance 1 pixel.
}
}
@ -520,7 +520,7 @@ void FastConvertYToRGB32Row(const uint8* y_buf,
int width) {
for (int x = 0; x < width; ++x) {
uint8 y = y_buf[x];
YuvPixel(y, 128, 128, rgb_buf);
YuvPixel(y, 128, 128, rgb_buf, 24, 16, 8, 0);
rgb_buf += 4; // Advance 1 pixel.
}
}