Class RescalingEncoder

  • All Implemented Interfaces:
    org.webrtc.VideoEncoder

    public class RescalingEncoder
    extends java.lang.Object
    implements org.webrtc.VideoEncoder
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.webrtc.VideoEncoder

        org.webrtc.VideoEncoder.BitrateAllocation, org.webrtc.VideoEncoder.Callback, org.webrtc.VideoEncoder.Capabilities, org.webrtc.VideoEncoder.CodecSpecificInfo, org.webrtc.VideoEncoder.CodecSpecificInfoAV1, org.webrtc.VideoEncoder.CodecSpecificInfoH264, org.webrtc.VideoEncoder.CodecSpecificInfoVP8, org.webrtc.VideoEncoder.CodecSpecificInfoVP9, org.webrtc.VideoEncoder.EncodeInfo, org.webrtc.VideoEncoder.EncoderInfo, org.webrtc.VideoEncoder.RateControlParameters, org.webrtc.VideoEncoder.ResolutionBitrateLimits, org.webrtc.VideoEncoder.ScalingSettings, org.webrtc.VideoEncoder.Settings
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long createNativeVideoEncoder()  
      org.webrtc.VideoCodecStatus encode​(org.webrtc.VideoFrame videoFrame, org.webrtc.VideoEncoder.EncodeInfo encodeInfo)  
      org.webrtc.VideoEncoder.EncoderInfo getEncoderInfo()  
      java.lang.String getImplementationName()  
      org.webrtc.VideoEncoder.ResolutionBitrateLimits[] getResolutionBitrateLimits()  
      org.webrtc.VideoEncoder.ScalingSettings getScalingSettings()  
      org.webrtc.VideoCodecStatus initEncode​(org.webrtc.VideoEncoder.Settings settings, org.webrtc.VideoEncoder.Callback callback)  
      boolean isHardwareEncoder()  
      org.webrtc.VideoCodecStatus release()  
      org.webrtc.VideoCodecStatus setRateAllocation​(org.webrtc.VideoEncoder.BitrateAllocation bitrateAllocation, int i)  
      org.webrtc.VideoCodecStatus setRates​(org.webrtc.VideoEncoder.RateControlParameters rcParameters)  
      • Methods inherited from class java.lang.Object

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

      • initEncode

        public org.webrtc.VideoCodecStatus initEncode​(org.webrtc.VideoEncoder.Settings settings,
                                                      org.webrtc.VideoEncoder.Callback callback)
        Specified by:
        initEncode in interface org.webrtc.VideoEncoder
      • release

        public org.webrtc.VideoCodecStatus release()
        Specified by:
        release in interface org.webrtc.VideoEncoder
      • encode

        public org.webrtc.VideoCodecStatus encode​(org.webrtc.VideoFrame videoFrame,
                                                  org.webrtc.VideoEncoder.EncodeInfo encodeInfo)
        Specified by:
        encode in interface org.webrtc.VideoEncoder
      • setRateAllocation

        public org.webrtc.VideoCodecStatus setRateAllocation​(org.webrtc.VideoEncoder.BitrateAllocation bitrateAllocation,
                                                             int i)
        Specified by:
        setRateAllocation in interface org.webrtc.VideoEncoder
      • getScalingSettings

        public org.webrtc.VideoEncoder.ScalingSettings getScalingSettings()
        Specified by:
        getScalingSettings in interface org.webrtc.VideoEncoder
      • getImplementationName

        public java.lang.String getImplementationName()
        Specified by:
        getImplementationName in interface org.webrtc.VideoEncoder
      • createNativeVideoEncoder

        public long createNativeVideoEncoder()
        Specified by:
        createNativeVideoEncoder in interface org.webrtc.VideoEncoder
      • isHardwareEncoder

        public boolean isHardwareEncoder()
        Specified by:
        isHardwareEncoder in interface org.webrtc.VideoEncoder
      • setRates

        public org.webrtc.VideoCodecStatus setRates​(org.webrtc.VideoEncoder.RateControlParameters rcParameters)
        Specified by:
        setRates in interface org.webrtc.VideoEncoder
      • getResolutionBitrateLimits

        public org.webrtc.VideoEncoder.ResolutionBitrateLimits[] getResolutionBitrateLimits()
        Specified by:
        getResolutionBitrateLimits in interface org.webrtc.VideoEncoder
      • getEncoderInfo

        public org.webrtc.VideoEncoder.EncoderInfo getEncoderInfo()
        Specified by:
        getEncoderInfo in interface org.webrtc.VideoEncoder