Searched refs:width (Results 101 - 125 of 2975) sorted by relevance

1234567891011>>

/external/libyuv/files/include/libyuv/
H A Dconvert_argb.h38 int width, int height);
46 int width, int height);
54 int width, int height);
62 int width, int height);
70 int width, int height);
76 int width, int height);
82 int width, int height);
89 int width, int height);
96 int width, int height);
102 int width, in
[all...]
/external/skia/src/utils/
H A DSkTextureCompressor.cpp26 int width, int height, size_t rowBytes) {
28 return 0 == etc1_encode_image(src, width, height, 2, SkToInt(rowBytes), dst);
75 int GetCompressedDataSize(Format fmt, int width, int height) { argument
112 if(((width % dimX) == 0) && ((height % dimY) == 0)) {
113 const int blocksX = width / dimX;
123 int width, int height, size_t rowBytes, Format format, bool opt) {
170 return proc(dst, src, width, height, rowBytes);
179 int compressedDataSize = GetCompressedDataSize(format, bitmap.width(), bitmap.height());
188 bitmap.width(), bitmap.height(), bitmap.rowBytes(), format)) {
195 SkBlitter* CreateBlitterForFormat(int width, in argument
25 compress_etc1_565(uint8_t* dst, const uint8_t* src, int width, int height, size_t rowBytes) argument
122 CompressBufferToFormat(uint8_t* dst, const uint8_t* src, SkColorType srcColorType, int width, int height, size_t rowBytes, Format format, bool opt) argument
214 DecompressBufferFromFormat(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height, Format format) argument
[all...]
/external/skia/tests/
H A DFillPathTest.cpp19 virtual void blitH(int x, int y, int width) { argument
34 int width = 200; local
36 clip.set(0, height - expected_lines, width, height);
38 path.quadTo(SkIntToScalar(width/2), SkIntToScalar(height),
39 SkIntToScalar(width), 0.0f);
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DIndentingWriter.java24 * Writer that wraps another writer and passes width-limited and
33 /** {@code > 0;} the maximum output width */
34 private final int width; field in class:IndentingWriter
52 * @param width {@code >= 0;} the maximum output width (not including
56 public IndentingWriter(Writer out, int width, String prefix) { argument
63 if (width < 0) {
64 throw new IllegalArgumentException("width < 0");
71 this.width = (width !
85 IndentingWriter(Writer out, int width) argument
[all...]
/external/libvncserver/utils/
H A Dbdf2c.pl27 ($width,$height,$x,$y)=($1,$2,$3,$4);
28 @encodings[$glyphindex*5..($glyphindex*5+4)]=($counter,$width,$height,$x,$y);
32 $dwidth=$width;
42 if(int(($dwidth+7)/8) > int(($width+7)/8)) {
43 $_ .= "00"x(int(($dwidth+7)/8)-int(($width+7)/8));
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_framebuffer.c54 if (dst->width != src->width ||
85 dst->width = src->width;
111 fb->width = fb->height = 0;
117 * minimum width and height of all bound surfaces.
121 unsigned *width,
129 w = MIN2(w, fb->cbufs[i]->width);
134 w = MIN2(w, fb->zsbuf->width);
139 *width
120 util_framebuffer_min_size(const struct pipe_framebuffer_state *fb, unsigned *width, unsigned *height) argument
[all...]
/external/smali/util/src/main/java/org/jf/util/
H A DWrappedIndentingWriter.java39 * Writer that wraps another writer and passes width-limited and
48 /** &gt; 0; the maximum output width */
49 private final int width; field in class:WrappedIndentingWriter
67 * @param width &gt;= 0; the maximum output width (not including
71 public WrappedIndentingWriter(Writer out, int width, String prefix) { argument
78 if (width < 0) {
79 throw new IllegalArgumentException("width < 0");
86 this.width = (width !
100 WrappedIndentingWriter(Writer out, int width) argument
[all...]
/external/skia/src/core/
H A DSkBitmapFilter.h23 SkBitmapFilter(float width) argument
24 : fWidth(width), fInvWidth(1.f/width) {
47 float width() const { return fWidth; }
68 float fx = ((float)x + .5f) * this->width() / SKBITMAP_FILTER_TABLE_SIZE;
78 SkMitchellFilter(float b, float c, float width=2.0f)
79 : SkBitmapFilter(width), B(b), C(c) {
101 SkGaussianFilter(float a, float width=2.0f) argument
102 : SkBitmapFilter(width), alpha(a), expWidth(expf(-alpha * width * widt
114 SkTriangleFilter(float width=1) argument
126 SkBoxFilter(float width=0.5f) argument
138 SkHammingFilter(float width=1.f) argument
157 SkLanczosFilter(float width=3.f) argument
[all...]
/external/deqp/framework/platform/raspi/
H A DtcuRaspiPlatform.cpp70 Window (int width, int height);
109 const int width = params.width != eglu::WindowParams::SIZE_DONT_CARE ? params.width : DEFAULT_WINDOW_WIDTH; local
112 return new Window(width, height);
117 Window::Window (int width, int height) argument
131 dstRect.width = width;
136 srcRect.width = width << 1
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
H A DModelCache.java10 * model, width and height. For a loader that takes a model and returns a url, the cache could be used to safely memoize
11 * url creation based on the width and height of the view.
38 * @param width The width in pixels of the view the image is being loaded into.
43 public B get(A model, int width, int height) { argument
44 ModelKey<A> key = ModelKey.get(model, width, height);
54 * @param width The width in pixels of the view the image is being loaded into.
58 public void put(A model, int width, int height, B value) { argument
59 ModelKey<A> key = ModelKey.get(model, width, heigh
68 private int width; field in class:ModelCache.ModelKey
71 get(A model, int width, int height) argument
84 init(A model, int width, int height) argument
[all...]
/external/libvpx/libvpx/examples/
H A Dresize_util.c22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ",
27 static int parse_dim(char *v, int *width, int *height) { argument
33 *width = atoi(v);
35 if (*width <= 0 || *height <= 0)
48 int width, height, target_width, target_height; local
58 if (!parse_dim(argv[2], &width, &height)) {
87 width, height);
95 inbuf = (uint8_t*)malloc(width * height * 3 / 2);
97 inbuf_u = inbuf + width * height;
98 inbuf_v = inbuf_u + width * heigh
[all...]
/external/skia/gm/
H A Dbitmapcopy.cpp30 static void draw_checks(SkCanvas* canvas, int width, int height) { argument
34 SkIntToScalar(width / 2), SkIntToScalar(height / 2), paint);
36 canvas->drawRectCoords(SkIntToScalar(width / 2), SkIntToScalar(0),
37 SkIntToScalar(width), SkIntToScalar(height / 2), paint);
40 SkIntToScalar(width / 2), SkIntToScalar(height), paint);
42 canvas->drawRectCoords(SkIntToScalar(width / 2), SkIntToScalar(height / 2),
43 SkIntToScalar(width), SkIntToScalar(height), paint);
82 SkScalar width = SkIntToScalar(40); local
90 if (textWidth > width) {
91 width
[all...]
H A Dshallowgradient.cpp14 SkPoint pts[] = { { 0, 0 }, { size.width(), size.height() } };
20 SkPoint center = { size.width()/2, size.height()/2 };
21 return SkGradientShader::CreateRadial(center, size.width()/2, colors, NULL, count,
26 SkPoint center = { size.width()/2, size.height()/2 };
27 return SkGradientShader::CreateTwoPointConical(center, size.width()/64,
28 center, size.width()/2,
34 return SkGradientShader::CreateSweep(size.width()/2, size.height()/2,
58 SkRect r = { 0, 0, this->width(), this->height() };
59 SkSize size = SkSize::Make(r.width(), r.height());
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
H A Dplanar_functions.h29 int width, int height);
34 int width, int height);
39 int width, int height,
46 int width, int height);
58 int width, int height);
69 int width, int height);
77 int width, int height);
85 int width, int height);
93 int width, int height);
106 int width, in
[all...]
H A Dconvert_from.h33 int width, int height);
42 int width, int height);
51 int width, int height);
57 int width, int height);
68 int width, int height);
76 int width, int height);
83 int width, int height);
90 int width, int height);
97 int width, int height);
104 int width, in
[all...]
H A Drow.h481 int width);
486 int width);
491 int width);
496 int width);
501 int width);
506 int width);
511 int width);
516 int width);
521 int width);
526 int width);
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dapi_images.c96 VGint width, VGint height,
105 if (width <= 0 || height <= 0) {
109 if (width > vegaGeti(VG_MAX_IMAGE_WIDTH) ||
114 if (width * height > vegaGeti(VG_MAX_IMAGE_PIXELS)) {
126 return image_to_handle(image_create(format, width, height));
147 VGint width, VGint height)
156 if (width <= 0 || height <= 0) {
163 if (x + width < 0 || y + height < 0)
166 image_clear(img, x, y, width, height);
175 VGint width, VGin
95 vegaCreateImage(VGImageFormat format, VGint width, VGint height, VGbitfield allowedQuality) argument
145 vegaClearImage(VGImage image, VGint x, VGint y, VGint width, VGint height) argument
170 vegaImageSubData(VGImage image, const void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument
198 vegaGetImageSubData(VGImage image, void * data, VGint dataStride, VGImageFormat dataFormat, VGint x, VGint y, VGint width, VGint height) argument
225 vegaChildImage(VGImage parent, VGint x, VGint y, VGint width, VGint height) argument
272 vegaCopyImage(VGImage dst, VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height, VGboolean dither) argument
291 width, height, dither); local
311 vegaSetPixels(VGint dx, VGint dy, VGImage src, VGint sx, VGint sy, VGint width, VGint height) argument
331 vegaGetPixels(VGImage dst, VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height) argument
353 vegaWritePixels(const void * data, VGint dataStride, VGImageFormat dataFormat, VGint dx, VGint dy, VGint width, VGint height) argument
391 vegaReadPixels(void * data, VGint dataStride, VGImageFormat dataFormat, VGint sx, VGint sy, VGint width, VGint height) argument
466 vegaCopyPixels(VGint dx, VGint dy, VGint sx, VGint sy, VGint width, VGint height) argument
[all...]
/external/proguard/src/proguard/gui/splash/
H A DRectangleSprite.java36 private final VariableInt width; field in class:RectangleSprite
48 * @param width the variable width of the rectangle.
55 VariableInt width,
58 this(filled, color, x, y, width, height, new ConstantInt(0), new ConstantInt(0));
68 * @param width the variable width of the rectangle.
70 * @param arcWidth the variable width of the corner arcs.
77 VariableInt width,
86 this.width
51 RectangleSprite(boolean filled, VariableColor color, VariableInt x, VariableInt y, VariableInt width, VariableInt height) argument
73 RectangleSprite(boolean filled, VariableColor color, VariableInt x, VariableInt y, VariableInt width, VariableInt height, VariableInt arcWidth, VariableInt arcHeight) argument
[all...]
/external/skia/src/codec/
H A DSkCodecPriv.h53 static inline size_t compute_row_bytes_ppb(int width, uint32_t pixelsPerByte) { argument
54 return (width + pixelsPerByte - 1) / pixelsPerByte;
62 static inline size_t compute_row_bytes_bpp(int width, uint32_t bytesPerPixel) { argument
63 return width * bytesPerPixel;
71 static inline size_t compute_row_bytes(int width, uint32_t bitsPerPixel) { argument
75 return compute_row_bytes_ppb(width, pixelsPerByte);
79 return compute_row_bytes_bpp(width, bytesPerPixel);
/external/deqp/framework/opengl/simplereference/
H A DsglrContext.cpp37 int width = src.getWidth(); local
39 texImage2D(target, level, internalFormat, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr());
42 void Context::texImage2D (deUint32 target, int level, deUint32 internalFormat, int width, int height) argument
67 texImage2D(target, level, internalFormat, width, height, 0, format, dataType, DE_NULL);
72 int width = src.getWidth(); local
74 texSubImage2D(target, level, xoffset, yoffset, width, height, GL_RGBA, GL_UNSIGNED_BYTE, src.getAccess().getDataPtr());
77 void Context::readPixels (tcu::Surface& dst, int x, int y, int width, int height) argument
79 dst.setSize(width, height);
80 readPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, dst.getAccess().getDataPtr());
/external/skia/include/images/
H A DSkPageFlipper.h27 SkPageFlipper(int width, int height);
29 int width() const { return fWidth; } function in class:SkPageFlipper
32 void resize(int width, int height);
/external/skia/src/gpu/
H A DGrClip.cpp21 void GrClip::getConservativeBounds(int width, int height, SkIRect* devResult, argument
25 devResult->setLTRB(0, 0, width, height);
40 width,
/external/skia/src/opts/
H A DSkMorphology_opts_SSE2.cpp26 int width, int height, int srcStride, int dstStride)
32 radius = SkMin32(radius, width - 1);
34 for (int x = 0; x < width; ++x) {
52 if (x + radius < width - 1) {
60 int width, int height, int srcStride, int dstStride)
62 SkMorph_SSE2<kDilate, kX>(src, dst, radius, width, height, srcStride, dstStride);
66 int width, int height, int srcStride, int dstStride)
68 SkMorph_SSE2<kErode, kX>(src, dst, radius, width, height, srcStride, dstStride);
72 int width, int height, int srcStride, int dstStride)
74 SkMorph_SSE2<kDilate, kY>(src, dst, radius, width, heigh
25 SkMorph_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
59 SkDilateX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
65 SkErodeX_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
71 SkDilateY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
77 SkErodeY_SSE2(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
[all...]
H A DSkMorphology_opts_neon.cpp29 int width, int height, int srcStride, int dstStride)
35 radius = SkMin32(radius, width - 1);
37 for (int x = 0; x < width; ++x) {
53 if (x + radius < width - 1) upperSrc += srcStrideX;
59 int width, int height, int srcStride, int dstStride)
61 SkMorph_neon<kDilate, kX>(src, dst, radius, width, height, srcStride, dstStride);
65 int width, int height, int srcStride, int dstStride)
67 SkMorph_neon<kErode, kX>(src, dst, radius, width, height, srcStride, dstStride);
71 int width, int height, int srcStride, int dstStride)
73 SkMorph_neon<kDilate, kY>(src, dst, radius, width, heigh
28 SkMorph_neon(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
58 SkDilateX_neon(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
64 SkErodeX_neon(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
70 SkDilateY_neon(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
76 SkErodeY_neon(const SkPMColor* src, SkPMColor* dst, int radius, int width, int height, int srcStride, int dstStride) argument
[all...]
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-272564.js31 this.width = w;
40 if (b instanceof Bb) b = b.width;
41 a.width = ce(b, !0);

Completed in 738 milliseconds

1234567891011>>