Lines Matching refs:codebook
107 unsigned char *codebook; /* the current codebook */ member
172 s->codebook = av_malloc(s->codebook_size); in vqa_decode_init()
173 if (!s->codebook) in vqa_decode_init()
191 s->codebook[codebook_index++] = i; in vqa_decode_init()
196 s->codebook[codebook_index++] = i; in vqa_decode_init()
202 av_freep(&s->codebook); in vqa_decode_init()
445 if ((res = decode_format80(s, chunk_size, s->codebook, in vqa_decode_chunk()
462 bytestream2_get_buffer(&s->gb, s->codebook, chunk_size); in vqa_decode_chunk()
526 frame->data[0][pixel_ptr + 0] = s->codebook[vector_index++]; in vqa_decode_chunk()
527 frame->data[0][pixel_ptr + 1] = s->codebook[vector_index++]; in vqa_decode_chunk()
528 frame->data[0][pixel_ptr + 2] = s->codebook[vector_index++]; in vqa_decode_chunk()
529 frame->data[0][pixel_ptr + 3] = s->codebook[vector_index++]; in vqa_decode_chunk()
562 memcpy(s->codebook, s->next_codebook_buffer, in vqa_decode_chunk()
592 s->codebook, s->codebook_size, 0)) < 0) in vqa_decode_chunk()
633 av_freep(&s->codebook); in vqa_decode_end()