JPEG Encoder Gray

Brief Description

Files: \examples\Processing\Compression\JPEG\mE5-MA-VCL\Operator_JPEG_Encoder_Gray\Single\JPEG_Gray.vad
\examples\Processing\Compression\JPEG\mE5-MA-VCL\Operator_JPEG_Encoder_Gray\Single\sdk\JPEG_Gray.sln

Default Platform: mE5-MA-VCL

Short Description

A simple example which shows the usage of the the deprecated JPEG_Encoder_Gray operator on mE5-MA-VCL platform.

In this example we show the usage of the deprecated JPEG_Encoder_Gray operator on mE5-MA-VCL platform. For microEnable5 and 6 platforms also the newer "BasicDesignJPEG" operator is available. Please see example and the operator reference of JPEG_Encoder for details.

The top level design structure of this example with the separated Implementation and Parameters modules and the basic design structure of Implementation (see 296) is analogue to the example for the usage of "BasicDesignJPEG". A monochrome 8 bit image of a camera in CameraLink Base configuration JPEG compressed and forwarded via DMA to PC. Via a second DMA the original image is transferred to PC.

Basic implementation of grayscale JPEG compression using operator JPEG_Encoder_Gray

Figure 296. Basic implementation of grayscale JPEG compression using operator JPEG_Encoder_Gray


Differences in the implemntation for the deprecated operator JPEG_Encoder_Gray in comparison to the operator JPEG_Encoder_Gray are:
1. An 8x8 block sorting is necessary before the input pixel stream is formwarded to operator JPEG_Encoder_Gray. This is implemented in module JPEGBlockSorter8x8.
2. The output of JPEG_Encoder_Gray is a Huffman stream (analogue to JPEG_Encoder_Gray) but without JPEG header. You find an additional
3. The maximum processing speed of JPEG_Encoder_Gray is limited to around 2.5 pixels per design clock cycle. So the maximum input bandwidth for a design clock frequency of 125 MHz (microEnable5 series) is 312.5 MPixel/s.

To overcome the bandwidth limitation multiple JPEG_Encoder_Gray operators can be used in parallel. This is demonstrated in the examples documented under .