Lines Matching refs:AddToken
90 static WEBP_INLINE uint32_t AddToken(VP8TBuffer* const b, uint32_t bit, in AddToken() function
122 if (!AddToken(tokens, last >= 0, base_id + 0, s + 0)) { in VP8RecordCoeffTokens()
130 if (!AddToken(tokens, v != 0, base_id + 1, s + 1)) { in VP8RecordCoeffTokens()
135 if (!AddToken(tokens, v > 1, base_id + 2, s + 2)) { in VP8RecordCoeffTokens()
139 if (!AddToken(tokens, v > 4, base_id + 3, s + 3)) { in VP8RecordCoeffTokens()
140 if (AddToken(tokens, v != 2, base_id + 4, s + 4)) { in VP8RecordCoeffTokens()
141 AddToken(tokens, v == 4, base_id + 5, s + 5); in VP8RecordCoeffTokens()
143 } else if (!AddToken(tokens, v > 10, base_id + 6, s + 6)) { in VP8RecordCoeffTokens()
144 if (!AddToken(tokens, v > 6, base_id + 7, s + 7)) { in VP8RecordCoeffTokens()
155 AddToken(tokens, 0, base_id + 8, s + 8); in VP8RecordCoeffTokens()
156 AddToken(tokens, 0, base_id + 9, s + 9); in VP8RecordCoeffTokens()
161 AddToken(tokens, 0, base_id + 8, s + 8); in VP8RecordCoeffTokens()
162 AddToken(tokens, 1, base_id + 9, s + 9); in VP8RecordCoeffTokens()
167 AddToken(tokens, 1, base_id + 8, s + 8); in VP8RecordCoeffTokens()
168 AddToken(tokens, 0, base_id + 10, s + 9); in VP8RecordCoeffTokens()
173 AddToken(tokens, 1, base_id + 8, s + 8); in VP8RecordCoeffTokens()
174 AddToken(tokens, 1, base_id + 10, s + 9); in VP8RecordCoeffTokens()
188 if (n == 16 || !AddToken(tokens, n <= last, base_id + 0, s + 0)) { in VP8RecordCoeffTokens()