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

RSTn marker not properly shown in detail scan decode #50

Open
AlexGuo1998 opened this issue Mar 13, 2020 · 0 comments
Open

RSTn marker not properly shown in detail scan decode #50

AlexGuo1998 opened this issue Mar 13, 2020 · 0 comments
Assignees
Labels

Comments

@AlexGuo1998
Copy link

Hi, thanks for this awesome software!

When I decode an image with RSTn markers, it shows:

Lum (Tbl #0), MCU=[0,1]
[0x000068EC.7]: ZRL=[ 0] Val=[ -695] Coef=[00= DC] Data=[0x 75 FF D0 D5 = 0b (-------1 11111111 11010--- --------)]
                               ^^^^ <- CORRECT                                       ^ ^^^^^^^^ ^^^^^ <- WRONG!
[0x000068F0.6]: ZRL=[ 0] Val=[   -7] Coef=[01..01] Data=[0x 22 0A AA 0A = 0b (------10 0000---- -------- --------)]

The value decoded is right, but the bits on the right of DC coef are wrong. It should be something like:

Lum (Tbl #0), MCU=[0,1]
[0x000068EC.7]: RST0 Marker detected at 0x000068ED, skip 2 bytes, DC prediction reset to 0
[0x000068EF.0]: ZRL=[ 0] Val=[ -695] Coef=[00= DC] Data=[0x D5 22 0A AA = 0b (‭11010101 001000-- -------- --------)]
[0x000068F0.6]: ZRL=[ 0] Val=[   -7] Coef=[01..01] Data=[0x 22 0A AA 0A = 0b (------10 0000---- -------- --------)]

(1101 = DC code 0A, 0101001000 = -695)

Could you please investigate this?

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

No branches or pull requests

2 participants