Home
last modified time | relevance | path

Searched refs:currentWidth (Results 1 – 18 of 18) sorted by relevance

/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DImageProcessor.java71 int currentWidth = inputImageWidth; in inverseTransform() local
74 widths.add(currentWidth); in inverseTransform()
77 int newHeight = imageOperator.getOutputImageHeight(currentHeight, currentWidth); in inverseTransform()
78 int newWidth = imageOperator.getOutputImageWidth(currentHeight, currentWidth); in inverseTransform()
80 currentWidth = newWidth; in inverseTransform()
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp643 int currentWidth = width; in uploadTexDataOptimal() local
654 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal()
658 const size_t trimmedSize = currentWidth * bpp * currentHeight; in uploadTexDataOptimal()
731 currentWidth = width; in uploadTexDataOptimal()
737 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal()
750 region.bufferRowLength = currentWidth; in uploadTexDataOptimal()
754 region.imageExtent = { (uint32_t)currentWidth, (uint32_t)currentHeight, 1 }; in uploadTexDataOptimal()
756 currentWidth = SkTMax(1, currentWidth/2); in uploadTexDataOptimal()
825 int currentWidth = width; in uploadTexDataCompressed() local
834 currentWidth = SkTMax(1, currentWidth / 2); in uploadTexDataCompressed()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DMediaCodecVideoRenderer.java134 private int currentWidth; field in MediaCodecVideoRenderer
235 currentWidth = Format.NO_VALUE; in MediaCodecVideoRenderer()
664 currentWidth = outputFormat.width; in configureOutput()
667 currentWidth = mediaFormatWidth; in configureOutput()
676 int rotatedHeight = currentWidth; in configureOutput()
677 currentWidth = currentHeight; in configureOutput()
1101 if ((currentWidth != Format.NO_VALUE || currentHeight != Format.NO_VALUE) in maybeNotifyVideoSizeChanged()
1102 && (reportedWidth != currentWidth || reportedHeight != currentHeight in maybeNotifyVideoSizeChanged()
1105 eventDispatcher.videoSizeChanged(currentWidth, currentHeight, currentUnappliedRotationDegrees, in maybeNotifyVideoSizeChanged()
1107 reportedWidth = currentWidth; in maybeNotifyVideoSizeChanged()
/external/skqp/src/gpu/mtl/
DGrMtlGpu.mm178 int currentWidth = width;
189 : bpp * currentWidth;
191 if (rowBytes < bpp * currentWidth || rowBytes % bpp) {
208 currentWidth = SkTMax(1, currentWidth/2);
480 int currentWidth = w;
483 [transferTexture replaceRegion: MTLRegionMake2D(0, 0, currentWidth, currentHeight)
492 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1)
497 currentWidth = SkTMax(1, currentWidth/2);
/external/skqp/tests/
DMipMapTest.cpp79 int currentWidth = width / twoToTheMipLevel; in test_mipmap_generation() local
81 REPORTER_ASSERT(reporter, level.fPixmap.width() == currentWidth); in test_mipmap_generation()
/external/skia/src/gpu/
DGrDynamicAtlas.h60 int currentWidth() const { return fWidth; } in currentWidth() function
/external/skia/tests/
DMipMapTest.cpp80 int currentWidth = width / twoToTheMipLevel; in test_mipmap_generation() local
82 REPORTER_ASSERT(reporter, level.fPixmap.width() == currentWidth); in test_mipmap_generation()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp1071 SkScalar currentWidth = 0; in wrap() local
1080 candidateGraphemeBreakWidth = currentWidth; in wrap()
1083 candidateLineBreakWidth = currentWidth; in wrap()
1090 … if (width < currentWidth + glyphWidth && glyph->fHasVisual && candidateGraphemeBreakWidth > 0){ in wrap()
1093 currentWidth -= candidateLineBreakWidth; in wrap()
1099 currentWidth -= candidateGraphemeBreakWidth; in wrap()
1106 if (width < currentWidth) { in wrap()
1112 currentWidth = candidateGraphemeBreakWidth; in wrap()
1122 currentWidth += glyphWidth; in wrap()
/external/skia/src/gpu/mtl/
DGrMtlGpu.mm404 int currentWidth = width;
414 const size_t trimRowBytes = currentWidth * bpp;
426 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1)
432 currentWidth = std::max(1, currentWidth/2);
461 int currentWidth = tex->width();
472 const size_t trimmedSize = currentWidth * bpp * currentHeight;
480 currentWidth = std::max(1, currentWidth/2);
507 currentWidth = tex->width();
512 const size_t rowBytes = currentWidth * bpp;
518 sourceSize: MTLSizeMake(currentWidth, currentHeight, 1)
[all …]
/external/skqp/src/gpu/ccpr/
DGrCCAtlas.h58 int currentWidth() const { return fWidth; } in currentWidth() function
DGrCCPerFlushResources.cpp488 atlas->currentWidth() == texture->width()) { in finalize()
/external/deqp/framework/common/
DtcuRasterizationVerifier.cpp1520 int currentWidth = 1; in verifySinglesampleLineGroupRasterization() local
1562 currentWidth = 1; in verifySinglesampleLineGroupRasterization()
1569 ++currentWidth; in verifySinglesampleLineGroupRasterization()
1575 currentWidth = 1; in verifySinglesampleLineGroupRasterization()
1584 if (currentWidth != lineWidth) in verifySinglesampleLineGroupRasterization()
1586 …d line width at (" << x - currentWidth << ", " << y << ") - (" << x - 1 << ", " << y << "). Detect… in verifySinglesampleLineGroupRasterization()
1592 currentWidth = 1; in verifySinglesampleLineGroupRasterization()
1604 int currentWidth = 1; in verifySinglesampleLineGroupRasterization() local
1647 currentWidth = 1; in verifySinglesampleLineGroupRasterization()
1654 ++currentWidth; in verifySinglesampleLineGroupRasterization()
[all …]
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp977 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local
985 currentWidth, in allocate_and_populate_texture()
1010 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_texture() local
1019 currentWidth, in allocate_and_populate_texture()
1083 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() local
1088 size_t dataSize = GrCompressedFormatDataSize(config, currentWidth, currentHeight); in allocate_and_populate_compressed_texture()
1093 currentWidth, in allocate_and_populate_compressed_texture()
1109 int currentWidth = SkTMax(1, baseWidth / twoToTheMipLevel); in allocate_and_populate_compressed_texture() local
1120 currentWidth, in allocate_and_populate_compressed_texture()
1239 int currentWidth = SkTMax(1, width / twoToTheMipLevel); in uploadTexData() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp607 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local
615 ? currentWidth in generateSwapchainConfigs()
618 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
DvktWsiIncrementalPresentTests.cpp697 const deUint32 currentWidth = properties.currentExtent.width != 0xFFFFFFFFu in generateSwapchainConfigs() local
705 ? currentWidth in generateSwapchainConfigs()
708 …: de::min(deSmallestGreaterOrEquallPowerOfTwoU32(currentWidth+1), properties.maxImageExtent.width)… in generateSwapchainConfigs()
/external/skia/src/gpu/d3d/
DGrD3DGpu.cpp720 int currentWidth = width; in uploadToTexture() local
728 const size_t trimRowBytes = currentWidth * bpp; in uploadToTexture()
738 currentWidth = std::max(1, currentWidth / 2); in uploadToTexture()
/external/skia/src/gpu/vk/
DGrVkGpu.cpp909 int currentWidth = width; in uploadTexDataOptimal() local
915 const size_t trimRowBytes = currentWidth * bpp; in uploadTexDataOptimal()
926 region.bufferRowLength = currentWidth; in uploadTexDataOptimal()
930 region.imageExtent = {(uint32_t)currentWidth, (uint32_t)currentHeight, 1}; in uploadTexDataOptimal()
933 currentWidth = std::max(1, currentWidth/2); in uploadTexDataOptimal()
/external/skia/src/gpu/gl/
DGrGLGpu.cpp1672 const int currentWidth = std::max(1, dimensions.width() / twoToTheMipLevel); in createTexture() local
1674 error = GL_ALLOC_CALL(TexImage2D(target, level, internalFormat, currentWidth, in createTexture()