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_glGetCompressedTexImage() local
56 image_bytes = reply.width; in __indirect_glGetCompressedTexImage()
57 assert(image_bytes <= ((4 * reply.length) - 0)); in __indirect_glGetCompressedTexImage()
58 assert(image_bytes >= ((4 * reply.length) - 3)); in __indirect_glGetCompressedTexImage()
60 if (image_bytes != 0) { in __indirect_glGetCompressedTexImage()
61 _XRead(dpy, (char *) img, image_bytes); in __indirect_glGetCompressedTexImage()
62 if (image_bytes < (4 * reply.length)) { in __indirect_glGetCompressedTexImage()
63 _XEatData(dpy, (4 * reply.length) - image_bytes); in __indirect_glGetCompressedTexImage()
/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.h224 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.c857 udigit image_bytes[5]; member
1500 image_digits = uarb_mult32(file->image_bytes, image_digits, in calc_image_size()
1522 file->image_digits = uarb_mult32(file->image_bytes, 0, in calc_image_size()
1976 cmp = uarb_cmp(file->image_bytes, file->image_digits, in process_IDAT()