Lines Matching refs:avpkt
96 int *got_frame_ptr, AVPacket *avpkt) in amr_nb_decode_frame() argument
99 const uint8_t *buf = avpkt->data; in amr_nb_decode_frame()
100 int buf_size = avpkt->size; in amr_nb_decode_frame()
233 static int amr_nb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, in amr_nb_encode_frame() argument
246 if ((ret = ff_alloc_packet2(avctx, avpkt, 32, 0)) < 0) in amr_nb_encode_frame()
274 avpkt->data, 0); in amr_nb_encode_frame()
276 written, s->enc_mode, avpkt->data[0]); in amr_nb_encode_frame()
279 ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts, in amr_nb_encode_frame()
280 &avpkt->duration); in amr_nb_encode_frame()
282 avpkt->size = written; in amr_nb_encode_frame()
330 int *got_frame_ptr, AVPacket *avpkt) in amr_wb_decode_frame() argument
333 const uint8_t *buf = avpkt->data; in amr_wb_decode_frame()
334 int buf_size = avpkt->size; in amr_wb_decode_frame()