Searched refs:vlc_state (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | ffv1.c | 82 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()
|
D | ffv1dec_template.c | 106 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()
|
D | ffv1dec.c | 201 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()
|
D | ffv1.h | 72 VlcState *vlc_state; member
|
D | ffv1enc_template.c | 107 put_vlc_symbol(&s->pb, &p->vlc_state[context], diff, bits); in RENAME()
|