OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kBytesPerPixel
(Results
1 - 25
of
44
) sorted by null
1
2
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
differ_block.h
23
const int
kBytesPerPixel
= 4;
desktop_and_cursor_composer.cc
30
uint32_t base_alpha = 255 - src[x * DesktopFrame::
kBytesPerPixel
+ 3];
34
memcpy(dest + x * DesktopFrame::
kBytesPerPixel
,
35
src + x * DesktopFrame::
kBytesPerPixel
,
36
DesktopFrame::
kBytesPerPixel
);
38
dest[x * DesktopFrame::
kBytesPerPixel
] =
39
dest[x * DesktopFrame::
kBytesPerPixel
] * base_alpha / 255 +
40
src[x * DesktopFrame::
kBytesPerPixel
];
41
dest[x * DesktopFrame::
kBytesPerPixel
+ 1] =
42
dest[x * DesktopFrame::
kBytesPerPixel
+ 1] * base_alpha / 255 +
43
src[x * DesktopFrame::
kBytesPerPixel
+ 1]
[
all
...]
differ_block_unittest.cc
28
static const int kSizeOfBlock = kBlockSize * kBlockSize *
kBytesPerPixel
;
46
int result = BlockDifference(block1, block2, kBlockSize *
kBytesPerPixel
);
58
int result = BlockDifference(block1, block2, kBlockSize *
kBytesPerPixel
);
70
int result = BlockDifference(block1, block2, kBlockSize *
kBytesPerPixel
);
82
int result = BlockDifference(block1, block2, kBlockSize *
kBytesPerPixel
);
desktop_frame.cc
36
DesktopFrame::
kBytesPerPixel
* dest_rect.left();
38
memcpy(dest, src_buffer, DesktopFrame::
kBytesPerPixel
* dest_rect.width());
51
DesktopFrame::
kBytesPerPixel
* src_pos.x(),
56
: DesktopFrame(size,
kBytesPerPixel
* size.width(),
57
new uint8_t[
kBytesPerPixel
* size.width() * size.height()],
70
frame.size().width() *
kBytesPerPixel
);
differ_block.cc
24
int width_bytes = kBlockSize *
kBytesPerPixel
;
desktop_frame_win.cc
35
int bytes_per_row = size.width() *
kBytesPerPixel
;
42
bmi.bmiHeader.biBitCount = DesktopFrameWin::
kBytesPerPixel
* 8;
desktop_frame.h
26
static const int
kBytesPerPixel
= 4;
mouse_cursor_monitor_mac.mm
229
if (CGImageGetBitsPerPixel(cg_image) != DesktopFrame::
kBytesPerPixel
* 8 ||
231
static_cast<size_t>(DesktopFrame::
kBytesPerPixel
* size.width()) ||
258
size.width() * size.height() * DesktopFrame::
kBytesPerPixel
);
/external/chromium_org/remoting/host/
screen_capturer_fake.cc
98
const int
kBytesPerPixel
= webrtc::DesktopFrame::
kBytesPerPixel
;
101
size_.width() * size_.height() *
kBytesPerPixel
);
104
(box_pos_y_ * size_.width() + box_pos_x_) *
kBytesPerPixel
;
123
row[x *
kBytesPerPixel
] = r;
124
row[x *
kBytesPerPixel
+ 1] = g;
125
row[x *
kBytesPerPixel
+ 2] = b;
126
row[x *
kBytesPerPixel
+ 3] = 0xff;
135
bytes_per_row_ = size_.width() * webrtc::DesktopFrame::
kBytesPerPixel
;
/external/chromium_org/remoting/codec/
video_decoder.h
23
static const int
kBytesPerPixel
= 4;
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
;
codec_test.cc
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
;
[
all
...]
video_encoder_verbatim.cc
40
webrtc::DesktopFrame::
kBytesPerPixel
;
50
const int row_size = webrtc::DesktopFrame::
kBytesPerPixel
* rect.width();
52
rect.left() * webrtc::DesktopFrame::
kBytesPerPixel
;
video_decoder_vpx.cc
35
(rect.left() * VideoDecoder::
kBytesPerPixel
));
39
ptr += stride / VideoDecoder::
kBytesPerPixel
;
196
rect.left() * VideoDecoder::
kBytesPerPixel
;
/external/chromium_org/gpu/command_buffer/service/
gpu_state_tracer.cc
17
const int
kBytesPerPixel
= 4;
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
;
/frameworks/webview/chromium/plat_support/
graphic_buffer_impl.cpp
109
static const int
kBytesPerPixel
= 4;
110
return mBuffer->getStride() *
kBytesPerPixel
;
/external/chromium_org/remoting/base/
util_unittest.cc
14
static const int
kBytesPerPixel
= 4;
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/chrome/browser/ui/libgtk2ui/
skia_utils_gtk2.cc
108
const int
kBytesPerPixel
= 4;
128
i +=
kBytesPerPixel
;
/external/chromium_org/content/browser/renderer_host/
image_transport_factory_android.cc
63
static const size_t
kBytesPerPixel
= 4;
67
kBytesPerPixel
;
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
cursor.cc
46
const int
kBytesPerPixel
= DesktopFrame::
kBytesPerPixel
;
81
COMPILE_ASSERT(sizeof(uint32_t) ==
kBytesPerPixel
,
149
bmi.bV5BitCount =
kBytesPerPixel
* 8;
screen_capturer_win_magnifier.cc
141
DesktopFrame::
kBytesPerPixel
,
403
captured_bytes_per_pixel != DesktopFrame::
kBytesPerPixel
) {
430
size.width() * size.height() * DesktopFrame::
kBytesPerPixel
;
436
size, size.width() * DesktopFrame::
kBytesPerPixel
, shared_memory));
screen_capturer_win_gdi.cc
107
DesktopFrame::
kBytesPerPixel
,
253
DesktopFrame::
kBytesPerPixel
;
302
DesktopFrame::
kBytesPerPixel
);
/external/chromium_org/remoting/protocol/
client_control_dispatcher.cc
24
const int
kBytesPerPixel
= 4;
48
uint32 cursor_total_bytes = width * height *
kBytesPerPixel
;
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/
x_server_pixel_buffer.cc
276
dst_pos += dst_x * DesktopFrame::
kBytesPerPixel
;
279
int row_bytes = rect.width() * DesktopFrame::
kBytesPerPixel
;
306
dst_pos += dst_x * DesktopFrame::
kBytesPerPixel
;
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
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.
Completed in 1950 milliseconds
1
2