/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++) {
|
H A D | generate_barcode_video.cc | 15 CHECK_EQ(static_cast<size_t>(frame->row_bytes(plane)), 18 frame->row_bytes(plane),
|
/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/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/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...] |
/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/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/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 | 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;
|
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;
|
/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/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/content/common/gpu/media/ |
H A D | 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/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/mesa3d/src/glx/apple/ |
H A D | apple_glx_drawable.h | 134 int row_bytes; member in struct:apple_glx_drawable
|
/external/libpng/ |
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 | 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 | pngwtran.c | 215 png_size_t row_bytes = row_info->rowbytes; local 226 for (i = 0; i < row_bytes; i++, bp++)
|
/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++)
|
/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...] |
/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/chromium_org/content/browser/media/capture/ |
H A D | desktop_capture_device_aura.cc | 62 y * target->row_bytes(media::VideoFrame::kYPlane); 64 (y / 2) * target->row_bytes(media::VideoFrame::kUPlane); 66 (y / 2) * target->row_bytes(media::VideoFrame::kVPlane);
|
/external/libpng/contrib/tools/ |
H A D | pngfix.c | 1476 udigit row_width[2], row_bytes[3]; local 1486 /* calculate 1+((pw*pd+7)>>3) in row_bytes */ 1487 digits = uarb_mult_digit(row_bytes, uarb_set(row_bytes, 7), 1489 digits = uarb_shift(row_bytes, digits, 3); 1490 digits = uarb_inc(row_bytes, digits, 1); 1492 /* Add row_bytes * pass-height to the file image_bytes field 1495 row_bytes, digits, 1507 udigit row_width[2], row_bytes[3]; local 1510 digits = uarb_mult_digit(row_bytes, uarb_se [all...] |