/external/mesa3d/src/gallium/auxiliary/util/ |
u_framebuffer.c | 54 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 = 0 [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkBitmapFilter.h | 23 SkBitmapFilter(float width) 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) 102 : SkBitmapFilter(width), alpha(a), expWidth(expf(-alpha * width * width)) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PorterDuffColorFilterTest.java | 32 int width = 100; local 34 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); 36 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); 39 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888); 49 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 50 int lowerLeft = target.getPixel(width / 4, height * 3 / 4); 53 int lowerRight = target.getPixel(width * 3 / 4, height * 3 / 4); 62 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 63 assertEquals(Color.BLUE, target.getPixel(width / 4, height * 3 / 4)); 64 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)) [all...] |
/external/chromium_org/skia/ext/ |
platform_canvas.h | 41 SK_API SkCanvas* CreatePlatformCanvas(int width, 48 int width, 53 SK_API SkCanvas* CreatePlatformCanvas(int width, 63 // first. @data must be, at least, @height * StrideForWidth(@width) bytes. 64 SK_API SkCanvas* CreatePlatformCanvas(int width, 71 static inline SkCanvas* CreatePlatformCanvas(int width, 74 return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); 80 static inline SkCanvas* CreateBitmapCanvas(int width, 83 return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); 86 static inline SkCanvas* TryCreateBitmapCanvas(int width, [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
resize_util.c | 22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ", 27 static int parse_dim(char *v, int *width, int *height) { 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 * height / 4 [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
SkBlitRect_opts_SSE2.cpp | 17 int width, int height, 20 SkASSERT(width > 0); 21 SkASSERT(width < 31); 25 int count = width; 51 int width, int height, 54 SkASSERT(width >= 31); 62 int count = width; 114 int width, int height, 116 if (0 == height || 0 == width || 0 == color) { 122 if (width < 31) [all...] |
/external/chromium_org/ui/message_center/views/ |
bounded_label_unittest.cc | 46 // Converts the specified elision width to pixels. To make tests somewhat 48 // widths are specified as XYZ integers, with the corresponding width in 49 // pixels being X times the width of digit characters plus Y times the width 50 // of spaces plus Z times the width of ellipses in the default font of the 51 // test plaform. It is assumed that all digits have the same width in that 52 // font, that this width is greater than the width of spaces, and that the 53 // width of 3 digits is greater than the width of ellipses [all...] |
/external/deqp/framework/platform/raspi/ |
tcuRaspiPlatform.cpp | 70 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) 131 dstRect.width = width; 136 srcRect.width = width << 16 [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
ModelCache.java | 10 * 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. 24 public static <A> ModelKey<A> get(A model, int width, int height) { 30 modelKey.init(model, width, height); 35 private int width; field in class:ModelCache.ModelKey 40 private void init(A model, int width, int height) { 42 this.width = width; 58 if (width != modelKey.width) return false [all...] |
/external/libvpx/libvpx/examples/ |
resize_util.c | 22 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ", 27 static int parse_dim(char *v, int *width, int *height) { 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 * height / 4 [all...] |
/device/generic/goldfish/camera/ |
Converters.cpp | 33 int width, 40 for (int x = 0; x < width; x += 2, U += dUV, V += dUV) { 63 int width, 70 for (int x = 0; x < width; x += 2, U += dUV, V += dUV) { 88 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) 90 const int pix_total = width * height; 94 _YUV420SToRGB565(Y, U, V, 1, reinterpret_cast<uint16_t*>(rgb), width, height); 97 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) 99 const int pix_total = width * height; 103 _YUV420SToRGB32(Y, U, V, 1, reinterpret_cast<uint32_t*>(rgb), width, height) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/ |
planar_functions.h | 29 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, int height) [all...] |
convert_from.h | 33 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, int height) [all...] |
row.h | 569 int width); 574 int width); 579 int width); 584 int width); 589 int width); 594 int width); 599 int width); 604 int width); 609 int width); 614 int width); [all...] |
/external/chromium_org/third_party/libyuv/include/libyuv/ |
planar_functions.h | 29 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, int height) [all...] |
convert_from.h | 33 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, int height) [all...] |
row.h | 477 int width); 482 int width); 487 int width); 492 int width); 497 int width); 502 int width); 507 int width); 512 int width); 517 int width); 522 int width); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
api_images.c | 96 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, VGint height 291 width, height, dither); local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
api_images.c | 96 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, VGint height 291 width, height, dither); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
oobe_screen_eula.css | 25 width: 620px; 39 width: 630px; 48 width: 314px; 52 width: 309px; 57 width: 313px; 61 width: 308px; 65 width: 628px; 69 width: 623px; 96 width: 100%;
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/ |
readYUV420file.m | 1 function [Y,U,V] = readYUV420file(filename, width, height) 2 % [Y,U,V] = readYUVfile(filename, width, height) 10 nPx=width*height; 23 Y=uint8(zeros(height,width,numFrames)); 24 U=uint8(zeros(height/2,width/2,numFrames)); 25 V=uint8(zeros(height/2,width/2,numFrames)); 32 Y(:,:,k)=uint8(reshape(X(1:nPx), width, height).'); 35 U(:,:,k)=uint8(reshape(X(nPx + (1:nPx/4)), width/2, height/2).'); 38 V(:,:,k)=uint8(reshape(X(nPx + nPx/4 + (1:nPx/4)), width/2, height/2).');
|
/external/chromium_org/chrome/browser/devtools/ |
devtools_contents_resizing_strategy.cc | 39 0, 0, container_size.width(), container_size.height()); 44 0, 0, container_size.width(), container_size.height()); 48 int left = std::min(bounds.x(), container_size.width()); 50 int width = std::min(bounds.width(), container_size.width() - left); local 52 new_contents_bounds->SetRect(left, top, width, height);
|
/external/chromium_org/chrome/browser/ui/views/ |
validation_message_bubble_delegate_unittest.cc | 23 short_main_empty_sub_size.width()); 30 long_main_empty_sub_size.width()); 36 EXPECT_GT(short_main_medium_sub_size.width(), 37 short_main_empty_sub_size.width()); 44 EXPECT_GT(short_main_long_sub_size.width(), 45 short_main_medium_sub_size.width()); 47 short_main_long_sub_size.width());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
StyleGeneratedImage.cpp | 52 LayoutUnit width = fixedSize.width() * multiplier; 55 // Don't let images that have a width/height >= 1 shrink below 1 when zoomed. 56 if (fixedSize.width() > 0) 57 width = max<LayoutUnit>(1, width); 62 return LayoutSize(width, height); 72 intrinsicWidth = Length(size.width(), Fixed);
|
/external/chromium_org/third_party/webrtc/modules/video_processing/main/source/ |
spatial_resampler.cc | 25 int32_t VPMSimpleSpatialResampler::SetTargetFrameSize(int32_t width, 29 if (width < 1 || height < 1) return VPM_PARAMETER_ERROR; 31 target_width_ = width; 54 else if ((inFrame.width() == target_width_) && 63 ret_val = scaler_.Set(inFrame.width(), inFrame.height(), 89 bool VPMSimpleSpatialResampler::ApplyResample(int32_t width, 91 if ((width == target_width_ && height == target_height_) ||
|