Home
last modified time | relevance | path

Searched refs:bytes_per_row (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/gpu/command_buffer/service/
Dgpu_state_tracer.cc65 int bytes_per_row = screenshot_size_.width() * kBytesPerPixel; in SaveScreenshot() local
67 for (int x = 0; x < bytes_per_row; x++) { in SaveScreenshot()
68 std::swap(screenshot_pixels_[y * bytes_per_row + x], in SaveScreenshot()
70 [(screenshot_size_.height() - y - 1) * bytes_per_row + x]); in SaveScreenshot()
80 int bytes_per_row = screenshot_size_.width() * kBytesPerPixel; in AppendAsTraceFormat() local
84 bytes_per_row, in AppendAsTraceFormat()
/external/mesa3d/src/glx/
Dcompsize.c143 int bytes_per_row; in __glImageSize() local
172 bytes_per_row = (width + 7) >> 3; in __glImageSize()
179 bytes_per_row = __glBytesPerElement(type) * width; in __glImageSize()
182 return bytes_per_row * height * depth * components; in __glImageSize()
/external/chromium_org/third_party/mesa/src/src/glx/
Dcompsize.c143 int bytes_per_row; in __glImageSize() local
172 bytes_per_row = (width + 7) >> 3; in __glImageSize()
179 bytes_per_row = __glBytesPerElement(type) * width; in __glImageSize()
182 return bytes_per_row * height * depth * components; in __glImageSize()
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
Ddesktop_frame_win.cc35 int bytes_per_row = size.width() * kBytesPerPixel; in Create() local
44 bmi.bmiHeader.biSizeImage = bytes_per_row * size.height(); in Create()
58 return new DesktopFrameWin(size, bytes_per_row, in Create()
Ddiffer.h39 int bytes_per_row() { return bytes_per_row_; } in bytes_per_row() function
Dscreen_capturer_x11.cc294 (differ_->bytes_per_row() != frame->stride()))) { in Capture()
/external/chromium_org/third_party/mesa/src/src/mesa/main/
Dimage.c137 GLint bytes_per_row; in _mesa_image_offset() local
145 bytes_per_row = alignment in _mesa_image_offset()
148 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
151 + (skiprows + row) * bytes_per_row in _mesa_image_offset()
156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local
164 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset()
165 remainder = bytes_per_row % alignment; in _mesa_image_offset()
167 bytes_per_row += (alignment - remainder); in _mesa_image_offset()
169 ASSERT(bytes_per_row % alignment == 0); in _mesa_image_offset()
171 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
[all …]
/external/mesa3d/src/mesa/main/
Dimage.c137 GLint bytes_per_row; in _mesa_image_offset() local
145 bytes_per_row = alignment in _mesa_image_offset()
148 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
151 + (skiprows + row) * bytes_per_row in _mesa_image_offset()
156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local
164 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset()
165 remainder = bytes_per_row % alignment; in _mesa_image_offset()
167 bytes_per_row += (alignment - remainder); in _mesa_image_offset()
169 ASSERT(bytes_per_row % alignment == 0); in _mesa_image_offset()
171 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
[all …]
/external/chromium_org/content/common/gpu/client/
Dgl_helper.cc163 int32 bytes_per_row, // generally dst_size.width() * 4
220 bytes_per_row(bytes_per_row_), in Request()
229 int bytes_per_row; member
466 int32 bytes_per_row, in ReadbackAsync() argument
475 new Request(dst_size, bytes_per_row, row_stride_bytes, out, callback); in ReadbackAsync()
593 int32 bytes_per_row = out_color_type == kAlpha_8_SkColorType in CropScaleReadbackAndCleanTexture() local
598 bytes_per_row, in CropScaleReadbackAndCleanTexture()
599 bytes_per_row, in CropScaleReadbackAndCleanTexture()
707 if (request->bytes_per_row == request->size.width() * bytes_per_pixel && in ReadbackDone()
708 request->bytes_per_row == request->row_stride_bytes) { in ReadbackDone()
[all …]
/external/chromium_org/media/base/
Dvideo_frame_unittest.cc58 size_t bytes_per_row = yv12_frame->coded_size().width() * 4u; in ExpectFrameColor() local
60 base::AlignedAlloc(bytes_per_row * yv12_frame->coded_size().height() + in ExpectFrameColor()
72 bytes_per_row, in ExpectFrameColor()
77 rgb_data + (bytes_per_row * row)); in ExpectFrameColor()
/external/freetype/include/
Dftwinfnt.h210 FT_UShort bytes_per_row; member
/external/chromium_org/third_party/freetype/include/freetype/
Dftwinfnt.h209 FT_UShort bytes_per_row; member
/external/pdfium/core/include/thirdparties/freetype/freetype/
Dftwinfnt.h209 FT_UShort bytes_per_row; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
Dftwinfnt.h209 FT_UShort bytes_per_row; member
/external/chromium_org/content/browser/media/capture/
Ddesktop_capture_device.cc272 int bytes_per_row = in OnCaptureCompleted() local
277 memcpy(dest, output_data, bytes_per_row); in OnCaptureCompleted()
278 dest += bytes_per_row; in OnCaptureCompleted()
/external/chromium_org/third_party/skia/src/utils/
DSkPDFRasterizer.cpp49 size_t rowSize = image.bytes_per_row(); in SkPopplerRasterizePDF()
/external/skia/src/utils/
DSkPDFRasterizer.cpp49 size_t rowSize = image.bytes_per_row(); in SkPopplerRasterizePDF()
/external/chromium_org/remoting/host/
Dchromoting_messages.h153 IPC_STRUCT_MEMBER(int, bytes_per_row)
Ddesktop_session_agent.cc320 serialized_frame.bytes_per_row = frame->stride(); in OnCaptureCompleted()
Ddesktop_session_proxy.cc507 serialized_frame.dimensions, serialized_frame.bytes_per_row, in OnCaptureCompleted()
/external/chromium_org/ui/native_theme/
Dnative_theme_mac.mm58 const size_t bytes_per_row = 4;
59 COMPILE_ASSERT(sizeof(swatch) == bytes_per_row, skcolor_not_4_bytes);
63 &swatch, 1, 1, 8, bytes_per_row, color_space, bitmap_info));
/external/chromium_org/remoting/client/plugin/
Dchromoting_instance.cc573 int bytes_per_row = width * kBytesPerPixel; in SetCursorShape() local
602 bytes_per_row = width * kBytesPerPixel; in SetCursorShape()
612 memcpy(dst_row_data, src_row_data, bytes_per_row); in SetCursorShape()
620 size_t buffer_size = height * bytes_per_row; in SetCursorShape()
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc104 (differ_->bytes_per_row() != current_frame->stride())) { in Capture()
Dscreen_capturer_win_magnifier.cc138 (differ_->bytes_per_row() != current_frame->stride())) { in Capture()