Commit 3dcaf734 authored by frkoenig@google.com's avatar frkoenig@google.com

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
parent 3c0099d0
...@@ -510,7 +510,7 @@ void FastConvertYUV444ToRGB32Row(const uint8* y_buf, ...@@ -510,7 +510,7 @@ void FastConvertYUV444ToRGB32Row(const uint8* y_buf,
uint8 u = u_buf[x]; uint8 u = u_buf[x];
uint8 v = v_buf[x]; uint8 v = v_buf[x];
uint8 y = y_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. rgb_buf += 4; // Advance 1 pixel.
} }
} }
...@@ -520,7 +520,7 @@ void FastConvertYToRGB32Row(const uint8* y_buf, ...@@ -520,7 +520,7 @@ void FastConvertYToRGB32Row(const uint8* y_buf,
int width) { int width) {
for (int x = 0; x < width; ++x) { for (int x = 0; x < width; ++x) {
uint8 y = y_buf[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. rgb_buf += 4; // Advance 1 pixel.
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment