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

/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddiffer_block.h23 const int kBytesPerPixel = 4; member in namespace:webrtc
H A Ddesktop_frame.h26 static const int kBytesPerPixel = 4; member in class:webrtc::DesktopFrame
/external/chromium_org/remoting/codec/
H A Dvideo_decoder.h23 static const int kBytesPerPixel = 4; member in class:remoting::VideoDecoder
H A Dcodec_test.cc27 const int kBytesPerPixel = 4; member in namespace:__anon10383
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...]
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dskia_utils_gtk2.cc107 const int kBytesPerPixel = 4; local
127 i += kBytesPerPixel;
/external/chromium_org/gpu/command_buffer/service/
H A Dgpu_state_tracer.cc17 const int kBytesPerPixel = 4; member in namespace:gpu::gles2::__anon8425
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_framebuffers.cc385 const GLint kBytesPerPixel = 3; local
388 static const int8 kSrcPixels[kWidth * kHeight * kBytesPerPixel] = {
425 kWidth, kHeight, kBytesPerPixel, kSrcPixels, kSrcPixels, kPackAlignment);
482 GLint num_left_bytes = num_left_pixels * kBytesPerPixel;
487 GLint num_right_bytes = num_right_pixels * kBytesPerPixel;
514 const GLint kBytesPerPixel = 3; local
516 static const int8 kSrcPixels[kWidth * kHeight * kBytesPerPixel] = {
525 kWidth, kHeight, kBytesPerPixel, kSrcPixels, kSrcPixels, kPackAlignment);
562 const GLint kBytesPerPixel = 4; local
564 static const uint8 kExpectedPixels[kWidth * kHeight * kBytesPerPixel]
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Dimage_transport_factory_android.cc63 static const size_t kBytesPerPixel = 4; local
67 kBytesPerPixel;
H A Dcompositor_impl_android.cc516 static const size_t kBytesPerPixel = 4; local
521 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/protocol/
H A Dclient_control_dispatcher.cc24 const int kBytesPerPixel = 4; member in namespace:remoting::protocol::__anon10501
48 uint32 cursor_total_bytes = width * height * kBytesPerPixel;
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Dcursor.cc46 const int kBytesPerPixel = DesktopFrame::kBytesPerPixel; member in namespace:webrtc::__anon15942
81 COMPILE_ASSERT(sizeof(uint32_t) == kBytesPerPixel,
149 bmi.bV5BitCount = kBytesPerPixel * 8;
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_readback_unittest.cc56 const GLint kBytesPerPixel = 4; local
67 kWidth * kHeight * kBytesPerPixel,
/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:__anon10202
223 int num_pixels = image.stride() / kBytesPerPixel * image.size().height();
/external/chromium_org/remoting/client/jni/
H A Dchromoting_jni_runtime.cc28 const int kBytesPerPixel = 4; member in namespace:__anon10369
342 cursor_shape.width() * cursor_shape.height() * kBytesPerPixel;
/external/chromium_org/ui/gfx/codec/
H A Dpng_codec_unittest.cc991 const int kBytesPerPixel = 4; local
993 const int kRowBytes = kPaddedWidth * kBytesPerPixel;
/external/chromium_org/android_webview/browser/
H A Dbrowser_view_renderer.cc44 const size_t kBytesPerPixel = 4; member in namespace:android_webview::__anon1788
195 policy.bytes_limit = kMemoryMultiplier * kBytesPerPixel * width * height;
/external/chromium_org/remoting/client/plugin/
H A Dchromoting_instance.cc69 const int kBytesPerPixel = 4; member in namespace:remoting::__anon10370
558 COMPILE_ASSERT(sizeof(uint32_t) == kBytesPerPixel, rgba_pixels_are_32bit);
573 int bytes_per_row = width * kBytesPerPixel;
602 bytes_per_row = width * kBytesPerPixel;
/external/chromium_org/gpu/command_buffer/client/
H A Dgles2_implementation_unittest.cc1647 const GLint kBytesPerPixel = 4; local
1650 kBytesPerPixel;
1656 GetExpectedMemory(kWidth * kHeight / 2 * kBytesPerPixel);
1660 GetExpectedMemory(kWidth * kHeight / 2 * kBytesPerPixel);
1674 scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]);
1690 const GLint kBytesPerPixel = 4; local
1697 GetExpectedMemory(kWidth * kHeight * kBytesPerPixel);
1706 scoped_ptr<int8[]> buffer(new int8[kWidth * kHeight * kBytesPerPixel]);

Completed in 464 milliseconds