Object VideoUtils

  • All Implemented Interfaces:

    
    public class VideoUtils
    
                        

    Entry point for accessing helper methods of video frames processing.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

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

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static VideoFrame I420toNV21Frame(VideoFrame frame) Converts frame in I420 to NV21.
      final static Unit convertToBlackAndWhite(VideoFrame frame) Demo method that shows how to process in-place VideoFrame by converting it to black-and-white image.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • convertToBlackAndWhite

         final static Unit convertToBlackAndWhite(VideoFrame frame)

        Demo method that shows how to process in-place VideoFrame by converting it to black-and-white image.

        Parameters:
        frame -
        • VideoFrame in YUV 420 planar or semi-planar format.