Opened 3 years ago
Closed 3 years ago
#1549 closed defect (fixed)
IsAvailable variable setting for luma component
Reported by: | parkmw | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | spec | Version: | |
Keywords: | Cc: | ksuehring, bbross, XiangLi, fbossen, jvet@… |
Description
In the last part in section 8.7.5.1, IsAvailable is set to use for checking whether a neighboring block is available in next CU decoding as shown below.
The following assignments are made for i = 0..nCurrSw * SubWidthC − 1, j = 0..nCurrSh* SubHeightC − 1:
IsAvailable[ cIdx ][ xCurr * SubWidthC + i ][ yCurr * SubHeightC + j ] = TRUE (1201)
When cIdx == 0 (luma case), the coordinate calculation seems to have an issue.
It seems SubWidthC and SubHeightC should not be used for luma, but only used for chroma.
I asked an expert about this issue, and he confirmed the issue and kindly provided the following fix.
Please take a look at this and correct me know if I am wrong.
The variables subW and subH are derived as follows:
subW = cIdx = = 0 ? 1 : SubWidthC (xxxx)
subH = cIdx = = 0 ? 1 : SubHeightC (xxxx)
The following assignments are made for i = 0..nCurrSw * subW − 1, j = 0..nCurrSh * subH − 1:
IsAvailable[ cIdx ][ xCurr * subW + i ][ yCurr * subH + j ] = TRUE (1201)
Change history (1)
comment:1 Changed 3 years ago by yk
- Resolution set to fixed
- Status changed from new to closed
Thanks! To be fixed in JVET-Z2005-v1.