timvideos / getting-started

List of ideas for getting started with TimVideos projects
https://code.timvideos.us/summer-of-code/
52 stars 19 forks source link

[HDMI2USB] Convert the JPEG encoder from VHDL to Migen/MiSoC #31

Open mithro opened 8 years ago

mithro commented 8 years ago

Brief explanation

The HDMI2USB firmware currently has a JPEG encoder written in VHDL. We would prefer it be written in Migen / MiSoC to allow better integration into the firmware.

Expected results

The HDMI2USB MiSoC Firmware correctly generates JPEG output using new Migen / MiSoC JPEG encoder.

The new Migen / MiSoC JPEG encoder has a strong test suite.

Detailed Explanation

The current JPEG encoder is based on mkjpeg from opencores but has been slightly modified by @enjoy-digital and @ajitmathew. The current encoder has the following problems;

Using Migen / MiSoC would allow a lot of better testing.

As there is an existing implementation of the encoder, it makes the conversion process a simpler. cfelton's JPEG encoder example might be useful source too.

Further reading

adarsh1001 commented 6 years ago

I believe this particular problem was addressed in last year's GSoC also. How much work is left?

mithro commented 6 years ago

@ishan98 was working on it last year. You can find a lot of his work here -> https://github.com/ishan98/litejpeg

GitHub
ishan98/litejpeg
litejpeg - Small footprint and configurable JPEG encoder and decoder (WIP)