Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 486 by vam...@
gmail.com: Poor quality on ARM Cortex-M7 processor (IAR Compiler)
https://bugs.chromium.org/p/webp/issues/detail?id=486What steps will reproduce the problem?
The following steps are also in ReadMe.txt
1- Download and install the "IAR Embedded Workbench for Arm" 30 days free demo from:
https://www.iar.com/iar-embedded-workbench/#!?currentTab=free-trialsNote: no need to install "Probe drivers" nor "Dongle drivers"
2- Open IAR Embedded Workbench and:
- click on menu: "File->Open workplace"
navigate to "webpTest.eww"
Note: you may need to accept/activate your demo license.
3- Enable a break point in line #88 (while instruction).
4- Run the program. It will take ~10 seconds to reach the breakpoint
5- Check the values of the variables img_out and img_out_idx (use a "watch" windows by "View->Watch->Watch 1")
the values will probably match the following:
img_out = 0x8000afc8
img_out_idx = 308
6- Save the output buffer the the desktop by "Debug->Memory->Save"
The Start Address is img_out (likely 0x8000afc8)
The End Address is img_out + HEX(img_out_idx) =
0x8000afc8 + HEX(308) =
0x8000afc8 + 0x134 = 0x8000b0fc
End Address = 0x8000b0fc
7- Run the python script to extract the binaries from the hex file:
python hex_to_bin.py memory.hex memory.webp
8- Open memory.webp in a webp app to visualize it (Chrome/Firefox/Gimp/etc)
What is the expected output?
A "Test" Image with smooth gray gradient on background
What do you see instead?
A "Test" Image with very high compression but pixelated (See Screenshots folder)
What version of the product are you using? On what operating system?
IAR Workbench 8.50.6
Please provide any additional information below.
Project is attached for reproducing the issue. No embedded hardware is required as IAR has a ARM emulator already configure in the project.
Attachments:
webpTest.zip 722 KB
--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings