Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 857 Bytes

Appendix-SQ-Weight.md

File metadata and controls

36 lines (24 loc) · 857 Bytes

SQ_Weight Appendix

Description

SQ_WEIGHT determines if the evaluation of HA, HB, VA, VB, H4 and V4 shapes could be skipped based on the cost of SQ, H and V shapes. Specifically:

  • skip HA, HB and H4 if (valid SQ and H) and (H_COST > (SQ_WEIGHT * SQ_COST) / 100)

  • skip VA, VB and V4 if (valid SQ and V) and (V_COST > (SQ_WEIGHT * SQ_COST) / 100)

  • The lower the SQ_WEIGHT, the higher the chance to skip NSQ

SQ_WEIGHT Derivation

SQ_WEIGHT = Base + Offset

Base = f(Preset)

Preset(s) BASE
MR
M0 105
M1 105
M2 100
M3 & beyond 95

Offset = f (Target Shape, Block/PIC Type, Coeff Info, QP)

sq_weight_fig1

PS. sq_weight_fig2