Opened 12 years ago Closed 12 years ago #685 closed defect (fixed)HM8/WD mismatch for abs_mvd_greater0_flag and abs_mvd_greater1_flag ctxIdx values
Description
In HM-8.0, “198” is used for initValue of abs_mvd_greater1_flag. However, in the WD, “169” or “198” is used for initValue of abs_mvd_greater1_flag.
Table 9-19 in the WD should be changed to:
HM-8.0 ContexTables.h line 232: static const UChar INIT_MVD[3][NUM_MV_RES_CTX]= { { 169, 198, }, { 140, 198, }, { CNU, CNU, }, }; Change History (7)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by bbross
comment:3 Changed 12 years ago by Parabola
I think "tajime" is right and the text is incorrect in:
"High Efficiency Video Coding (HEVC) text specification" draft 9 (SoDIS) JCTVC-K1003 (version 8 - date 2012-11-07 08:19:51)
The problem is not confusion over initType rows - it is a case of respecting the ordering of ctxIdx values in Table 9.4. To agree with HM 8.2, values need to appear in the following order:
comment:4 Changed 12 years ago by bbross
Right, the first column in HM related to absGr0 and the second column related to absGr1. oO keep it consistent with other tables where all init values belonging to one init type are directly following and not interleaved, I suggest to change Table 9-4 as follows: comment:5 Changed 12 years ago by bbross
comment:6 Changed 12 years ago by dominik.wojt
Now tables 9-4 and 9-32 are inconsistent for syntax elements abs_mvd_greater0_flag[] and abs_mvd_greater1_flag[].
My proposition is to adjust the table 9-4:
Such order would be consistent with how table 9-25 is laid out - the table is grouped by syntax element not by initType. comment:7 Changed 12 years ago by bbross
Please have a look at the current version including CABAC cleanup (v23). Table 9-32 does not depend on init Type anymore so it would be correct to leave it as it is and I consider this fixed in v23. Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
The init value are correct, in HM the mapping to draft values for init types 0/1/2 is:
Problem is that there are exception from that rule in HM, c.f. #712.