mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-01 02:13:11 +03:00
Fix some comments
This commit is contained in:
parent
c1e2700442
commit
82b7b8a9ee
|
@ -339,7 +339,7 @@ ImagingPackXBGR(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
void
|
void
|
||||||
ImagingPackBGRA(UINT8 *out, const UINT8 *in, int pixels) {
|
ImagingPackBGRA(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
int i;
|
int i;
|
||||||
/* BGRX, reversed bytes with right padding */
|
/* BGRA, reversed bytes with right alpha */
|
||||||
for (i = 0; i < pixels; i++) {
|
for (i = 0; i < pixels; i++) {
|
||||||
out[0] = in[B];
|
out[0] = in[B];
|
||||||
out[1] = in[G];
|
out[1] = in[G];
|
||||||
|
@ -353,7 +353,7 @@ ImagingPackBGRA(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
void
|
void
|
||||||
ImagingPackABGR(UINT8 *out, const UINT8 *in, int pixels) {
|
ImagingPackABGR(UINT8 *out, const UINT8 *in, int pixels) {
|
||||||
int i;
|
int i;
|
||||||
/* XBGR, reversed bytes with left padding */
|
/* ABGR, reversed bytes with left alpha */
|
||||||
for (i = 0; i < pixels; i++) {
|
for (i = 0; i < pixels; i++) {
|
||||||
out[0] = in[A];
|
out[0] = in[A];
|
||||||
out[1] = in[B];
|
out[1] = in[B];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user