Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dcinepak.c54 cvid_codebook v4_codebook[256]; member
213 cb0 = strip->v4_codebook[*data++]; in cinepak_decode_vectors()
214 cb1 = strip->v4_codebook[*data++]; in cinepak_decode_vectors()
215 cb2 = strip->v4_codebook[*data++]; in cinepak_decode_vectors()
216 cb3 = strip->v4_codebook[*data++]; in cinepak_decode_vectors()
293 cinepak_decode_codebook (strip->v4_codebook, chunk_id, in cinepak_decode_strip()
407 memcpy (s->strips[i].v4_codebook, s->strips[i-1].v4_codebook, in cinepak_decode()
408 sizeof(s->strips[i].v4_codebook)); in cinepak_decode()
Dcinepakenc.c98 int v4_codebook[CODEBOOK_MAX * VECTOR_MAX]; member
493 data[0][x + y * linesize[0]] = info->v4_codebook[v4_vector[i] * entry_size]; in decode_v4_vector()
494 … data[0][x + 1 + y * linesize[0]] = info->v4_codebook[v4_vector[i] * entry_size + 1]; in decode_v4_vector()
495 … data[0][x + (y + 1) * linesize[0]] = info->v4_codebook[v4_vector[i] * entry_size + 2]; in decode_v4_vector()
496 … data[0][x + 1 + (y + 1) * linesize[0]] = info->v4_codebook[v4_vector[i] * entry_size + 3]; in decode_v4_vector()
499 … data[1][(x >> 1) + (y >> 1) * linesize[1]] = info->v4_codebook[v4_vector[i] * entry_size + 4]; in decode_v4_vector()
500 … data[2][(x >> 1) + (y >> 1) * linesize[2]] = info->v4_codebook[v4_vector[i] * entry_size + 5]; in decode_v4_vector()
543 ret += encode_codebook(s, info->v4_codebook, info->v4_size, 0x20, 0x24, buf + ret); in encode_mode()
704 int *codebook = v1mode ? info->v1_codebook : info->v4_codebook; in quantize()