Lines Matching defs:frame
134 /* do not get a Xing VBR header frame from LAME */
185 (const buf_type *)buf_name[1], frame->nb_samples, \
191 const AVFrame *frame, int *got_packet_ptr)
199 if (frame) {
202 ENCODE_BUFFER(lame_encode_buffer, int16_t, frame->data);
205 ENCODE_BUFFER(lame_encode_buffer_int, int32_t, frame->data);
208 if (frame->linesize[0] < 4 * FFALIGN(frame->nb_samples, 8)) {
214 (const float *)frame->data[ch],
216 FFALIGN(frame->nb_samples, 8));
244 /* add current frame to the queue */
245 if (frame) {
246 if ((ret = ff_af_queue_add(&s->afq, frame)) < 0)
250 /* Move 1 frame from the LAME buffer to the output packet, if available.
251 We have to parse the first frame header in the output buffer to
252 determine the frame size. */
275 /* Get the next frame pts/duration */