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

Link to this section Summary

Types

t()

Type that represents an CUDACodec.FormatInfo struct.

Link to this section Types

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

Type that represents an CUDACodec.FormatInfo struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

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

FormatInfo

Return
  • self: FormatInfo

Python prototype (for reference only):

FormatInfo() -> <cudacodec_FormatInfo object>
@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()}
@spec get_fps(t()) :: number()
@spec get_height(t()) :: integer()
Link to this function

get_nBitDepthMinus8(self)

View Source
@spec get_nBitDepthMinus8(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()
@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()
@spec set_fps(t(), number()) :: t()
@spec set_height(t(), integer()) :: t()
Link to this function

set_nBitDepthMinus8(self, prop)

View Source
@spec set_nBitDepthMinus8(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()
@spec set_width(t(), integer()) :: t()