• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/

Lines Matching refs:decoded_frame

500         av_frame_free(&ist->decoded_frame);
1190 // *filtered_frame= *input_streams[ost->source_index]->decoded_frame; //for me_threshold
1719 AVFrame *decoded_frame, *f;
1724 if (!ist->decoded_frame && !(ist->decoded_frame = av_frame_alloc()))
1728 decoded_frame = ist->decoded_frame;
1731 ret = avcodec_decode_audio4(avctx, decoded_frame, got_output, pkt);
1754 ist->samples_decoded += decoded_frame->nb_samples;
1760 ist->next_pts += ((int64_t)AV_TIME_BASE * decoded_frame->nb_samples) /
1762 ist->next_dts += ((int64_t)AV_TIME_BASE * decoded_frame->nb_samples) /
1766 resample_changed = ist->resample_sample_fmt != decoded_frame->format ||
1768 ist->resample_channel_layout != decoded_frame->channel_layout ||
1769 ist->resample_sample_rate != decoded_frame->sample_rate;
1779 decoded_frame->channel_layout = avctx->channel_layout;
1784 decoded_frame->channel_layout);
1791 decoded_frame->sample_rate, av_get_sample_fmt_name(decoded_frame->format),
1794 ist->resample_sample_fmt = decoded_frame->format;
1795 ist->resample_sample_rate = decoded_frame->sample_rate;
1796 ist->resample_channel_layout = decoded_frame->channel_layout;
1811 if (decoded_frame->pts != AV_NOPTS_VALUE) {
1812 ist->dts = ist->next_dts = ist->pts = ist->next_pts = av_rescale_q(decoded_frame->pts, avctx->time_base, AV_TIME_BASE_Q);
1814 } else if (decoded_frame->pkt_pts != AV_NOPTS_VALUE) {
1815 decoded_frame->pts = decoded_frame->pkt_pts;
1818 decoded_frame->pts = pkt->pts;
1821 decoded_frame->pts = ist->dts;
1825 if (decoded_frame->pts != AV_NOPTS_VALUE)
1826 decoded_frame->pts = av_rescale_delta(decoded_frame_tb, decoded_frame->pts,
1827 (AVRational){1, avctx->sample_rate}, decoded_frame->nb_samples, &ist->filter_in_rescale_delta_last,
1832 err = av_frame_ref(f, decoded_frame);
1836 f = decoded_frame;
1844 decoded_frame->pts = AV_NOPTS_VALUE;
1847 av_frame_unref(decoded_frame);
1853 AVFrame *decoded_frame, *f;
1858 if (!ist->decoded_frame && !(ist->decoded_frame = av_frame_alloc()))
1862 decoded_frame = ist->decoded_frame;
1867 decoded_frame, got_output, pkt);
1900 decoded_frame->top_field_first = ist->top_field_first;
1904 if (ist->hwaccel_retrieve_data && decoded_frame->format == ist->hwaccel_pix_fmt) {
1905 err = ist->hwaccel_retrieve_data(ist->dec_ctx, decoded_frame);
1909 ist->hwaccel_retrieved_pix_fmt = decoded_frame->format;
1911 best_effort_timestamp= av_frame_get_best_effort_timestamp(decoded_frame);
1913 ist->next_pts = ist->pts = av_rescale_q(decoded_frame->pts = best_effort_timestamp, ist->st->time_base, AV_TIME_BASE_Q);
1918 ist->st->index, av_ts2str(decoded_frame->pts),
1919 av_ts2timestr(decoded_frame->pts, &ist->st->time_base),
1922 decoded_frame->key_frame, decoded_frame->pict_type,
1929 decoded_frame->sample_aspect_ratio = ist->st->sample_aspect_ratio;
1931 resample_changed = ist->resample_width != decoded_frame->width ||
1932 ist->resample_height != decoded_frame->height ||
1933 ist->resample_pix_fmt != decoded_frame->format;
1939 decoded_frame->width, decoded_frame->height, av_get_pix_fmt_name(decoded_frame->format));
1941 ist->resample_width = decoded_frame->width;
1942 ist->resample_height = decoded_frame->height;
1943 ist->resample_pix_fmt = decoded_frame->format;
1954 frame_sample_aspect= av_opt_ptr(avcodec_get_frame_class(), decoded_frame, "sample_aspect_ratio");
1961 err = av_frame_ref(f, decoded_frame);
1965 f = decoded_frame;
1978 av_frame_unref(decoded_frame);