/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ |
D | ImageProcessor.java | 71 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/ |
D | GrVkGpu.cpp | 643 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/ |
D | MediaCodecVideoRenderer.java | 134 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/ |
D | GrMtlGpu.mm | 178 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/ |
D | MipMapTest.cpp | 79 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/ |
D | GrDynamicAtlas.h | 60 int currentWidth() const { return fWidth; } in currentWidth() function
|
/external/skia/tests/ |
D | MipMapTest.cpp | 80 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/ |
D | SkShaper_harfbuzz.cpp | 1071 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/ |
D | GrMtlGpu.mm | 404 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/ |
D | GrCCAtlas.h | 58 int currentWidth() const { return fWidth; } in currentWidth() function
|
D | GrCCPerFlushResources.cpp | 488 atlas->currentWidth() == texture->width()) { in finalize()
|
/external/deqp/framework/common/ |
D | tcuRasterizationVerifier.cpp | 1520 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/ |
D | GrGLGpu.cpp | 977 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/ |
D | vktWsiSharedPresentableImageTests.cpp | 607 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()
|
D | vktWsiIncrementalPresentTests.cpp | 697 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/ |
D | GrD3DGpu.cpp | 720 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/ |
D | GrVkGpu.cpp | 909 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/ |
D | GrGLGpu.cpp | 1672 const int currentWidth = std::max(1, dimensions.width() / twoToTheMipLevel); in createTexture() local 1674 error = GL_ALLOC_CALL(TexImage2D(target, level, internalFormat, currentWidth, in createTexture()
|