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

feat(decoder): add image header cache #5407

Merged
merged 8 commits into from
Jan 22, 2024
Merged

feat(decoder): add image header cache #5407

merged 8 commits into from
Jan 22, 2024

Conversation

W-Mai
Copy link
Contributor

@W-Mai W-Mai commented Jan 20, 2024

Description of the feature or fix

Add image decoder header cache

Notes

Copy link
Collaborator

@XuNeo XuNeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

src/draw/lv_image_decoder.c Outdated Show resolved Hide resolved
src/draw/lv_image_decoder.c Show resolved Hide resolved
src/draw/lv_image_decoder.c Outdated Show resolved Hide resolved
Copy link
Member

@kisvegabor kisvegabor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this update and the reviews!

@kisvegabor kisvegabor merged commit d26eac8 into lvgl:master Jan 22, 2024
16 checks passed
@W-Mai
Copy link
Contributor Author

W-Mai commented Jan 22, 2024

@kisvegabor
Wait, these patches have dependencies. Joining this patch alone will make it difficult for the code to roll back review and so on. Can we merge them one by one?

this pr relies on other prs merge order:

  1. feat(image_decoder): remove args for open_cb #5402
  2. fix(decoder_dsc): replace decoder_dsc.header with decoder_dsc.decoded->header #5405
  3. feat(image_decoder): simplify lv_image_decoder_get_info/open workflow #5404
  4. feat(decoder): add image header cache #5407

@kisvegabor
Copy link
Member

Ok, I'll merge them in this order, but please resolve merge conflicts.

@kisvegabor
Copy link
Member

I reverted #5407

@W-Mai
Copy link
Contributor Author

W-Mai commented Jan 22, 2024

In fact, their interdependence is a superposition relationship. If I fix the conflict, it will become an empty patch, so my suggestion is that we quickly revert this patch, and then merge it in order, and then resubmit the image header cache. If it's troublesome, I can ask @FASTSHIFT for help.😁

@W-Mai
Copy link
Contributor Author

W-Mai commented Jan 22, 2024

I reverted #5407

Oh, You are one step faster!

@kisvegabor
Copy link
Member

kisvegabor commented Jan 22, 2024

This one still need to be updated: #5404

@W-Mai
Copy link
Contributor Author

W-Mai commented Jan 22, 2024

This one still need to be updated: #5404

Done, waiting for the CI.

@kisvegabor
Copy link
Member

Please open this PR again to merge it again 🙂

@W-Mai
Copy link
Contributor Author

W-Mai commented Jan 22, 2024

Please open this PR again to merge it again 🙂

It started CI.

  1. feat(image_decoder): add image decoder header cache #5420

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

Successfully merging this pull request may close these issues.

5 participants