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

Link to this section Summary

Types

t()

Type that represents an CUDACodec.VideoReaderInitParams struct.

Link to this section Types

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

Type that represents an CUDACodec.VideoReaderInitParams struct.

  • ref. reference()

    The underlying erlang resource variable.

Link to this section Functions

Link to this function

get_allowFrameDrop(self)

View Source
@spec get_allowFrameDrop(t()) :: boolean()
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_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>