summaryrefslogtreecommitdiff
path: root/src/lib/image.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-17 01:10:23 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-17 01:10:23 +0100
commit3e56e4126ec8199f15e03c213b37f39d72c27cc3 (patch)
tree02f6ed13350a990b05ee7fd026d9dd208320e178 /src/lib/image.cc
parent8cf1e8377506936224e8b26121680563d47682fe (diff)
tabs -> spaces.
Diffstat (limited to 'src/lib/image.cc')
-rw-r--r--src/lib/image.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/image.cc b/src/lib/image.cc
index f8dc111b0..bdf7fd173 100644
--- a/src/lib/image.cc
+++ b/src/lib/image.cc
@@ -243,13 +243,13 @@ void
Image::make_black ()
{
/* U/V black value for 8-bit colour */
- static uint8_t const eight_bit_uv = (1 << 7) - 1;
+ static uint8_t const eight_bit_uv = (1 << 7) - 1;
/* U/V black value for 9-bit colour */
- static uint16_t const nine_bit_uv = (1 << 8) - 1;
+ static uint16_t const nine_bit_uv = (1 << 8) - 1;
/* U/V black value for 10-bit colour */
- static uint16_t const ten_bit_uv = (1 << 9) - 1;
+ static uint16_t const ten_bit_uv = (1 << 9) - 1;
/* U/V black value for 16-bit colour */
- static uint16_t const sixteen_bit_uv = (1 << 15) - 1;
+ static uint16_t const sixteen_bit_uv = (1 << 15) - 1;
switch (_pixel_format) {
case PIX_FMT_YUV420P:
@@ -305,9 +305,9 @@ Image::make_black ()
for (int y = 0; y < Y; ++y) {
for (int x = 0; x < X / 4; ++x) {
*p++ = eight_bit_uv; // Cb
- *p++ = 0; // Y0
+ *p++ = 0; // Y0
*p++ = eight_bit_uv; // Cr
- *p++ = 0; // Y1
+ *p++ = 0; // Y1
}
}
break;