Lines Matching defs:codes
92 * Huffman codes for each of streams
102 * structure for gathering Huffman codes information
110 int max_num; ///< total number of codes
160 /* check for correct codes parameters */
176 /* allocate space for codes - it is exactly ceil(nodes / 2) entries */
194 av_log(ctx->avctx, AV_LOG_ERROR, "Got less codes than expected: %i of %i\n",
199 /* convert codes to vlc_table */
290 TM2Codes codes;
339 if ((ret = tm2_build_huff_table(ctx, &codes)) < 0)
370 ctx->tokens[stream_id][i] = tm2_get_token(&ctx->gb, &codes);
384 ctx->tokens[stream_id][i] = codes.recode[0];
397 tm2_free_codes(&codes);