Difference between revisions of "Xavier/Processors/HDAV Subsystem/JPEG"

From RidgeRun Developer Connection
Jump to: navigation, search
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
{{Xavier/Head}}
+
{{Xavier/Head|previous=Processors/HDAV Subsystem/Video Decoder|next=Processors/HDAV Subsystem/Compositor|metakeywords=processors,audio,video,audio video subsystem, hd audio video subsystem,HDAV Subsystem,jpeg,jpeg plugin,gstreamer jpeg plugin}}
 
</noinclude>
 
</noinclude>
  
The JPEG processing block is responsible for JPEG compression, decompression, image scaling, decoding (YUV420, YUV422H/V, YUV444, YUV400) and color space conversion (RGB to YUV).
+
{{DISPLAYTITLE:NVIDIA Jetson Xavier - HDAV Subsystem JPEG processing block|noerror}}
  
=Features=  
+
__TOC__
 +
<br>
 +
The JPEG processing block is responsible for JPEG compression, decompression, image scaling, decoding (YUV420, YUV422H/V, YUV444, YUV400), and color space conversion (RGB to YUV).
 +
 
 +
==Features==  
 
* JPEG codec (8/12 bits per channel)
 
* JPEG codec (8/12 bits per channel)
 
* JPEG2000 codec (8-16 bits per channel)
 
* JPEG2000 codec (8-16 bits per channel)
  
Input (encode) format:
+
'''Input (encode) format:'''
 
* Subsample format: YUV420
 
* Subsample format: YUV420
 
* Resolution (up to): 16K x 16K
 
* Resolution (up to): 16K x 16K
 
* Pixel pack format
 
* Pixel pack format
 
** Semi-planar/Planar for 420
 
** Semi-planar/Planar for 420
Output (decode) formats:
+
'''Output (decode) formats:'''
 
* Resolution (up to): 16K x 16K
 
* Resolution (up to): 16K x 16K
 
* Pixel pack format
 
* Pixel pack format
Line 21: Line 25:
 
** Planar for YUV444/YUV
 
** Planar for YUV444/YUV
  
=Nvidia Hardware Accelerated Gstreamer JPEG Plugins=
+
==NVIDIA Hardware Accelerated GStreamer JPEG Plugins==
 
{| class="wikitable" style="margin-right: 22em;"
 
{| class="wikitable" style="margin-right: 22em;"
 
|-
 
|-
Line 30: Line 34:
 
| nvjpegdec || JPEG decoder element
 
| nvjpegdec || JPEG decoder element
 
|}
 
|}
 +
 +
==Multimedia API==
 +
The Multimedia API provides the <code>NvJpegEncoder</code> and the <code>NvJpegDecoder</code> helper classes. The examples located in <code>~/tegra_multimedia_api/samples/05_jpeg_encode</code> and <code>~/tegra_multimedia_api/samples/06_jpeg_decode</code> provide more information on how to use this API.
  
 
<noinclude>
 
<noinclude>
{{Xavier/Foot|<Replace with "previous" page>|<Replace with "next" page>}}
+
{{Xavier/Foot|Processors/HDAV Subsystem/Video Decoder|Processors/HDAV Subsystem/Compositor}}
 
</noinclude>
 
</noinclude>

Latest revision as of 12:43, 13 February 2023



Previous: Processors/HDAV Subsystem/Video Decoder Index Next: Processors/HDAV Subsystem/Compositor



Nvidia-preferred-partner-badge-rgb-for-screen.png





The JPEG processing block is responsible for JPEG compression, decompression, image scaling, decoding (YUV420, YUV422H/V, YUV444, YUV400), and color space conversion (RGB to YUV).

Features

  • JPEG codec (8/12 bits per channel)
  • JPEG2000 codec (8-16 bits per channel)

Input (encode) format:

  • Subsample format: YUV420
  • Resolution (up to): 16K x 16K
  • Pixel pack format
    • Semi-planar/Planar for 420

Output (decode) formats:

  • Resolution (up to): 16K x 16K
  • Pixel pack format
    • Semi-planar/Planar for YUV420
    • YUY2/Planar for 422H/422V
    • Planar for YUV444/YUV

NVIDIA Hardware Accelerated GStreamer JPEG Plugins

Plugin Description
nvjpegenc JPEG encoder element
nvjpegdec JPEG decoder element

Multimedia API

The Multimedia API provides the NvJpegEncoder and the NvJpegDecoder helper classes. The examples located in ~/tegra_multimedia_api/samples/05_jpeg_encode and ~/tegra_multimedia_api/samples/06_jpeg_decode provide more information on how to use this API.



Previous: Processors/HDAV Subsystem/Video Decoder Index Next: Processors/HDAV Subsystem/Compositor