-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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(image_decoder): add stride warning #5471
Conversation
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
We need to update all image resources inside lvgl, otherwise a large number of warning logs will be generated. |
For the current demos I suggest adding the stride by hand. It might be complicated to generate the images automatically due to special cases like
|
Due to this IMO we shall update the strides in the PR too. |
What about this?
|
I used a script to automate the resource changes: #5653 |
Considering that the decoder has not been fully adapted, first reduce the LOG output level. |
Description of the feature or fix
Using width to calculate stride will lead to very difficult consistency problems.
We should remind users to set the correct stride information in the decoder.
Notes
lv_conf_template.h
run lv_conf_internal_gen.py and update Kconfig.scripts/code-format.py
(astyle needs to be installed) and follow the Code Conventions