Lines Matching refs:frame

232     [SECTION_ID_FRAME] =              { SECTION_ID_FRAME, "frame", 0, { SECTION_ID_FRAME_TAGS, SECTION_ID_FRAME_SIDE_DATA_LIST, SECTION_ID_FRAME_LOGS, -1 } },
503 unsigned int nb_section_frame; ///< number of the frame section in case we are in "packets_and_frames" section
2550 static void show_frame(WriterContext *w, AVFrame *frame, AVStream *stream,
2566 print_int("key_frame", frame->key_frame);
2567 print_ts ("pts", frame->pts);
2568 print_time("pts_time", frame->pts, &stream->time_base);
2569 print_ts ("pkt_dts", frame->pkt_dts);
2570 print_time("pkt_dts_time", frame->pkt_dts, &stream->time_base);
2571 print_ts ("best_effort_timestamp", frame->best_effort_timestamp);
2572 print_time("best_effort_timestamp_time", frame->best_effort_timestamp, &stream->time_base);
2573 print_duration_ts ("pkt_duration", frame->pkt_duration);
2574 print_duration_time("pkt_duration_time", frame->pkt_duration, &stream->time_base);
2575 if (frame->pkt_pos != -1) print_fmt ("pkt_pos", "%"PRId64, frame->pkt_pos);
2577 if (frame->pkt_size != -1) print_val ("pkt_size", frame->pkt_size, unit_byte_str);
2584 print_int("width", frame->width);
2585 print_int("height", frame->height);
2586 s = av_get_pix_fmt_name(frame->format);
2589 sar = av_guess_sample_aspect_ratio(fmt_ctx, stream, frame);
2595 print_fmt("pict_type", "%c", av_get_picture_type_char(frame->pict_type));
2596 print_int("coded_picture_number", frame->coded_picture_number);
2597 print_int("display_picture_number", frame->display_picture_number);
2598 print_int("interlaced_frame", frame->interlaced_frame);
2599 print_int("top_field_first", frame->top_field_first);
2600 print_int("repeat_pict", frame->repeat_pict);
2602 print_color_range(w, frame->color_range);
2603 print_color_space(w, frame->colorspace);
2604 print_primaries(w, frame->color_primaries);
2605 print_color_trc(w, frame->color_trc);
2606 print_chroma_location(w, frame->chroma_location);
2610 s = av_get_sample_fmt_name(frame->format);
2613 print_int("nb_samples", frame->nb_samples);
2614 print_int("channels", frame->ch_layout.nb_channels);
2615 if (frame->ch_layout.order != AV_CHANNEL_ORDER_UNSPEC) {
2616 av_channel_layout_describe(&frame->ch_layout, val_str, sizeof(val_str));
2623 show_tags(w, frame->metadata, SECTION_ID_FRAME_TAGS);
2626 if (frame->nb_side_data) {
2628 for (i = 0; i < frame->nb_side_data; i++) {
2629 AVFrameSideData *sd = frame->side_data[i];
2706 AVFrame *frame, AVPacket *pkt,
2730 ret = avcodec_receive_frame(dec_ctx, frame);
2760 show_frame(w, frame, ifile->streams[pkt->stream_index].st, fmt_ctx);
2796 AVFrame *frame = NULL;
2828 frame = av_frame_alloc();
2829 if (!frame) {
2876 while (process_frame(w, ifile, frame, pkt, &packet_new) > 0);
2886 while (process_frame(w, ifile, frame, pkt, &(int){1}) > 0);
2893 av_frame_free(&frame);
3370 // For loging it is needed to disable at least frame threads as otherwise