Home
last modified time | relevance | path

Searched refs:image_bytes (Results 1 – 5 of 5) 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/opencv3/modules/videoio/src/
Dcap_dc1394_v2.cpp105 out->image_bytes = (out->size[0] * out->size[1] * bpp) / 8; in adaptBufferStereoLocal()
108 out->total_bytes = out->image_bytes + out->padding_bytes; in adaptBufferStereoLocal()
129 memcpy(&(out->image[out->image_bytes]), &(in->image[in->image_bytes]), out->padding_bytes); in adaptBufferStereoLocal()
154 memcpy(out->image, in->image, out->image_bytes); in dc1394_deinterlace_stereo_frames_fixed()
/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.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()