Lines Matching refs:AddToken
90 static WEBP_INLINE uint32_t AddToken(VP8TBuffer* const b, in AddToken() function
117 if (!AddToken(tokens, last >= 0, base_id + 0)) { in VP8RecordCoeffTokens()
125 if (!AddToken(tokens, v != 0, base_id + 1)) { in VP8RecordCoeffTokens()
129 if (!AddToken(tokens, v > 1, base_id + 2)) { in VP8RecordCoeffTokens()
132 if (!AddToken(tokens, v > 4, base_id + 3)) { in VP8RecordCoeffTokens()
133 if (AddToken(tokens, v != 2, base_id + 4)) in VP8RecordCoeffTokens()
134 AddToken(tokens, v == 4, base_id + 5); in VP8RecordCoeffTokens()
135 } else if (!AddToken(tokens, v > 10, base_id + 6)) { in VP8RecordCoeffTokens()
136 if (!AddToken(tokens, v > 6, base_id + 7)) { in VP8RecordCoeffTokens()
147 AddToken(tokens, 0, base_id + 8); in VP8RecordCoeffTokens()
148 AddToken(tokens, 0, base_id + 9); in VP8RecordCoeffTokens()
153 AddToken(tokens, 0, base_id + 8); in VP8RecordCoeffTokens()
154 AddToken(tokens, 1, base_id + 9); in VP8RecordCoeffTokens()
159 AddToken(tokens, 1, base_id + 8); in VP8RecordCoeffTokens()
160 AddToken(tokens, 0, base_id + 10); in VP8RecordCoeffTokens()
165 AddToken(tokens, 1, base_id + 8); in VP8RecordCoeffTokens()
166 AddToken(tokens, 1, base_id + 10); in VP8RecordCoeffTokens()
179 if (n == 16 || !AddToken(tokens, n <= last, base_id + 0)) { in VP8RecordCoeffTokens()