codec/h264/h264dec/cavlctab.go: commented const string representation of table 9-5.

This commit is contained in:
Saxon 2019-09-08 09:21:39 +09:30
parent 42a1918c0d
commit d78ca2d2d2
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
package h264dec
// coefTokenTable is a CSV representation of table 9-5 from the specifications.
// This is used to populate a series of maps at initialisation for the
// retrieval of TotalCoeff and TrailingOnes values for a given coeff_token.
const coeffTokenTable = `0,0,1,11,1111,0000 11,01,1
0,1,0001 01,0010 11,0011 11,0000 00,0001 11,0001 111
1,1,01,10,1110,0000 01,1,01