VSLCodecBackend

Type Alias VSLCodecBackend 

Source
pub type VSLCodecBackend = c_uint;
Expand description

Codec backend selection for encoder/decoder.

Allows selection between V4L2 kernel driver and Hantro user-space library (libcodec.so) backends. Use with vsl_decoder_create_ex() and vsl_encoder_create_ex() for explicit backend control.

The VSL_CODEC_BACKEND environment variable can override the AUTO selection:

  • “hantro” - Force Hantro backend even if V4L2 available
  • “v4l2” - Force V4L2 backend (fail if unavailable)
  • “auto” - Auto-detect (default)

@since 2.0