Home | History | Annotate | Download | only in libpng

Lines Matching refs:bytes_to_copy

3304          unsigned int bytes_to_copy, bytes_to_jump;
3332 bytes_to_copy = (1<<((6-pass)>>1)) * pixel_depth;
3335 if (bytes_to_copy > row_width)
3336 bytes_to_copy = (unsigned int)/*SAFE*/row_width;
3340 bytes_to_copy = pixel_depth;
3346 * depending on the value of 'bytes_to_copy'. Special case the low
3353 switch (bytes_to_copy)
3410 * wide bytes_to_copy either - use the memcpy there.
3412 if (bytes_to_copy < 16 /*else use memcpy*/ &&
3415 bytes_to_copy % (sizeof (png_uint_16)) == 0 &&
3423 bytes_to_copy % (sizeof (png_uint_32)) == 0 &&
3429 size_t skip = (bytes_to_jump-bytes_to_copy) /
3434 size_t c = bytes_to_copy;
3449 while (bytes_to_copy <= row_width);
3471 size_t skip = (bytes_to_jump-bytes_to_copy) /
3476 size_t c = bytes_to_copy;
3491 while (bytes_to_copy <= row_width);
3493 /* End of row - 1 byte left, bytes_to_copy > row_width: */
3507 memcpy(dp, sp, bytes_to_copy);
3515 if (bytes_to_copy > row_width)
3516 bytes_to_copy = (unsigned int)/*SAFE*/row_width;