Searched defs:row_bytes (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/cc/resources/
H A Dtexture_uploader_unittest.cc128 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 Dbarcode.cc44 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 Dsprite.cc28 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 Dblit.cc45 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 Dpngwtran.c215 png_size_t row_bytes = row_info->rowbytes; local
226 for (i = 0; i < row_bytes; i++, bp++)
H A Dpngwrite.c1716 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 Dpngread.c1419 ptrdiff_t row_bytes; /* step between rows */ member in struct:__anon24628
3080 ptrdiff_t step_row = display->row_bytes;
3320 ptrdiff_t row_bytes = display->row_stride; local
3325 if (row_bytes < 0)
3328 ptr += (image->height-1) * (-row_bytes);
3333 display->row_bytes = row_bytes;
3351 png_alloc_size_t row_bytes = display->row_bytes; local
3361 row += row_bytes;
4135 ptrdiff_t row_bytes = display->row_stride; local
4182 png_alloc_size_t row_bytes = display->row_bytes; local
[all...]
H A Dpngrutil.c4260 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 Dpngwutil.c2314 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 Dskcanvas_video_renderer.cc81 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 Dcaca_window_manager.cc89 size_t row_bytes; local
90 const void* pixels = surface_->peekPixels(&info, &row_bytes);
/external/libpng/contrib/pngminus/
H A Dpng2pnm.c197 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 Dpnm2png.c194 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 Dlayer_tree_pixel_test.cc275 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 Dpepper_video_capture_host.cc148 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 Dapple_glx_drawable.h134 int row_bytes; member in struct:apple_glx_drawable
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/
H A Dx_server_pixel_buffer.cc279 int row_bytes = rect.width() * DesktopFrame::kBytesPerPixel; local
281 memcpy(dst_pos, src_pos, row_bytes);
/external/mesa3d/src/glx/apple/
H A Dapple_glx_drawable.h134 int row_bytes; member in struct:apple_glx_drawable
/external/chromium_org/media/base/
H A Dvideo_util.cc40 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 Dvideo_frame.cc662 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 Dheads_up_display_layer_impl.cc201 size_t row_bytes = 0; local
202 const void* pixels = hud_canvas_->peekPixels(&info, &row_bytes);
/external/chromium_org/third_party/libpng/
H A Dpngrutil.c3212 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 Dpngwutil.c2152 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 Dpngrutil.c3254 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 Dpngwutil.c2152 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...]

Completed in 991 milliseconds

12