Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dvc1dec.c630 int buf_size = avpkt->size, n_slices = 0, i, ret; in vc1_decode_frame() local
689 tmp = av_realloc_array(slices, sizeof(*slices), n_slices+1); in vc1_decode_frame()
695 slices[n_slices].buf = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE); in vc1_decode_frame()
696 if (!slices[n_slices].buf) { in vc1_decode_frame()
701 slices[n_slices].buf); in vc1_decode_frame()
702 init_get_bits(&slices[n_slices].gb, slices[n_slices].buf, in vc1_decode_frame()
704 slices[n_slices].mby_start = avctx->coded_height + 31 >> 5; in vc1_decode_frame()
705 slices[n_slices].rawbuf = start; in vc1_decode_frame()
706 slices[n_slices].raw_size = size + 4; in vc1_decode_frame()
707 n_slices1 = n_slices - 1; // index of the last slice of the first field in vc1_decode_frame()
[all …]