Searched defs:kBytesPerPixel (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/remoting/host/
H A Dscreen_capturer_fake.cc88 const int kBytesPerPixel = webrtc::DesktopFrame::kBytesPerPixel; local
91 size_.width() * size_.height() * kBytesPerPixel);
94 (box_pos_y_ * size_.width() + box_pos_x_) * kBytesPerPixel;
113 row[x * kBytesPerPixel] = r;
114 row[x * kBytesPerPixel + 1] = g;
115 row[x * kBytesPerPixel + 2] = b;
116 row[x * kBytesPerPixel + 3] = 0xff;
125 bytes_per_row_ = size_.width() * webrtc::DesktopFrame::kBytesPerPixel;
/external/chromium_org/ui/gl/
H A Dgl_image_shm.cc50 const int kBytesPerPixel = 4; local
51 size_t size = size_.GetArea() * kBytesPerPixel;
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_readback_unittests.cc53 const GLint kBytesPerPixel = 4; local
64 kWidth * kHeight * kBytesPerPixel,
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dskia_utils_gtk2.cc110 const int kBytesPerPixel = 4; local
130 i += kBytesPerPixel;
/external/chromium_org/content/browser/renderer_host/
H A Dimage_transport_factory_android.cc116 static const size_t kBytesPerPixel = 4; local
121 kBytesPerPixel;
H A Dcompositor_impl_android.cc386 static const size_t kBytesPerPixel = 4; local
391 kBytesPerPixel;
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
H A Dtest_interface.h208 const int kBytesPerPixel = sizeof(uint32_t); // 4 bytes for BGRA or RGBA. variable
/external/chromium_org/remoting/base/
H A Dutil_unittest.cc14 static const int kBytesPerPixel = 4; variable
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/remoting/codec/
H A Dvideo_decoder_verbatim.cc14 const int kBytesPerPixel = 4; member in namespace:remoting::__anon9712
52 screen_size_.width() * screen_size_.height() * kBytesPerPixel]);
68 const int row_size = clip_.width() * kBytesPerPixel;
70 int out_stride = screen_size_.width() * kBytesPerPixel;
72 kBytesPerPixel * clip_.left();
188 int screen_stride = screen_size_.width() * kBytesPerPixel;
H A Dcodec_test.cc25 const int kBytesPerPixel = 4; member in namespace:__anon9711
145 view_size_.width() * view_size_.height() * kBytesPerPixel]);
158 view_size_.width() * view_size_.height() * kBytesPerPixel);
176 view_size_.width() * kBytesPerPixel,
223 const int stride = view_size_.width() * kBytesPerPixel;
226 kBytesPerPixel * i.rect().left();
229 const int row_size = kBytesPerPixel * i.rect().width();
248 const int stride = view_size_.width() * kBytesPerPixel;
250 kBytesPerPixel * i.rect().left();
341 int memory_size = size.width() * size.height() * kBytesPerPixel;
[all...]
/external/chromium_org/content/browser/renderer_host/media/
H A Ddesktop_capture_device.cc26 const int kBytesPerPixel = 4; member in namespace:content::__anon7720
211 webrtc::DesktopFrame::kBytesPerPixel;
245 webrtc::DesktopFrame::kBytesPerPixel * scaled_rect.x();
/external/chromium_org/ppapi/tests/
H A Dtest_fullscreen.cc29 const int kBytesPerPixel = sizeof(uint32_t); // 4 bytes for BGRA or RGBA. member in namespace:__anon9551
226 int num_pixels = image.stride() / kBytesPerPixel * image.size().height();
/external/chromium_org/ui/gfx/
H A Dgtk_util.cc102 const int kBytesPerPixel = 4; local
122 i += kBytesPerPixel;
/external/chromium_org/ui/gfx/codec/
H A Dpng_codec_unittest.cc977 const int kBytesPerPixel = 4; local
979 const int kRowBytes = kPaddedWidth * kBytesPerPixel;
/external/chromium_org/android_webview/browser/
H A Din_process_view_renderer.cc151 const size_t kBytesPerPixel = 4; member in namespace:android_webview::__anon3421
481 policy.bytes_limit = g_memory_multiplier * kBytesPerPixel *
/external/chromium_org/remoting/client/plugin/
H A Dchromoting_instance.cc56 const int kBytesPerPixel = 4; member in namespace:remoting::__anon9699
623 uint32 cursor_total_bytes = width * height * kBytesPerPixel;
640 int bytes_per_row = width * kBytesPerPixel;
661 src_row_data += x * kBytesPerPixel;
663 bytes_per_row = width * kBytesPerPixel;
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_unittest.cc2260 const GLint kBytesPerPixel = 3; local
2263 static const int8 kSrcPixels[kWidth * kHeight * kBytesPerPixel] = {
2290 kWidth, kHeight, kBytesPerPixel, kSrcPixels, kSrcPixels, kPackAlignment);
2341 GLint num_left_bytes = num_left_pixels * kBytesPerPixel;
2346 GLint num_right_bytes = num_right_pixels * kBytesPerPixel;
2372 const GLint kBytesPerPixel = 3; local
2374 static const int8 kSrcPixels[kWidth * kHeight * kBytesPerPixel] = {
2383 kWidth, kHeight, kBytesPerPixel, kSrcPixels, kSrcPixels, kPackAlignment);
2414 const GLint kBytesPerPixel = 4; local
2416 static const uint8 kExpectedPixels[kWidth * kHeight * kBytesPerPixel]
[all...]
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_implementation_unittest.cc1420 const GLint kBytesPerPixel = 4; local
1423 kBytesPerPixel;
1429 GetExpectedMemory(kWidth * kHeight / 2 * kBytesPerPixel);
1433 GetExpectedMemory(kWidth * kHeight / 2 * kBytesPerPixel);
1447 scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]);
1463 const GLint kBytesPerPixel = 4; local
1470 GetExpectedMemory(kWidth * kHeight * kBytesPerPixel);
1479 scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]);

Completed in 575 milliseconds