Object YUVUtil

  • All Implemented Interfaces:

    
    public class YUVUtil
    
                        

    Provides operation with

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static YUVUtil INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ByteArray rotateYUV21Image(Integer cameraRotation, ByteArray data, Integer imageWidth, Integer imageHeight) Rotates YUV21 image
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • rotateYUV21Image

         final ByteArray rotateYUV21Image(Integer cameraRotation, ByteArray data, Integer imageWidth, Integer imageHeight)

        Rotates YUV21 image

        Parameters:
        cameraRotation - rotation degrees (0, 90, 180, 270)
        data - source image byte array
        imageWidth - source image width
        imageHeight - source image height