Lines Matching refs:j
232 RK_U32 i, j; in hal_h265d_slice_rpl() local
287 for (j = 0; j < nb_refs && rpl_tmp.nb_refs < MAX_REFS; j++) { in hal_h265d_slice_rpl()
288 rpl_tmp.dpb_index[rpl_tmp.nb_refs] = rps[j]; in hal_h265d_slice_rpl()
313 RK_S32 i = 0, j = 0; in hal_h265d_slice_hw_rps() local
334 for ( j = 0; j < dxva_cxt->pp.sps_st_rps[i].num_negative_pics; j++) { in hal_h265d_slice_hw_rps()
336 mpp_put_bits(&bp, dxva_cxt->pp.sps_st_rps[i].delta_poc_s0[j], 16); in hal_h265d_slice_hw_rps()
337 mpp_put_bits(&bp, dxva_cxt->pp.sps_st_rps[i].s0_used_flag[j], 1); in hal_h265d_slice_hw_rps()
340 for (j = 0; j < dxva_cxt->pp.sps_st_rps[i].num_positive_pics; j++) { in hal_h265d_slice_hw_rps()
341 mpp_put_bits(&bp, dxva_cxt->pp.sps_st_rps[i].delta_poc_s1[j], 16); in hal_h265d_slice_hw_rps()
342 mpp_put_bits(&bp, dxva_cxt->pp.sps_st_rps[i].s1_used_flag[j], 1); in hal_h265d_slice_hw_rps()
346 …for ( j = dxva_cxt->pp.sps_st_rps[i].num_negative_pics + dxva_cxt->pp.sps_st_rps[i].num_positive_p… in hal_h265d_slice_hw_rps()
354 for ( j = 0; j < 15; j++) { in hal_h265d_slice_hw_rps()
372 RK_U32 i, j, k; in hal_h265d_slice_output_rps() local
631 for (j = 0; j < nb_list; j++) { in hal_h265d_slice_output_rps()
632 for (i = 0; i < ref.refPicList[j].nb_refs; i++) { in hal_h265d_slice_output_rps()
634 index = ref.refPicList[j].dpb_index[i]; in hal_h265d_slice_output_rps()
637 rps_pic_info[slice_idx][j][i].dpb_index = index; in hal_h265d_slice_output_rps()
638 rps_pic_info[slice_idx][j][i].is_long_term in hal_h265d_slice_output_rps()
661 for (j = 0; j < 2; j++) { in hal_h265d_slice_output_rps()
663 mpp_put_bits(&bp, rps_pic_info[k][j][i].is_long_term, 1); in hal_h265d_slice_output_rps()
664 if (j == 1 && i == 4) { in hal_h265d_slice_output_rps()
667 mpp_put_bits(&bp, rps_pic_info[k][j][i].dpb_index, 4); in hal_h265d_slice_output_rps()
697 RK_U32 i, j, pos; in hal_h265d_output_scalinglist_packet() local
706 for (j = 0; j < 16; j++) { in hal_h265d_output_scalinglist_packet()
707 pos = 4 * hal_hevc_diag_scan4x4_y[j] + hal_hevc_diag_scan4x4_x[j]; in hal_h265d_output_scalinglist_packet()
708 sl.sl[0][i][pos] = dxva_cxt->qm.ucScalingLists0[i][j]; in hal_h265d_output_scalinglist_packet()
711 for (j = 0; j < 64; j++) { in hal_h265d_output_scalinglist_packet()
712 pos = 8 * hal_hevc_diag_scan8x8_y[j] + hal_hevc_diag_scan8x8_x[j]; in hal_h265d_output_scalinglist_packet()
713 sl.sl[1][i][pos] = dxva_cxt->qm.ucScalingLists1[i][j]; in hal_h265d_output_scalinglist_packet()
714 sl.sl[2][i][pos] = dxva_cxt->qm.ucScalingLists2[i][j]; in hal_h265d_output_scalinglist_packet()
717 sl.sl[3][i][pos] = dxva_cxt->qm.ucScalingLists3[i][j]; in hal_h265d_output_scalinglist_packet()