Lines Matching defs:out_frame
111 AVFrame *in_frame, *out_frame;
140 out_frame = av_frame_alloc();
141 if (!out_frame) {
195 result = avcodec_receive_frame(dec_ctx, out_frame);
207 if (in_frame->nb_samples != out_frame->nb_samples) {
212 if (av_channel_layout_compare(&in_frame->ch_layout, &out_frame->ch_layout)) {
217 if (in_frame->format != out_frame->format) {
221 out_frame_bytes = out_frame->nb_samples * out_frame->ch_layout.nb_channels * sizeof(uint16_t);
222 if (out_frame_bytes > out_frame->linesize[0]) {
226 memcpy(raw_out + out_offset, out_frame->data[0], out_frame_bytes);
242 av_frame_free(&out_frame);