Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dffv1.c82 if (!p->vlc_state) { in ff_ffv1_init_slice_state()
83 p->vlc_state = av_mallocz_array(p->context_count, sizeof(VlcState)); in ff_ffv1_init_slice_state()
84 if (!p->vlc_state) in ff_ffv1_init_slice_state()
87 p->vlc_state[i].error_sum = 4; in ff_ffv1_init_slice_state()
88 p->vlc_state[i].count = 1; in ff_ffv1_init_slice_state()
199 p->vlc_state[j].drift = 0; in ff_ffv1_clear_slice_state()
200 p->vlc_state[j].error_sum = 4; //FFMAX((RANGE + 32)/64, 2); in ff_ffv1_clear_slice_state()
201 p->vlc_state[j].bias = 0; in ff_ffv1_clear_slice_state()
202 p->vlc_state[j].count = 1; in ff_ffv1_clear_slice_state()
228 av_freep(&p->vlc_state); in ff_ffv1_close()
Dffv1dec_template.c106 diff = get_vlc_symbol(&s->gb, &p->vlc_state[context], in RENAME()
113 diff = get_vlc_symbol(&s->gb, &p->vlc_state[context], bits); in RENAME()
Dffv1dec.c201 av_freep(&p->vlc_state); in decode_slice_header()
272 av_free(pdst->vlc_state); in decode_slice()
275 pdst->vlc_state = NULL; in decode_slice()
281 pdst->vlc_state = av_malloc_array(sizeof(*pdst->vlc_state), psrc->context_count); in decode_slice()
282 … memcpy(pdst->vlc_state, psrc->vlc_state, sizeof(*pdst->vlc_state) * psrc->context_count); in decode_slice()
806 av_freep(&p->vlc_state); in read_header()
Dffv1.h72 VlcState *vlc_state; member
Dffv1enc_template.c107 put_vlc_symbol(&s->pb, &p->vlc_state[context], diff, bits); in RENAME()