Class VideoCodecInfo


  • public class VideoCodecInfo
    extends java.lang.Object
    • Constructor Detail

      • VideoCodecInfo

        public VideoCodecInfo​(boolean bEncoder,
                              java.lang.String strFormat,
                              android.media.MediaCodecInfo info)
    • Method Detail

      • HasLibMediaNdk

        public static boolean HasLibMediaNdk()
      • getDriverForFormat

        public static java.lang.String getDriverForFormat​(boolean bEncoder,
                                                          java.lang.String strFormat,
                                                          java.lang.Object objTestFunction)
      • getCodecInfoForFormat

        public static VideoCodecInfo getCodecInfoForFormat​(boolean bEncoder,
                                                           java.lang.String strFormat)
      • findCodecInfoForFormat

        public static VideoCodecInfo findCodecInfoForFormat​(boolean bEncoder,
                                                            java.lang.String strFormat,
                                                            java.lang.Object objTestFunction)
      • logCodecs

        public static void logCodecs​(boolean bEncoder,
                                     java.lang.String strFormat)
      • createCodec

        public android.media.MediaCodec createCodec()
      • getName

        public java.lang.String getName()
      • isEncoder

        public boolean isEncoder()
      • getFormat

        public java.lang.String getFormat()
      • isH265

        public boolean isH265()
      • isH264

        public boolean isH264()
      • isH263

        public boolean isH263()
      • isVP8

        public boolean isVP8()
      • supportsProfile

        public boolean supportsProfile​(int profile)
      • supportsLevel

        public int supportsLevel​(int level)
      • supportsProfileAndLevel

        public boolean supportsProfileAndLevel​(int profile,
                                               int level)
      • getMaxProfileForLevel

        public int getMaxProfileForLevel​(int nRequestedProfile,
                                         int nRequestedLevel)
      • getMaxProfile

        public int getMaxProfile()
      • getMaxLevel

        public int getMaxLevel​(int profile)
      • supportsColor

        public boolean supportsColor​(int nColor)
      • supportsBps

        public boolean supportsBps​(int nBPS)
      • supportsFps

        public boolean supportsFps​(int nFPS)
      • getSupportedColorFormat

        public int getSupportedColorFormat​(int nRequested)
      • getSupportedWidth

        public int getSupportedWidth​(int nRequested)
      • getSupportedHeight

        public int getSupportedHeight​(int nRequested)
      • supportsWidth

        public boolean supportsWidth​(int nWidth)
      • supportsHeight

        public boolean supportsHeight​(int nHeight)
      • getWidthAlignment

        public int getWidthAlignment()
      • getHeightAlignment

        public int getHeightAlignment()
      • log

        public void log()
      • AvcProfileToString

        public static java.lang.String AvcProfileToString​(int profile)
      • AvcLevelToString

        public static java.lang.String AvcLevelToString​(int level)
      • ColorToString

        public static java.lang.String ColorToString​(int color)