Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mithro opened this issue Feb 23, 2016 · 2 comments
Open

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

mithro opened this issue Feb 23, 2016 · 2 comments

Comments

@mithro
Copy link
Member

mithro commented Feb 23, 2016

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;

  • It is written in VHDL which means;
    • Isn't easy to simulate using FOSS tools,
    • An adapter between migen/misoc is needed,
  • It has been the cause of numerous bugs.
  • It doesn't have a strong test suite making modification hard.

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

Contacts

@mithro mithro changed the title [HDMI2USB] Rewrite the HDMI2USB JPEG Encoder in Migen/MiSoC [HDMI2USB] Convert the JPEG encoder from VHDL to Migen/MiSoC Feb 23, 2016
@adarsh1001
Copy link

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

@mithro
Copy link
Member Author

mithro commented Feb 28, 2018

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants