Home / Function/ imageYUV420CenterCropToFloatBuffer() — pytorch Function Reference

imageYUV420CenterCropToFloatBuffer() — pytorch Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d5daf74c_cbc1_63a2_f328_50849691b6d6["imageYUV420CenterCropToFloatBuffer()"]
  5ed98bb2_a3e0_69aa_a5c4_dffa35d89514["imageYUV420CenterCropToFloatBuffer()"]
  5ed98bb2_a3e0_69aa_a5c4_dffa35d89514 -->|calls| d5daf74c_cbc1_63a2_f328_50849691b6d6
  5ed98bb2_a3e0_69aa_a5c4_dffa35d89514["imageYUV420CenterCropToFloatBuffer()"]
  d5daf74c_cbc1_63a2_f328_50849691b6d6 -->|calls| 5ed98bb2_a3e0_69aa_a5c4_dffa35d89514
  style d5daf74c_cbc1_63a2_f328_50849691b6d6 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