Exemple #1
0
 private static int getIdxAlpha(int sliceAlphaC0Offset, int avgQp) {
   return MathUtil.clip(avgQp + sliceAlphaC0Offset, 0, 51);
 }
Exemple #2
0
 private static int getIdxBeta(int sliceBetaOffset, int avgQp) {
   return MathUtil.clip(avgQp + sliceBetaOffset, 0, 51);
 }