Page 1 of 1

Specifying chroma siting when converting from yuv to rgb

Posted: 2017-12-08T00:27:27-07:00
by hiddenbit
Hello,

I was wondering if and how can I specify the chroma siting during the chroma reconstruction process, while converting from YCbCr into rgb.
I want to generate some reference rgb images, converted from yuv using all possible combinations of chroma sitings.

The chroma siting can be either midpoint or cosited_even. You can see some images explaining this in the Vulkan specification, in chapter 15.3.8. Chroma Reconstruction.

Thanks!

Re: Specifying chroma siting when converting from yuv to rgb

Posted: 2017-12-08T00:47:44-07:00
by fmw42
What is chroma siting? Searching for "siting" at your reference finds nothing.

Re: Specifying chroma siting when converting from yuv to rgb

Posted: 2017-12-08T00:52:20-07:00
by hiddenbit
Try searching for
"xChromaOffset=COSITED_EVEN"
or
"Figure 4."
or for the chapter
"15.3.8. Chroma Reconstruction"

Re: Specifying chroma siting when converting from yuv to rgb

Posted: 2017-12-08T02:02:42-07:00
by hiddenbit
Ah forgot to clarify that I would like to be able to specify both x chroma offset and y chroma offset separately