Lines Matching refs:kBytesPerPixel
25 const int kBytesPerPixel = 4;
64 view_size_.width() * view_size_.height() * kBytesPerPixel]);
77 view_size_.width() * view_size_.height() * kBytesPerPixel);
90 image_data_.get(), view_size_.width() * kBytesPerPixel,
127 const int stride = view_size_.width() * kBytesPerPixel;
130 kBytesPerPixel * i.rect().left();
133 const int row_size = kBytesPerPixel * i.rect().width();
153 const int stride = view_size_.width() * kBytesPerPixel;
155 kBytesPerPixel * i.rect().left();
238 int memory_size = size.width() * size.height() * kBytesPerPixel;
295 webrtc::DesktopFrame::kBytesPerPixel * rects[i].width();
298 webrtc::DesktopFrame::kBytesPerPixel * rects[i].left();