Frontend Part Module

jpegenc.subblocks.frontend.frontend_v2.frontend_top_level_v2

Frontend Part of the JPEG Encoder

This part combines the color space conversion, 2D-DCT and zig-zag scan modules. It takes serially each input pixel (Red, Green, Blue) and when it computes the first block it takes another two times the same block in order to compute the other components. First outputs the Y block, then the Cb block and last the Cr block. The processing of this part is continuous and it never stops.

Inputs:
red, green, blue, data_valid, clock, reset
Outputs:
data_out, data_valid
class jpegenc.subblocks.frontend.frontend_v2.frontend_transform

Software implementation of the frontend part