JPEG Decoder algorithm implementation: Figure 1 : jpegDecoder kernel work flow The output stream will be recoverd to a .yuv file by the host code and be stored to the folder of the input jpeg.