Skip to content

Remove impossible VarDCT block size requirements#9

Open
foolip wants to merge 1 commit into
mainfrom
vardct-score
Open

Remove impossible VarDCT block size requirements#9
foolip wants to merge 1 commit into
mainfrom
vardct-score

Conversation

@foolip

@foolip foolip commented Jun 2, 2026

Copy link
Copy Markdown
Member

Closes #6.

@foolip foolip requested review from gsnedders and jgraham June 2, 2026 09:03
@foolip

foolip commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

@hjanuschka is 2×2 tested? I see that vardct-small-blocks-reftest.html uses 8x8_noise.png which is larger...

cc @veluca93 who told me 2×2 is really 8×8 in disguise.

@veluca93

veluca93 commented Jun 2, 2026

Copy link
Copy Markdown

FWIW I'm not sure how changing block size would affect a browser integration, so I don't really see the point of this kind of tests :-)

@foolip

foolip commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

@veluca93 perhaps I went to far, but the idea was a smoke test touching the high-level features of the format, so that serious bugs in an independent implementation of a JPEG XL decoder are spotted. But I agree that it's very unlikely that the block sizes are even known to the browser in any sensible architecture.

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.

Test VarDCT block smaller/larger than allowed by spec

2 participants