Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_non_greedy_mv.c173 int frame_idx, rf_idx, square_block_idx; in vp9_alloc_motion_field_info() local
182 for (rf_idx = 0; rf_idx < MAX_INTER_REF_FRAMES; ++rf_idx) { in vp9_alloc_motion_field_info()
192 ->motion_field_array[frame_idx][rf_idx][square_block_idx]; in vp9_alloc_motion_field_info()
246 int frame_idx, rf_idx, square_block_idx; in vp9_free_motion_field_info() local
248 for (rf_idx = 0; rf_idx < MAX_INTER_REF_FRAMES; ++rf_idx) { in vp9_free_motion_field_info()
253 ->motion_field_array[frame_idx][rf_idx][square_block_idx]; in vp9_free_motion_field_info()
266 MotionFieldInfo *motion_field_info, int frame_idx, int rf_idx, in vp9_motion_field_info_get_motion_field() argument
272 ->motion_field_array[frame_idx][rf_idx][square_block_idx]; in vp9_motion_field_info_get_motion_field()
Dvp9_encoder.c6263 int rf_idx; local
6326 for (rf_idx = 0; rf_idx < MAX_INTER_REF_FRAMES; ++rf_idx) {
6331 if (ref_frame[rf_idx] == NULL) continue;
6336 &cpi->motion_field_info, frame_idx, rf_idx, bsize);
6340 ref_frame[rf_idx]->y_buffer + mb_y_offset,
6347 CONVERT_TO_SHORTPTR(ref_frame[rf_idx]->y_buffer + mb_y_offset),
6348 ref_frame[rf_idx]->y_stride, CONVERT_TO_SHORTPTR(&predictor[0]), bw,
6358 ref_frame[rf_idx]->y_buffer + mb_y_offset,
6359 ref_frame[rf_idx]->y_stride, &predictor[0], bw, &mv.as_mv, sf, bw, bh,
6368 vp9_build_inter_predictor(ref_frame[rf_idx]->y_buffer + mb_y_offset,
[all …]
Dvp9_non_greedy_mv.h111 MotionFieldInfo *motion_field_info, int frame_idx, int rf_idx,
/external/libvpx/libvpx/tools/non_greedy_mv/
Dnon_greedy_mv.py110 rf_idx = int(word_ls[11])
130 …return rf_idx, frame_idx, ref_frame_idx, gf_frame_offset, ref_gf_frame_offset, mv_ls, img, ref, bs…
151 …for rf_idx, frame_idx, ref_frame_idx, gf_frame_offset, ref_gf_frame_offset, mv_ls, img, ref, bs, f…
179 print rf_idx, frame_idx, ref_frame_idx, gf_frame_offset, ref_gf_frame_offset, len(mv_ls)
/external/libaom/libaom/av1/encoder/
Dtpl_model.c296 int rf_idx; in mode_estimation() local
300 for (rf_idx = 0; rf_idx < INTER_REFS_PER_FRAME; ++rf_idx) { in mode_estimation()
301 if (ref_frame[rf_idx] == NULL || src_ref_frame[rf_idx] == NULL) { in mode_estimation()
302 tpl_stats->mv[rf_idx].as_int = INVALID_MV; in mode_estimation()
306 const YV12_BUFFER_CONFIG *ref_frame_ptr = src_ref_frame[rf_idx]; in mode_estimation()
321 if (!is_alike_mv(ref_tpl_stats->mv[rf_idx], center_mvs, refmv_count, in mode_estimation()
323 center_mvs[refmv_count].as_int = ref_tpl_stats->mv[rf_idx].as_int; in mode_estimation()
331 if (!is_alike_mv(ref_tpl_stats->mv[rf_idx], center_mvs, refmv_count, in mode_estimation()
333 center_mvs[refmv_count].as_int = ref_tpl_stats->mv[rf_idx].as_int; in mode_estimation()
342 if (!is_alike_mv(ref_tpl_stats->mv[rf_idx], center_mvs, refmv_count, in mode_estimation()
[all …]
Dencodeframe.c4627 for (int rf_idx = 1; rf_idx < INTER_REFS_PER_FRAME; ++rf_idx) in init_ref_frame_space() local
4628 inter_cost[rf_idx] += tpl_pred_error[rf_idx]; in init_ref_frame_space()
/external/libaom/libaom/av1/common/
Dmvref_common.c420 for (int rf_idx = 0; rf_idx < 2; ++rf_idx) { in process_compound_ref_mv_candidate() local
421 MV_REFERENCE_FRAME can_rf = candidate->ref_frame[rf_idx]; in process_compound_ref_mv_candidate()
425 ref_id[cmp_idx][ref_id_count[cmp_idx]] = candidate->mv[rf_idx]; in process_compound_ref_mv_candidate()
428 int_mv this_mv = candidate->mv[rf_idx]; in process_compound_ref_mv_candidate()
446 for (int rf_idx = 0; rf_idx < 2; ++rf_idx) { in process_single_ref_mv_candidate() local
447 if (candidate->ref_frame[rf_idx] > INTRA_FRAME) { in process_single_ref_mv_candidate()
448 int_mv this_mv = candidate->mv[rf_idx]; in process_single_ref_mv_candidate()
449 if (cm->ref_frame_sign_bias[candidate->ref_frame[rf_idx]] != in process_single_ref_mv_candidate()