Home
last modified time | relevance | path

Searched refs:r_idx (Results 1 – 7 of 7) sorted by relevance

/external/libhevc/decoder/
Dihevcd_ref_list.c103 UWORD32 r_idx; in ihevcd_ref_list() local
393 r_idx = 0; in ihevcd_ref_list()
397 while(r_idx < u4_num_rps_curr_temp_list0) in ihevcd_ref_list()
399 …for(i = 0; (i < (WORD32)u4_num_st_curr_before) && (r_idx < u4_num_rps_curr_temp_list0); r_idx++, i… in ihevcd_ref_list()
405 as_ref_pic_list_temp0[r_idx] = as_ref_pic_st_curr_before[i]; in ihevcd_ref_list()
408 …for(i = 0; (i < (WORD32)u4_num_st_curr_after) && (r_idx < u4_num_rps_curr_temp_list0); r_idx++, i+… in ihevcd_ref_list()
414 as_ref_pic_list_temp0[r_idx] = as_ref_pic_st_curr_after[i]; in ihevcd_ref_list()
417 … for(i = 0; (i < (WORD32)u4_num_lt_curr) && (r_idx < u4_num_rps_curr_temp_list0); r_idx++, i++) in ihevcd_ref_list()
423 as_ref_pic_list_temp0[r_idx] = as_ref_pic_lt_curr[i]; in ihevcd_ref_list()
427 for(r_idx = 0; (WORD32)r_idx < ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx++) in ihevcd_ref_list()
[all …]
Dihevcd_parse_slice_header.c946 WORD32 r_idx; in ihevcd_parse_slice_header() local
984 for(r_idx = 0; r_idx < MAX_DPB_SIZE; r_idx++) in ihevcd_parse_slice_header()
986 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = NULL; in ihevcd_parse_slice_header()
987 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_mv_buf = NULL; in ihevcd_parse_slice_header()
989 ps_slice_hdr->as_ref_pic_list1[r_idx].pv_pic_buf = NULL; in ihevcd_parse_slice_header()
990 ps_slice_hdr->as_ref_pic_list1[r_idx].pv_mv_buf = NULL; in ihevcd_parse_slice_header()
1012 WORD32 r_idx; in ihevcd_parse_slice_header() local
1027 for(r_idx = 0; r_idx < ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx++) in ihevcd_parse_slice_header()
1029 if(NULL == ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf) in ihevcd_parse_slice_header()
1031 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = (void *)ps_pic_buf_ref; in ihevcd_parse_slice_header()
[all …]
Dihevcd_utils.c964 WORD32 r_idx; in ihevcd_parse_pic_init() local
1008 for(r_idx = 0; r_idx < ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx++) in ihevcd_parse_pic_init()
1010 if(NULL == ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf) in ihevcd_parse_pic_init()
1012 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = (void *)ps_pic_buf_ref; in ihevcd_parse_pic_init()
1013 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_mv_buf = (void *)ps_mv_buf_ref; in ihevcd_parse_pic_init()
1017 for(r_idx = ps_slice_hdr->i1_num_ref_idx_l0_active; r_idx < MAX_DPB_SIZE; r_idx++) in ihevcd_parse_pic_init()
1019 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_pic_buf = (void *)ps_pic_buf_ref; in ihevcd_parse_pic_init()
1020 ps_slice_hdr->as_ref_pic_list0[r_idx].pv_mv_buf = (void *)ps_mv_buf_ref; in ihevcd_parse_pic_init()
1023 for(r_idx = 0; r_idx < ps_slice_hdr->i1_num_ref_idx_l1_active; r_idx++) in ihevcd_parse_pic_init()
1025 if(NULL == ps_slice_hdr->as_ref_pic_list1[r_idx].pv_pic_buf) in ihevcd_parse_pic_init()
[all …]
Dihevcd_parse_headers.c422 WORD32 r_idx; in ihevcd_short_term_ref_pic_set() local
454 r_idx = idx - delta_idx; in ihevcd_short_term_ref_pic_set()
455 r_idx = CLIP3(r_idx, 0, idx - 1); in ihevcd_short_term_ref_pic_set()
457 ps_stref_picset_ref = ps_stref_picset_base + r_idx; in ihevcd_short_term_ref_pic_set()
/external/libaom/libaom/av1/encoder/
Dpartition_strategy.c358 for (int r_idx = 0; r_idx < 4; r_idx++) { in simple_motion_search_get_best_ref() local
360 PC_TREE *sub_tree = pc_tree->split[r_idx]; in simple_motion_search_get_best_ref()
410 for (int r_idx = 0; r_idx < 4; r_idx++) { in simple_motion_search_prune_part_features() local
411 const int sub_mi_col = mi_col + (r_idx & 1) * w_mi / 2; in simple_motion_search_prune_part_features()
412 const int sub_mi_row = mi_row + (r_idx >> 1) * h_mi / 2; in simple_motion_search_prune_part_features()
413 PC_TREE *sub_tree = pc_tree->split[r_idx]; in simple_motion_search_prune_part_features()
429 for (int r_idx = 0; r_idx < 2; r_idx++) { in simple_motion_search_prune_part_features() local
431 const int sub_mi_row = mi_row + r_idx * h_mi / 2; in simple_motion_search_prune_part_features()
435 use_subpixel, 0, &pc_tree->sms_rect_feat[2 * r_idx], in simple_motion_search_prune_part_features()
436 &pc_tree->sms_rect_feat[2 * r_idx + 1]); in simple_motion_search_prune_part_features()
[all …]
Dmv_prec.c69 int r_idx = 0; in keep_one_comp_stat() local
88 rates[r_idx++] = sign_rate; in keep_one_comp_stat()
92 rates[r_idx++] = class_rate; in keep_one_comp_stat()
106 rates[r_idx++] = int_bit_rate; in keep_one_comp_stat()
108 rates[r_idx++] = frac_part_rate; in keep_one_comp_stat()
115 rates[r_idx++] = high_part_rate; in keep_one_comp_stat()
Drdopt.c3322 for (int r_idx = 0; r_idx < num_rt_refs; r_idx++) { in init_mode_skip_mask() local
3323 const MV_REFERENCE_FRAME ref = real_time_ref_combos[r_idx][0]; in init_mode_skip_mask()