/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
|
H A D | sprite.h | 21 // multiplied alpha. If |row_bytes| is 0, then the number of bytes per row 30 // buffer. Sprite takes ownership of the new pixel buffer. If |row_bytes| 35 int32_t row_bytes);
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | render_widget_host_browsertest.cc | 33 const int row_bytes = bitmap.rowBytesAsPixels(); local 37 if (pixels[j * row_bytes + i] != SK_ColorRED) {
|
/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); 105 const int row_bytes = frame->row_bytes(plane); local 108 CHECK_GE(stride, row_bytes); 111 CHECK_LE(view_area.right(), row_bytes); 116 memset(ptr, fill_byte, row_bytes); 119 if (view_area.width() < row_bytes) { [all...] |
H A D | video_frame.cc | 287 size_t y_stride = RoundUp(row_bytes(VideoFrame::kYPlane), 289 size_t uv_stride = RoundUp(row_bytes(VideoFrame::kUPlane), 356 int VideoFrame::row_bytes(size_t plane) const { function in class:media::VideoFrame 443 row_bytes(plane)));
|
H A D | video_frame_unittest.cc | 87 // row_bytes values are correct. 105 EXPECT_TRUE(frame->row_bytes(plane)); 109 EXPECT_EQ(frame->row_bytes(plane), kWidth * bytes_per_pixel);
|
H A D | video_frame.h | 205 // As opposed to stride(), row_bytes() refers to the bytes representing 207 int row_bytes(size_t plane) const;
|
/external/chromium_org/cc/test/ |
H A D | layer_tree_pixel_test.cc | 278 size_t row_bytes = size.width() * 4; local 279 size_t total_bytes = size.height() * row_bytes; 280 for (size_t dest_y = 0; dest_y < total_bytes; dest_y += row_bytes) { 282 size_t src_y = total_bytes - dest_y - row_bytes; 284 for (size_t x = 0; x < row_bytes; x += 4) { 335 size_t row_bytes = bitmap.width() * 4; local 336 size_t total_bytes = bitmap.height() * row_bytes; 341 for (size_t y = 0; y < total_bytes; y += row_bytes) { 343 size_t src_y = total_bytes - y - row_bytes; 345 for (size_t x = 0; x < row_bytes; [all...] |
/external/chromium_org/ui/gfx/ |
H A D | blit.cc | 167 size_t row_bytes = dest_rect.width() * 4; local 173 row_bytes); 180 row_bytes); 189 row_bytes);
|
/external/libpng/contrib/pngminus/ |
H A D | png2pnm.c | 196 png_uint_32 row_bytes; local 314 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 315 row_bytes = png_get_rowbytes (png_ptr, info_ptr); 317 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) { 332 row_pointers[i] = png_pixels + i * row_bytes;
|
H A D | pnm2png.c | 193 png_uint_32 row_bytes; local 332 /* row_bytes is the width x number of channels x (bit-depth / 8) */ 333 row_bytes = width * channels * ((bit_depth <= 8) ? 1 : 2); 335 if ((png_pixels = (png_byte *) malloc (row_bytes * height * sizeof (png_byte))) == NULL) 423 row_pointers[i] = png_pixels + i * row_bytes;
|
/external/chromium_org/cc/scheduler/ |
H A D | texture_uploader_unittest.cc | 135 const uint8* row_bytes = variable 137 EXPECT_EQ(0x1, row_bytes[0]); 138 EXPECT_EQ(0x2, row_bytes[width * bytes_per_pixel - 1]);
|
/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
|
H A D | apple_glx_drawable.c | 290 d->row_bytes = 0;
|
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
H A D | apple_glx_drawable.c | 290 d->row_bytes = 0;
|
/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 | pngwtran.c | 264 png_uint_32 row_bytes = row_info->rowbytes; 273 for (i = 0; i < row_bytes; i++, bp++)
|
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/libpng/ |
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 | pngwtran.c | 264 png_uint_32 row_bytes = row_info->rowbytes; 273 for (i = 0; i < row_bytes; i++, bp++)
|
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.19/ |
H A D | pngwtran.c | 257 png_uint_32 row_bytes = row_info->rowbytes; 266 for (i = 0; i < row_bytes; i++, bp++)
|
H A D | pngwutil.c | 2116 png_uint_32 row_bytes = row_info->rowbytes; local 2163 for (i = 0, rp = row_buf + 1; i < row_bytes; i++, rp++) 2218 for (lp = row_buf + 1; i < row_bytes; 2275 for (lp = row_buf + 1; i < row_bytes; 2331 pp = prev_row + 1; i < row_bytes; 2379 pp = prev_row + 1; i < row_bytes; i++) 2437 for (lp = row_buf + 1; i < row_bytes; i++) 2490 for (lp = row_buf + 1; i < row_bytes; i++) 2550 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; i++) 2624 for (lp = row_buf + 1, cp = prev_row + 1; i < row_bytes; [all...] |
/external/chromium_org/tools/telemetry/third_party/png/ |
H A D | png.py | 902 row_bytes = vpr 905 row_bytes *= 2 908 return array('H', struct.unpack(fmt, infile.read(row_bytes))) 911 scanline = array('B', infile.read(row_bytes)) 1668 rb = self.row_bytes 1801 self.row_bytes = int(math.ceil(self.width * self.psize)) 3010 reader.row_bytes = 6
|