Lines Matching refs:dec_ctx

83     AVCodecContext *dec_ctx;
2710 AVCodecContext *dec_ctx = ifile->streams[pkt->stream_index].dec_ctx;
2716 if (dec_ctx) {
2721 ret = avcodec_send_packet(dec_ctx, pkt);
2730 ret = avcodec_receive_frame(dec_ctx, frame);
2741 ret = avcodec_decode_subtitle2(dec_ctx, &sub, &got_frame, pkt);
2887 if (ifile->streams[i].dec_ctx)
2888 avcodec_flush_buffers(ifile->streams[i].dec_ctx);
2926 AVCodecContext *dec_ctx;
2942 dec_ctx = ist->dec_ctx;
2979 if (dec_ctx) {
2980 print_int("coded_width", dec_ctx->coded_width);
2981 print_int("coded_height", dec_ctx->coded_height);
2982 print_int("closed_captions", !!(dec_ctx->properties & FF_CODEC_PROPERTY_CLOSED_CAPTIONS));
2983 print_int("film_grain", !!(dec_ctx->properties & FF_CODEC_PROPERTY_FILM_GRAIN));
3022 if (dec_ctx)
3023 print_int("refs", dec_ctx->refs);
3055 if (dec_ctx && dec_ctx->codec->priv_class && show_private_data) {
3057 while (opt = av_opt_next(dec_ctx->priv_data,opt)) {
3060 if (av_opt_get(dec_ctx->priv_data, opt->name, 0, &str) >= 0) {
3078 if (dec_ctx && dec_ctx->rc_max_rate > 0)
3079 print_val ("max_bit_rate", dec_ctx->rc_max_rate, unit_bit_per_second_str);
3082 if (dec_ctx && dec_ctx->bits_per_raw_sample > 0) print_fmt("bits_per_raw_sample", "%d", dec_ctx->bits_per_raw_sample);
3361 ist->dec_ctx = avcodec_alloc_context3(codec);
3362 if (!ist->dec_ctx)
3365 err = avcodec_parameters_to_context(ist->dec_ctx, stream->codecpar);
3376 ist->dec_ctx->pkt_timebase = stream->time_base;
3378 if (avcodec_open2(ist->dec_ctx, codec, &opts) < 0) {
3402 avcodec_free_context(&ifile->streams[i].dec_ctx);