Home
last modified time | relevance | path

Searched refs:image_bytes (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/glx/
Dindirect_texture_compression.c48 size_t image_bytes; in __indirect_glGetCompressedTexImageARB() local
56 image_bytes = reply.width; in __indirect_glGetCompressedTexImageARB()
57 assert(image_bytes <= ((4 * reply.length) - 0)); in __indirect_glGetCompressedTexImageARB()
58 assert(image_bytes >= ((4 * reply.length) - 3)); in __indirect_glGetCompressedTexImageARB()
60 if (image_bytes != 0) { in __indirect_glGetCompressedTexImageARB()
61 _XRead(dpy, (char *) img, image_bytes); in __indirect_glGetCompressedTexImageARB()
62 if (image_bytes < (4 * reply.length)) { in __indirect_glGetCompressedTexImageARB()
63 _XEatData(dpy, (4 * reply.length) - image_bytes); in __indirect_glGetCompressedTexImageARB()
/external/libpng/contrib/gregbook/
Dwpng.c705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */ in main() local
707 wpng_info.image_data = (uch *)malloc(image_bytes); in main()
717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); in main()
718 if (bytes != image_bytes) { in main()
720 image_bytes, bytes); in main()
/external/mesa3d/src/gallium/tests/graw/
Dgraw_util.h225 const int image_bytes = row_stride * height; in graw_util_create_tex2d() local
254 image_bytes); in graw_util_create_tex2d()
/external/libpng/contrib/tools/
Dpngfix.c851 udigit image_bytes[5]; member
1494 image_digits = uarb_mult32(file->image_bytes, image_digits, in calc_image_size()
1516 file->image_digits = uarb_mult32(file->image_bytes, 0, in calc_image_size()
1970 cmp = uarb_cmp(file->image_bytes, file->image_digits, in process_IDAT()