From 379335dfb0a641c9eb29d4307d2e0eebe9eb1807 Mon Sep 17 00:00:00 2001 From: Luc Trudeau Date: Sat, 16 Feb 2019 07:39:53 -0500 Subject: [PATCH] No need for clipping, this value is 95 It was found by Christopher "Monty" Montgomery that when a value between 96 and 224 is clipped between -32 and 95, the resulting value will always be 95. --- 06.bitstream.syntax.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/06.bitstream.syntax.md b/06.bitstream.syntax.md index 78c6f727..e7b2aa1b 100644 --- a/06.bitstream.syntax.md +++ b/06.bitstream.syntax.md @@ -4291,8 +4291,7 @@ count_units_in_frame(unitSize, frameSize) { | } else { | v = 0 | if ( i == 1 ) { -| v = Clip3( min, max, (1 \<\< SGRPROJ_PRJ_BITS) - -| RefSgrXqd[ plane ][ 0 ] ) +| v = 95 | } | } | LrSgrXqd[ plane ][ unitRow ][ unitCol ][ i ] = v