Home
last modified time | relevance | path

Searched refs:outWidth (Results 1 – 25 of 42) sorted by relevance

12

/external/mesa3d/src/mesa/state_tracker/
Dst_cb_msaa.c61 GLuint *outBits, GLuint *outWidth, GLuint *outHeight) in st_GetProgrammableSampleCaps() argument
69 *outWidth = 1; in st_GetProgrammableSampleCaps()
74 outWidth, outHeight); in st_GetProgrammableSampleCaps()
78 if (*outWidth > MAX_SAMPLE_LOCATION_GRID_SIZE || in st_GetProgrammableSampleCaps()
80 *outWidth = 1; in st_GetProgrammableSampleCaps()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DBitmapTransformation.java44 … public final Resource<Bitmap> transform(Resource<Bitmap> resource, int outWidth, int outHeight) { in transform() argument
45 if (outWidth <= 0 || outHeight <= 0) { in transform()
46 …throw new IllegalArgumentException("Cannot apply transformation on width: " + outWidth + " or heig… in transform()
50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); in transform()
74 …protected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeig… in transform() argument
DDownsampler.java38 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
39 return Math.min(inHeight / outHeight, inWidth / outWidth);
55 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
56 return Math.max(inHeight / outHeight, inWidth / outWidth);
70 protected int getSampleSize(int inWidth, int inHeight, int outWidth, int outHeight) {
103 …public Bitmap decode(InputStream is, BitmapPool pool, int outWidth, int outHeight, DecodeFormat de… in decode() argument
138 …nal int sampleSize = getRoundedSampleSize(degreesToRotate, inWidth, inHeight, outWidth, outHeight); in decode()
170 …private int getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int… in getRoundedSampleSize() argument
175 exactSampleSize = getSampleSize(inHeight, inWidth, outWidth, outHeight); in getRoundedSampleSize()
177 exactSampleSize = getSampleSize(inWidth, inHeight, outWidth, outHeight); in getRoundedSampleSize()
[all …]
DCenterCrop.java27 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { in transform() argument
28 final Bitmap toReuse = pool.get(outWidth, outHeight, toTransform.getConfig() != null in transform()
30 … Bitmap transformed = TransformationUtils.centerCrop(toReuse, toTransform, outWidth, outHeight); in transform()
DFitCenter.java23 protected Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight) { in transform() argument
24 return TransformationUtils.fitCenter(toTransform, pool, outWidth, outHeight); in transform()
DBitmapDecoder.java25 …Bitmap decode(T resource, BitmapPool bitmapPool, int outWidth, int outHeight, DecodeFormat decodeF… in decode() argument
/external/OpenCL-CTS/test_conformance/events/
Daction_classes.cpp22 cl_int Action::IGetPreferredImageSize2D( cl_device_id device, size_t &outWidth, size_t &outHeigh… in IGetPreferredImageSize2D() argument
41 outWidth = maxWidth; in IGetPreferredImageSize2D()
43 outWidth = (size_t)rootSize; in IGetPreferredImageSize2D()
44 outHeight = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / outWidth ); in IGetPreferredImageSize2D()
50 outWidth = maxWidth; in IGetPreferredImageSize2D()
54 outWidth /=2; in IGetPreferredImageSize2D()
57 if (outWidth > 2048) in IGetPreferredImageSize2D()
58 outWidth = 2048; in IGetPreferredImageSize2D()
61 log_info("\tImage size: %d x %d (%gMB)\n", (int)outWidth, (int)outHeight, in IGetPreferredImageSize2D()
62 (double)((int)outWidth*(int)outHeight*4)/(1024.0*1024.0)); in IGetPreferredImageSize2D()
[all …]
/external/pdfium/fxbarcode/
Dcbc_codabar.cpp40 int32_t outWidth = 0; in Encode() local
46 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
48 data.get(), outWidth); in Encode()
Dcbc_code128.cpp40 int32_t outWidth = 0; in Encode() local
50 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
52 data.get(), outWidth); in Encode()
Dcbc_code39.cpp40 int32_t outWidth = 0; in Encode() local
47 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
49 data.get(), outWidth); in Encode()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapperTransformation.java30 …public Resource<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int… in transform() argument
34 …Resource<Bitmap> transformed = bitmapTransformation.transform(bitmapResource, outWidth, outHeight); in transform()
40 …ource<GifDrawable> transformed = gifDataTransformation.transform(gifResource, outWidth, outHeight); in transform()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawableTransformation.java24 …public Resource<GifDrawable> transform(Resource<GifDrawable> resource, int outWidth, int outHeight… in transform() argument
33 Resource<Bitmap> transformed = wrapped.transform(bitmapResource, outWidth, outHeight); in transform()
/external/glide/library/src/main/java/com/bumptech/glide/load/
DMultiTransformation.java33 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { in transform() argument
37 Resource<T> transformed = transformation.transform(previous, outWidth, outHeight); in transform()
DTransformation.java28 Resource<T> transform(Resource<T> resource, int outWidth, int outHeight); in transform() argument
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp77 int32_t& outWidth, in EncodeWithHint() argument
81 return EncodeImpl(contents, outWidth); in EncodeWithHint()
86 int32_t& outWidth, in Encode() argument
88 return EncodeWithHint(contents, format, outWidth, outHeight, 0); in Encode()
DBC_OneDimWriter.h42 int32_t& outWidth,
52 int32_t& outWidth,
DBC_OnedCodaBarWriter.cpp125 int32_t& outWidth, in EncodeWithHint() argument
130 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
DBC_OnedCode128Writer.cpp123 int32_t& outWidth, in EncodeWithHint() argument
128 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
DBC_OnedEAN8Writer.cpp94 int32_t& outWidth, in EncodeWithHint() argument
99 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
DBC_OnedEAN13Writer.h25 int32_t& outWidth,
DBC_OnedCode128Writer.h30 int32_t& outWidth,
DBC_OnedUPCAWriter.h29 int32_t& outWidth,
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_2D.cpp137 size_t outWidth; in test_get_image_info_single() local
138 error = clGetImageInfo( image, CL_IMAGE_WIDTH, sizeof( outWidth ), &outWidth, NULL ); in test_get_image_info_single()
140 if( outWidth != imageInfo->width ) in test_get_image_info_single()
143 (int)imageInfo->width, (int)outWidth ); in test_get_image_info_single()
/external/OpenCL-CTS/test_common/gles/
Dhelpers.cpp269 size_t outWidth, size_t outHeight ) in ReadGLTexture() argument
280 size_t outBytes = outWidth * outHeight * 4 * GetGLTypeSize(readBackType); in ReadGLTexture()
295 …glReadPixels( 0, 0, (GLsizei)outWidth, (GLsizei)outHeight, readBackFormat, readBackType, outBuffer… in ReadGLTexture()
584 size_t outWidth, size_t outHeight ) in ReadGLRenderbuffer() argument
600 (int)outWidth, (int)outHeight, in ReadGLRenderbuffer()
609 size_t outBytes = outWidth * outHeight * 4 * GetGLTypeSize(readBackType); in ReadGLRenderbuffer()
613 …glReadPixels( 0, 0, (GLsizei)outWidth, (GLsizei)outHeight, readBackFormat, readBackType, outBuffer… in ReadGLRenderbuffer()
617 (int)outWidth, (int)outHeight, in ReadGLRenderbuffer()
621 DumpGLBuffer(readBackType, outWidth, outHeight, outBuffer); in ReadGLRenderbuffer()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/
DUnitTransformation.java25 public Resource<T> transform(Resource<T> resource, int outWidth, int outHeight) { in transform() argument

12