/external/webrtc/talk/media/base/ |
videoadapter_unittest.cc | 97 const int in_width = captured_frame->width; 103 last_adapt_was_no_op_ = (in_width == adapted_format.width && 118 stats.adapted_width = adapted_format_.width; 146 int width, 148 EXPECT_EQ(width, stats.adapted_width); 180 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 195 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 212 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 229 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height); 247 VerifyAdaptedResolution(stats, capture_format_.width, capture_format_.height) [all...] |
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/ |
row.h | 505 int width); 510 int width); 515 int width); 520 int width); 525 int width); 530 int width); 535 int width); 540 int width); 545 int width); 550 int width); [all...] |
planar_functions.h | 29 int width, int height); 34 int width, int height); 39 int width, int height, 46 int width, int height); 59 int width, int height); 70 int width, int height); 78 int width, int height); 86 int width, int height); 92 int width, int height); 98 int width, int height) [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
IndentingWriter.java | 24 * 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) { 63 if (width < 0) { 64 throw new IllegalArgumentException("width < 0"); 71 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/dalvik/dx/src/com/android/dx/util/ |
IndentingWriter.java | 24 * 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) { 63 if (width < 0) { 64 throw new IllegalArgumentException("width < 0"); 71 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/external/ImageMagick/PerlMagick/t/ |
ping.t | 27 my (@blob, $filename, $format, $height, $image, $size, $status, $width); 32 ($width, $height, $size, $format)=$image->Ping("$filename"); 33 if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM")) 51 ($width, $height, $size, $format)=$image->Ping(blob=>@blob); 54 if (($width == 70) && ($height == 46) && ($size == 9673) && ($format eq "PPM"))
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
IndentingWriter.java | 24 * 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) { 63 if (width < 0) { 64 throw new IllegalArgumentException("width < 0"); 71 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/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/opencv3/3rdparty/libwebp/dec/ |
alpha.c | 28 // dimension 'height'x'width', as that of the image. 36 int width, int height, uint8_t* output) { 45 assert(width > 0 && height > 0); 65 const size_t alpha_decoded_size = height * width; 69 ok = VP8LDecodeAlphaImageStream(width, height, alpha_data, alpha_data_size, 78 unfilter_func(width, height, width, output); 81 ok = DequantizeLevels(output, width, height); 92 const int width = dec->pic_hdr_.width_; local 103 width, height, dec->alpha_plane_)) [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
WrappedIndentingWriter.java | 39 * Writer that wraps another writer and passes width-limited and 48 /** > 0; the maximum output width */ 49 private final int width; field in class:WrappedIndentingWriter 67 * @param width >= 0; the maximum output width (not including 71 public WrappedIndentingWriter(Writer out, int width, String prefix) { 78 if (width < 0) { 79 throw new IllegalArgumentException("width < 0"); 86 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
ActionBarPolicy.java | 49 final int width = config.screenWidthDp; local 52 if (smallest > 600 || (width > 960 && height > 720) || (width > 720 && height > 960)) { 55 } else if (width >= 500 || (width > 640 && height > 480) || (width > 480 && height > 640)) { 58 } else if (width >= 360) { 82 final int width = configuration.screenWidthDp; local 85 width >= 480 || (width >= 640 && height >= 480) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_conceal.c | 130 u32 width, height; local 142 width = currImage->width; 164 if (col == width) 176 H264SwDecMemset(currImage->data, 128, width*height*384); 178 H264SwDecMemcpy(currImage->data, refData, width*height*384); 191 mb = pStorage->mb + row * width; 198 for (j = col + 1; j < width; j++) 210 for (j = 0; j < width; j++) 213 mb = pStorage->mb + i*width + j 262 u32 width, height; local [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/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. 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) { 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) { 59 ModelKey<A> key = ModelKey.get(model, width, height) 68 private int width; field in class:ModelCache.ModelKey [all...] |
/external/libvpx/libvpx/examples/ |
resize_util.c | 25 printf("%s <input_yuv> <width>x<height> <target_width>x<target_height> ", 35 static int parse_dim(char *v, int *width, int *height) { 41 *width = atoi(v); 43 if (*width <= 0 || *height <= 0) 56 int width, height, target_width, target_height; local 68 if (!parse_dim(argv[2], &width, &height)) { 97 width, height); 105 inbuf = (uint8_t*)malloc(width * height * 3 / 2); 107 inbuf_u = inbuf + width * height; 108 inbuf_v = inbuf_u + width * height / 4 [all...] |
/frameworks/av/media/libstagefright/filters/ |
ColorConvert.cpp | 49 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, 54 for (int32_t j = 0; j < width; j++) { 55 int32_t y = *(pY + i * width + j); 56 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); 57 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1); 71 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height, 76 for (int32_t j = 0; j < width; j++) { 77 int32_t y = *(pY + i * width + j); 78 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); 79 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1) [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Alpha8BitmapActivity.java | 59 final float width = texture.getWidth() / 3.0f; local 63 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f, 64 0.0f, height, width, height, width * 2, height, width * 4, height, 65 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2 [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/packages/apps/Camera2/jni/ |
jpegutilnative.cpp | 30 * The Y plane is assumed to have the same width and height of the entire image. 32 * dimensions (floor(width / 2), floor(height / 2)). 40 * (width, height) is a no-op. 48 * @param width the width of the image to compress 72 jint width, jint height, 93 return Compress(width, height, // 109 * @param width the width of the output image 119 JNIEnv* env, jclass clazz, jint width, jint height, jobject planeBuf [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/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...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
chv_filter.cpp | 149 int width, 156 width : width of decoded frame. 178 int width, 198 pp_w = (width >> 3); 232 jVal0 = *(ptr - width); /* C */ 241 *(ptr - width) = (uint8)(jVal0); /* C */ 244 jVal0 = *(ptr - (width << 1)); /* B */ 245 jVal1 = *(ptr + width); /* E */ 252 *(ptr - (width << 1)) = (uint8)jVal0; /* store B * [all...] |
/external/webrtc/webrtc/modules/video_processing/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/webrtc/webrtc/modules/video_coding/utility/ |
quality_scaler_unittest.cc | 33 int width; member in struct:webrtc::QualityScalerTest::Resolution 56 int initial_width = qs_.GetScaledResolution().width; 73 if (qs_.GetScaledResolution().width != initial_width) 89 EXPECT_EQ(res.width, scaled_frame.width()); 95 void DoesNotDownscaleFrameDimensions(int width, int height); 122 EXPECT_EQ(input_frame_.width(), res.width); 130 EXPECT_LT(res.width, input_frame_.width()); [all...] |