Lines Matching refs:tokens
48 int *tokens[TM2_NUM_STREAMS];
305 /* check if we have sane number of tokens */
307 av_log(ctx->avctx, AV_LOG_ERROR, "Incorrect number of tokens: %i\n", toks);
311 ctx->tokens[stream_id] = av_realloc(ctx->tokens[stream_id], toks * sizeof(int));
317 ctx->tokens[stream_id][i] = tm2_get_token(&ctx->gb, &codes);
320 ctx->tokens[stream_id][i] = codes.recode[0];
333 return ctx->deltas[type][ctx->tokens[type][ctx->tok_ptrs[type]++]];
334 return ctx->tokens[type][ctx->tok_ptrs[type]++];
688 av_log(ctx->avctx,AV_LOG_ERROR,"Got %i tokens for %i blocks\n",ctx->tok_lens[TM2_TYPE],bw*bh);
838 l->tokens[i] = NULL;
862 if(l->tokens[i])
863 av_free(l->tokens[i]);