Home / Function/ imageYUV420CenterCropToFloatBuffer() — pytorch Function Reference

imageYUV420CenterCropToFloatBuffer() — pytorch Function Reference

Architecture documentation for the imageYUV420CenterCropToFloatBuffer() function in TensorImageUtils.java from the pytorch codebase.

Function java AndroidRuntime JNILayer calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  039405ba_1c04_dc33_5c13_754e08f3ba03["imageYUV420CenterCropToFloatBuffer()"]
  96f1f166_e465_73ae_edbc_0841f2cf1414["imageYUV420CenterCropToFloatBuffer()"]
  96f1f166_e465_73ae_edbc_0841f2cf1414 -->|calls| 039405ba_1c04_dc33_5c13_754e08f3ba03
  96f1f166_e465_73ae_edbc_0841f2cf1414["imageYUV420CenterCropToFloatBuffer()"]
  039405ba_1c04_dc33_5c13_754e08f3ba03 -->|calls| 96f1f166_e465_73ae_edbc_0841f2cf1414
  style 039405ba_1c04_dc33_5c13_754e08f3ba03 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

android/pytorch_android_torchvision/src/main/java/org/pytorch/torchvision/TensorImageUtils.java lines 345–362

    private static native void imageYUV420CenterCropToFloatBuffer(
        ByteBuffer yBuffer,
        int yRowStride,
        int yPixelStride,
        ByteBuffer uBuffer,
        ByteBuffer vBuffer,
        int uvRowStride,
        int uvPixelStride,
        int imageWidth,
        int imageHeight,
        int rotateCWDegrees,
        int tensorWidth,
        int tensorHeight,
        float[] normMeanRgb,
        float[] normStdRgb,
        Buffer outBuffer,
        int outBufferOffset,
        int memoryFormatJniCode);

Subdomains

Frequently Asked Questions

What does imageYUV420CenterCropToFloatBuffer() do?
imageYUV420CenterCropToFloatBuffer() is a function in the pytorch codebase.
What does imageYUV420CenterCropToFloatBuffer() call?
imageYUV420CenterCropToFloatBuffer() calls 1 function(s): imageYUV420CenterCropToFloatBuffer.
What calls imageYUV420CenterCropToFloatBuffer()?
imageYUV420CenterCropToFloatBuffer() is called by 1 function(s): imageYUV420CenterCropToFloatBuffer.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free