Home
last modified time | relevance | path

Searched refs:newWidth (Results 1 – 25 of 32) sorted by relevance

12

/external/angle/samples/WindowTest/
DWindowTest.cpp44 int newWidth = width; in main() local
55 newWidth = std::max(0, width + (event.Key.Shift ? -20 : 20)); in main()
101 if (newWidth != width || newHeight != height) in main()
103 width = newWidth; in main()
/external/webrtc/sdk/android/src/java/org/webrtc/
DAndroidVideoDecoder.java358 private VideoCodecStatus reinitDecode(int newWidth, int newHeight) { in reinitDecode() argument
364 return initDecodeInternal(newWidth, newHeight); in reinitDecode()
581 final int newWidth;
587 newWidth = 1 + format.getInteger(MEDIA_FORMAT_KEY_CROP_RIGHT)
592 newWidth = format.getInteger(MediaFormat.KEY_WIDTH);
597 if (hasDecodedFirstFrame && (width != newWidth || height != newHeight)) {
599 + height + ". New " + newWidth + "*" + newHeight));
602 width = newWidth;
DHardwareVideoEncoder.java486 private VideoCodecStatus resetCodec(int newWidth, int newHeight, boolean newUseSurfaceMode) { in resetCodec() argument
492 width = newWidth; in resetCodec()
/external/webrtc/sdk/android/api/org/webrtc/
DTextureBufferImpl.java173 Matrix transformMatrix, int newWidth, int newHeight) { in applyTransformMatrix() argument
174 return applyTransformMatrix(transformMatrix, /* unscaledWidth= */ newWidth, in applyTransformMatrix()
175 /* unscaledHeight= */ newHeight, /* scaledWidth= */ newWidth, in applyTransformMatrix()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicClassifierBenchmarker.java135 int newWidth = Math.round(width - stWidth * 2); in convertBitmapToInput() local
137 bitmap = Bitmap.createBitmap(bitmap, stWidth, stHeight, newWidth, newHeight); in convertBitmapToInput()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DImageProcessor.java78 int newWidth = imageOperator.getOutputImageWidth(currentHeight, currentWidth); in inverseTransform() local
80 currentWidth = newWidth; in inverseTransform()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DTransformationUtils.java268 final int newWidth = Math.round(newRect.width()); in rotateImageExif() local
271 Bitmap result = pool.get(newWidth, newHeight, toOrient.getConfig()); in rotateImageExif()
273 result = Bitmap.createBitmap(newWidth, newHeight, toOrient.getConfig()); in rotateImageExif()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp567 int newWidth = 0; in postIterate() local
570 egl.querySurface(m_eglDisplay, m_eglSurface, EGL_WIDTH, &newWidth); in postIterate()
574 if (newWidth != m_glRenderTarget.getWidth() || in postIterate()
578 m_glRenderTarget.getWidth(), m_glRenderTarget.getHeight(), newWidth, newHeight); in postIterate()
580 m_glRenderTarget = tcu::RenderTarget(newWidth, newHeight, in postIterate()
/external/skqp/include/core/
DSkImageInfo.h439 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
440 return Make(newWidth, newHeight, fColorType, fAlphaType, fColorSpace); in makeWH()
/external/angle/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp349 size_t newWidth = rect.right - rect.left; in checkForResize() local
351 if (newWidth != mWidth || newHeight != mHeight) in checkForResize()
353 mWidth = newWidth; in checkForResize()
/external/skia/include/core/
DSkImageInfo.h531 SkImageInfo makeWH(int newWidth, int newHeight) const { in makeWH()
532 return Make({newWidth, newHeight}, fColorInfo); in makeWH()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js402 set: function(newWidth) { argument
403 if (newWidth <= 0 || !newWidth) {
407 this._strokeWidth = newWidth;
408 this._paint.setStrokeWidth(newWidth);
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js383 set: function(newWidth) { argument
384 if (newWidth <= 0 || !newWidth) {
388 this._strokeWidth = newWidth;
389 this._paint.setStrokeWidth(newWidth);
/external/deqp/modules/egl/
DteglResizeTests.cpp279 const int newWidth = newSurface.getWidth(); in compareCorners() local
281 const int minWidth = de::min(oldWidth, newWidth); in compareCorners()
287 const int newX = xCorner == 0 ? 0 : newWidth - minWidth; in compareCorners()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp207 int newWidth = SkTMin(static_cast<int>(yuvaPixmaps[i].width() * scale), in MakeFromYUVAPixmaps() local
211 SkImageInfo info = yuvaPixmaps[i].info().makeWH(newWidth, newHeight); in MakeFromYUVAPixmaps()
DSkImage_Gpu.cpp516 int newWidth = SkTMin(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() local
518 SkImageInfo info = originalPixmap.info().makeWH(newWidth, newHeight); in MakeCrossContextFromPixmap()
/external/mesa3d/include/HaikuGL/
DGLView.h69 virtual void FrameResized(float newWidth, float newHeight);
/external/deqp/modules/gles3/functional/
Des3fFboRenderTest.cpp1133 int newWidth = 64; in render() local
1175 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1180 context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorFormat, newWidth, newHeight); in render()
1193 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().depthStencilFormat, newWidth, newHeight); in render()
1198 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthStencilFormat, newWidth, newHeig… in render()
1207 context.viewport(0, 0, newWidth, newHeight); in render()
1244 …readPixels(context, dst, 0, 0, newWidth, newHeight, colorFormat, fboRangeInfo.lookupScale, fboRang… in render()
/external/skqp/src/core/
DSkImageFilter.cpp349 int newWidth, int newHeight, int offX, int offY) { in pad_image() argument
366 sk_sp<SkSpecialSurface> surf(src->makeSurface(outProps, SkISize::Make(newWidth, newHeight))); in pad_image()
/external/mesa3d/src/mesa/main/
Dtexcompress_fxt1.c1307 GLint newWidth = (width + 7) & ~7; in fxt1_encode() local
1309 newSource = malloc(comps * newWidth * newHeight * sizeof(GLubyte)); in fxt1_encode()
1315 upscale_teximage2d(width, height, newWidth, newHeight, in fxt1_encode()
1319 width = newWidth; in fxt1_encode()
1321 srcRowStride = comps * newWidth; in fxt1_encode()
/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp1745 int newWidth = 64; in render() local
1753 context.texImage2D(GL_TEXTURE_2D, 0, fbo.getConfig().colorbufferFormat, newWidth, newHeight); in render()
1758 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().colorbufferFormat, newWidth, newHeigh… in render()
1769 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().depthbufferFormat, newWidth, newHeigh… in render()
1776 …context.renderbufferStorage(GL_RENDERBUFFER, fbo.getConfig().stencilbufferFormat, newWidth, newHei… in render()
1780 context.viewport(0, 0, newWidth, newHeight); in render()
1817 context.readPixels(dst, 0, 0, newWidth, newHeight); in render()
/external/skia/src/core/
DSkImageFilter.cpp386 int newWidth, int newHeight, int offX, int offY) { in pad_image() argument
402 sk_sp<SkSpecialSurface> surf(ctx.makeSurface(SkISize::Make(newWidth, newHeight))); in pad_image()
/external/catch2/include/external/
Dclara.hpp204 auto width(size_t newWidth) -> Column& { in width() argument
205 assert(newWidth > 0); in width()
206 m_width = newWidth; in width()
/external/catch2/third_party/
Dclara.hpp204 auto width( size_t newWidth ) -> Column& { in width() argument
205 assert( newWidth > 0 ); in width()
206 m_width = newWidth; in width()
/external/skia/src/image/
DSkImage_Gpu.cpp654 int newWidth = std::min(static_cast<int>(originalPixmap.width() * scale), maxTextureSize); in MakeCrossContextFromPixmap() local
656 SkImageInfo info = originalPixmap.info().makeWH(newWidth, newHeight); in MakeCrossContextFromPixmap()

12