HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 476 - 500 of 7601) sorted by null

<<11121314151617181920>>

  /external/chromium_org/native_client_sdk/src/examples/api/graphics_2d/
graphics_2d.cc 67 pp::Size new_size = pp::Size(view.GetRect().width() * device_scale_,
129 buffer_ = new uint8_t[new_size.width() * new_size.height()];
144 int width = size_.width(); local
150 size_t offset = y * width;
151 for (int x = 0; x < width; ++x) {
166 int width = size_.width(); local
169 size_t offset = y * width;
170 for (int x = 1; x < width - 1; ++x)
188 int width = size_.width(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
WidthIterator.cpp 94 float width = fontData->widthForGlyph(glyphData.glyph); local
98 width *= m_run.horizontalGlyphStretch();
100 return width;
112 float WidthIterator::adjustSpacing(float width, const CharacterData& charData,
116 if (width)
117 width += m_font->fontDescription().letterSpacing();
144 width += m_expansionPerOpportunity;
152 // We apply additional space between "words" by adding width to the space character.
156 width += m_font->fontDescription().wordSpacing();
162 return width;
195 float width; local
    [all...]
  /external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
cursor.cc 58 void AddCursorOutline(int width, int height, uint32_t* data) {
60 for (int x = 0; x < width; x++) {
66 if ((y > 0 && data[-width] == kPixelRgbaBlack) ||
67 (y < height - 1 && data[width] == kPixelRgbaBlack) ||
69 (x < width - 1 && data[1] == kPixelRgbaBlack)) {
80 void AlphaMul(uint32_t* data, int width, int height) {
84 for (uint32_t* data_end = data + width * height; data != data_end; ++data) {
98 bool HasAlphaChannel(const uint32_t* data, int stride, int width, int height) {
101 for (int x = 0; x < width; ++x) {
106 plane += stride - width;
138 int width = bitmap_info.bmWidth; local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java 57 private static final int WIDTH = 256;
93 int width = 100; local
95 byte[] yuv = new byte[width * height * 2];
101 image = new YuvImage(yuv, mFormats[i], width, height, null);
113 expected = new int[] {width, width};
115 expected = new int[] {width * 2};
119 image = new YuvImage(yuv, mFormats[i], width, height, null);
131 // abnormal case: width is non-positive
134 fail("not catching illegal width");
200 int width = mTestBitmaps[0].getWidth(); local
233 int width = bitmap.getWidth(); local
353 int width = expected.getWidth(); local
    [all...]
PixelXorXfermodeTest.java 30 int width = 100; local
32 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888);
34 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888);
37 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888);
44 assertEquals(Color.WHITE, target.getPixel(width / 4, height / 4));
46 assertEquals(Color.YELLOW, target.getPixel(width / 4, height * 3 / 4));
48 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4));
  /external/chromium_org/third_party/skia/src/core/
SkDistanceFieldGen.cpp 35 static bool found_edge(const unsigned char* imagePtr, int width, int neighborFlags) {
38 const int offsets[8] = {-1, 1, -width-1, -width, -width+1, width-1, width, width+1 };
148 static void init_distances(DFData* data, unsigned char* edges, int width, int height) {
151 DFData* prevData = data - width;
152 DFData* nextData = data + width;
    [all...]
  /external/chromium_org/media/base/simd/
convert_yuv_to_rgb.h 20 int width,
31 ptrdiff_t width,
39 int width,
52 ptrdiff_t width,
59 int width,
71 int width,
83 ptrdiff_t width,
92 ptrdiff_t width,
123 ptrdiff_t width,
130 ptrdiff_t width,
    [all...]
  /external/chromium_org/printing/
image.cc 84 if (size_.width() == 0 || size_.height() == 0 ||
85 rhs.size_.width() == 0 || rhs.size_.height() == 0)
88 int width = std::min(size_.width(), rhs.size_.width()); local
93 for (int x = 0; x < width; ++x) {
101 for (int x = width; x < size_.width(); ++x) {
108 for (int x = width; x < rhs.size_.width(); ++x)
    [all...]
  /external/chromium_org/third_party/libjpeg_turbo/
turbojpeg.h 98 * MCU block width (in pixels) for a given level of chrominance subsampling.
348 * and #tjMCUHeight.) If the image's width or height is not evenly divisible
403 * by the MCU block width (see #tjMCUWidth.)
412 * The width of the cropping region. Setting this to 0 is the equivalent of
413 * setting it to the width of the source JPEG image - x.
456 * @param arrayRegion #tjregion structure containing the width and height of
461 * @param planeRegion #tjregion structure containing the width and height of
487 * Pad the given width to the nearest 32-bit boundary
489 #define TJPAD(width) (((width)+3)&(~3)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_copypix.c 52 GLint width, GLint height,
57 if (srcx >= dstx + width || (srcx + width <= dstx)) {
72 if (srcx > (dstx + ((zoomX > 0.0F) ? (width * zoomX + 1.0F) : 0.0F))) {
76 else if (srcx + width + 1.0F < dstx + ((zoomX > 0.0F) ? 0.0F : (width * zoomX))) {
100 GLint width, GLint height, GLint destx, GLint desty)
115 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
142 tmpImage = (GLfloat *) malloc(width * height * sizeof(GLfloat) * 4);
151 width, srcx, sy + row, p )
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_copypix.c 52 GLint width, GLint height,
57 if (srcx >= dstx + width || (srcx + width <= dstx)) {
72 if (srcx > (dstx + ((zoomX > 0.0F) ? (width * zoomX + 1.0F) : 0.0F))) {
76 else if (srcx + width + 1.0F < dstx + ((zoomX > 0.0F) ? 0.0F : (width * zoomX))) {
100 GLint width, GLint height, GLint destx, GLint desty)
115 overlapping = regions_overlap(srcx, srcy, destx, desty, width, height,
142 tmpImage = (GLfloat *) malloc(width * height * sizeof(GLfloat) * 4);
151 width, srcx, sy + row, p )
    [all...]
  /external/libyuv/files/source/
convert_argb.cc 33 int width, int height) {
35 width <= 0 || height == 0) {
46 width * 4, height);
56 int width, int height) {
59 width <= 0 || height == 0) {
72 int width) = I444ToARGBRow_C;
74 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8) {
76 if (IS_ALIGNED(width, 8)) {
86 I444ToARGBRow(src_y, src_u, src_v, dst_argb, width);
101 int width, int height)
    [all...]
row_common.cc 22 void BGRAToARGBRow_C(const uint8* src_bgra, uint8* dst_argb, int width) {
23 for (int x = 0; x < width; ++x) {
38 void ABGRToARGBRow_C(const uint8* src_abgr, uint8* dst_argb, int width) {
39 for (int x = 0; x < width; ++x) {
54 void RGBAToARGBRow_C(const uint8* src_abgr, uint8* dst_argb, int width) {
55 for (int x = 0; x < width; ++x) {
70 void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width) {
71 for (int x = 0; x < width; ++x) {
84 void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width) {
85 for (int x = 0; x < width; ++x)
    [all...]
convert.cc 37 int width, int height) {
40 width <= 0 || height == 0) {
55 int halfwidth = (width + 1) >> 1;
58 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
132 int width, int height) {
135 width <= 0 || height == 0) {
148 int halfwidth = (width + 1) >> 1;
164 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height);
212 int width, int height) {
215 width <= 0 || height == 0)
    [all...]
  /external/chromium_org/third_party/angle/samples/angle/sample_util/
texture_utils.cpp 23 const size_t width = 2; local
25 GLubyte pixels[width * height * 3] =
32 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels);
82 const size_t width = 256; local
84 std::array<GLubyte, width * height * 3> pixels;
89 for (GLsizei x = 0; x < width; x++)
119 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels.data());
  /external/chromium_org/third_party/libjingle/source/talk/media/devices/
gtkvideorenderer.cc 71 bool GtkVideoRenderer::SetSize(int width, int height, int reserved) {
75 if ((!window_ && !Initialize(width, height)) || IsClosed()) {
79 image_.reset(new uint8[width * height * 4]);
80 gtk_widget_set_size_request(draw_area_, width, height);
117 bool GtkVideoRenderer::Initialize(int width, int height) {
128 gtk_widget_set_size_request(draw_area_, width, height);
133 image_.reset(new uint8[width * height * 4]);
  /external/chromium_org/third_party/libvpx/source/libvpx/test/
i420_video_source.h 25 unsigned int width, unsigned int height,
39 SetSize(width, height);
83 void SetSize(unsigned int width, unsigned int height) {
84 if (width != width_ || height != height_) {
86 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1);
88 width_ = width;
90 raw_sz_ = width * height * 3 / 2;
  /external/chromium_org/third_party/libwebp/utils/
filters.c 25 assert(width > 0); \
27 assert(stride >= width); \
45 int width, int height, int stride,
59 PredictLine(in + 1, preds, out + 1, width - 1, inverse);
70 PredictLine(in + 1, preds, out + 1, width - 1, inverse);
78 static void HorizontalFilter(const uint8_t* data, int width, int height,
80 DoHorizontalFilter(data, width, height, stride, 0, height, 0, filtered_data);
83 static void HorizontalUnfilter(int width, int height, int stride, int row,
85 DoHorizontalFilter(data, width, height, stride, row, num_rows, 1, data);
92 int width, int height, int stride
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_format_latc.c 56 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
58 util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
63 unsigned src_stride, unsigned width, unsigned height)
65 util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
69 util_format_latc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
76 for(x = 0; x < width; x += 4) {
95 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height)
97 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height);
119 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
125 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrRenderTarget.cpp 16 bool GrRenderTarget::readPixels(int left, int top, int width, int height,
27 left, top, width, height,
32 void GrRenderTarget::writePixels(int left, int top, int width, int height,
43 left, top, width, height,
84 if (!fResolveRect.intersect(0, 0, this->width(), this->height())) {
88 fResolveRect.setLTRB(0, 0, this->width(), this->height());
98 if (!fResolveRect.intersect(0, 0, this->width(), this->height())) {
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_pkm.cpp 47 const unsigned short width = etc1_pkm_get_width(buf); local
52 if (!this->chooseFromOneChoice(kN32_SkColorType, width, height)) {
58 SkScaledBitmapSampler sampler(width, height, this->getSampleSize());
82 int nPixels = width * height;
88 outRGBDataPtr, width*3, buf, width, height, SkTextureCompressor::kETC1_Format)) {
93 const int srcRowBytes = width * 3;
  /external/libvpx/libvpx/test/
i420_video_source.h 25 unsigned int width, unsigned int height,
39 SetSize(width, height);
83 void SetSize(unsigned int width, unsigned int height) {
84 if (width != width_ || height != height_) {
86 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1);
88 width_ = width;
90 raw_sz_ = width * height * 3 / 2;
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_latc.c 56 util_format_latc1_unorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
58 util_format_rgtc1_unorm_unpack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
63 unsigned src_stride, unsigned width, unsigned height)
65 util_format_rgtc1_unorm_pack_rgba_8unorm(dst_row, dst_stride, src_row, src_stride, width, height);
69 util_format_latc1_unorm_unpack_rgba_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
76 for(x = 0; x < width; x += 4) {
95 util_format_latc1_unorm_pack_rgba_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height)
97 util_format_rgtc1_unorm_pack_rgba_float(dst_row, dst_stride, src_row, src_stride, width, height);
119 util_format_latc1_snorm_unpack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height)
125 util_format_latc1_snorm_pack_rgba_8unorm(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/
convert.h 33 int width, int height);
43 int width, int height);
53 int width, int height);
64 int width, int height);
72 int width, int height);
81 int width, int height);
90 int width, int height);
98 int width, int height);
106 int width, int height);
114 int width, int height)
    [all...]
  /external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
row_neon.cc 130 int width) {
152 "+r"(width) // %4
164 int width) {
186 "+r"(width) // %4
198 int width) {
220 "+r"(width) // %4
232 int width) {
255 "+r"(width) // %4
267 int width) {
290 "+r"(width) // %
    [all...]

Completed in 728 milliseconds

<<11121314151617181920>>