H/W JPEG encode/decode with different colour formats
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-10-13 3:02 AM
Now that the h/w jpeg decode is working so well I have turned my attention to the encode side. I'm currently using a s/w encoder but for that I have to convert RGB565 from the camera into RGB888 for the encoder I have chosen.
The h/w encoder can do RGB565 directly but unfortunately, jpeg_utils.c assumes that decode and encode are the same format (the code is peppered with macros) and I'm using ARGB8888 for the decode.
Is there a way of doing this without a major re-write of the utils module - or has maybe someone already done it? I could continue to do the 565/888 conversion (its using DMA2D) but it would be nice to do it right!
Cheers
Labels:
- Labels:
-
JPEG
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
