Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"01-12-11 - ImDiff Sample Run and JXR test"

3 Comments -

1 – 3 of 3
Blogger ryg said...

1. Both the HD Photo SDK and the reference en/decoders don't do any RDO (as far as I can tell)
2. It always uses flat quantization matrices for AC coeffs (the format doesn't allow anything else), so it's effectively always optimizing for RMSE/PSNR. An encoder can change quantization per-macroblock, that's it.
3. Didn't find any informal descriptions of the JXR entropy coder, just the spec (and the only way I'd wade through that and figure out what it actually does is if someone paid me to do it). It looks better than Huffman-coded JPEG. Not sure how it would compare to H.264 CAVLC. Definitely worse than CABAC or a competent arith coder.

January 13, 2011 at 12:41 PM

Blogger ryg said...

Short version: The transform is optimized for PSNR not visual quality (all it really does is trade clearly visible blocks with sharp edges for clearly visible blocks with smoothed edges), and the rest of the format likewise.

A better encoder would help, but the forced flat quant and 4x4 blocks seem like a liability.

January 13, 2011 at 12:49 PM

Blogger cbloom said...

1. Yeah, so it seems. I don't understand how they get off making all these claims about their format without ever writing a proper encoder.

2. Indeed.

3. I read through the whole thing in detail at some point, though I forget most of it. The back end actually seems decent; it's got some questionable over-complex stuff like the dynamic coefficient reordering. But the back end is as good as WebP for example.

I'm sure if they had a decent R/D encoder and a perceptual quantization matrix they would be okay.

January 13, 2011 at 1:57 PM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.