> This page is for version 9.2 (default).
> For other versions, use one of these documentation indexes:
> - 9.2 (default): https://docs.nvidia.com/deepstream/9.2/llms.txt
> - Archives: https://docs.nvidia.com/deepstream/archives/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/deepstream/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/deepstream/_mcp/server.

# Gst-nvimagedec

The Gst-nvimagedec plugin decodes images on dGPU and (ARM + dGPU) platforms like arm-sbsa.
This plugin is based on the `libnvjpeg` library which part of the CUDA toolkit.
The plugin accepts a JPEG encoded bitstream and produces RGB output.
`jpegparse` plugin should be used to parse the encoded frame before `nvimagedec`,
since it does not have an internal bitstream parser.

## Inputs and Outputs

* Inputs

  * Elementary JPEG

* Control parameters

  * gpu-id
  * needs-pool

* Output

  * Gst Buffer with decoded output in RGB format.

## Features

The following table summarizes the features of the Gst-nvimagedec plugin.

**Gst-nvimagedec plugin features**

| Feature                       | Description                                             | Release |
| ----------------------------- | ------------------------------------------------------- | ------- |
| Supports toggling buffer pool | plugin can toggle output buffer pool based on use cases | DS 6.4  |

## Gst Properties

The following table summarizes the Gst properties of the Gst-nvimagedec plugin.

**Gst-nvimagedec plugin gst properties**

| Property   | Meaning                                 | Type and Range              | Example and Notes | Platforms      |
| ---------- | --------------------------------------- | --------------------------- | ----------------- | -------------- |
| gpu-id     | Device ID of GPU to use for decoding.   | Integer, 0 to 4,294,967,295 | gpu-id=0          | dGPU, ARM+dGPU |
| needs-pool | Enabling / Disabling output buffer pool | Boolean, 0 or 1             | needs-pool=1      | dGPU, ARM+dGPU |