mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-05 20:33:24 +03:00
Corrected comment
This commit is contained in:
parent
e29c0a511a
commit
64f992e7fc
|
@ -245,7 +245,7 @@ packLA(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
static void
|
static void
|
||||||
packRG(UINT8 *out, const UINT8 *in, int pixels) {
|
packRG(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
int i;
|
int i;
|
||||||
/* LA, pixel interleaved */
|
/* RG, pixel interleaved */
|
||||||
for (i = 0; i < pixels; i++) {
|
for (i = 0; i < pixels; i++) {
|
||||||
out[0] = in[R];
|
out[0] = in[R];
|
||||||
out[1] = in[G];
|
out[1] = in[G];
|
||||||
|
|
|
@ -429,7 +429,7 @@ unpackLA(UINT8 *_out, const UINT8 *in, int pixels) {
|
||||||
static void
|
static void
|
||||||
unpackRG(UINT8 *_out, const UINT8 *in, int pixels) {
|
unpackRG(UINT8 *_out, const UINT8 *in, int pixels) {
|
||||||
int i;
|
int i;
|
||||||
/* LA, pixel interleaved */
|
/* RG, pixel interleaved */
|
||||||
for (i = 0; i < pixels; i++) {
|
for (i = 0; i < pixels; i++) {
|
||||||
_out[R] = in[0];
|
_out[R] = in[0];
|
||||||
_out[G] = in[1];
|
_out[G] = in[1];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user