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

Summary

Types

t()

Type that represents an CUDACodec.VideoReaderInitParams struct.

Types

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

Type that represents an CUDACodec.VideoReaderInitParams struct.

  • ref. reference()

    The underlying erlang resource variable.

Functions

Link to this function

get_allowFrameDrop(self)

View Source
@spec get_allowFrameDrop(t()) :: boolean()
Link to this function

get_enableHistogram(self)

View Source
@spec get_enableHistogram(t()) :: boolean()
@spec get_firstFrameIdx(t()) :: integer()
Link to this function

get_minNumDecodeSurfaces(self)

View Source
@spec get_minNumDecodeSurfaces(t()) :: integer()
@spec get_rawMode(t()) :: boolean()
@spec get_srcRoi(t()) :: {number(), number(), number(), number()}
@spec get_targetRoi(t()) :: {number(), number(), number(), number()}
@spec get_targetSz(t()) :: {number(), number()}
@spec get_udpSource(t()) :: boolean()
Link to this function

set_allowFrameDrop(self, prop)

View Source
@spec set_allowFrameDrop(t(), boolean()) :: t()
Link to this function

set_enableHistogram(self, prop)

View Source
@spec set_enableHistogram(t(), boolean()) :: t()
Link to this function

set_firstFrameIdx(self, prop)

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

set_minNumDecodeSurfaces(self, prop)

View Source
@spec set_minNumDecodeSurfaces(t(), integer()) :: t()
@spec set_rawMode(t(), boolean()) :: 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_udpSource(self, prop)

View Source
@spec set_udpSource(t(), boolean()) :: t()
@spec videoReaderInitParams() :: t() | {:error, String.t()}

VideoReaderInitParams

Return
  • self: VideoReaderInitParams

Python prototype (for reference only):

VideoReaderInitParams() -> <cudacodec_VideoReaderInitParams object>
Link to this function

videoReaderInitParams(named_args)

View Source
@spec videoReaderInitParams(Keyword.t()) :: any() | {:error, String.t()}