• Home
  • Raw
  • Download

Lines Matching refs:cad

43     DAVS2Context *cad = avctx->priv_data;  in davs2_init()  local
47 cad->param.threads = avctx->thread_count; in davs2_init()
48 cad->param.info_level = 0; in davs2_init()
49 cad->param.disable_avx = !(cpu_flags & AV_CPU_FLAG_AVX && in davs2_init()
51 cad->decoder = davs2_decoder_open(&cad->param); in davs2_init()
53 if (!cad->decoder) { in davs2_init()
58 av_log(avctx, AV_LOG_VERBOSE, "decoder created. %p\n", cad->decoder); in davs2_init()
65 DAVS2Context *cad = avctx->priv_data; in davs2_dump_frames() local
124 frame->width = cad->headerset.width; in davs2_dump_frames()
125 frame->height = cad->headerset.height; in davs2_dump_frames()
126 frame->pts = cad->out_frame.pts; in davs2_dump_frames()
135 DAVS2Context *cad = avctx->priv_data; in davs2_flush() local
139 ret = davs2_decoder_flush(cad->decoder, &cad->headerset, &cad->out_frame); in davs2_flush()
140 davs2_decoder_frame_unref(cad->decoder, &cad->out_frame); in davs2_flush()
150 DAVS2Context *cad = avctx->priv_data; in send_delayed_frame() local
153 ret = davs2_decoder_flush(cad->decoder, &cad->headerset, &cad->out_frame); in send_delayed_frame()
159 ret = davs2_dump_frames(avctx, &cad->out_frame, got_frame, &cad->headerset, ret, frame); in send_delayed_frame()
160 davs2_decoder_frame_unref(cad->decoder, &cad->out_frame); in send_delayed_frame()
167 DAVS2Context *cad = avctx->priv_data; in davs2_end() local
170 if (cad->decoder) { in davs2_end()
171 davs2_decoder_close(cad->decoder); in davs2_end()
172 cad->decoder = NULL; in davs2_end()
181 DAVS2Context *cad = avctx->priv_data; in davs2_decode_frame() local
192 cad->packet.data = buf_ptr; in davs2_decode_frame()
193 cad->packet.len = buf_size; in davs2_decode_frame()
194 cad->packet.pts = avpkt->pts; in davs2_decode_frame()
195 cad->packet.dts = avpkt->dts; in davs2_decode_frame()
197 ret = davs2_decoder_send_packet(cad->decoder, &cad->packet); in davs2_decode_frame()
205 ret = davs2_decoder_recv_frame(cad->decoder, &cad->headerset, &cad->out_frame); in davs2_decode_frame()
208 ret = davs2_dump_frames(avctx, &cad->out_frame, got_frame, &cad->headerset, ret, frame); in davs2_decode_frame()
209 davs2_decoder_frame_unref(cad->decoder, &cad->out_frame); in davs2_decode_frame()