HomeSort by relevance Sort by last modified time
    Searched refs:row_bytes (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/media/cast/test/utility/
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++) {
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/
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);
  /bootable/recovery/minui/
graphics_fbdev.c 137 gr_framebuffer[0].row_bytes = fi.line_length;
140 memset(gr_framebuffer[0].data, 0, gr_framebuffer[0].height * gr_framebuffer[0].row_bytes);
148 gr_framebuffer[0].height * gr_framebuffer[0].row_bytes;
161 gr_draw->data = (unsigned char*) malloc(gr_draw->height * gr_draw->row_bytes);
168 memset(gr_draw->data, 0, gr_draw->height * gr_draw->row_bytes);
194 for (idx = 0 ; idx < (gr_draw->height * gr_draw->row_bytes); idx += 4) {
202 gr_draw->height * gr_draw->row_bytes);
graphics.c 128 (bold ? font->cheight * font->texture->row_bytes : 0);
129 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes;
131 text_blend(src_p, font->texture->row_bytes,
132 dst_p, gr_draw->row_bytes,
154 unsigned char* dst_p = gr_draw->data + y*gr_draw->row_bytes + x*gr_draw->pixel_bytes;
156 text_blend(src_p, icon->row_bytes,
157 dst_p, gr_draw->row_bytes,
173 memset(gr_draw->data, gr_current_r, gr_draw->height * gr_draw->row_bytes);
184 px += gr_draw->row_bytes - (gr_draw->width * gr_draw->pixel_bytes);
199 unsigned char* p = gr_draw->data + y1 * gr_draw->row_bytes + x1 * gr_draw->pixel_bytes
    [all...]
minui.h 31 int row_bytes; member in struct:__anon1114
resources.c 148 surface->row_bytes = width * 4;
222 transform_rgb_to_draw(p_row, surface->data + y * surface->row_bytes, channels, width);
287 (y / *frames) * surface[frame]->row_bytes;
333 surface->row_bytes = width;
339 p_row = surface->data + y * surface->row_bytes;
384 surface->row_bytes = 0;
416 surface->row_bytes = w;
  /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...]
  /external/chromium_org/ui/gfx/
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/
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; x += 4)
    [all...]
  /external/chromium_org/ui/ozone/platform/caca/
caca_surface_factory.cc 86 size_t row_bytes; local
87 const void* pixels = surface_->peekPixels(&info, &row_bytes);
  /external/libpng/contrib/pngminus/
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;
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/
pepper_video_capture_host.cc 146 const size_t row_bytes = frame->row_bytes(j); local
149 memcpy(dst, src, row_bytes);
150 dst += row_bytes;
  /external/chromium_org/cc/resources/
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 204 RETURN_ON_FAILURE(frame->row_bytes(VideoFrame::kYPlane) ==
206 frame->row_bytes(VideoFrame::kUPlane) ==
208 frame->row_bytes(VideoFrame::kVPlane) ==
  /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/libpng/
pngread.c 1419 ptrdiff_t row_bytes; \/* step between rows *\/ member in struct:__anon28430
3320 ptrdiff_t row_bytes = display->row_stride; local
3351 png_alloc_size_t row_bytes = display->row_bytes; local
4135 ptrdiff_t row_bytes = display->row_stride; local
4182 png_alloc_size_t row_bytes = display->row_bytes; local
    [all...]
pngwrite.c 1716 ptrdiff_t row_bytes; member in struct:__anon28432
2251 ptrdiff_t row_bytes = display->row_stride; local
2305 ptrdiff_t row_bytes = display->row_bytes; local
    [all...]
  /external/chromium_org/third_party/libpng/
pngrutil.c 3212 png_size_t row_bytes; local
    [all...]
  /external/qemu/distrib/libpng-1.2.46/
pngrutil.c 3254 png_size_t row_bytes; local
    [all...]
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/
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/
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);

Completed in 1270 milliseconds

1 2