Mailinglist Archive: radeonhd (365 mails)
| < Previous | Next > |
Re: [radeonhd] [PATCH] Fix blurry Xv image
- From: Matthias Hopf <mhopf@xxxxxxx>
- Date: Thu, 5 Mar 2009 18:55:48 +0100
- Message-id: <20090305175548.GB27285@xxxxxxx>
On Mar 05, 09 09:34:56 -0800, Yang Zhao wrote:
I rather read this as: the simple way is to use nearest neighbor, more
elaborate versions do interpolation.
Same to me.
Matthias
--
Matthias Hopf <mhopf@xxxxxxx> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@xxxxxxxxx
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
I haven't found a spec for how the values have to be reconstructed. But
the original sample positions would influence that very much.
From page 93:
"To interpolate the missing chroma samples prior to conversion back to
R'G'B', low-end systems simply replicate the subsampled Cb and Cr
values throughout the 2x2 quad. This technique is ubiquitous in
JPEG/JFIF... and is used in M-JPEG, H.261, and MPEG-1"
This seems to imply that stored chroma is upscaled using nearest-point
interpolation by standard, or at least that's the common way for
renderers to operate. This is the same conclusion I arrived at after
comments of blurriness prompted me to investigate how the up-sampling
is done.
I rather read this as: the simple way is to use nearest neighbor, more
elaborate versions do interpolation.
That's one of the more useful sites I did manage to find, but I didn't
give it much thought since it seemed to be geared toward how to encode
the stills such that artifacts as a result of nearest-neighbour
decoding doesn't end up producing crappy results. Looking over it
again, it seems to have some hints for decoders as well. I'll give it
a better read through.
Same to me.
Matthias
--
Matthias Hopf <mhopf@xxxxxxx> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@xxxxxxxxx
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx
| < Previous | Next > |