Home
last modified time | relevance | path

Searched refs:outHeight (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
70 *outHeight = 1; in st_GetProgrammableSampleCaps()
74 outWidth, outHeight); in st_GetProgrammableSampleCaps()
79 *outHeight > MAX_SAMPLE_LOCATION_GRID_SIZE) { in st_GetProgrammableSampleCaps()
81 *outHeight = 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()
47 + outHeight + " less than or equal to zero"); in transform()
50 Bitmap transformed = transform(bitmapPool, toTransform, outWidth, outHeight); in transform()
74 …tected abstract Bitmap transform(BitmapPool pool, Bitmap toTransform, int outWidth, int outHeight); 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 …getRoundedSampleSize(int degreesToRotate, int inWidth, int inHeight, int outWidth, int outHeight) { 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 …int Action::IGetPreferredImageSize2D( cl_device_id device, size_t &outWidth, size_t &outHeight ) in IGetPreferredImageSize2D() argument
44 outHeight = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / outWidth ); in IGetPreferredImageSize2D()
45 if( outHeight > maxHeight ) in IGetPreferredImageSize2D()
46 outHeight = maxHeight; in IGetPreferredImageSize2D()
51 outHeight = maxHeight; in IGetPreferredImageSize2D()
55 outHeight /=2; in IGetPreferredImageSize2D()
59 if (outHeight > 2048) in IGetPreferredImageSize2D()
60 outHeight = 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/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapperTransformation.java30 …rce<GifBitmapWrapper> transform(Resource<GifBitmapWrapper> resource, int outWidth, int outHeight) { 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/pdfium/fxbarcode/
Dcbc_codabar.cpp41 int32_t outHeight = 0; in Encode() local
46 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
Dcbc_code128.cpp41 int32_t outHeight = 0; in Encode() local
50 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
Dcbc_code39.cpp41 int32_t outHeight = 0; in Encode() local
47 pWriter->Encode(byteString, format, outWidth, outHeight)); in Encode()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifDrawableTransformation.java24 …blic 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.cpp78 int32_t& outHeight, in EncodeWithHint() argument
80 outHeight = 1; in EncodeWithHint()
87 int32_t& outHeight) { in Encode() argument
88 return EncodeWithHint(contents, format, outWidth, outHeight, 0); in Encode()
DBC_OneDimWriter.h43 int32_t& outHeight);
53 int32_t& outHeight,
DBC_OnedCodaBarWriter.cpp126 int32_t& outHeight, in EncodeWithHint() argument
130 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
DBC_OnedCode128Writer.cpp124 int32_t& outHeight, in EncodeWithHint() argument
128 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
DBC_OnedEAN8Writer.cpp95 int32_t& outHeight, in EncodeWithHint() argument
99 return CBC_OneDimWriter::EncodeWithHint(contents, format, outWidth, outHeight, in EncodeWithHint()
DBC_OnedEAN13Writer.h26 int32_t& outHeight,
DBC_OnedCode128Writer.h31 int32_t& outHeight,
DBC_OnedUPCAWriter.h30 int32_t& outHeight,
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_2D.cpp161 size_t outHeight; in test_get_image_info_single() local
162 error = clGetImageInfo( image, CL_IMAGE_HEIGHT, sizeof( outHeight ), &outHeight, NULL ); in test_get_image_info_single()
164 if( outHeight != required_height ) in test_get_image_info_single()
167 (int)required_height, (int)outHeight ); 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