Lines Matching defs:frame
275 "LPC mode cannot be used with a frame duration of less "
277 "Use a longer frame duration if this is not what you want.\n");
294 av_log(avctx, AV_LOG_ERROR, "Invalid frame duration: %g.\n"
456 const AVFrame *frame, int *got_packet_ptr)
466 if (frame) {
467 ret = ff_af_queue_add(&opus->afq, frame);
473 audio, frame->data[0], opus->encoder_channel_map,
474 channels, frame->nb_samples, bytes_per_sample);
475 } else if (frame->nb_samples < opus->opts.packet_size) {
477 memcpy(audio, frame->data[0], frame->nb_samples * sample_size);
479 audio = frame->data[0];
488 * consist of 6 frames in one packet. The maximum frame size is 1275
504 "Error encoding frame: %s\n", opus_strerror(ret));
555 { "frame_duration", "Duration of a frame in milliseconds", OFFSET(frame_duration), AV_OPT_TYPE_FLOAT, { .dbl = 20.0 }, 2.5, 120.0, FLAGS },