/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/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.h | 52 int bytes_per_pixel; /* bytes per pixel */ member in struct:QFrameBuffer
|
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/third_party/mesa/src/src/mesa/drivers/dri/common/ |
utils.c | 239 static const uint8_t bytes_per_pixel[6] = { local 312 switch ( bytes_per_pixel[ index ] ) {
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
utils.c | 239 static const uint8_t bytes_per_pixel[6] = { local 312 switch ( bytes_per_pixel[ index ] ) {
|
/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)
|
/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/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;
|
mipmap.c | 53 bytes_per_pixel(GLenum datatype, GLuint comps) function [all...] |
/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;
|
mipmap.c | 46 bytes_per_pixel(GLenum datatype, GLuint comps) function [all...] |
/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);
|
/device/asus/deb/kernel-headers/media/ |
msmb_pproc.h | 72 int bytes_per_pixel; member in struct:msm_cpp_frame_strip_info
|
/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/kernel-headers/media/ |
msmb_pproc.h | 72 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
|
/external/chromium_org/third_party/mesa/src/src/egl/drivers/dri2/ |
egl_dri2.h | 164 int bytes_per_pixel; member in struct:dri2_egl_surface
|
/external/libpng/ |
pngwrite.c | 619 int bytes_per_pixel; local 627 bytes_per_pixel = 3; 630 bytes_per_pixel = 4; 635 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) 649 bytes_per_pixel = 6; 652 bytes_per_pixel = 8; 657 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) [all...] |
/external/mesa3d/src/egl/drivers/dri2/ |
egl_dri2.h | 164 int bytes_per_pixel; member in struct:dri2_egl_surface
|
/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/chromium_org/content/common/gpu/client/ |
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...] |
/external/chromium_org/third_party/libpng/ |
pngrtran.c | 4415 int bytes_per_pixel; local [all...] |