Home
last modified time | relevance | path

Searched refs:length_table (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dqtrleenc.c56 int *length_table; member
72 av_free(s->length_table); in qtrle_encode_end()
113 s->length_table = av_mallocz_array(s->logical_width + 1, sizeof(int)); in qtrle_encode_init()
114 if (!s->skip_table || !s->length_table || !s->rlecode_table) { in qtrle_encode_init()
167 s->length_table[width] = 0; in qtrle_encode_line()
204 prev_bulk_cost = s->length_table[i + 1] + base_bulk_cost; in qtrle_encode_line()
229 total_skip_cost = s->length_table[i + skipcount] + 2; in qtrle_encode_line()
238 total_repeat_cost = s->length_table[i + repeatcount] + 1 + s->pixel_size; in qtrle_encode_line()
249 s->length_table[i] = total_repeat_cost; in qtrle_encode_line()
254 s->length_table[i] = total_skip_cost; in qtrle_encode_line()
[all …]