Skip to content

Commit

Permalink
Merge pull request #44 from jsorg71/yuv1
Browse files Browse the repository at this point in the history
fix yuv typo
  • Loading branch information
jsorg71 authored Apr 24, 2019
2 parents ef68593 + c9315f4 commit c06a2d1
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/rfxencode_rgb_to_yuv.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ rfx_encode_format_rgb(const char *rgb_data, int width, int height,
}
while (x < 64)
{
*lr_buf++ = r;
*lb_buf++ = b;
*lg_buf++ = g;
*lb_buf++ = r;
*lr_buf++ = r;
x++;
}
}
Expand Down Expand Up @@ -155,9 +155,9 @@ rfx_encode_format_rgb(const char *rgb_data, int width, int height,
}
while (x < 64)
{
*lr_buf++ = r;
*lg_buf++ = g;
*lb_buf++ = b;
*lg_buf++ = g;
*lr_buf++ = r;
x++;
}
}
Expand Down Expand Up @@ -257,10 +257,10 @@ rfx_encode_format_argb(const char *argb_data, int width, int height,
}
while (x < 64)
{
*la_buf++ = a;
*lr_buf++ = r;
*lb_buf++ = b;
*lg_buf++ = g;
*lb_buf++ = r;
*lr_buf++ = r;
*la_buf++ = a;
x++;
}
}
Expand Down Expand Up @@ -298,10 +298,10 @@ rfx_encode_format_argb(const char *argb_data, int width, int height,
}
while (x < 64)
{
*la_buf++ = a;
*lr_buf++ = r;
*lg_buf++ = g;
*lb_buf++ = b;
*la_buf++ = a;
x++;
}
}
Expand Down Expand Up @@ -336,9 +336,9 @@ rfx_encode_format_argb(const char *argb_data, int width, int height,
}
while (x < 64)
{
*lr_buf++ = r;
*lg_buf++ = g;
*lb_buf++ = b;
*lg_buf++ = g;
*lr_buf++ = r;
x++;
}
}
Expand Down

0 comments on commit c06a2d1

Please sign in to comment.