Lines Matching refs:j

239         RK_U32 i = 0, j = 0;  in get_info_input()  local
241 for (j = 0; j < 3; j++) { in get_info_input()
242 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[j]); i++) { in get_info_input()
243 if (p_long->RefPicList[j][i].bPicEntry != 0xff) { in get_info_input()
244 priv->refinfo[j][i].valid = 1; in get_info_input()
245 priv->refinfo[j][i].dpb_idx = p_long->RefPicList[j][i].Index7Bits; in get_info_input()
246 priv->refinfo[j][i].bottom_flag = p_long->RefPicList[j][i].AssociatedFlag; in get_info_input()
319 RK_U32 i = 0, j = 0; in refill_info_input() local
320 for (j = 0; j < 3; j++) { in refill_info_input()
321 H264dVdpuRefPicInfo_t *p = priv->refinfo[j]; in refill_info_input()
322 for (i = 0; i < MPP_ARRAY_ELEMS(p_long->RefPicList[j]); i++) { in refill_info_input()
324 fill_picture_entry(&p_long->RefPicList[j][i], in refill_info_input()
327 p_long->RefPicList[j][i].bPicEntry = 0xff; in refill_info_input()
344 RK_U32 i = 0, j = 0; in adjust_input() local
366 for (j = 0; j < MPP_ARRAY_ELEMS(priv->new_dpb); j++) { in adjust_input()
367 if (new_dpb[j].valid) { in adjust_input()
369 ((old_dpb[i].frame_num == new_dpb[j].frame_num) in adjust_input()
372 == new_dpb[j].slot_index) in adjust_input()
374 if (new_dpb[j].top_used && old_dpb[i].top_used) { in adjust_input()
376 ((old_dpb[i].top_poc == new_dpb[j].top_poc) in adjust_input()
379 if (new_dpb[j].bot_used && old_dpb[i].bot_used) { in adjust_input()
381 ((old_dpb[i].bot_poc == new_dpb[j].bot_poc) in adjust_input()
385 new_dpb[j].have_same = 1; in adjust_input()
386 new_dpb[j].new_dpb_idx = i; in adjust_input()
387 old_dpb[i] = new_dpb[j]; in adjust_input()
399 for (j = 0; j < MPP_ARRAY_ELEMS(priv->new_dpb); j++) { in adjust_input()
400 if ((new_dpb[j].valid == 0) || new_dpb[j].have_same) { in adjust_input()
405 old_dpb[i] = new_dpb[j]; in adjust_input()
406 new_dpb[j].new_dpb_idx = i; in adjust_input()
424 RK_U32 i = 0, j = 0; in adjust_input() local
427 for (j = 0; j < 3; j++) { in adjust_input()
428 H264dVdpuRefPicInfo_t *p = priv->refinfo[j]; in adjust_input()
429 for (i = 0; i < MPP_ARRAY_ELEMS(priv->refinfo[j]); i++) { in adjust_input()