PDA

View Full Version : what is luma location ( xCb, yCb ) exactly?


asdf013cv
11th August 2016, 13:35
First, I give some values.
pic_width_in_luma_samples=1920
pic_height_in_luma_samples=1080
CtbSizeY=32
PicWidthInCtbsY=60
PicHeightInCtbsY=33

When I read inter prediction and intra prediction, the input description always say
"a luma location ( xCb, yCb ) specifying the top-left sample of the current luma coding block relative to the top-left luma sample of the current picture".

I know the range of x0 and y0 of coding_quadtree function in 7.3.8.4 are in 0 to pic_width_in_luma_samples and 0 to pic_height_in_luma_samples.
That means x0 and y0 is some kind of pixel position in frame.

But what is the range of xCb and yCb?
Are xCb and yCb in 0 to pic_width_in_luma_samples and 0 to pic_height_in_luma_samples, or
are xCb and yCb in 0 to PicWidthInCtbsY and 0 to PicHeightInCtbsY?

FancyMouse
13th August 2016, 02:33
Sample location is pixel location, so it's the first interpretation.
And there can't even be ambiguity - coding block isn't ctb. Cb can have its own quadtree structure. So there is no way it can be expressed in your second interpretation.

asdf013cv
13th August 2016, 03:45
Yeah, I found the second statement had some incorrect assumption.
Anyway, thank you for your help. <3

benwaggoner
23rd August 2016, 21:48
Also, HEVC now comes with --chromaloc 2, required for HDR Blu-ray, which uses a different chroma location than everything else forever.


Sent from my iPad using Tapatalk

asdf013cv
24th August 2016, 05:36
Also, HEVC now comes with --chromaloc 2, required for HDR Blu-ray, which uses a different chroma location than everything else forever.


Sent from my iPad using Tapatalk

In ITU-T H.265 v3???