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

1 2

  /external/chromium_org/third_party/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 36 DesktopFrame::kBytesPerPixel * dest_rect.left();
38 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width());
51 DesktopFrame::kBytesPerPixel * src_pos.x(),
56 : DesktopFrame(size, kBytesPerPixel * size.width(),
57 new uint8_t[kBytesPerPixel * size.width() * size.height()],
70 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);
  /external/chromium_org/remoting/host/
fake_desktop_capturer.cc 62 const int kBytesPerPixel = webrtc::DesktopFrame::kBytesPerPixel;
63 int buffer_size = kWidth * kHeight * kBytesPerPixel;
93 (box_pos_y_ * size_.width() + box_pos_x_) * kBytesPerPixel;
99 row[x * kBytesPerPixel] = r;
100 row[x * kBytesPerPixel + 1] = g;
101 row[x * kBytesPerPixel + 2] = b;
102 row[x * kBytesPerPixel + 3] = 0xff;
fake_mouse_cursor_monitor.cc 40 webrtc::DesktopFrame::kBytesPerPixel * kWidth * kHeight);
  /external/chromium_org/remoting/codec/
video_decoder.h 23 static const int kBytesPerPixel = 4;
video_decoder_verbatim.cc 25 kBytesPerPixel]);
33 int stride = kBytesPerPixel * screen_size_.width();
48 int rect_row_size = kBytesPerPixel * rect.width();
50 rect.left() * kBytesPerPixel;
90 int screen_stride = screen_size_.width() * kBytesPerPixel;
video_encoder_verbatim.cc 42 webrtc::DesktopFrame::kBytesPerPixel;
52 const int row_size = webrtc::DesktopFrame::kBytesPerPixel * rect.width();
54 rect.left() * webrtc::DesktopFrame::kBytesPerPixel;
codec_test.cc 27 const int kBytesPerPixel = 4;
66 view_size_.width() * view_size_.height() * kBytesPerPixel]);
79 view_size_.width() * view_size_.height() * kBytesPerPixel);
92 image_data_.get(), view_size_.width() * kBytesPerPixel,
129 const int stride = view_size_.width() * kBytesPerPixel;
132 kBytesPerPixel * i.rect().left();
135 const int row_size = kBytesPerPixel * i.rect().width();
155 const int stride = view_size_.width() * kBytesPerPixel;
157 kBytesPerPixel * i.rect().left();
240 int memory_size = size.width() * size.height() * kBytesPerPixel;
    [all...]
video_decoder_vpx.cc 35 (rect.left() * VideoDecoder::kBytesPerPixel));
39 ptr += stride / VideoDecoder::kBytesPerPixel;
196 rect.left() * VideoDecoder::kBytesPerPixel;
  /external/chromium_org/gpu/command_buffer/service/
gpu_state_tracer.cc 17 const int kBytesPerPixel = 4;
52 screenshot_size_.height() * kBytesPerPixel);
54 glPixelStorei(GL_PACK_ALIGNMENT, kBytesPerPixel);
65 int bytes_per_row = screenshot_size_.width() * kBytesPerPixel;
80 int bytes_per_row = screenshot_size_.width() * kBytesPerPixel;
  /frameworks/webview/chromium/plat_support/
graphic_buffer_impl.cpp 109 static const int kBytesPerPixel = 4;
110 return mBuffer->getStride() * kBytesPerPixel;
  /external/chromium_org/remoting/base/
util_unittest.cc 14 static const int kBytesPerPixel = 4;
17 static const int kRgbStride = kWidth * kBytesPerPixel;
31 rgb_buffer_size_ = kWidth * kHeight * kBytesPerPixel;
51 (rect.left() * kBytesPerPixel));
55 ptr += kRgbStride / kBytesPerPixel;
80 ptr += kRgbStride / kBytesPerPixel;
  /external/chromium_org/chrome/browser/ui/libgtk2ui/
skia_utils_gtk2.cc 107 const int kBytesPerPixel = 4;
127 i += kBytesPerPixel;
  /external/chromium_org/content/browser/renderer_host/
image_transport_factory_android.cc 63 static const size_t kBytesPerPixel = 4;
67 kBytesPerPixel;
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
cursor.cc 46 const int kBytesPerPixel = DesktopFrame::kBytesPerPixel;
81 COMPILE_ASSERT(sizeof(uint32_t) == kBytesPerPixel,
149 bmi.bV5BitCount = kBytesPerPixel * 8;
screen_capturer_win_magnifier.cc 141 DesktopFrame::kBytesPerPixel,
403 captured_bytes_per_pixel != DesktopFrame::kBytesPerPixel) {
430 size.width() * size.height() * DesktopFrame::kBytesPerPixel;
436 size, size.width() * DesktopFrame::kBytesPerPixel, shared_memory));
screen_capturer_win_gdi.cc 107 DesktopFrame::kBytesPerPixel,
254 DesktopFrame::kBytesPerPixel;
305 DesktopFrame::kBytesPerPixel);
  /external/chromium_org/remoting/protocol/
client_control_dispatcher.cc 24 const int kBytesPerPixel = 4;
48 uint32 cursor_total_bytes = width * height * kBytesPerPixel;
  /external/chromium_org/third_party/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 547 milliseconds

1 2