Home
last modified time | relevance | path

Searched refs:poc (Results 1 – 25 of 47) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dhevc_refs.c135 int ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc) in ff_hevc_set_new_ref() argument
145 frame->poc == poc) { in ff_hevc_set_new_ref()
147 poc); in ff_hevc_set_new_ref()
164 ref->poc = poc; in ff_hevc_set_new_ref()
184 if (!(frame->flags & HEVC_FRAME_FLAG_BUMPING) && frame->poc != s->poc && in ff_hevc_output_frame()
196 if (frame->poc < min_poc || nb_output == 1) { in ff_hevc_output_frame()
197 min_poc = frame->poc; in ff_hevc_output_frame()
220 "Output frame with POC %d.\n", frame->poc); in ff_hevc_output_frame()
243 frame->poc != s->poc) { in ff_hevc_bump_frame()
253 frame->poc != s->poc) { in ff_hevc_bump_frame()
[all …]
Dh264_parser.c54 H264POCContext poc; member
338 p->poc.prev_frame_num = 0; in parse_nal_units()
339 p->poc.prev_frame_num_offset = 0; in parse_nal_units()
340 p->poc.prev_poc_msb = in parse_nal_units()
341 p->poc.prev_poc_lsb = 0; in parse_nal_units()
377 p->poc.frame_num = get_bits(&nal.gb, sps->log2_max_frame_num); in parse_nal_units()
424 p->poc.poc_lsb = get_bits(&nal.gb, sps->log2_max_poc_lsb); in parse_nal_units()
428 p->poc.delta_poc_bottom = get_se_golomb(&nal.gb); in parse_nal_units()
433 p->poc.delta_poc[0] = get_se_golomb(&nal.gb); in parse_nal_units()
437 p->poc.delta_poc[1] = get_se_golomb(&nal.gb); in parse_nal_units()
[all …]
Dh264_picture.c116 dst->poc = src->poc; in ff_h264_ref_picture()
168 h->poc.prev_poc_msb = h->poc.poc_msb; in ff_h264_field_end()
169 h->poc.prev_poc_lsb = h->poc.poc_lsb; in ff_h264_field_end()
171 h->poc.prev_frame_num_offset = h->poc.frame_num_offset; in ff_h264_field_end()
172 h->poc.prev_frame_num = h->poc.frame_num; in ff_h264_field_end()
Dh264_slice.c403 memcpy(&h->poc, &h1->poc, sizeof(h->poc)); in ff_h264_update_thread_context()
456 h->poc.prev_poc_msb = h->poc.poc_msb; in ff_h264_update_thread_context()
457 h->poc.prev_poc_lsb = h->poc.poc_lsb; in ff_h264_update_thread_context()
459 h->poc.prev_frame_num_offset = h->poc.frame_num_offset; in ff_h264_update_thread_context()
460 h->poc.prev_frame_num = h->poc.frame_num; in ff_h264_update_thread_context()
491 pic->frame_num = h->poc.frame_num; in h264_frame_start()
679 cur_poc = h->cur_pic_ptr->poc; in implicit_weight_table()
684 sl->ref_list[0][0].poc + (int64_t)sl->ref_list[1][0].poc == 2LL * cur_poc) { in implicit_weight_table()
705 int64_t poc0 = sl->ref_list[0][ref0].poc; in implicit_weight_table()
709 int poc1 = sl->ref_list[1][ref1].poc; in implicit_weight_table()
[all …]
Dh264_direct.c39 int poc, int poc1, int i) in get_scale_factor() argument
41 int poc0 = sl->ref_list[0][i].poc; in get_scale_factor()
51 int64_t pocdiff0 = poc - (int64_t)poc0; in get_scale_factor()
65 …const int poc = FIELD_PICTURE(h) ? h->cur_pic_ptr->field_poc[h->picture_structure == PICT_BOTTOM_… in ff_h264_direct_dist_scale_factor() local
66 : h->cur_pic_ptr->poc; in ff_h264_direct_dist_scale_factor()
67 const int poc1 = sl->ref_list[1][0].poc; in ff_h264_direct_dist_scale_factor()
72 const int poc = h->cur_pic_ptr->field_poc[field]; in ff_h264_direct_dist_scale_factor() local
76 get_scale_factor(sl, poc, poc1, i + 16); in ff_h264_direct_dist_scale_factor()
80 sl->dist_scale_factor[i] = get_scale_factor(sl, poc, poc1, i); in ff_h264_direct_dist_scale_factor()
98 int poc = ref1->ref_poc[colfield][list][old_ref]; in fill_colmap() local
[all …]
Dh264_refs.c49 pic->poc = pic->parent->field_poc[parity == PICT_BOTTOM_FIELD]; in pic_as_field()
57 dst->poc = src->poc; in ref_from_h264pic()
114 const int poc = src[i]->poc; in add_sorted() local
115 if (((poc > limit) ^ dir) && ((poc < best_poc) ^ dir)) { in add_sorted()
116 best_poc = poc; in add_sorted()
122 limit = sorted[out_i++]->poc - dir; in add_sorted()
148 cur_poc = h->cur_pic_ptr->poc; in h264_initialise_ref_list()
228 i, pic->frame_num, pic->poc, pic->f->data[0]); in print_short_term()
245 i, pic->frame_num, pic->poc, pic->f->data[0]); in print_long_term()
287 field[0].poc = field[0].parent->field_poc[0]; in h264_fill_mbaff_ref_list()
[all …]
Dhevc_parser.c50 int poc; member
158 s->output_picture_number = ctx->poc = in hevc_parse_slice_header()
161 s->output_picture_number = ctx->poc = 0; in hevc_parse_slice_header()
171 ctx->pocTid0 = ctx->poc; in hevc_parse_slice_header()
Dh264dec.c290 h->poc.prev_poc_msb = 1 << 16; in h264_init_context()
293 h->poc.prev_frame_num = -1; in h264_init_context()
430 h->poc.prev_frame_num = in idr()
431 h->poc.prev_frame_num_offset = 0; in idr()
432 h->poc.prev_poc_msb = 1<<16; in idr()
433 h->poc.prev_poc_lsb = -1; in idr()
447 h->poc.prev_frame_num = -1; in ff_h264_flush_change()
939 if (h->delayed_pic[i]->poc < out->poc) { in send_next_delayed_frame()
Dhevc_mvs.c130 int colPic, int poc, in check_mvset() argument
145 cur_poc_diff = poc - refPicList[X].list[refIdxLx]; in check_mvset()
158 colPic, s->poc, \
181 if (refPicList[j].list[i] > s->poc) { in derive_temporal_colocated_mvs()
237 colPic = ref->poc; in temporal_luma_motion_vector()
522 int poc_diff = s->poc - ref_pic_elist; in dist_scale()
525 mv_scale(mv, mv, poc_diff, s->poc - ref_pic_curr); in dist_scale()
Djpeg2000dec.c66 Jpeg2000POCEntry poc[MAX_POCS]; member
85 Jpeg2000POC poc; member
127 Jpeg2000POC poc; member
770 Jpeg2000POCEntry *e = &tmp.poc[i]; in get_poc()
798 memcpy(p->poc + p->nb_poc, tmp.poc, tmp.nb_poc * sizeof(tmp.poc[0])); in get_poc()
855 memcpy(&tile->poc , &s->poc , sizeof(tile->poc)); in get_sot()
856 tile->poc.is_default = 1; in get_sot()
1598 if (tile->poc.nb_poc) { in jpeg2000_decode_packets()
1599 for (i=0; i<tile->poc.nb_poc; i++) { in jpeg2000_decode_packets()
1600 Jpeg2000POCEntry *e = &tile->poc.poc[i]; in jpeg2000_decode_packets()
[all …]
Dhevcdec.h233 int poc[32]; member
403 int poc; member
511 int poc; member
636 int ff_hevc_set_new_ref(HEVCContext *s, AVFrame **frame, int poc);
Dcavsdec.c529 h->cur.poc, h->mbx, h->mby); in dequant()
1034 h->cur.poc = get_bits(&h->gb, 8) * 2; in decode_pic()
1038 h->dist[0] = (h->cur.poc - h->DPB[0].poc) & 511; in decode_pic()
1040 h->dist[0] = (h->DPB[0].poc - h->cur.poc) & 511; in decode_pic()
1042 h->dist[1] = (h->cur.poc - h->DPB[1].poc) & 511; in decode_pic()
Dhevcdec.c278 if (nb_sh + (uint64_t)nb_sps > FF_ARRAY_ELEMS(rps->poc)) in decode_lt_rps()
291 rps->poc[i] = sps->lt_ref_pic_poc_lsb_sps[lt_idx_sps]; in decode_lt_rps()
294 rps->poc[i] = get_bits(gb, sps->log2_max_poc_lsb); in decode_lt_rps()
301 int64_t poc; in decode_lt_rps() local
306 poc = rps->poc[i] + s->poc - delta * max_poc_lsb - s->sh.pic_order_cnt_lsb; in decode_lt_rps()
307 if (poc != (int32_t)poc) in decode_lt_rps()
309 rps->poc[i] = poc; in decode_lt_rps()
661 int poc, pos; in hls_slice_header() local
664poc = ff_hevc_compute_poc(s->ps.sps, s->pocTid0, sh->pic_order_cnt_lsb, s->nal_unit_type); in hls_slice_header()
665 if (!sh->first_slice_in_pic_flag && poc != s->poc) { in hls_slice_header()
[all …]
Dh264_parse.c342 int poc = 2 * (pc->frame_num_offset + pc->frame_num); in ff_h264_init_poc() local
345 poc--; in ff_h264_init_poc()
347 field_poc[0] = poc; in ff_h264_init_poc()
348 field_poc[1] = poc; in ff_h264_init_poc()
Dvaapi_encode_h265.c919 int i, j, poc, rps_pics; in vaapi_encode_h265_init_slice_params() local
973 poc = hpic->pic_order_cnt; in vaapi_encode_h265_init_slice_params()
975 rps->delta_poc_s0_minus1[i - 1 - j] = poc - rps_poc[j] - 1; in vaapi_encode_h265_init_slice_params()
977 poc = rps_poc[j]; in vaapi_encode_h265_init_slice_params()
981 poc = hpic->pic_order_cnt; in vaapi_encode_h265_init_slice_params()
983 rps->delta_poc_s1_minus1[j - i] = rps_poc[j] - poc - 1; in vaapi_encode_h265_init_slice_params()
985 poc = rps_poc[j]; in vaapi_encode_h265_init_slice_params()
Dh264_parse.h81 const SPS *sps, H264POCContext *poc,
Dvaapi_hevc.c57 va_pic->pic_order_cnt = pic->poc; in fill_vaapi_pic()
386 int poc = pp->ReferenceFrames[i].pic_order_cnt; in get_ref_pic_index() local
387 … if (pid != VA_INVALID_ID && pid == ff_vaapi_get_surface_id(frame->frame) && poc == frame->poc) in get_ref_pic_index()
Dh264dec.h149 int poc; ///< frame POC member
178 int poc; member
467 H264POCContext poc; member
/third_party/expat/
D10-backport-CVE-2022-25315-Prevent-integer-overflow-in-storeRawNames.patch56 cat > poc.c << EOF
70 errx(1, "usage: poc file.xml");
93 gcc -fsanitize=address -lexpat -o poc poc.c
99 dd if=/dev/zero bs=1024 count=794624 | tr '\0' 'a' > poc-utf8.xml
100 echo -n '<a><' | dd conv=notrunc of=poc-utf8.xml
101 echo -n '><' | dd conv=notrunc of=poc-utf8.xml bs=1 seek=805306368
102 iconv -f UTF-8 -t UTF-16LE poc-utf8.xml > poc-utf16.xml
108 ./poc poc-utf16.xml
D08-backport-CVE-2022-25313-Prevent-stack-exhaustion-in-build_model.patch22 1. Compile poc binary which parses XML file line by line
25 cat > poc.c << EOF
44 errx(1, "usage: poc poc.xml");
59 cc -std=c11 -D_POSIX_C_SOURCE=200809L -lexpat -o poc poc.c
65 cat > poc.xml.zst.b64 << EOF
70 base64 -d poc.xml.zst.b64 | zstd -d > poc.xml
76 ./poc poc.xml
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/
Dgsth265picture.c318 gst_h265_dpb_get_ref_by_poc (GstH265Dpb * dpb, gint poc) in gst_h265_dpb_get_ref_by_poc() argument
328 if (picture->ref && picture->pic_order_cnt == poc) in gst_h265_dpb_get_ref_by_poc()
332 GST_DEBUG ("No short term reference picture for %d", poc); in gst_h265_dpb_get_ref_by_poc()
376 gst_h265_dpb_get_short_ref_by_poc (GstH265Dpb * dpb, gint poc) in gst_h265_dpb_get_short_ref_by_poc() argument
386 if (picture->ref && !picture->long_term && picture->pic_order_cnt == poc) in gst_h265_dpb_get_short_ref_by_poc()
390 GST_DEBUG ("No short term reference picture for %d", poc); in gst_h265_dpb_get_short_ref_by_poc()
405 gst_h265_dpb_get_long_ref_by_poc (GstH265Dpb * dpb, gint poc) in gst_h265_dpb_get_long_ref_by_poc() argument
415 if (picture->ref && picture->long_term && picture->pic_order_cnt == poc) in gst_h265_dpb_get_long_ref_by_poc()
419 GST_DEBUG ("No long term reference picture for %d", poc); in gst_h265_dpb_get_long_ref_by_poc()
Dgsth265picture.h170 gint poc);
178 gint poc);
182 gint poc);
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_h265.c86 unsigned poc; member
659 if (result && entry->poc == 0) in vid_dec_h265_Flush()
662 if (!result || entry->poc < result->poc) in vid_dec_h265_Flush()
711 if (entry->poc == priv->picture.h265.PicOrderCntVal[i]) { in vid_dec_h265_EndFrame()
739 entry->poc = get_poc(priv); in vid_dec_h265_EndFrame()
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.h56 int poc; member
/third_party/mesa3d/docs/relnotes/
D19.1.4.rst82 - radeon/uvd: fix poc for hevc encode
83 - radeon/vcn: fix poc for hevc encode

12