Lines Matching refs:size_max
314 png_uint_32 size_max = image_size_of_type(color_type, bit_depth, colors)-1; in generate_row() local
325 png_uint_32 base = 2*size_max - abs(2*y-size_max); in generate_row()
327 for (x=0; x<=size_max; ++x) in generate_row()
329 png_uint_32 luma = base - abs(2*x-size_max); in generate_row()
334 luma = (luma*depth_max + size_max) / (2*size_max); in generate_row()
345 png_uint_32 alpha = (depth_max * y * 2 + size_max) / (2 * size_max); in generate_row()
348 for (x=0; x<=size_max; ++x) in generate_row()
351 (depth_max * x * 2 + size_max) / (2 * size_max), gamma_table, in generate_row()
369 png_uint_32 Y = (depth_max * y * 2 + size_max) / (2 * size_max); in generate_row()
379 for (x=0; x<=size_max; ++x) in generate_row()
384 (depth_max * x * 2 + size_max) / (2 * size_max), in generate_row()
387 (Y * x * 2 + size_max) / (2 * size_max), in generate_row()
404 png_uint_32 Y = (depth_max * y * 2 + size_max) / (2 * size_max); in generate_row()
415 for (x=0; x<=size_max; ++x) in generate_row()
418 ((depth_max-Y) * x * 2 + size_max) / (2 * size_max), in generate_row()
421 (Y * x * 2 + size_max) / (2 * size_max), in generate_row()
424 Y - (Y * x * 2 + size_max) / (2 * size_max), in generate_row()
427 Y + ((depth_max-Y) * x * 2 + size_max) / (2 * size_max), in generate_row()
454 for (x=0; x<=size_max; ++x) in generate_row()
466 for (x=0; x<size_max; ++x) in generate_row()
483 for (x=0; x<=size_max; ++x) in generate_row()
503 for (x=0; x<=size_max; ++x) in generate_row()