Searched refs:kBytesPerPixel (Results 1 - 25 of 25) 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/gpu/command_buffer/service/
H A Dgpu_state_tracer.cc17 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 Dgles2_cmd_decoder_unittest.cc2226 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 Dvideo_decoder_verbatim.cc25 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 Dvideo_decoder.h23 static const int kBytesPerPixel = 4; member in class:remoting::VideoDecoder
H A Dcodec_test.cc25 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 Dvideo_encoder_verbatim.cc40 webrtc::DesktopFrame::kBytesPerPixel;
50 const int row_size = webrtc::DesktopFrame::kBytesPerPixel * rect.width();
52 rect.left() * webrtc::DesktopFrame::kBytesPerPixel;
H A Dvideo_decoder_vpx.cc34 (rect.left() * VideoDecoder::kBytesPerPixel));
38 ptr += stride / VideoDecoder::kBytesPerPixel;
/external/chromium_org/remoting/base/
H A Dutil_unittest.cc13 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 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.cc71 static const size_t kBytesPerPixel = 4; local
75 kBytesPerPixel;
H A Dcompositor_impl_android.cc367 static const size_t kBytesPerPixel = 4; local
372 kBytesPerPixel;
/external/chromium_org/remoting/protocol/
H A Dclient_control_dispatcher.cc24 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 Dgtk_util.cc102 const int kBytesPerPixel = 4; local
122 i += kBytesPerPixel;
/external/chromium_org/content/browser/renderer_host/media/
H A Ddesktop_capture_device.cc184 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 Dtest_interface.cc202 int num_pixels = image_desc.stride / kBytesPerPixel * image_desc.size.height;
221 int32_t stride = image_desc.stride / kBytesPerPixel; // width + padding.
H A Dtest_interface.h208 const int kBytesPerPixel = sizeof(uint32_t); // 4 bytes for BGRA or RGBA. variable
/external/chromium_org/ppapi/tests/
H A Dtest_fullscreen.cc26 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 Dgl_readback_unittests.cc56 const GLint kBytesPerPixel = 4; local
67 kWidth * kHeight * kBytesPerPixel,
/external/chromium_org/remoting/client/jni/
H A Dchromoting_jni_runtime.cc28 const int kBytesPerPixel = 4; member in namespace:__anon10413
272 cursor_shape.width() * cursor_shape.height() * kBytesPerPixel;
/external/chromium_org/remoting/client/plugin/
H A Dchromoting_instance.cc59 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 Drectangle_update_decoder.cc63 (rect.left() * kBytesPerPixel);
/external/chromium_org/android_webview/browser/
H A Din_process_view_renderer.cc146 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 Dgles2_implementation_unittest.cc1427 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 Dpng_codec_unittest.cc978 const int kBytesPerPixel = 4; local
980 const int kRowBytes = kPaddedWidth * kBytesPerPixel;

Completed in 690 milliseconds