hi_mpi_vdec_get_fd

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Description

Obtains the device file descriptor corresponding to a decoding channel.

Restrictions

When the process exits, the file descriptor is automatically closed to clean up associated allocations.

Prototype

hi_s32 hi_mpi_vdec_get_fd(hi_vdec_chn chn)

Parameters

Parameter

Input/Output

Description

chn

Input

Decoding channel ID.

Returns

  • 0 or positive value: valid.
  • Non-positive value: invalid.