Lines Matching defs:frame
131 int32_t *major_inout_buffer; ///< Buffer with all in/out data for one entire major frame interval.
134 int32_t *major_scratch_buffer; ///< Scratch buffer big enough to fit all data for one entire major frame interval.
142 unsigned int major_frame_size; ///< Number of samples in current major frame being encoded.
143 unsigned int next_major_frame_size; ///< Counter of number of samples for next major frame.
148 unsigned int frame_index; ///< Index of current frame being encoded.
154 unsigned int restart_intervals; ///< Number of possible major frame sizes.
848 * usually at almost every frame.
2066 const AVFrame *frame, int *got_packet)
2074 if (!frame && !ctx->last_frames)
2077 if (!frame && !ctx->last_frames--)
2083 if (frame) {
2084 /* add current frame to queue */
2085 if ((ret = ff_af_queue_add(&ctx->afq, frame)) < 0)
2089 data = frame ? frame->data[0] : NULL;
2125 if (frame) {
2126 ctx->shorten_by = avctx->frame_size - frame->nb_samples;
2131 input_data(ctx, data, frame->nb_samples);
2170 if (!frame && ctx->last_frames < ctx->max_restart_interval - 1)