/external/chromium_org/cc/resources/ |
H A D | texture_uploader_unittest.cc | 128 const uint8* row_bytes = variable 130 EXPECT_EQ(0x1, row_bytes[0]); 131 EXPECT_EQ(0x2, row_bytes[width * bytes_per_pixel - 1]);
|
/external/chromium_org/media/cast/test/utility/ |
H A D | barcode.cc | 44 int row_bytes = output_frame->row_bytes(VideoFrame::kYPlane); local 45 std::vector<unsigned char> bytes(row_bytes); 46 for (int i = 0; i < row_bytes; i++) { 52 size_t unit_size = row_bytes * 6 / 10 / units; 55 size_t padding = (row_bytes - bytes_required) / 2; 70 DCHECK_LE(pos - &bytes.front(), row_bytes); 77 row_bytes); 91 for (int pos = 0; pos < frame->row_bytes(VideoFrame::kYPlane); pos++) {
|
/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
H A D | sprite.cc | 28 int32_t row_bytes) { 29 SetPixelBuffer(pixel_buffer, size, row_bytes); 38 int32_t row_bytes) { 41 row_bytes_ = row_bytes ? row_bytes : size.width() * sizeof(uint32_t); 26 Sprite(uint32_t* pixel_buffer, const pp::Size& size, int32_t row_bytes) argument 36 SetPixelBuffer(uint32_t* pixel_buffer, const pp::Size& size, int32_t row_bytes) argument
|
/external/chromium_org/ui/gfx/ |
H A D | blit.cc | 45 size_t row_bytes; local 46 void* pixels = canvas.accessTopLayerPixels(&info, &row_bytes); 176 size_t row_bytes = dest_rect.width() * 4; local 182 row_bytes); 189 row_bytes); 198 row_bytes);
|
/external/libpng/ |
H A D | pngwtran.c | 215 png_size_t row_bytes = row_info->rowbytes; local 226 for (i = 0; i < row_bytes; i++, bp++)
|
H A D | pngwrite.c | 1716 ptrdiff_t row_bytes; member in struct:__anon24630 1820 input_row += display->row_bytes/(sizeof (png_uint_16)); 1945 input_row += display->row_bytes/(sizeof (png_uint_16)); 1970 input_row += display->row_bytes/(sizeof (png_uint_16)); 2251 ptrdiff_t row_bytes = display->row_stride; local 2254 row_bytes *= (sizeof (png_uint_16)); 2256 if (row_bytes < 0) 2257 row += (image->height-1) * (-row_bytes); 2260 display->row_bytes = row_bytes; 2305 ptrdiff_t row_bytes = display->row_bytes; local [all...] |
H A D | pngread.c | 1420 ptrdiff_t row_bytes; /* step between rows */ member in struct:__anon24628 3081 ptrdiff_t step_row = display->row_bytes; 3321 ptrdiff_t row_bytes = display->row_stride; local 3326 if (row_bytes < 0) 3329 ptr += (image->height-1) * (-row_bytes); 3334 display->row_bytes = row_bytes; 3352 png_alloc_size_t row_bytes = display->row_bytes; local 3362 row += row_bytes; 4136 ptrdiff_t row_bytes = display->row_stride; local 4183 png_alloc_size_t row_bytes = display->row_bytes; local [all...] |
H A D | pngrutil.c | 4260 png_size_t row_bytes; local 4441 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); 4445 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + 4449 if (row_bytes > (png_uint_32)65536L) 4453 if (row_bytes + 48 > png_ptr->old_big_row_buf_size) 4460 row_bytes + 48); 4463 png_ptr->big_row_buf = (png_bytep)png_malloc(png_ptr, row_bytes + 48); 4465 png_ptr->big_prev_row = (png_bytep)png_malloc(png_ptr, row_bytes + 48); 4490 png_ptr->old_big_row_buf_size = row_bytes [all...] |
H A D | pngwutil.c | 2314 png_size_t row_bytes); 2328 png_size_t row_bytes = row_info->rowbytes; local 2388 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) 2448 for (lp = row_buf + 1; i < row_bytes; 2510 for (lp = row_buf + 1; i < row_bytes; 2569 pp = prev_row + 1; i < row_bytes; 2621 pp = prev_row + 1; i < row_bytes; i++) 2684 for (lp = row_buf + 1; i < row_bytes; i++) 2741 for (lp = row_buf + 1; i < row_bytes; i++) 2805 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; [all...] |
/external/chromium_org/media/filters/ |
H A D | skcanvas_video_renderer.cc | 81 size_t row_bytes) { 116 row_bytes, 131 row_bytes, 144 row_bytes, 164 row_bytes, 177 row_bytes, 183 row_bytes, local 185 row_bytes, local 198 row_bytes); 227 size_t row_bytes, 78 ConvertVideoFrameToRGBPixels( const scoped_refptr<media::VideoFrame>& video_frame, void* rgb_pixels, size_t row_bytes) argument [all...] |
/external/chromium_org/ui/ozone/platform/caca/ |
H A D | caca_window_manager.cc | 89 size_t row_bytes; local 90 const void* pixels = surface_->peekPixels(&info, &row_bytes);
|
/external/libpng/contrib/pngminus/ |
H A D | png2pnm.c | 197 png_uint_32 row_bytes; local 315 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 316 row_bytes = png_get_rowbytes (png_ptr, info_ptr); 318 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) { 333 row_pointers[i] = png_pixels + i * row_bytes;
|
H A D | pnm2png.c | 194 png_uint_32 row_bytes; local 364 row_bytes = (width * channels * bit_depth + 7) / 8; 367 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 368 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2); 370 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) 380 for (i = 0; i < row_bytes; i++) 474 row_pointers[i] = png_pixels + i * row_bytes;
|
/external/chromium_org/cc/test/ |
H A D | layer_tree_pixel_test.cc | 275 size_t row_bytes = size.width() * 4; local 276 size_t total_bytes = size.height() * row_bytes; 277 for (size_t dest_y = 0; dest_y < total_bytes; dest_y += row_bytes) { 279 size_t src_y = total_bytes - dest_y - row_bytes; 281 for (size_t x = 0; x < row_bytes; x += 4) { 328 size_t row_bytes = bitmap.width() * 4; local 329 size_t total_bytes = bitmap.height() * row_bytes; 334 for (size_t y = 0; y < total_bytes; y += row_bytes) { 336 size_t src_y = total_bytes - y - row_bytes; 338 for (size_t x = 0; x < row_bytes; [all...] |
/external/chromium_org/content/renderer/pepper/ |
H A D | pepper_video_capture_host.cc | 148 const size_t row_bytes = frame->row_bytes(j); local 151 memcpy(dst, src, row_bytes); 152 dst += row_bytes;
|
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
H A D | apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
H A D | x_server_pixel_buffer.cc | 279 int row_bytes = rect.width() * DesktopFrame::kBytesPerPixel; local 281 memcpy(dst_pos, src_pos, row_bytes);
|
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
/external/chromium_org/media/base/ |
H A D | video_util.cc | 40 int bytes_to_copy_per_row = std::min(frame->row_bytes(plane), stride); 79 int y_row_bytes = frame->row_bytes(VideoFrame::kYPlane); 89 int u_row_bytes = frame->row_bytes(VideoFrame::kUPlane); 90 int v_row_bytes = frame->row_bytes(VideoFrame::kVPlane); 106 int a_row_bytes = frame->row_bytes(VideoFrame::kAPlane); 119 const int row_bytes = frame->row_bytes(plane); local 122 CHECK_GE(stride, row_bytes); 125 CHECK_LE(view_area.right(), row_bytes); 130 memset(ptr, fill_byte, row_bytes); [all...] |
H A D | video_frame.cc | 662 size_t y_stride = RoundUp(row_bytes(VideoFrame::kYPlane), 664 size_t uv_stride = RoundUp(row_bytes(VideoFrame::kUPlane), 814 int VideoFrame::row_bytes(size_t plane) const { function in class:media::VideoFrame 928 row_bytes(plane)));
|
/external/chromium_org/cc/layers/ |
H A D | heads_up_display_layer_impl.cc | 201 size_t row_bytes = 0; local 202 const void* pixels = hud_canvas_->peekPixels(&info, &row_bytes);
|
/external/chromium_org/third_party/libpng/ |
H A D | pngrutil.c | 3212 png_size_t row_bytes; local 3342 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); 3346 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + 3349 if (row_bytes > (png_uint_32)65536L) 3353 if (row_bytes + 64 > png_ptr->old_big_row_buf_size) 3358 row_bytes + 64); 3361 row_bytes + 64); 3362 png_ptr->old_big_row_buf_size = row_bytes + 64; 3366 png_ptr->old_big_row_buf_size = row_bytes [all...] |
H A D | pngwutil.c | 2152 png_uint_32 row_bytes = row_info->rowbytes; local 2210 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) 2265 for (lp = row_buf + 1; i < row_bytes; 2322 for (lp = row_buf + 1; i < row_bytes; 2378 pp = prev_row + 1; i < row_bytes; 2426 pp = prev_row + 1; i < row_bytes; i++) 2484 for (lp = row_buf + 1; i < row_bytes; i++) 2537 for (lp = row_buf + 1; i < row_bytes; i++) 2597 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; i++) 2671 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; [all...] |
/external/qemu/distrib/libpng-1.2.46/ |
H A D | pngrutil.c | 3254 png_size_t row_bytes; local 3384 row_bytes = ((png_ptr->width + 7) & ~((png_uint_32)7)); 3388 row_bytes = PNG_ROWBYTES(max_pixel_depth, row_bytes) + 3391 if (row_bytes > (png_uint_32)65536L) 3395 if (row_bytes + 64 > png_ptr->old_big_row_buf_size) 3400 row_bytes + 64); 3403 row_bytes + 64); 3404 png_ptr->old_big_row_buf_size = row_bytes + 64; 3408 png_ptr->old_big_row_buf_size = row_bytes [all...] |
H A D | pngwutil.c | 2152 png_uint_32 row_bytes = row_info->rowbytes; local 2210 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) 2265 for (lp = row_buf + 1; i < row_bytes; 2322 for (lp = row_buf + 1; i < row_bytes; 2378 pp = prev_row + 1; i < row_bytes; 2426 pp = prev_row + 1; i < row_bytes; i++) 2484 for (lp = row_buf + 1; i < row_bytes; i++) 2537 for (lp = row_buf + 1; i < row_bytes; i++) 2597 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; i++) 2671 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; [all...] |