Opened 12 years ago Closed 12 years ago #729 closed defect (fixed)7.4.5.4: Unclear LumaWeightLX / ChromaWeightLX range
Description
Hi,
In chapter 7.4.5.4 those values are defined by:
"The variable LumaWeightL0[ i ] is specified by (1 << luma_log2_weight_denom ) + delta_luma_weight_l0[ i ]. When
I suspect a typo here. Is the following more accurate ? :
"The variable LumaWeightL0[ i ] is specified by (1 << luma_log2_weight_denom ) + delta_luma_weight_l0[ i ]. When
Same remark for ChromaWeightLX definition. Change History (5)comment:1 Changed 12 years ago by DefaultCC Plugin
comment:2 Changed 12 years ago by Tanizawacomment:3 Changed 12 years ago by AlexisLefebvre
Hi thanks for replying.
In HEVC the difference is that weight can go from -128 to 255. So 9bits encoding since if for example luma_log2_weight_denom is equal to 6, LumaWeightL0[ i ] is in the range of -64 to 191.
Since I was not sure that having a weight above 128 was a new feature or just a missing sentence that states that in any case the weight is clipped between -128 and 128.
Regards, comment:4 Changed 12 years ago by Tanizawa
Hi.
I think that the current spec in subclause 7.4.5.4 can cover the above merit and we don't need to add a clip operation to a range of the weighting factor. comment:5 Changed 12 years ago by AlexisLefebvre
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
|
This description is related to J221.
The signaling bit length of the weighting factor (delta_luma_weight_l0) is identical to the bit length of the weighting factor (luma_weight_l0) in AVC spec.
The delta_luma_weight_l0[ i ] shall be in the range of -128 to 127, inclusive (signed 8-bit).
Therefore, LumaWeightL0[ i ] shall be in the range of -128 to 255, inclusive (singed 9-bit).
For example, when luma_log2_weight_denom is equal to 7, LumaWeightL0[ i ] shall be in the range of 0 to 255, inclusive and when luma_log2_weight_denom is equal to 0, LumaWeightL0[ i ] shall be in the range of -128 to 127, inclusive.
Therefore, I think that the range of the weighting factor in subclause 7.4.5.4 is clear, same for delta_chroma_weight_l0[ i ][ j ].