View Source Evision.CUDACodec.FormatInfo (Evision v0.2.9)

Summary

Types

t()

Type that represents an CUDACodec.FormatInfo struct.

Types

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

Type that represents an CUDACodec.FormatInfo struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

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

FormatInfo

Return
  • self: FormatInfo

Python prototype (for reference only):

FormatInfo() -> <cudacodec_FormatInfo object>
@spec formatInfo(Keyword.t()) :: any() | {:error, String.t()}
@spec get_chromaFormat(t()) :: Evision.CUDACodec.ChromaFormat.t()
@spec get_codec(t()) :: Evision.CUDACodec.Codec.t()
Link to this function

get_deinterlaceMode(self)

View Source
@spec get_deinterlaceMode(t()) :: Evision.CUDACodec.DeinterlaceMode.t()
@spec get_displayArea(t()) :: {number(), number(), number(), number()}
Link to this function

get_enableHistogram(self)

View Source
@spec get_enableHistogram(t()) :: boolean()
@spec get_fps(t()) :: number()
@spec get_height(t()) :: integer()
Link to this function

get_nBitDepthChromaMinus8(self)

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

get_nBitDepthMinus8(self)

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

get_nCounterBitDepth(self)

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

get_nMaxHistogramBins(self)

View Source
@spec get_nMaxHistogramBins(t()) :: integer()
@spec get_srcRoi(t()) :: {number(), number(), number(), number()}
@spec get_targetRoi(t()) :: {number(), number(), number(), number()}
@spec get_targetSz(t()) :: {number(), number()}
@spec get_ulHeight(t()) :: integer()
Link to this function

get_ulNumDecodeSurfaces(self)

View Source
@spec get_ulNumDecodeSurfaces(t()) :: integer()
@spec get_ulWidth(t()) :: integer()
@spec get_valid(t()) :: boolean()
Link to this function

get_videoFullRangeFlag(self)

View Source
@spec get_videoFullRangeFlag(t()) :: boolean()
@spec get_width(t()) :: integer()
Link to this function

set_chromaFormat(self, prop)

View Source
@spec set_chromaFormat(t(), Evision.CUDACodec.ChromaFormat.t()) :: t()
@spec set_codec(t(), Evision.CUDACodec.Codec.t()) :: t()
Link to this function

set_deinterlaceMode(self, prop)

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

set_displayArea(self, prop)

View Source
@spec set_displayArea(t(), {number(), number(), number(), number()}) :: t()
Link to this function

set_enableHistogram(self, prop)

View Source
@spec set_enableHistogram(t(), boolean()) :: t()
@spec set_fps(t(), number()) :: t()
@spec set_height(t(), integer()) :: t()
Link to this function

set_nBitDepthChromaMinus8(self, prop)

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

set_nBitDepthMinus8(self, prop)

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

set_nCounterBitDepth(self, prop)

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

set_nMaxHistogramBins(self, prop)

View Source
@spec set_nMaxHistogramBins(t(), integer()) :: t()
@spec set_srcRoi(t(), {number(), number(), number(), number()}) :: t()
Link to this function

set_targetRoi(self, prop)

View Source
@spec set_targetRoi(t(), {number(), number(), number(), number()}) :: t()
Link to this function

set_targetSz(self, prop)

View Source
@spec set_targetSz(
  t(),
  {number(), number()}
) :: t()
Link to this function

set_ulHeight(self, prop)

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

set_ulNumDecodeSurfaces(self, prop)

View Source
@spec set_ulNumDecodeSurfaces(t(), integer()) :: t()
@spec set_ulWidth(t(), integer()) :: t()
@spec set_valid(t(), boolean()) :: t()
Link to this function

set_videoFullRangeFlag(self, prop)

View Source
@spec set_videoFullRangeFlag(t(), boolean()) :: t()
@spec set_width(t(), integer()) :: t()