/external/chromium_org/cc/resources/ |
texture_uploader_unittest.cc | 76 unsigned int bytes_per_pixel = 0; variable 80 bytes_per_pixel = 1; 87 bytes_per_pixel = 3; 90 bytes_per_pixel = 2; 98 bytes_per_pixel = 4; 101 bytes_per_pixel = 2; 104 bytes_per_pixel = 2; 110 bytes_per_pixel = 1; 114 bytes_per_pixel = 2; 126 RoundUp(bytes_per_pixel * width, unpack_alignment_) [all...] |
texture_uploader.cc | 198 unsigned bytes_per_pixel = BitsPerPixel(format) / 8; local 202 RoundUp(bytes_per_pixel * source_rect.width(), 4u); 204 if (upload_image_stride == image_rect.width() * bytes_per_pixel && 206 pixel_source = &image[image_rect.width() * bytes_per_pixel * offset.y()]; 217 &image[bytes_per_pixel * 219 source_rect.width() * bytes_per_pixel); 253 unsigned bytes_per_pixel = BitsPerPixel(format) / 8; local 257 RoundUp(bytes_per_pixel * source_rect.width(), 4u); 276 if (upload_image_stride == image_rect.width() * bytes_per_pixel && 279 &image[image_rect.width() * bytes_per_pixel * offset.y()] [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
differ.h | 32 // and bytes_per_pixel. 33 Differ(int width, int height, int bytes_per_pixel, int stride); 38 int bytes_per_pixel() { return bytes_per_pixel_; } function in class:webrtc::Differ
|
/external/chromium_org/content/common/gpu/client/ |
gl_helper_readback_support.h | 23 // how it should be performed. The |format|, |type| and |bytes_per_pixel| are 34 size_t* bytes_per_pixel);
|
gl_helper.cc | 168 size_t bytes_per_pixel, 202 size_t* bytes_per_pixel); 348 void ReadbackDone(Request *request, int bytes_per_pixel); 471 size_t bytes_per_pixel, 482 bytes_per_pixel * dst_size.GetArea(), 501 request, bytes_per_pixel)); 514 size_t bytes_per_pixel; local 525 readback_color_type, true, &format, &type, &bytes_per_pixel); 595 : dst_size.width() * bytes_per_pixel; 603 bytes_per_pixel, 614 size_t bytes_per_pixel; local 643 size_t bytes_per_pixel; local 1292 size_t bytes_per_pixel; local 1311 size_t bytes_per_pixel; local [all...] |
gl_helper_readback_support.cc | 132 size_t* bytes_per_pixel) { 133 DCHECK(format && type && bytes_per_pixel); 134 *bytes_per_pixel = 4; 143 *bytes_per_pixel = 2;
|
/external/pixman/test/ |
pixel-test.c | 104 int bytes_per_pixel = PIXMAN_FORMAT_BPP (pixman_image_get_format (image)) / 8; local 108 switch (bytes_per_pixel) 136 int bytes_per_pixel; local 144 bytes_per_pixel = PIXMAN_FORMAT_BPP (image->bits.format) / 8; 147 location = (uint8_t *)image->bits.bits + y * stride + x * bytes_per_pixel; 149 if (bytes_per_pixel == 4) 151 else if (bytes_per_pixel == 2) 153 else if (bytes_per_pixel == 1)
|
/external/chromium_org/gpu/tools/compositor_model_bench/ |
render_model_utils.cc | 136 int bytes_per_pixel = FormatBytesPerPixel(format); local 137 DCHECK_LE(bytes_per_pixel, 4); 139 image_data_[imgID].reset(new uint8[width*height*bytes_per_pixel]); 148 int pix_addr = (y * width + x) * bytes_per_pixel; 149 for (int c = 0; c < bytes_per_pixel; ++c) { 154 if (bytes_per_pixel == 4) { // Randomize alpha.
|
/external/qemu/android/ |
framebuffer.c | 82 int pitch, bytes_per_pixel, bits_per_pixel; local 97 bytes_per_pixel = _get_bytes_per_pixel(format); 98 if (bytes_per_pixel < 0) 118 qfbuff->bytes_per_pixel = bytes_per_pixel;
|
/external/chromium_org/chrome/browser/notifications/ |
notification_conversion_helper.cc | 121 const int BYTES_PER_PIXEL = 4; 127 new unsigned char[pixel_count * BYTES_PER_PIXEL]); 134 (rgba_bitmap_data.get() + pixel_count * BYTES_PER_PIXEL))); 149 const int BYTES_PER_PIXEL = 4; 166 if (rgba_data_length != rgba_area * BYTES_PER_PIXEL) 183 size_t rgba_index = t * BYTES_PER_PIXEL;
|
/system/extras/tests/framebuffer/ |
fb_test.c | 56 int bytes_per_pixel; local 94 bytes_per_pixel = vi.bits_per_pixel >> 3; 98 fb->stride = fi.line_length / bytes_per_pixel; 106 fb->stride = fi.line_length / bytes_per_pixel; 108 vi.yres * vi.xres * bytes_per_pixel);
|
/external/qemu/hw/android/goldfish/ |
fb.c | 54 int bytes_per_pixel; member in struct:goldfish_fb_state 171 printf(" bytes/pixel: %d\n", pf->bytes_per_pixel); 183 s->bytes_per_pixel = pf->bytes_per_pixel; 188 pf->bytes_per_pixel == fbc->bytes && 201 pf->bytes_per_pixel, 212 return s->bytes_per_pixel; 244 int bytes_per_pixel; member in struct:__anon34255 316 switch (fbs->bytes_per_pixel) { 496 fbs.bytes_per_pixel = goldfish_fb_get_bytes_per_pixel(s) [all...] |
/external/qemu/ui/ |
vnchextile.h | 27 uint8_t data[(vs->clientds.pf.bytes_per_pixel + 2) * 16 * 16]; 135 n_data += vs->clientds.pf.bytes_per_pixel; 155 n_data += vs->clientds.pf.bytes_per_pixel;
|
vnc-android.c | 359 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel) 418 switch(vs->clientds.pf.bytes_per_pixel) { 452 if (vs->server.ds->pf.bytes_per_pixel == 4) { 458 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); 460 } else if (vs->server.ds->pf.bytes_per_pixel == 2) { 466 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); 468 } else if (vs->server.ds->pf.bytes_per_pixel == 1) { 474 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); 535 last_fg = (uint8_t *) g_malloc(vs->server.ds->pf.bytes_per_pixel); 536 last_bg = (uint8_t *) g_malloc(vs->server.ds->pf.bytes_per_pixel); [all...] |
vnc.c | 351 if (ds_get_bytes_per_pixel(ds) != vs->guest.ds->pf.bytes_per_pixel) 410 switch(vs->clientds.pf.bytes_per_pixel) { 444 if (vs->server.ds->pf.bytes_per_pixel == 4) { 450 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); 452 } else if (vs->server.ds->pf.bytes_per_pixel == 2) { 458 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); 460 } else if (vs->server.ds->pf.bytes_per_pixel == 1) { 466 vnc_write(vs, buf, vs->clientds.pf.bytes_per_pixel); 527 last_fg = (uint8_t *) g_malloc(vs->server.ds->pf.bytes_per_pixel); 528 last_bg = (uint8_t *) g_malloc(vs->server.ds->pf.bytes_per_pixel); [all...] |
/external/chromium_org/third_party/libpng/ |
pngwtran.c | 534 int bytes_per_pixel; 542 bytes_per_pixel = 3; 544 bytes_per_pixel = 4; 548 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) 560 bytes_per_pixel = 6; 562 bytes_per_pixel = 8; 566 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
|
/external/qemu/distrib/libpng-1.2.46/ |
pngwtran.c | 534 int bytes_per_pixel; 542 bytes_per_pixel = 3; 544 bytes_per_pixel = 4; 548 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) 560 bytes_per_pixel = 6; 562 bytes_per_pixel = 8; 566 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
|
/device/asus/deb/original-kernel-headers/media/ |
msmb_pproc.h | 64 int bytes_per_pixel; member in struct:msm_cpp_frame_strip_info
|
/device/asus/flo/original-kernel-headers/media/ |
msmb_pproc.h | 64 int bytes_per_pixel; member in struct:msm_cpp_frame_strip_info
|
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 48 const int bytes_per_pixel = 2; variable 84 nV = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); 85 nU = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1);
|
/external/chromium_org/ui/gfx/codec/ |
jpeg_codec.h | 56 // w * bytes_per_pixel if there is extra padding at the end of each row
|
/hardware/qcom/msm8x74/original-kernel-headers/media/ |
msmb_pproc.h | 69 int bytes_per_pixel; member in struct:msm_cpp_frame_strip_info
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
image.c | 156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; local 159 bytes_per_pixel = _mesa_bytes_per_pixel( format, type ); 162 assert(bytes_per_pixel > 0); 164 bytes_per_row = pixels_per_row * bytes_per_pixel; 186 + (skippixels + column) * bytes_per_pixel;
|
/external/mesa3d/src/mesa/main/ |
image.c | 156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; local 159 bytes_per_pixel = _mesa_bytes_per_pixel( format, type ); 162 assert(bytes_per_pixel > 0); 164 bytes_per_row = pixels_per_row * bytes_per_pixel; 186 + (skippixels + column) * bytes_per_pixel;
|
/external/qemu/include/ui/ |
console.h | 129 uint8_t bytes_per_pixel; member in struct:PixelFormat 417 return ds->surface->pf.bytes_per_pixel;
|