/external/chromium_org/native_client_sdk/src/examples/demo/flock/ |
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);
|
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/ |
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/ |
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...] |
video_frame.cc | 362 size_t y_stride = RoundUp(row_bytes(VideoFrame::kYPlane), 364 size_t uv_stride = RoundUp(row_bytes(VideoFrame::kUPlane), 433 int VideoFrame::row_bytes(size_t plane) const { function in class:media::VideoFrame 511 row_bytes(plane)));
|
video_frame_unittest.cc | 89 // row_bytes values are correct. 107 EXPECT_TRUE(frame->row_bytes(plane)); 111 EXPECT_EQ(frame->row_bytes(plane), kWidth * bytes_per_pixel);
|
video_frame.h | 218 // As opposed to stride(), row_bytes() refers to the bytes representing 220 int row_bytes(size_t plane) const;
|
/external/chromium_org/cc/test/ |
layer_tree_pixel_test.cc | 290 size_t row_bytes = size.width() * 4; local 291 size_t total_bytes = size.height() * row_bytes; 292 for (size_t dest_y = 0; dest_y < total_bytes; dest_y += row_bytes) { 294 size_t src_y = total_bytes - dest_y - row_bytes; 296 for (size_t x = 0; x < row_bytes; x += 4) { 349 size_t row_bytes = bitmap.width() * 4; local 350 size_t total_bytes = bitmap.height() * row_bytes; 355 for (size_t y = 0; y < total_bytes; y += row_bytes) { 357 size_t src_y = total_bytes - y - row_bytes; 359 for (size_t x = 0; x < row_bytes; x += 4) [all...] |
/external/chromium_org/ui/gfx/ |
blit.cc | 169 size_t row_bytes = dest_rect.width() * 4; local 175 row_bytes); 182 row_bytes); 191 row_bytes);
|
/external/libpng/contrib/pngminus/ |
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;
|
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/ |
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/content/common/gpu/media/ |
android_video_encode_accelerator.cc | 203 RETURN_ON_FAILURE(frame->row_bytes(VideoFrame::kYPlane) == 205 frame->row_bytes(VideoFrame::kUPlane) == 207 frame->row_bytes(VideoFrame::kVPlane) ==
|
/external/chromium_org/content/renderer/pepper/ |
pepper_video_capture_host.cc | 160 const size_t row_bytes = frame->row_bytes(j); local 163 memcpy(dst, src, row_bytes); 164 dst += row_bytes;
|
/external/chromium_org/third_party/mesa/src/src/glx/apple/ |
apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
/external/mesa3d/src/glx/apple/ |
apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
/external/chromium_org/content/browser/renderer_host/media/ |
desktop_capture_device_aura.cc | 58 y * target->row_bytes(media::VideoFrame::kYPlane); 60 (y / 2) * target->row_bytes(media::VideoFrame::kUPlane); 62 (y / 2) * target->row_bytes(media::VideoFrame::kVPlane);
|
/external/chromium_org/third_party/libpng/ |
pngrutil.c | 3212 png_size_t row_bytes; local [all...] |
pngwtran.c | 264 png_uint_32 row_bytes = row_info->rowbytes; 273 for (i = 0; i < row_bytes; i++, bp++)
|
pngwutil.c | 2152 png_uint_32 row_bytes = row_info->rowbytes; local [all...] |
/external/libpng/ |
pngrutil.c | 3254 png_size_t row_bytes; local [all...] |
pngwtran.c | 264 png_uint_32 row_bytes = row_info->rowbytes; 273 for (i = 0; i < row_bytes; i++, bp++)
|
pngwutil.c | 2152 png_uint_32 row_bytes = row_info->rowbytes; local [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwtran.c | 257 png_uint_32 row_bytes = row_info->rowbytes; 266 for (i = 0; i < row_bytes; i++, bp++)
|
pngwutil.c | 2116 png_uint_32 row_bytes = row_info->rowbytes; local [all...] |