Lines Matching defs:frame
71 /* validate frame size */
82 av_log(avctx, AV_LOG_WARNING, "Requested frame size is not "
345 const AVFrame *frame, int *got_packet_ptr)
348 const int16_t *samples = (const int16_t *)frame->data[0];
351 out_size = (frame->nb_samples + 1) / 2;
355 nb_samples = frame->nb_samples - (frame->nb_samples & 1);
362 /* handle last frame with odd frame_size */
363 if (nb_samples < frame->nb_samples) {
368 if (frame->pts != AV_NOPTS_VALUE)
369 avpkt->pts = frame->pts - ff_samples_to_time_base(avctx, avctx->initial_padding);