/external/chromium_org/remoting/host/ |
H A D | screen_capturer_fake.cc | 88 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/gpu/command_buffer/service/ |
H A D | gpu_state_tracer.cc | 17 const int kBytesPerPixel = 4; member in namespace:gpu::gles2::__anon8839 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;
|
H A D | gles2_cmd_decoder_unittest.cc | 2226 const GLint kBytesPerPixel = 3; local 2229 static const int8 kSrcPixels[kWidth * kHeight * kBytesPerPixel] = { 2256 kWidth, kHeight, kBytesPerPixel, kSrcPixels, kSrcPixels, kPackAlignment); 2307 GLint num_left_bytes = num_left_pixels * kBytesPerPixel; 2312 GLint num_right_bytes = num_right_pixels * kBytesPerPixel; 2338 const GLint kBytesPerPixel = 3; local 2340 static const int8 kSrcPixels[kWidth * kHeight * kBytesPerPixel] = { 2349 kWidth, kHeight, kBytesPerPixel, kSrcPixels, kSrcPixels, kPackAlignment); 2380 const GLint kBytesPerPixel = 4; local 2382 static const uint8 kExpectedPixels[kWidth * kHeight * kBytesPerPixel] [all...] |
/external/chromium_org/remoting/codec/ |
H A D | 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;
|
H A D | video_decoder.h | 23 static const int kBytesPerPixel = 4; member in class:remoting::VideoDecoder
|
H A D | codec_test.cc | 25 const int kBytesPerPixel = 4; member in namespace:__anon10426 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; [all...] |
H A D | video_encoder_verbatim.cc | 40 webrtc::DesktopFrame::kBytesPerPixel; 50 const int row_size = webrtc::DesktopFrame::kBytesPerPixel * rect.width(); 52 rect.left() * webrtc::DesktopFrame::kBytesPerPixel;
|
H A D | video_decoder_vpx.cc | 34 (rect.left() * VideoDecoder::kBytesPerPixel)); 38 ptr += stride / VideoDecoder::kBytesPerPixel;
|
/external/chromium_org/remoting/base/ |
H A D | util_unittest.cc | 13 static const int kBytesPerPixel = 4; variable 16 static const int kRgbStride = kWidth * kBytesPerPixel; 30 rgb_buffer_size_ = kWidth * kHeight * kBytesPerPixel; 50 (rect.left() * kBytesPerPixel)); 54 ptr += kRgbStride / kBytesPerPixel; 79 ptr += kRgbStride / kBytesPerPixel;
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | skia_utils_gtk2.cc | 110 const int kBytesPerPixel = 4; local 130 i += kBytesPerPixel;
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | image_transport_factory_android.cc | 71 static const size_t kBytesPerPixel = 4; local 75 kBytesPerPixel;
|
H A D | compositor_impl_android.cc | 367 static const size_t kBytesPerPixel = 4; local 372 kBytesPerPixel;
|
/external/chromium_org/remoting/protocol/ |
H A D | client_control_dispatcher.cc | 24 const int kBytesPerPixel = 4; member in namespace:remoting::protocol::__anon10535 48 uint32 cursor_total_bytes = width * height * kBytesPerPixel;
|
/external/chromium_org/ui/gfx/ |
H A D | gtk_util.cc | 102 const int kBytesPerPixel = 4; local 122 i += kBytesPerPixel;
|
/external/chromium_org/content/browser/renderer_host/media/ |
H A D | desktop_capture_device.cc | 184 webrtc::DesktopFrame::kBytesPerPixel; 199 frame->size().width() * webrtc::DesktopFrame::kBytesPerPixel; 225 webrtc::DesktopFrame::kBytesPerPixel * output_rect_.left();
|
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/ |
H A D | test_interface.cc | 202 int num_pixels = image_desc.stride / kBytesPerPixel * image_desc.size.height; 221 int32_t stride = image_desc.stride / kBytesPerPixel; // width + padding.
|
H A D | test_interface.h | 208 const int kBytesPerPixel = sizeof(uint32_t); // 4 bytes for BGRA or RGBA. variable
|
/external/chromium_org/ppapi/tests/ |
H A D | test_fullscreen.cc | 26 const int kBytesPerPixel = sizeof(uint32_t); // 4 bytes for BGRA or RGBA. member in namespace:__anon10260 223 int num_pixels = image.stride() / kBytesPerPixel * image.size().height();
|
/external/chromium_org/gpu/command_buffer/tests/ |
H A D | gl_readback_unittests.cc | 56 const GLint kBytesPerPixel = 4; local 67 kWidth * kHeight * kBytesPerPixel,
|
/external/chromium_org/remoting/client/jni/ |
H A D | chromoting_jni_runtime.cc | 28 const int kBytesPerPixel = 4; member in namespace:__anon10413 272 cursor_shape.width() * cursor_shape.height() * kBytesPerPixel;
|
/external/chromium_org/remoting/client/plugin/ |
H A D | chromoting_instance.cc | 59 const int kBytesPerPixel = 4; member in namespace:remoting::__anon10414 509 COMPILE_ASSERT(sizeof(uint32_t) == kBytesPerPixel, rgba_pixels_are_32bit); 524 int bytes_per_row = width * kBytesPerPixel; 553 bytes_per_row = width * kBytesPerPixel;
|
/external/chromium_org/remoting/client/ |
H A D | rectangle_update_decoder.cc | 63 (rect.left() * kBytesPerPixel);
|
/external/chromium_org/android_webview/browser/ |
H A D | in_process_view_renderer.cc | 146 const size_t kBytesPerPixel = 4; member in namespace:android_webview::__anon3423 546 policy.bytes_limit = g_memory_multiplier * kBytesPerPixel *
|
/external/chromium_org/gpu/command_buffer/client/ |
H A D | gles2_implementation_unittest.cc | 1427 const GLint kBytesPerPixel = 4; local 1430 kBytesPerPixel; 1436 GetExpectedMemory(kWidth * kHeight / 2 * kBytesPerPixel); 1440 GetExpectedMemory(kWidth * kHeight / 2 * kBytesPerPixel); 1454 scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]); 1470 const GLint kBytesPerPixel = 4; local 1477 GetExpectedMemory(kWidth * kHeight * kBytesPerPixel); 1486 scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]);
|
/external/chromium_org/ui/gfx/codec/ |
H A D | png_codec_unittest.cc | 978 const int kBytesPerPixel = 4; local 980 const int kRowBytes = kPaddedWidth * kBytesPerPixel;
|