Class ImplConvertNV21


  • public class ImplConvertNV21
    extends java.lang.Object
    NV21: The format is densely packed. Y is full resolution and UV are interlaced and 1/2 resolution. So same UV values within a 2x2 square
    • Constructor Summary

      Constructors 
      Constructor Description
      ImplConvertNV21()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void nv21ToGray​(byte[] dataNV, boofcv.struct.image.GrayF32 output)
      First block contains gray-scale information and UV data can be ignored.
      static void nv21ToGray​(byte[] dataNV, boofcv.struct.image.GrayU8 output)
      First block contains gray-scale information and UV data can be ignored.
      static void nv21ToInterleaved_F32​(byte[] dataNV, boofcv.struct.image.InterleavedF32 output)  
      static void nv21ToInterleaved_U8​(byte[] dataNV, boofcv.struct.image.InterleavedU8 output)  
      static void nv21ToPlanarRgb_F32​(byte[] dataNV, boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> output)  
      static void nv21ToPlanarRgb_U8​(byte[] dataNV, boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output)  
      static void nv21ToPlanarYuv_F32​(byte[] dataNV, boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> output)  
      static void nv21ToPlanarYuv_U8​(byte[] dataNV, boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output)  
      • Methods inherited from class java.lang.Object

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

      • ImplConvertNV21

        public ImplConvertNV21()
    • Method Detail

      • nv21ToGray

        public static void nv21ToGray​(byte[] dataNV,
                                      boofcv.struct.image.GrayU8 output)
        First block contains gray-scale information and UV data can be ignored.
      • nv21ToGray

        public static void nv21ToGray​(byte[] dataNV,
                                      boofcv.struct.image.GrayF32 output)
        First block contains gray-scale information and UV data can be ignored.
      • nv21ToPlanarYuv_U8

        public static void nv21ToPlanarYuv_U8​(byte[] dataNV,
                                              boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output)
      • nv21ToPlanarYuv_F32

        public static void nv21ToPlanarYuv_F32​(byte[] dataNV,
                                               boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> output)
      • nv21ToPlanarRgb_U8

        public static void nv21ToPlanarRgb_U8​(byte[] dataNV,
                                              boofcv.struct.image.Planar<boofcv.struct.image.GrayU8> output)
      • nv21ToInterleaved_U8

        public static void nv21ToInterleaved_U8​(byte[] dataNV,
                                                boofcv.struct.image.InterleavedU8 output)
      • nv21ToPlanarRgb_F32

        public static void nv21ToPlanarRgb_F32​(byte[] dataNV,
                                               boofcv.struct.image.Planar<boofcv.struct.image.GrayF32> output)
      • nv21ToInterleaved_F32

        public static void nv21ToInterleaved_F32​(byte[] dataNV,
                                                 boofcv.struct.image.InterleavedF32 output)