/frameworks/ml/nn/common/operations/ |
EmbeddingLookup.cpp | 37 const int row_bytes = total_bytes/row_size; local 45 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, 46 row_bytes);
|
HashtableLookup.cpp | 46 const int row_bytes = sizeOfData(value_->type, value_->dimensions) / num_rows; local 59 memset(output_->buffer + i * row_bytes, 0, row_bytes); 62 memcpy(output_->buffer + i * row_bytes, value_->buffer + idx * row_bytes, 63 row_bytes);
|
/bootable/recovery/minui/ |
graphics.cpp | 116 (bold ? font->char_height * font->texture->row_bytes : 0); 117 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; 119 text_blend(src_p, font->texture->row_bytes, 120 dst_p, gr_draw->row_bytes, 141 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes; 143 text_blend(src_p, icon->row_bytes, 144 dst_p, gr_draw->row_bytes, 166 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes); 176 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes); 191 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes [all...] |
graphics_fbdev.cpp | 101 gr_framebuffer[0].row_bytes = fi.line_length; 104 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes); 112 gr_framebuffer[0].data + gr_framebuffer[0].height * gr_framebuffer[0].row_bytes; 125 gr_draw->data = static_cast<unsigned char*>(malloc(gr_draw->height * gr_draw->row_bytes)); 132 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes); 153 memcpy(gr_framebuffer[0].data, gr_draw->data, gr_draw->height * gr_draw->row_bytes);
|
resources.cpp | 149 surface->row_bytes = width * 4; 228 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width); 307 (y / *frames) * surface[frame]->row_bytes; 353 surface->row_bytes = width; 363 p_row = surface->data + y * surface->row_bytes; 443 surface->row_bytes = w;
|
graphics_drm.cpp | 71 munmap(surface->data, surface->row_bytes * surface->height); 165 surface->row_bytes = create_dumb.pitch; 167 surface->data = static_cast<unsigned char*>(mmap(nullptr, surface->height * surface->row_bytes,
|
/external/libpng/contrib/pngminus/ |
pnm2png.c | 198 volatile png_uint_32 row_bytes; local 370 row_bytes = (width * channels * bit_depth + 7) / 8; 373 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 374 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2); 377 malloc (row_bytes * height * sizeof (png_byte))) == NULL) 387 for (i = 0; i < (int) row_bytes; i++) 491 row_pointers[i] = png_pixels + i * row_bytes;
|
png2pnm.c | 202 png_uint_32 row_bytes; local 320 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 321 row_bytes = png_get_rowbytes (png_ptr, info_ptr); 324 malloc (row_bytes * height * sizeof (png_byte))) == NULL) { 340 row_pointers[i] = png_pixels + i * row_bytes;
|
/bootable/recovery/minui/include/minui/ |
minui.h | 32 int row_bytes; member in struct:GRSurface
|
/external/skia/third_party/libpng/ |
pngwutil.c | [all...] |
pngread.c | 1268 ptrdiff_t row_bytes; \/* step between rows *\/ member in struct:__anon31256 3185 ptrdiff_t row_bytes = display->row_stride; local 3216 png_alloc_size_t row_bytes = display->row_bytes; local 4003 ptrdiff_t row_bytes = display->row_stride; local 4050 png_alloc_size_t row_bytes = display->row_bytes; local [all...] |
pngwrite.c | 1504 ptrdiff_t row_bytes; member in struct:__anon31258 2079 ptrdiff_t row_bytes = display->row_stride; local 2136 ptrdiff_t row_bytes = display->row_bytes; local [all...] |
/external/libpng/ |
pngwutil.c | [all...] |
pngread.c | 1277 ptrdiff_t row_bytes; \/* step between rows *\/ member in struct:__anon24244 3194 ptrdiff_t row_bytes = display->row_stride; local 3225 png_alloc_size_t row_bytes = display->row_bytes; local 4011 ptrdiff_t row_bytes = display->row_stride; local 4058 png_alloc_size_t row_bytes = display->row_bytes; local [all...] |
pngwrite.c | 1504 ptrdiff_t row_bytes; member in struct:__anon24246 2079 ptrdiff_t row_bytes = display->row_stride; local 2136 ptrdiff_t row_bytes = display->row_bytes; local [all...] |
/external/pdfium/third_party/libpng16/ |
pngwutil.c | [all...] |
pngread.c | 1278 ptrdiff_t row_bytes; \/* step between rows *\/ member in struct:__anon29461 3195 ptrdiff_t row_bytes = display->row_stride; local 3226 png_alloc_size_t row_bytes = display->row_bytes; local 4013 ptrdiff_t row_bytes = display->row_stride; local 4060 png_alloc_size_t row_bytes = display->row_bytes; local [all...] |
pngwrite.c | 1504 ptrdiff_t row_bytes; member in struct:__anon29462 2079 ptrdiff_t row_bytes = display->row_stride; local 2136 ptrdiff_t row_bytes = display->row_bytes; local [all...] |
/external/ImageMagick/coders/ |
pict.c | 438 row_bytes, 468 row_bytes=(size_t) (image->columns | 0x8000); 470 row_bytes=(size_t) ((4*image->columns) | 0x8000); 474 pixels=(unsigned char *) AcquireQuantumMemory(image->rows,row_bytes* 478 *extent=row_bytes*image->rows*sizeof(*pixels); 480 scanline=(unsigned char *) AcquireQuantumMemory(row_bytes,2* 524 if (scanline_length >= row_bytes) 435 row_bytes, local 1637 row_bytes, local [all...] |
/external/skia/samplecode/ |
SampleBigGradient.cpp | 204 size_t row_bytes = width * sizeof(SkPMColor); local 205 sk_bzero(pixels, row_bytes * height); 218 rec->fRowBytes = row_bytes;
|
/external/mesa3d/src/glx/apple/ |
apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
/external/syslinux/com32/lib/libpng/ |
pngrutil.c | 3197 png_size_t row_bytes; local [all...] |
/frameworks/base/tools/aapt2/compile/ |
PngCrunch.cpp | 263 const size_t row_bytes = png_get_rowbytes(read_ptr, info_ptr); local 264 CHECK(row_bytes == 4 * width); // RGBA 267 output_image->data = std::unique_ptr<uint8_t[]>(new uint8_t[height * row_bytes]); 272 output_image->rows[h] = output_image->data.get() + (h * row_bytes);
|
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
x_server_pixel_buffer.cc | 279 int row_bytes = rect.width() * DesktopFrame::kBytesPerPixel; local 281 memcpy(dst_pos, src_pos, row_bytes);
|
/external/libpng/contrib/tools/ |
pngfix.c | 1482 udigit row_width[2], row_bytes[3]; local 1513 udigit row_width[2], row_bytes[3]; local [all...] |