View Source Evision.CUDACodec.EncoderParams (Evision v0.1.38)

Summary

Types

t()

Type that represents an CUDACodec.EncoderParams struct.

Types

@type t() :: %Evision.CUDACodec.EncoderParams{ref: reference()}

Type that represents an CUDACodec.EncoderParams struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

@spec encoderParams() :: t() | {:error, String.t()}

EncoderParams

Return
  • self: EncoderParams

Python prototype (for reference only):

EncoderParams() -> <cudacodec_EncoderParams object>
Link to this function

get_averageBitRate(self)

View Source
@spec get_averageBitRate(t()) :: integer()
@spec get_constQp(t()) :: Evision.CUDACodec.EncodeQp.t()
Link to this function

get_encodingProfile(self)

View Source
@spec get_encodingProfile(t()) :: Evision.CUDACodec.EncodeProfile.t()
@spec get_gopLength(t()) :: integer()
@spec get_idrPeriod(t()) :: integer()
@spec get_maxBitRate(t()) :: integer()
Link to this function

get_multiPassEncoding(self)

View Source
@spec get_multiPassEncoding(t()) :: Evision.CUDACodec.EncodeMultiPass.t()
@spec get_nvPreset(t()) :: Evision.CUDACodec.EncodePreset.t()
Link to this function

get_rateControlMode(self)

View Source
@spec get_rateControlMode(t()) :: Evision.CUDACodec.EncodeParamsRcMode.t()
@spec get_targetQuality(t()) :: integer()
@spec get_tuningInfo(t()) :: Evision.CUDACodec.EncodeTuningInfo.t()
Link to this function

set_averageBitRate(self, prop)

View Source
@spec set_averageBitRate(t(), integer()) :: t()
@spec set_constQp(t(), Evision.CUDACodec.EncodeQp.t()) :: t()
Link to this function

set_encodingProfile(self, prop)

View Source
@spec set_encodingProfile(t(), Evision.CUDACodec.EncodeProfile.t()) :: t()
Link to this function

set_gopLength(self, prop)

View Source
@spec set_gopLength(t(), integer()) :: t()
Link to this function

set_idrPeriod(self, prop)

View Source
@spec set_idrPeriod(t(), integer()) :: t()
Link to this function

set_maxBitRate(self, prop)

View Source
@spec set_maxBitRate(t(), integer()) :: t()
Link to this function

set_multiPassEncoding(self, prop)

View Source
@spec set_multiPassEncoding(t(), Evision.CUDACodec.EncodeMultiPass.t()) :: t()
Link to this function

set_nvPreset(self, prop)

View Source
@spec set_nvPreset(t(), Evision.CUDACodec.EncodePreset.t()) :: t()
Link to this function

set_rateControlMode(self, prop)

View Source
@spec set_rateControlMode(t(), Evision.CUDACodec.EncodeParamsRcMode.t()) :: t()
Link to this function

set_targetQuality(self, prop)

View Source
@spec set_targetQuality(t(), integer()) :: t()
Link to this function

set_tuningInfo(self, prop)

View Source
@spec set_tuningInfo(t(), Evision.CUDACodec.EncodeTuningInfo.t()) :: t()