Home | History | Annotate | Download | only in libtests

Lines Matching defs:rowbytes

249 set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth,
260 if (offset < rowbytes && (bit_depth < 16 || offset+1 < rowbytes))
310 generate_row(png_bytep row, size_t rowbytes, unsigned int y, int color_type,
335 set_value(row, rowbytes, x, bit_depth, luma, gamma_table, conv);
350 set_value(row, rowbytes, 2*x, bit_depth,
353 set_value(row, rowbytes, 2*x+1, bit_depth, alpha, gamma_table,
381 set_value(row, rowbytes, 3*x+0, bit_depth, /* red */ Y,
383 set_value(row, rowbytes, 3*x+1, bit_depth, /* green */
386 set_value(row, rowbytes, 3*x+2, bit_depth, /* blue */
417 set_value(row, rowbytes, 4*x+0, bit_depth, /* red */
420 set_value(row, rowbytes, 4*x+1, bit_depth, /* green */
423 set_value(row, rowbytes, 4*x+2, bit_depth, /* blue */
426 set_value(row, rowbytes, 4*x+3, bit_depth, /* alpha */
443 memset(row, 0, rowbytes);
455 set_value(row, rowbytes, x, bit_depth, luma, gamma_table,
468 set_value(row, rowbytes, 2*x, bit_depth, luma, gamma_table,
470 set_value(row, rowbytes, 2*x+1, bit_depth, alpha, gamma_table,
485 set_value(row, rowbytes, 3*x+0, bit_depth, red, gamma_table,
487 set_value(row, rowbytes, 3*x+1, bit_depth, green, gamma_table,
489 set_value(row, rowbytes, 3*x+2, bit_depth, blue, gamma_table,
505 set_value(row, rowbytes, 4*x+0, bit_depth, red, gamma_table,
507 set_value(row, rowbytes, 4*x+1, bit_depth, green, gamma_table,
509 set_value(row, rowbytes, 4*x+2, bit_depth, blue, gamma_table,
511 rowbytes, 4*x+3, bit_depth, alpha, gamma_table,
687 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr);
689 row = malloc(rowbytes);
700 generate_row(row, rowbytes, y, color_type, bit_depth,