/external/libdrm/tests/etnaviv/ |
write_bmp.h | 28 void bmp_dump32(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename); 30 void bmp_dump32_noflip(char *buffer, unsigned width, unsigned height, bool bgra, const char *filename); 32 void bmp_dump32_ex(char *buffer, unsigned width, unsigned height, bool flip, bool bgra, bool alpha, const char *filename);
|
/external/llvm/test/MC/AMDGPU/ |
macro-examples.s | 7 .macro REG_NUM_EXPR_EXAMPLE width iter iter_end 8 .if \width == 4 15 REG_NUM_EXPR_EXAMPLE \width, (\iter + 1), \iter_end
|
/external/mesa3d/src/gallium/include/state_tracker/ |
drisw_api.h | 15 int x, int y, unsigned width, unsigned height, unsigned stride, 18 void *data, unsigned width, unsigned height); 20 void *data, int x, int y, unsigned width, unsigned height, unsigned stride);
|
/external/pdfium/samples/ |
image_diff_png.h | 18 int* width, 23 int width, 30 int width,
|
/external/skia/src/gpu/mock/ |
GrMockStencilAttachment.h | 16 GrMockStencilAttachment(GrMockGpu* gpu, int width, int height, int bits, int sampleCnt) 17 : INHERITED(gpu, width, height, bits, sampleCnt) { 23 return SkTMax(1, (int)(this->bits() / sizeof(char))) * this->width() * this->height();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLPaint.java | 33 public void setLineWidth(float width) { 34 Utils.assertTrue(width >= 0); 35 mLineWidth = width;
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLPaint.java | 33 public void setLineWidth(float width) { 34 Utils.assertTrue(width >= 0); 35 mLineWidth = width;
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
ImageUtils.h | 59 * width: Width of input image 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 73 * width: Width of input image 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 84 * width: Width of input imag 143 unsigned short width; member in struct:__anon47752 [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/ |
width_streamsize.pass.cpp | 14 // streamsize width(streamsize wide); 32 assert(t.width() == 0); 33 std::streamsize w = t.width(4); 35 assert(t.width() == 4);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/input.output/iostreams.base/ios.base/fmtflags.state/ |
width_streamsize.pass.cpp | 14 // streamsize width(streamsize wide); 32 assert(t.width() == 0); 33 std::streamsize w = t.width(4); 35 assert(t.width() == 4);
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
convert.cc | 70 int width, int height) { 71 int halfwidth = (width + 1) >> 1; 75 width <= 0 || height == 0) { 91 CopyPlane(src_y, src_stride_y, dst_y, dst_stride_y, width, height); 99 // 422 chroma is 1/2 width, 1x height 100 // 420 chroma is 1/2 width, 1/2 height 108 int width, int height) { 109 const int src_uv_width = SUBSAMPLE(width, 1, 1); 116 width, height, 120 // 444 chroma is 1x width, 1x heigh [all...] |
planar_functions.cc | 31 int width, int height) { 33 void (*CopyRow)(const uint8* src, uint8* dst, int width) = CopyRow_C; 41 if (src_stride_y == width && 42 dst_stride_y == width) { 43 width *= height; 53 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_SSE2 : CopyRow_Any_SSE2; 58 CopyRow = IS_ALIGNED(width, 64) ? CopyRow_AVX : CopyRow_Any_AVX; 68 CopyRow = IS_ALIGNED(width, 32) ? CopyRow_NEON : CopyRow_Any_NEON; 79 CopyRow(src_y, dst_y, width); 89 int width, int height) [all...] |
/external/libvpx/libvpx/test/ |
temporal_filter_test.cc | 48 for (int width = 0; width < w; ++width) { 49 int diff = a.TopLeftPixel()[height * a.stride() + width] - 50 b.TopLeftPixel()[height * b.stride() + width]; 51 diff_sq.TopLeftPixel()[height * diff_sq.stride() + width] = diff * diff; 58 for (int width = 0; width < w; ++width) { 66 if (width == 0 || width == (w - 1)) [all...] |
comp_avg_pred_test.cc | 31 void reference_pred(const uint8_t *pred, const Buffer<uint8_t> &ref, int width, 34 for (int x = 0; x < width; ++x) { 35 avg[y * width + x] = avg_with_rounding( 36 pred[y * width + x], ref.TopLeftPixel()[y * ref.stride() + x]); 53 void fill(ACMRandom *r, uint8_t *a, const int width, const int height) { 55 for (int x = 0; x < width; ++x) { 56 a[x + width * y] = r->Rand8(); 75 // The sse2 special-cases when ref width == stride, so make sure to test 78 const int width = 1 << width_pow; local 80 // Only the reference buffer may have a stride not equal to width 98 const int width = 64; local 127 const int width = 1 << width_pow; local [all...] |
/external/libyuv/files/source/ |
convert_from_argb.cc | 33 int width, 36 void (*ARGBToYRow)(const uint8* src_argb, uint8* dst_y, int width) = 39 int width) = ARGBToUV444Row_C; 40 if (!src_argb || !dst_y || !dst_u || !dst_v || width <= 0 || height == 0) { 49 if (src_stride_argb == width * 4 && dst_stride_y == width && 50 dst_stride_u == width && dst_stride_v == width) { 51 width *= height; 58 if (IS_ALIGNED(width, 16)) [all...] |
convert_argb.cc | 33 int width, 35 if (!src_argb || !dst_argb || width <= 0 || height == 0) { 45 CopyPlane(src_argb, src_stride_argb, dst_argb, dst_stride_argb, width * 4, 60 int width, 65 const struct YuvConstants* yuvconstants, int width) = 67 if (!src_y || !src_u || !src_v || !dst_argb || width <= 0 || height == 0) { 79 if (IS_ALIGNED(width, 8)) { 87 if (IS_ALIGNED(width, 16)) { 95 if (IS_ALIGNED(width, 8)) { 101 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(width, 4) & [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_zs.h | 37 util_format_s8_uint_unpack_s_8uint(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 41 util_format_s8_uint_pack_s_8uint(uint8_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 45 util_format_z16_unorm_unpack_z_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 49 util_format_z16_unorm_pack_z_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 53 util_format_z16_unorm_unpack_z_32unorm(uint32_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 57 util_format_z16_unorm_pack_z_32unorm(uint8_t *dst_row, unsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height); 61 util_format_z32_unorm_unpack_z_float(float *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 65 util_format_z32_unorm_pack_z_float(uint8_t *dst_row, unsigned dst_stride, const float *src_row, unsigned src_stride, unsigned width, unsigned height); 69 util_format_z32_unorm_unpack_z_32unorm(uint32_t *dst_row, unsigned dst_stride, const uint8_t *src_row, unsigned src_stride, unsigned width, unsigned height); 73 util_format_z32_unorm_pack_z_32unorm(uint8_t *dst_row, unsigned dst_stride, const uint32_t *src_row, unsigned src_stride, unsigned width, unsigned height) [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/ |
PreFillType.java | 12 private final int width; field in class:PreFillType 20 * @param width The width in pixels of the {@link android.graphics.Bitmap Bitmaps} to 29 PreFillType(int width, int height, Bitmap.Config config, int weight) { 34 this.width = width; 41 * Returns the width in pixels of the {@link android.graphics.Bitmap Bitmaps}. 44 return width; 73 && width == other.width 103 private final int width; field in class:PreFillType.Builder [all...] |
/external/toybox/toys/posix/ |
expand.c | 46 int width = 1; local 52 width = mbrtowc(&blah, toybuf+i, len-i, 0); 53 if (width > 1) { 54 if (width != fwrite(toybuf+i, width, 1, stdout)) 56 i += width-1; 59 } else if (width == -2) break; 60 else if (width == -1) continue; 67 if (c == '\b' && x) width = -1; 74 width = TT.tabcount ? *TT.tab : 8 [all...] |
/external/vixl/src/ |
compiler-intrinsics-vixl.h | 97 int CountLeadingSignBitsFallBack(int64_t value, int width); 98 int CountLeadingZerosFallBack(uint64_t value, int width); 99 int CountSetBitsFallBack(uint64_t value, int width); 100 int CountTrailingZerosFallBack(uint64_t value, int width); 108 inline int CountLeadingSignBits(V value, int width = (sizeof(V) * 8)) { 110 if (width == 32) { 112 } else if (width == 64) { 116 return CountLeadingSignBitsFallBack(value, width); 121 inline int CountLeadingZeros(V value, int width = (sizeof(V) * 8)) { 123 if (width == 32) [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
BitmapVerifier.java | 31 int width = bitmap.getWidth(); local 33 int[] pixels = new int[width * height]; 34 bitmap.getPixels(pixels, 0, width, 0, 0, width, height); 35 return verify(pixels, 0, width, width, height); 41 public abstract boolean verify(int[] bitmap, int offset, int stride, int width, int height);
|
/external/skia/src/android/ |
SkBitmapRegionDecoderPriv.h | 46 int width = SkTMin(imageDims.width() - left, subset->width() - *outX); local 48 if (width <= 0 || height <= 0) { 52 subset->setXYWH(left, top, width, height); 53 if ((*outX != 0) || (*outY != 0) || (width != subset->width()) ||
|
/external/swiftshader/src/Main/ |
FrameBufferOzone.cpp | 19 FrameBufferOzone::FrameBufferOzone(intptr_t display, intptr_t window, int width, int height) : FrameBuffer(width, height, false, false) 21 buffer = sw::Surface::create(width, height, 1, destFormat, nullptr, 22 sw::Surface::pitchB(width, destFormat, true), 23 sw::Surface::sliceB(width, height, destFormat, true)); 51 NO_SANITIZE_FUNCTION sw::FrameBuffer *createFrameBuffer(void* display, intptr_t window, int width, int height) 53 return new sw::FrameBufferOzone((intptr_t)display, window, width, height);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 39 * Returns the width of the Shape. 67 * @param width the width of the shape (in pixels) 70 public final void resize(float width, float height) { 71 if (width < 0) { 72 width = 0; 77 if (mWidth != width || mHeight != height) { 78 mWidth = width; 80 onResize(width, height); 99 * @param width the new width of the Shap [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
Size.java | 37 private final int width; field in class:Size 41 this.width = point.x; 47 this.width = size.getWidth(); 51 public Size(int width, int height) { 52 this.width = width; 57 return new Size(rectangle.width(), rectangle.height()); 66 this.width = other.width; 71 this.width = size.width() 83 public int width() { method in class:Size 192 int width = Integer.parseInt(flatSizes[i]); local [all...] |