HomeSort by relevance Sort by last modified time
    Searched refs:kBytesPerPixel (Results 1 - 19 of 19) sorted by null

  /external/webrtc/webrtc/modules/desktop_capture/
differ_block.h 23 const int kBytesPerPixel = 4;
desktop_and_cursor_composer.cc 30 uint32_t base_alpha = 255 - src[x * DesktopFrame::kBytesPerPixel + 3];
34 memcpy(dest + x * DesktopFrame::kBytesPerPixel,
35 src + x * DesktopFrame::kBytesPerPixel,
36 DesktopFrame::kBytesPerPixel);
38 dest[x * DesktopFrame::kBytesPerPixel] =
39 dest[x * DesktopFrame::kBytesPerPixel] * base_alpha / 255 +
40 src[x * DesktopFrame::kBytesPerPixel];
41 dest[x * DesktopFrame::kBytesPerPixel + 1] =
42 dest[x * DesktopFrame::kBytesPerPixel + 1] * base_alpha / 255 +
43 src[x * DesktopFrame::kBytesPerPixel + 1]
    [all...]
differ_block_unittest.cc 28 static const int kSizeOfBlock = kBlockSize * kBlockSize * kBytesPerPixel;
46 int result = BlockDifference(block1, block2, kBlockSize * kBytesPerPixel);
58 int result = BlockDifference(block1, block2, kBlockSize * kBytesPerPixel);
70 int result = BlockDifference(block1, block2, kBlockSize * kBytesPerPixel);
82 int result = BlockDifference(block1, block2, kBlockSize * kBytesPerPixel);
desktop_frame.cc 37 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width());
54 return data() + stride() * pos.y() + DesktopFrame::kBytesPerPixel * pos.x();
58 : DesktopFrame(size, kBytesPerPixel * size.width(),
59 new uint8_t[kBytesPerPixel * size.width() * size.height()],
72 frame.size().width() * kBytesPerPixel);
differ_block.cc 24 int width_bytes = kBlockSize * kBytesPerPixel;
desktop_frame_win.cc 35 int bytes_per_row = size.width() * kBytesPerPixel;
42 bmi.bmiHeader.biBitCount = DesktopFrameWin::kBytesPerPixel * 8;
desktop_frame.h 26 static const int kBytesPerPixel = 4;
mouse_cursor_monitor_mac.mm 244 if (CGImageGetBitsPerPixel(cg_image) != DesktopFrame::kBytesPerPixel * 8 ||
246 static_cast<size_t>(DesktopFrame::kBytesPerPixel * size.width()) ||
274 size.width() * size.height() * DesktopFrame::kBytesPerPixel);
screen_capturer_unittest.cc 91 frame->size().width() * DesktopFrame::kBytesPerPixel);
differ_unittest.cc 36 bytes_per_pixel_ = kBytesPerPixel;
37 stride_ = (kBytesPerPixel * width);
window_capturer_mac.mm 219 DesktopFrame::kBytesPerPixel * width);
desktop_and_cursor_composer_unittest.cc 47 pos.x() * DesktopFrame::kBytesPerPixel);
screen_capturer_x11.cc 269 DesktopFrame::kBytesPerPixel,
screen_capturer_mac.mm 524 DesktopFrame::kBytesPerPixel,
554 DesktopFrame::kBytesPerPixel,
    [all...]
  /frameworks/base/native/webview/plat_support/
graphic_buffer_impl.cpp 109 static const int kBytesPerPixel = 4;
110 return mBuffer->getStride() * kBytesPerPixel;
  /external/webrtc/webrtc/modules/desktop_capture/win/
cursor.cc 45 const int kBytesPerPixel = DesktopFrame::kBytesPerPixel;
79 static_assert(sizeof(uint32_t) == kBytesPerPixel,
147 bmi.bV5BitCount = kBytesPerPixel * 8;
screen_capturer_win_magnifier.cc 142 DesktopFrame::kBytesPerPixel,
399 captured_bytes_per_pixel != DesktopFrame::kBytesPerPixel) {
426 size.width() * size.height() * DesktopFrame::kBytesPerPixel;
432 size, size.width() * DesktopFrame::kBytesPerPixel, shared_memory));
screen_capturer_win_gdi.cc 106 DesktopFrame::kBytesPerPixel,
241 DesktopFrame::kBytesPerPixel;
  /external/webrtc/webrtc/modules/desktop_capture/x11/
x_server_pixel_buffer.cc 276 dst_pos += dst_x * DesktopFrame::kBytesPerPixel;
279 int row_bytes = rect.width() * DesktopFrame::kBytesPerPixel;
306 dst_pos += dst_x * DesktopFrame::kBytesPerPixel;

Completed in 203 milliseconds