Searched refs:image_bytes (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/glx/
H A Dindirect_texture_compression.c48 size_t image_bytes; local
56 image_bytes = reply.width;
57 assert(image_bytes <= ((4 * reply.length) - 0));
58 assert(image_bytes >= ((4 * reply.length) - 3));
60 if (image_bytes != 0) {
61 _XRead(dpy, (char *) img, image_bytes);
62 if (image_bytes < (4 * reply.length)) {
63 _XEatData(dpy, (4 * reply.length) - image_bytes);
/external/mesa3d/src/glx/
H A Dindirect_texture_compression.c48 size_t image_bytes; local
56 image_bytes = reply.width;
57 assert(image_bytes <= ((4 * reply.length) - 0));
58 assert(image_bytes >= ((4 * reply.length) - 3));
60 if (image_bytes != 0) {
61 _XRead(dpy, (char *) img, image_bytes);
62 if (image_bytes < (4 * reply.length)) {
63 _XEatData(dpy, (4 * reply.length) - image_bytes);
/external/chromium_org/components/enhanced_bookmarks/
H A Dpersistent_image_store.cc109 scoped_refptr<base::RefCountedMemory> image_bytes = local
113 if (!image_bytes.get())
114 image_bytes = enhanced_bookmarks::BytesForImage(gfx::Image());
116 CHECK(image_bytes.get());
118 statement.BindBlob(2, image_bytes->front(), (int)image_bytes->size());
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dextension_icon_source.cc45 base::RefCountedBytes* image_bytes = new base::RefCountedBytes; local
46 gfx::PNGCodec::EncodeBGRASkBitmap(*image, false, &image_bytes->data());
47 return image_bytes;
/external/libpng/contrib/gregbook/
H A Dwpng.c705 ulg image_bytes = rowbytes * wpng_info.height; /* overflow? */ local
707 wpng_info.image_data = (uch *)malloc(image_bytes);
717 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile);
718 if (bytes != image_bytes) {
720 image_bytes, bytes);
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dgraw_util.h225 const int image_bytes = row_stride * height; local
254 image_bytes);
/external/mesa3d/src/gallium/tests/graw/
H A Dgraw_util.h225 const int image_bytes = row_stride * height; local
254 image_bytes);
/external/libpng/contrib/tools/
H A Dpngfix.c851 udigit image_bytes[5]; member in struct:file
1409 /* Fill in the image_bytes field given the IHDR information, calls stop on
1492 /* Add row_bytes * pass-height to the file image_bytes field
1494 image_digits = uarb_mult32(file->image_bytes, image_digits,
1515 /* Set row_bytes * image-height to the file image_bytes field */
1516 file->image_digits = uarb_mult32(file->image_bytes, 0,
1970 cmp = uarb_cmp(file->image_bytes, file->image_digits,

Completed in 3260 milliseconds