Lines Matching refs:hpic
606 VAAPIEncodeH264Picture *hpic = pic->priv_data;
615 hpic->frame_num = 0;
616 hpic->last_idr_frame = pic->display_order;
617 hpic->idr_pic_id = hprev ? hprev->idr_pic_id + 1 : 0;
619 hpic->primary_pic_type = 0;
620 hpic->slice_type = 7;
624 hpic->frame_num = hprev->frame_num + prev->is_reference;
626 hpic->last_idr_frame = hprev->last_idr_frame;
627 hpic->idr_pic_id = hprev->idr_pic_id;
630 hpic->slice_type = 7;
631 hpic->primary_pic_type = 0;
633 hpic->slice_type = 5;
634 hpic->primary_pic_type = 1;
636 hpic->slice_type = 6;
637 hpic->primary_pic_type = 2;
640 hpic->pic_order_cnt = pic->display_order - hpic->last_idr_frame;
641 hpic->dpb_delay = pic->display_order - pic->encode_order + ctx->max_b_depth;
642 hpic->cpb_delay = pic->encode_order - hpic->last_idr_frame;
650 .primary_pic_type = hpic->primary_pic_type,
667 .cpb_removal_delay = 2 * hpic->cpb_delay,
668 .dpb_output_delay = 2 * hpic->dpb_delay,
686 .frame_idx = hpic->frame_num,
688 .TopFieldOrderCnt = hpic->pic_order_cnt,
689 .BottomFieldOrderCnt = hpic->pic_order_cnt,
716 vpic->frame_num = hpic->frame_num;
826 VAAPIEncodeH264Picture *hpic = pic->priv_data;
844 sh->slice_type = hpic->slice_type;
848 sh->frame_num = hpic->frame_num &
850 sh->idr_pic_id = hpic->idr_pic_id;
851 sh->pic_order_cnt_lsb = hpic->pic_order_cnt &
889 av_assert0(old->frame_num < hpic->frame_num);
892 hpic->frame_num - old->frame_num - 1;
918 int pic_num = hpic->frame_num;
942 av_assert0(href->pic_order_cnt != hpic->pic_order_cnt);
943 if (href->pic_order_cnt < hpic->pic_order_cnt) {
956 int pic_num = hpic->frame_num;
959 if (href->pic_order_cnt > hpic->pic_order_cnt)
980 int pic_num = hpic->frame_num;
983 if (href->pic_order_cnt < hpic->pic_order_cnt)