HomeSort by relevance Sort by last modified time
    Searched refs:bytes_per_pixel (Results 1 - 25 of 30) sorted by null

1 2

  /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
screen_capturer_mac.mm 72 int bytes_per_pixel,
77 const int x_offset = bytes_per_pixel * rect.left();
82 const int bytes_per_line = bytes_per_pixel * rect.width();
    [all...]
  /external/chromium_org/cc/resources/
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...]
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...]
  /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/chromium_org/content/common/gpu/client/
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;
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...]
  /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)
  /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
  /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/egl/drivers/dri2/
egl_dri2.h 164 int bytes_per_pixel; member in struct:dri2_egl_surface
platform_x11.c 65 dri2_surf->bytes_per_pixel = 4;
68 dri2_surf->bytes_per_pixel = 2;
71 dri2_surf->bytes_per_pixel = 1;
74 dri2_surf->bytes_per_pixel = 0;
140 w*h*dri2_surf->bytes_per_pixel, (const uint8_t *)data);
    [all...]
  /external/mesa3d/src/egl/drivers/dri2/
egl_dri2.h 164 int bytes_per_pixel; member in struct:dri2_egl_surface
platform_x11.c 65 dri2_surf->bytes_per_pixel = 4;
68 dri2_surf->bytes_per_pixel = 2;
71 dri2_surf->bytes_per_pixel = 1;
74 dri2_surf->bytes_per_pixel = 0;
140 w*h*dri2_surf->bytes_per_pixel, (const uint8_t *)data);
    [all...]
  /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/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/libpng/
example.c     [all...]
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...]
pngread.c 330 int bytes_per_pixel; local
339 bytes_per_pixel = 3;
342 bytes_per_pixel = 4;
347 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
359 bytes_per_pixel = 6;
362 bytes_per_pixel = 8;
367 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
    [all...]

Completed in 559 milliseconds

1 2