Image JPEG Decode (IJPD)

  • Baseline ITU-T T.81 / ISO/IEC 10918-1
  • As the output format depends on the format of the input stream, the following output formats are possible (depending on the input stream):
Input bit-stream Output color format Output memory layout format Output pixel packing format Output bit depth Comment
YUV420 YUV420 pitch linear planar 8-bit
YUV420 pitch linear semi-planar 8-bit
YUV422 YUV422H/V pitch linear planar 8-bit
pitch linear YUY2 8-bit
YUV444 YUV444 pitch linear planar 8-bit
Monochrome YUV400 pitch linear planar 8-bit
RGBA RGBA pitch linear interleaved 8-bit A can be either 0x00 or 0xFF
BGRA pitch linear interleaved 8-bit A can be either 0x00 or 0xFF
ABGR pitch linear interleaved 8-bit A can be either 0x00 or 0xFF
ARGB pitch linear interleaved 8-bit A can be either 0x00 or 0xFF
  • Support for all input formats to give output in RGBA where R, G, B, A locations are programmable (supported value for A can be either 0x00 or 0xFF).

  • The supported chroma subsample source and target formats are as follows:

Source format Target format after chroma sub-sample conversion
YUV420 YUV422H
YUV422V YUV422H
YUV420
YUV422H YUV420
YUV444 YUV422H
YUV420
  • Support down-scaling of decoded output by a power of 2. The output size downscale by 2/4/8 factor in both width and height. For example, input with resolution (w x h) can output in any one of these output resolutions (w/2 x h/2) or (w/4 x h/4) or (w/8 x h/8).

  • Support for decoding of YUV444 non-interleaved JPEG stream. Output produced will be in YUV444, 8-bit, pitch linear planar format.

Note: Processing of a submitted task can potentially time out for tasks that do not complete in real time within an internally defined timeout (mLocktimeout). This implies that the applied configuration (such as resolution and bitrate) is not supported on the platform at the configured hardware clocks. This behavior shows up as failed/errored-out tasks even when the supplied configuration is valid.