Searched refs:bytes_per_pixel (Results 1 - 17 of 17) sorted by relevance

/external/webrtc/webrtc/modules/desktop_capture/
H A Ddiffer.h30 // and bytes_per_pixel.
31 Differ(int width, int height, int bytes_per_pixel, int stride);
36 int bytes_per_pixel() { return bytes_per_pixel_; } function in class:webrtc::Differ
H A Dscreen_capturer_mac.mm71 int bytes_per_pixel,
76 const int x_offset = bytes_per_pixel * rect.left();
81 const int bytes_per_line = bytes_per_pixel * rect.width();
/external/opencv3/3rdparty/libpng/
H A Dpngwtran.c578 int bytes_per_pixel; local
586 bytes_per_pixel = 3;
589 bytes_per_pixel = 4;
594 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
608 bytes_per_pixel = 6;
611 bytes_per_pixel = 8;
616 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
H A Dpngrtran.c4980 int bytes_per_pixel; local
4989 bytes_per_pixel = 3;
4992 bytes_per_pixel = 4;
4997 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
5009 bytes_per_pixel = 6;
5012 bytes_per_pixel = 8;
5017 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
/external/pdfium/third_party/lpng_v163/
H A Dpngwtran.c581 int bytes_per_pixel; local
589 bytes_per_pixel = 3;
592 bytes_per_pixel = 4;
597 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
611 bytes_per_pixel = 6;
614 bytes_per_pixel = 8;
619 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
H A Dpngrtran.c5049 int bytes_per_pixel; local
5058 bytes_per_pixel = 3;
5061 bytes_per_pixel = 4;
5066 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
5078 bytes_per_pixel = 6;
5081 bytes_per_pixel = 8;
5086 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
/external/autotest/client/site_tests/graphics_Gbm/src/
H A Dgbmtest.c448 const int bytes_per_pixel = 4; local
449 const int size = width * height * bytes_per_pixel;
461 fd_data.stride = width * bytes_per_pixel;
/external/opencv3/3rdparty/libwebp/dec/
H A Dvp8l.c1063 size_t bytes_per_pixel) {
1064 const int argb_cache_needed = (bytes_per_pixel == sizeof(uint32_t));
1077 dec->pixels_ = (uint32_t*)WebPSafeMalloc(total_num_pixels, bytes_per_pixel);
1126 size_t bytes_per_pixel = sizeof(uint32_t); // Default: BGRA mode. local
1151 bytes_per_pixel = sizeof(uint8_t);
1155 if (!AllocateInternalBuffers(dec, width, bytes_per_pixel)) goto Err;
1159 ok = (bytes_per_pixel == sizeof(uint8_t)) ?
1203 const size_t bytes_per_pixel = sizeof(uint32_t); local
1223 if (!AllocateInternalBuffers(dec, io->width, bytes_per_pixel)) goto Err;
1062 AllocateInternalBuffers(VP8LDecoder* const dec, int final_width, size_t bytes_per_pixel) argument
/external/mesa3d/src/egl/drivers/dri2/
H A Degl_dri2.h164 int bytes_per_pixel; member in struct:dri2_egl_surface
H A Dplatform_x11.c65 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);
/external/mesa3d/src/mesa/main/
H A Dimage.c156 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;
H A Dmipmap.c46 bytes_per_pixel(GLenum datatype, GLuint comps) function
1419 const GLint bpt = bytes_per_pixel(datatype, comps);
1451 const GLint bpt = bytes_per_pixel(datatype, comps);
1543 const GLint bpt = bytes_per_pixel(datatype, comps);
/external/mesa3d/src/mesa/drivers/dri/common/
H A Dutils.c239 static const uint8_t bytes_per_pixel[6] = { local
312 switch ( bytes_per_pixel[ index ] ) {
/external/libpng/
H A Dexample.c986 png_byte image[height*width*bytes_per_pixel];
995 row_pointers[k] = image + k*width*bytes_per_pixel;
H A Dpngwrite.c629 int bytes_per_pixel; local
637 bytes_per_pixel = 3;
640 bytes_per_pixel = 4;
645 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
659 bytes_per_pixel = 6;
662 bytes_per_pixel = 8;
667 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
H A Dpngread.c320 int bytes_per_pixel; local
329 bytes_per_pixel = 3;
332 bytes_per_pixel = 4;
337 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
349 bytes_per_pixel = 6;
352 bytes_per_pixel = 8;
357 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
/external/libvncserver/libvncserver/
H A Dtight.c1852 if (vs->clientds.pf.bytes_per_pixel == 4) {

Completed in 533 milliseconds