Home
last modified time | relevance | path

Searched refs:targetWidth (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); in iterate() local
108 const int numPixels = targetWidth * targetHeight; in iterate()
112 Surface refImage (targetWidth, targetHeight); in iterate()
113 Surface resImage (targetWidth, targetHeight); in iterate()
114 Surface diffImage (targetWidth, targetHeight); in iterate()
132 clearWidth = targetWidth; in iterate()
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate()
139 clearWidth = (rnd.getUint32() % targetWidth); in iterate()
184 while (x < targetWidth) in iterate()
188 int spanLength = (targetWidth - x); in iterate()
[all …]
Des2fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); in iterate() local
194 imageWidth = targetWidth; in iterate()
201 imageWidth = targetWidth / 2; in iterate()
206 x = targetWidth / 2; in iterate()
208 imageWidth = targetWidth - x; in iterate()
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate()
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp106 const int targetWidth = renderTarget.getWidth(); in iterate() local
108 const int numPixels = targetWidth * targetHeight; in iterate()
112 Surface refImage (targetWidth, targetHeight); in iterate()
113 Surface resImage (targetWidth, targetHeight); in iterate()
114 Surface diffImage (targetWidth, targetHeight); in iterate()
132 clearWidth = targetWidth; in iterate()
137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate()
139 clearWidth = (rnd.getUint32() % targetWidth); in iterate()
184 while (x < targetWidth) in iterate()
188 int spanLength = (targetWidth - x); in iterate()
[all …]
Des3fPrerequisiteTests.cpp178 int targetWidth = renderTarget.getWidth(); in iterate() local
194 imageWidth = targetWidth; in iterate()
201 imageWidth = targetWidth / 2; in iterate()
206 x = targetWidth / 2; in iterate()
208 imageWidth = targetWidth - x; in iterate()
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate()
214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifFrameManager.java30 private final int targetWidth; field in GifFrameManager
43 public GifFrameManager(Context context, GifDecoder decoder, int targetWidth, int targetHeight) { in GifFrameManager() argument
44 …ext, Glide.get(context).getBitmapPool(), decoder, new Handler(Looper.getMainLooper()), targetWidth, in GifFrameManager()
49 int targetWidth, int targetHeight) { in GifFrameManager() argument
53 this.targetWidth = targetWidth; in GifFrameManager()
127 super(targetWidth, targetHeight); in DelayTarget()
DGifDrawable.java85 … frameManager = new GifFrameManager(state.context, decoder, state.targetWidth, state.targetHeight); in GifDrawable()
318 int targetWidth; field in GifDrawable.GifState
325 Transformation<Bitmap> frameTransformation, int targetWidth, int targetHeight, in GifState() argument
336 this.targetWidth = targetWidth; in GifState()
347 targetWidth = original.targetWidth; in GifState()
/external/deqp/modules/glshared/
DglsInteractionTestUtil.cpp54 …rState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig… in computeRandomRenderState() argument
157 int minScissorW = deCeilFloatToInt32(minScissorSize*targetWidth); in computeRandomRenderState()
159 int maxScissorW = targetWidth + 2*maxScissorOutOfBounds; in computeRandomRenderState()
164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW); in computeRandomRenderState()
220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, i… in computeRandomQuad() argument
230 int minW = deCeilFloatToInt32(minSize*targetWidth); in computeRandomQuad()
232 int maxW = targetWidth + 2*maxOutOfBounds; in computeRandomQuad()
237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width); in computeRandomQuad()
DglsInteractionTestUtil.hpp121 …State (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig…
122 …mQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeig…
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DMipMapGenerator.java48 …private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeigh… in scaleDown() argument
52 … BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType()); in scaleDown()
56 … g.drawImage(sourceImage, 0, 0, targetWidth, targetHeight, 0, 0, sourceWidth, sourceHeight, null); in scaleDown()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java100 final int targetWidth = (int) (minPercentage * toFit.getWidth()); in fitCenter() local
103 if (toFit.getWidth() == targetWidth && toFit.getHeight() == targetHeight) { in fitCenter()
111 Bitmap toReuse = pool.get(targetWidth, targetHeight, config); in fitCenter()
113 toReuse = Bitmap.createBitmap(targetWidth, targetHeight, config); in fitCenter()
DDownsampler.java197 int targetWidth = (int) Math.ceil(inWidth / (double) sampleSize); in downsampleWithSize() local
200 setInBitmap(options, pool.getDirty(targetWidth, targetHeight, config)); in downsampleWithSize()
/external/deqp/modules/egl/
DteglNativeCoordMappingTests.cpp229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, … in render() argument
233 toGLCoord(targetWidth, targetHeight, x, y), in render()
234 toGLCoord(targetWidth, targetHeight, x+width, y), in render()
235 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render()
237 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render()
238 toGLCoord(targetWidth, targetHeight, x, y+height), in render()
239 toGLCoord(targetWidth, targetHeight, x, y) in render()
250 gl.viewport(0, 0, targetWidth, targetHeight); in render()