mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-05 12:23:18 +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
|
||||
packRG(UINT8 *out, const UINT8 *in, int pixels) {
|
||||
int i;
|
||||
/* LA, pixel interleaved */
|
||||
/* RG, pixel interleaved */
|
||||
for (i = 0; i < pixels; i++) {
|
||||
out[0] = in[R];
|
||||
out[1] = in[G];
|
||||
|
|
|
@ -429,7 +429,7 @@ unpackLA(UINT8 *_out, const UINT8 *in, int pixels) {
|
|||
static void
|
||||
unpackRG(UINT8 *_out, const UINT8 *in, int pixels) {
|
||||
int i;
|
||||
/* LA, pixel interleaved */
|
||||
/* RG, pixel interleaved */
|
||||
for (i = 0; i < pixels; i++) {
|
||||
_out[R] = in[0];
|
||||
_out[G] = in[1];
|
||||
|
|
Loading…
Reference in New Issue
Block a user