Home | History | Annotate | Download | only in pngminus

Lines Matching defs:channels

212   int           channels=0;
351 /* calculate the number of channels and store alpha-presence */
353 channels = 1;
355 channels = 2;
357 channels = 3;
359 channels = 4;
362 channels = 0; /* cannot happen */
365 alpha_present = (channels - 1) % 2;
369 /* row data is as many bytes as can fit width x channels x bit_depth */
370 row_bytes = (width * channels * bit_depth + 7) / 8;
373 /* row_bytes is the width x number of channels x (bit-depth / 8) */
374 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2);
395 for (i = 0; i < (channels - alpha_present); i++)