Searched refs:row_bytes (Results 1 - 25 of 40) sorted by relevance

12

/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++) {
H A Dgenerate_barcode_video.cc15 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 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
H A Dsprite.h21 // 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 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/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...]
/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/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/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 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;
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;
/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/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/content/common/gpu/media/
H A Dandroid_video_encode_accelerator.cc203 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 Dapple_glx_drawable.h134 int row_bytes; member in struct:apple_glx_drawable
/external/mesa3d/src/glx/apple/
H A Dapple_glx_drawable.h134 int row_bytes; member in struct:apple_glx_drawable
/external/libpng/
H A Dpngread.c1420 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 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 Dpngwtran.c215 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 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 Dpngwtran.c264 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 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...]
/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/chromium_org/content/browser/media/capture/
H A Ddesktop_capture_device_aura.cc62 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 Dpngfix.c1476 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...]

Completed in 478 milliseconds

12