Home
last modified time | relevance | path

Searched refs:pict_type (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/third_party/ffmpeg/libavcodec/
Dratecontrol.c45 s->pict_type, in ff_write_pass1_stats()
84 const int pict_type = rce->new_pict_type; in get_diff_limited_q() local
88 if (pict_type == AV_PICTURE_TYPE_I && in get_diff_limited_q()
91 else if (pict_type == AV_PICTURE_TYPE_B && in get_diff_limited_q()
98 if (rcc->last_non_b_pict_type == pict_type || pict_type != AV_PICTURE_TYPE_I) { in get_diff_limited_q()
99 double last_q = rcc->last_qscale_for[pict_type]; in get_diff_limited_q()
108 rcc->last_qscale_for[pict_type] = q; // Note we cannot do that after blurring in get_diff_limited_q()
110 if (pict_type != AV_PICTURE_TYPE_B) in get_diff_limited_q()
111 rcc->last_non_b_pict_type = pict_type; in get_diff_limited_q()
119 static void get_qminmax(int *qmin_ret, int *qmax_ret, MpegEncContext *s, int pict_type) in get_qminmax() argument
[all …]
Dvaapi_vc1.c48 (v->s.pict_type == AV_PICTURE_TYPE_P && !v->p_frame_skipped) && in vc1_has_MVTYPEMB_bitplane()
60 ((v->s.pict_type == AV_PICTURE_TYPE_P && !v->p_frame_skipped) || in vc1_has_SKIPMB_bitplane()
61 (v->s.pict_type == AV_PICTURE_TYPE_B && !v->bi_type)); in vc1_has_SKIPMB_bitplane()
70 (v->s.pict_type == AV_PICTURE_TYPE_B && !v->bi_type); in vc1_has_DIRECTMB_bitplane()
79 (v->s.pict_type == AV_PICTURE_TYPE_I || in vc1_has_ACPRED_bitplane()
80 (v->s.pict_type == AV_PICTURE_TYPE_B && v->bi_type)); in vc1_has_ACPRED_bitplane()
89 (v->s.pict_type == AV_PICTURE_TYPE_I || in vc1_has_OVERFLAGS_bitplane()
90 (v->s.pict_type == AV_PICTURE_TYPE_B && v->bi_type)) && in vc1_has_OVERFLAGS_bitplane()
101 (v->s.pict_type == AV_PICTURE_TYPE_I || in vc1_has_FIELDTX_bitplane()
102 (v->s.pict_type == AV_PICTURE_TYPE_B && v->bi_type)); in vc1_has_FIELDTX_bitplane()
[all …]
Dnvdec_vc1.c56 .intra_pic_flag = s->pict_type == AV_PICTURE_TYPE_I || in nvdec_vc1_start_frame()
57 s->pict_type == AV_PICTURE_TYPE_BI, in nvdec_vc1_start_frame()
58 .ref_pic_flag = s->pict_type == AV_PICTURE_TYPE_I || in nvdec_vc1_start_frame()
59 s->pict_type == AV_PICTURE_TYPE_P, in nvdec_vc1_start_frame()
67 .intra_pic_flag = s->pict_type == AV_PICTURE_TYPE_I || in nvdec_vc1_start_frame()
68 s->pict_type == AV_PICTURE_TYPE_BI, in nvdec_vc1_start_frame()
69 .ref_pic_flag = s->pict_type == AV_PICTURE_TYPE_I || in nvdec_vc1_start_frame()
70 s->pict_type == AV_PICTURE_TYPE_P, in nvdec_vc1_start_frame()
Dnvdec_mpeg4.c54 .intra_pic_flag = s->pict_type == AV_PICTURE_TYPE_I, in nvdec_mpeg4_start_frame()
55 .ref_pic_flag = s->pict_type == AV_PICTURE_TYPE_I || in nvdec_mpeg4_start_frame()
56 s->pict_type == AV_PICTURE_TYPE_P || in nvdec_mpeg4_start_frame()
57 s->pict_type == AV_PICTURE_TYPE_S, in nvdec_mpeg4_start_frame()
73 .vop_coding_type = s->pict_type - AV_PICTURE_TYPE_I, in nvdec_mpeg4_start_frame()
83 .gmc_enabled = s->pict_type == AV_PICTURE_TYPE_S && in nvdec_mpeg4_start_frame()
Drv10.c105 s->pict_type = AV_PICTURE_TYPE_P; in rv10_decode_picture_header()
107 s->pict_type = AV_PICTURE_TYPE_I; in rv10_decode_picture_header()
114 ff_dlog(s->avctx, "pict_type=%d pb_frame=%d\n", s->pict_type, pb_frame); in rv10_decode_picture_header()
127 if (s->pict_type == AV_PICTURE_TYPE_I) { in rv10_decode_picture_header()
166 s->pict_type = AV_PICTURE_TYPE_I; in rv20_decode_picture_header()
169 s->pict_type = AV_PICTURE_TYPE_I; in rv20_decode_picture_header()
172 s->pict_type = AV_PICTURE_TYPE_P; in rv20_decode_picture_header()
175 s->pict_type = AV_PICTURE_TYPE_B; in rv20_decode_picture_header()
182 if (s->low_delay && s->pict_type == AV_PICTURE_TYPE_B) { in rv20_decode_picture_header()
186 if (!s->last_picture_ptr && s->pict_type == AV_PICTURE_TYPE_B) { in rv20_decode_picture_header()
[all …]
Dvc1.c595 if (v->s.pict_type == AV_PICTURE_TYPE_BI || v->s.pict_type == AV_PICTURE_TYPE_B) { \ in rotate_luts()
647 v->s.pict_type = AV_PICTURE_TYPE_P; in ff_vc1_parse_frame_header()
650 v->s.pict_type = AV_PICTURE_TYPE_B; in ff_vc1_parse_frame_header()
652 v->s.pict_type = AV_PICTURE_TYPE_I; in ff_vc1_parse_frame_header()
656 if (v->s.pict_type == AV_PICTURE_TYPE_B) { in ff_vc1_parse_frame_header()
660 v->s.pict_type = AV_PICTURE_TYPE_BI; in ff_vc1_parse_frame_header()
663 if (v->s.pict_type == AV_PICTURE_TYPE_I || v->s.pict_type == AV_PICTURE_TYPE_BI) in ff_vc1_parse_frame_header()
670 if (v->s.pict_type == AV_PICTURE_TYPE_I || v->s.pict_type == AV_PICTURE_TYPE_BI) in ff_vc1_parse_frame_header()
672 if (v->s.pict_type == AV_PICTURE_TYPE_P) in ff_vc1_parse_frame_header()
711 if (v->multires && v->s.pict_type != AV_PICTURE_TYPE_B) in ff_vc1_parse_frame_header()
[all …]
Dh263dec.c270 if (s->pict_type != AV_PICTURE_TYPE_B) in decode_slice()
359 s->pict_type == AV_PICTURE_TYPE_I && in decode_slice()
388 if (s->msmpeg4_version && s->pict_type == AV_PICTURE_TYPE_I) in decode_slice()
586 s->current_picture.f->pict_type = s->pict_type; in ff_h263_decode_frame()
587 s->current_picture.f->key_frame = s->pict_type == AV_PICTURE_TYPE_I; in ff_h263_decode_frame()
591 (s->pict_type == AV_PICTURE_TYPE_B || s->droppable)) in ff_h263_decode_frame()
594 s->pict_type == AV_PICTURE_TYPE_B) || in ff_h263_decode_frame()
596 s->pict_type != AV_PICTURE_TYPE_I) || in ff_h263_decode_frame()
601 if (s->pict_type == AV_PICTURE_TYPE_B) in ff_h263_decode_frame()
607 if ((!s->no_rounding) || s->pict_type == AV_PICTURE_TYPE_B) { in ff_h263_decode_frame()
[all …]
Dflvdec.c83 s->pict_type = AV_PICTURE_TYPE_I + get_bits(&s->gb, 2); in ff_flv_decode_picture_header()
84 s->droppable = s->pict_type > AV_PICTURE_TYPE_P; in ff_flv_decode_picture_header()
86 s->pict_type = AV_PICTURE_TYPE_P; in ff_flv_decode_picture_header()
107 s->droppable ? 'D' : av_get_picture_type_char(s->pict_type), in ff_flv_decode_picture_header()
Dnvdec_mpeg12.c57 .intra_pic_flag = s->pict_type == AV_PICTURE_TYPE_I, in nvdec_mpeg12_start_frame()
58 .ref_pic_flag = s->pict_type == AV_PICTURE_TYPE_I || in nvdec_mpeg12_start_frame()
59 s->pict_type == AV_PICTURE_TYPE_P, in nvdec_mpeg12_start_frame()
65 .picture_coding_type = s->pict_type, in nvdec_mpeg12_start_frame()
Dlibkvazaar.c177 int pict_type; in libkvazaar_encode() local
267 pict_type = AV_PICTURE_TYPE_I; in libkvazaar_encode()
270 pict_type = AV_PICTURE_TYPE_P; in libkvazaar_encode()
273 pict_type = AV_PICTURE_TYPE_B; in libkvazaar_encode()
281 avctx->coded_frame->pict_type = pict_type; in libkvazaar_encode()
285 ff_side_data_set_encoder_stats(avpkt, frame_info.qp * FF_QP2LAMBDA, NULL, 0, pict_type); in libkvazaar_encode()
Davs3_parser.c79 s->pict_type = AV_PICTURE_TYPE_I; in parse_avs3_nal_units()
131 s->pict_type = AV_PICTURE_TYPE_I; in parse_avs3_nal_units()
137 s->pict_type = AV_PICTURE_TYPE_P; in parse_avs3_nal_units()
139 s->pict_type = AV_PICTURE_TYPE_B; in parse_avs3_nal_units()
Dvaapi_mpeg4.c77 .vop_coding_type = s->pict_type - AV_PICTURE_TYPE_I, in vaapi_mpeg4_start_frame()
79 … s->pict_type == AV_PICTURE_TYPE_B ? s->next_picture.f->pict_type - AV_PICTURE_TYPE_I : 0, in vaapi_mpeg4_start_frame()
100 if (s->pict_type == AV_PICTURE_TYPE_B) in vaapi_mpeg4_start_frame()
102 if (s->pict_type != AV_PICTURE_TYPE_I) in vaapi_mpeg4_start_frame()
Dsvq3.c115 enum AVPictureType pict_type; member
730 if (s->pict_type == AV_PICTURE_TYPE_P || in svq3_decode_mb()
735 if (s->pict_type == AV_PICTURE_TYPE_B) in svq3_decode_mb()
802 if (s->pict_type != AV_PICTURE_TYPE_B) in svq3_decode_mb()
807 if (s->pict_type == AV_PICTURE_TYPE_P) { in svq3_decode_mb()
914 if (!IS_INTER(mb_type) && s->pict_type != AV_PICTURE_TYPE_I) { in svq3_decode_mb()
918 if (s->pict_type == AV_PICTURE_TYPE_B) { in svq3_decode_mb()
927 if (!IS_SKIP(mb_type) || s->pict_type == AV_PICTURE_TYPE_B) { in svq3_decode_mb()
932 (!IS_SKIP(mb_type) || s->pict_type == AV_PICTURE_TYPE_B)) { in svq3_decode_mb()
942 (s->pict_type != AV_PICTURE_TYPE_I && s->adaptive_quant && cbp)) { in svq3_decode_mb()
[all …]
Dh261dec.c531 s->pict_type = AV_PICTURE_TYPE_P; in h261_decode_picture_header()
626 s->current_picture.f->pict_type = s->pict_type; in h261_decode_frame()
627 s->current_picture.f->key_frame = s->pict_type == AV_PICTURE_TYPE_I; in h261_decode_frame()
629 if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == AV_PICTURE_TYPE_B) || in h261_decode_frame()
630 (avctx->skip_frame >= AVDISCARD_NONKEY && s->pict_type != AV_PICTURE_TYPE_I) || in h261_decode_frame()
650 av_assert0(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); in h261_decode_frame()
651 av_assert0(s->current_picture.f->pict_type == s->pict_type); in h261_decode_frame()
Dsvq1enc.c270 if (s->pict_type == AV_PICTURE_TYPE_P) { in svq1_encode_plane()
286 s->m.pict_type = s->pict_type; in svq1_encode_plane()
384 if (s->pict_type == AV_PICTURE_TYPE_I || in svq1_encode_plane()
390 if (s->pict_type == AV_PICTURE_TYPE_P) { in svq1_encode_plane()
406 if (s->pict_type == AV_PICTURE_TYPE_P) { in svq1_encode_plane()
615 s->pict_type = AV_PICTURE_TYPE_P; in svq1_encode_frame()
617 s->pict_type = AV_PICTURE_TYPE_I; in svq1_encode_frame()
622 avctx->coded_frame->pict_type = s->pict_type; in svq1_encode_frame()
623 avctx->coded_frame->key_frame = s->pict_type == AV_PICTURE_TYPE_I; in svq1_encode_frame()
627 ff_side_data_set_encoder_stats(pkt, pict->quality, NULL, 0, s->pict_type); in svq1_encode_frame()
[all …]
Dvp3_parser.c29 s->pict_type = (buf[0] & 0x40) ? AV_PICTURE_TYPE_P : AV_PICTURE_TYPE_I; in parse()
31 s->pict_type = (buf[0] & 0x80) ? AV_PICTURE_TYPE_P : AV_PICTURE_TYPE_I; in parse()
Dmsmpeg4enc.c177 if(s->pict_type==AV_PICTURE_TYPE_I){ in find_best_tables()
199 if(s->pict_type==AV_PICTURE_TYPE_P) chroma_best= best; in find_best_tables()
206 if(s->pict_type != s->last_non_b_pict_type){ in find_best_tables()
208 if(s->pict_type==AV_PICTURE_TYPE_I) in find_best_tables()
222 put_bits(&s->pb, 2, s->pict_type - 1); in ff_msmpeg4_encode_picture_header()
235 …ra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE && s->pict_type==AV_PICTURE_TYPE… in ff_msmpeg4_encode_picture_header()
236 ff_dlog(s, "%d %"PRId64" %d %d %d\n", s->pict_type, s->bit_rate, in ff_msmpeg4_encode_picture_header()
239 if (s->pict_type == AV_PICTURE_TYPE_I) { in ff_msmpeg4_encode_picture_header()
451 if (s->pict_type == AV_PICTURE_TYPE_I) { in ff_msmpeg4_encode_mb()
466 if (s->pict_type == AV_PICTURE_TYPE_I) { in ff_msmpeg4_encode_mb()
Dcavsdec.c647 if (h->cur.f->pict_type != AV_PICTURE_TYPE_B) in set_mv_intra()
687 if (h->cur.f->pict_type == AV_PICTURE_TYPE_I) in decode_mb_i()
944 if ((h->cur.f->pict_type != AV_PICTURE_TYPE_I) || in decode_slice_header()
996 h->cur.f->pict_type = get_bits(&h->gb, 2) + AV_PICTURE_TYPE_I; in decode_pic()
997 if (h->cur.f->pict_type > AV_PICTURE_TYPE_B) { in decode_pic()
1003 (!h->DPB[1].f->data[0] && h->cur.f->pict_type == AV_PICTURE_TYPE_B)) in decode_pic()
1006 h->cur.f->pict_type = AV_PICTURE_TYPE_I; in decode_pic()
1020 ret = ff_get_buffer(h->avctx, h->cur.f, h->cur.f->pict_type == AV_PICTURE_TYPE_B ? in decode_pic()
1037 if (h->cur.f->pict_type != AV_PICTURE_TYPE_B) { in decode_pic()
1045 if (h->cur.f->pict_type == AV_PICTURE_TYPE_B) { in decode_pic()
[all …]
Ddxva2_vc1.c48 if (s->pict_type == AV_PICTURE_TYPE_P) { in fill_picture_parameters()
58 if (s->pict_type != AV_PICTURE_TYPE_I && !v->bi_type) in fill_picture_parameters()
62 if (s->pict_type == AV_PICTURE_TYPE_B && !v->bi_type) in fill_picture_parameters()
85 pp->bPicIntra = s->pict_type == AV_PICTURE_TYPE_I || v->bi_type; in fill_picture_parameters()
86 pp->bPicBackwardPrediction = s->pict_type == AV_PICTURE_TYPE_B && !v->bi_type; in fill_picture_parameters()
125 ((s->pict_type != AV_PICTURE_TYPE_B) << 2) | in fill_picture_parameters()
128 if (s->pict_type != AV_PICTURE_TYPE_I) in fill_picture_parameters()
174 …slice->bReservedBits = (s->pict_type == AV_PICTURE_TYPE_B && !v->bi_type) ? v->bfraction_lut… in fill_slice()
/third_party/ffmpeg/tests/ref/fate/
Dmov-zombie3 …_size=4133|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=I|coded_picture_…
6 …t_size=355|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=B|coded_picture_…
9 …_size=1077|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=P|coded_picture_…
12 …t_size=430|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=B|coded_picture_…
15 …_size=1110|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=P|coded_picture_…
18 …_size=1005|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=B|coded_picture_…
21 …_size=1485|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=P|coded_picture_…
24 …t_size=904|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=B|coded_picture_…
27 …_size=1976|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=P|coded_picture_…
30 …t_size=700|width=160|height=240|pix_fmt=yuv420p|sample_aspect_ratio=2:1|pict_type=B|coded_picture_…
[all …]
Dh264-dts_5frames19 pict_type=I
49 pict_type=P
79 pict_type=P
109 pict_type=P
139 pict_type=P
Dffprobe_json69 "pict_type": "I",
109 "pict_type": "I",
182 "pict_type": "I",
222 "pict_type": "I",
328 "pict_type": "I",
368 "pict_type": "I",
474 "pict_type": "I",
514 "pict_type": "I",
Dffprobe_default64 pict_type=I
107 pict_type=I
182 pict_type=I
225 pict_type=I
332 pict_type=I
375 pict_type=I
482 pict_type=I
525 pict_type=I
Dffprobe_ini66 pict_type=I
109 pict_type=I
184 pict_type=I
227 pict_type=I
334 pict_type=I
377 pict_type=I
484 pict_type=I
527 pict_type=I
Dffprobe_compact4 …_size=230400|width=320|height=240|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
6 …t_size=30000|width=100|height=100|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
10 …_size=230400|width=320|height=240|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
12 …t_size=30000|width=100|height=100|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
18 …_size=230400|width=320|height=240|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
20 …t_size=30000|width=100|height=100|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
26 …_size=230400|width=320|height=240|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…
28 …t_size=30000|width=100|height=100|pix_fmt=rgb24|sample_aspect_ratio=1:1|pict_type=I|coded_picture_…

12345678910>>...13