/external/libvpx/libvpx/vp9/common/ |
D | vp9_mvref_common.c | 17 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, in find_mv_refs_idx() argument 46 if (candidate_mi->ref_frame[0] == ref_frame) in find_mv_refs_idx() 49 else if (candidate_mi->ref_frame[1] == ref_frame) in find_mv_refs_idx() 65 if (candidate_mi->ref_frame[0] == ref_frame) in find_mv_refs_idx() 67 else if (candidate_mi->ref_frame[1] == ref_frame) in find_mv_refs_idx() 74 if (prev_frame_mvs->ref_frame[0] == ref_frame) { in find_mv_refs_idx() 76 } else if (prev_frame_mvs->ref_frame[1] == ref_frame) { in find_mv_refs_idx() 92 IF_DIFF_REF_FRAME_ADD_MV(candidate_mi, ref_frame, ref_sign_bias, in find_mv_refs_idx() 100 if (prev_frame_mvs->ref_frame[0] != ref_frame && in find_mv_refs_idx() 101 prev_frame_mvs->ref_frame[0] > INTRA_FRAME) { in find_mv_refs_idx() [all …]
|
D | vp9_pred_common.c | 56 ctx = (above_mi->ref_frame[0] == cm->comp_fixed_ref) ^ in vp9_get_reference_mode_context() 57 (left_mi->ref_frame[0] == cm->comp_fixed_ref); in vp9_get_reference_mode_context() 60 ctx = 2 + (above_mi->ref_frame[0] == cm->comp_fixed_ref || in vp9_get_reference_mode_context() 64 ctx = 2 + (left_mi->ref_frame[0] == cm->comp_fixed_ref || in vp9_get_reference_mode_context() 73 ctx = edge_mi->ref_frame[0] == cm->comp_fixed_ref; in vp9_get_reference_mode_context() 110 pred_context = 1 + 2 * (edge_mi->ref_frame[0] != cm->comp_var_ref[1]); in vp9_get_pred_context_comp_ref_p() 113 1 + 2 * (edge_mi->ref_frame[var_ref_idx] != cm->comp_var_ref[1]); in vp9_get_pred_context_comp_ref_p() 118 a_sg ? above_mi->ref_frame[0] : above_mi->ref_frame[var_ref_idx]; in vp9_get_pred_context_comp_ref_p() 120 l_sg ? left_mi->ref_frame[0] : left_mi->ref_frame[var_ref_idx]; in vp9_get_pred_context_comp_ref_p() 155 4 * (edge_mi->ref_frame[var_ref_idx] != cm->comp_var_ref[1]); in vp9_get_pred_context_comp_ref_p() [all …]
|
D | vp9_mvref_common.h | 238 if (ref_sign_bias[mi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { in scale_mv() 262 #define IF_DIFF_REF_FRAME_ADD_MV(mbmi, ref_frame, ref_sign_bias, refmv_count, \ argument 266 if ((mbmi)->ref_frame[0] != (ref_frame)) \ 267 ADD_MV_REF_LIST(scale_mv((mbmi), 0, ref_frame, ref_sign_bias), \ 269 if (has_second_ref(mbmi) && (mbmi)->ref_frame[1] != (ref_frame) && \ 271 ADD_MV_REF_LIST(scale_mv((mbmi), 1, ref_frame, ref_sign_bias), \ 304 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame,
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_pickmode.c | 61 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, in mv_refs_rt() argument 88 if (candidate_mi->ref_frame[0] == ref_frame) in mv_refs_rt() 106 if (candidate_mi->ref_frame[0] == ref_frame) in mv_refs_rt() 122 IF_DIFF_REF_FRAME_ADD_MV(candidate_mi, ref_frame, ref_sign_bias, in mv_refs_rt() 129 ref_frame == LAST_FRAME) { in mv_refs_rt() 145 x->mbmi_ext->mode_context[ref_frame] = counter_to_context[context_counter]; in mv_refs_rt() 164 const int ref = mi->ref_frame[0]; in combined_motion_search() 925 MV_REFERENCE_FRAME ref_frame, PREDICTION_MODE this_mode, unsigned int var_y, in encode_breakout_test() argument 938 if (cpi->use_svc && ref_frame == GOLDEN_FRAME) return; in encode_breakout_test() 990 xd->plane[1].pre[0] = yv12_mb[ref_frame][1]; in encode_breakout_test() [all …]
|
D | vp9_rdopt.c | 61 MV_REFERENCE_FRAME ref_frame[2]; member 65 MV_REFERENCE_FRAME ref_frame[2]; member 173 const int ref = xd->mi[0]->ref_frame[0]; in model_rd_for_sb() 1586 this_mv[0].as_int = seg_mvs[mi->ref_frame[0]].as_int; in set_and_cost_bmi_mvs() 1590 this_mv[1].as_int = seg_mvs[mi->ref_frame[1]].as_int; in set_and_cost_bmi_mvs() 1597 this_mv[0].as_int = frame_mv[mode][mi->ref_frame[0]].as_int; in set_and_cost_bmi_mvs() 1599 this_mv[1].as_int = frame_mv[mode][mi->ref_frame[1]].as_int; in set_and_cost_bmi_mvs() 1617 return cost_mv_ref(cpi, mode, mbmi_ext->mode_context[mi->ref_frame[0]]) + in set_and_cost_bmi_mvs() 1850 const int refs[2] = { mi->ref_frame[0], in joint_motion_search() 1851 mi->ref_frame[1] < 0 ? 0 : mi->ref_frame[1] }; in joint_motion_search() [all …]
|
D | vp9_rd.c | 569 int ref_y_stride, int ref_frame, BLOCK_SIZE block_size) { in vp9_mv_pred() argument 583 pred_mv[0] = x->mbmi_ext->ref_mvs[ref_frame][0].as_mv; in vp9_mv_pred() 584 pred_mv[1] = x->mbmi_ext->ref_mvs[ref_frame][1].as_mv; in vp9_mv_pred() 585 pred_mv[2] = x->pred_mv[ref_frame]; in vp9_mv_pred() 588 near_same_nearest = x->mbmi_ext->ref_mvs[ref_frame][0].as_int == in vp9_mv_pred() 589 x->mbmi_ext->ref_mvs[ref_frame][1].as_int; in vp9_mv_pred() 616 x->mv_best_ref_index[ref_frame] = best_index; in vp9_mv_pred() 617 x->max_mv_context[ref_frame] = max_mv; in vp9_mv_pred() 618 x->pred_mv_sad[ref_frame] = best_sad; in vp9_mv_pred() 656 int ref_frame) { in vp9_get_scaled_ref_frame() argument [all …]
|
D | vp9_svc_layercontext.c | 452 MV_REFERENCE_FRAME ref_frame; in reset_fb_idx_unused() local 456 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ref_frame++) { in reset_fb_idx_unused() 457 if (cpi->ref_frame_flags & flag_list[ref_frame]) { in reset_fb_idx_unused() 458 first_ref = ref_frame; in reset_fb_idx_unused() 459 first_fb_idx = fb_idx[ref_frame - 1]; in reset_fb_idx_unused() 1059 MV_REFERENCE_FRAME ref_frame; in vp9_svc_constrain_inter_layer_pred() local 1062 for (ref_frame = LAST_FRAME; ref_frame <= ALTREF_FRAME; ++ref_frame) { in vp9_svc_constrain_inter_layer_pred() 1063 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, ref_frame); in vp9_svc_constrain_inter_layer_pred() 1064 if (yv12 != NULL && (cpi->ref_frame_flags & flag_list[ref_frame])) { in vp9_svc_constrain_inter_layer_pred() 1066 &cm->frame_refs[ref_frame - 1].sf; in vp9_svc_constrain_inter_layer_pred() [all …]
|
/external/libaom/libaom/av1/common/ |
D | mvref_common.c | 53 mv->ref_frame = NONE_FRAME; in av1_copy_frame_mvs() 57 MV_REFERENCE_FRAME ref_frame = mi->ref_frame[idx]; in av1_copy_frame_mvs() local 58 if (ref_frame > INTRA_FRAME) { in av1_copy_frame_mvs() 59 int8_t ref_idx = cm->ref_frame_side[ref_frame]; in av1_copy_frame_mvs() 64 mv->ref_frame = ref_frame; in av1_copy_frame_mvs() 87 if (candidate->ref_frame[ref] == rf[0]) { in add_ref_mv_candidate() 111 if (candidate->ref_frame[0] == rf[0] && candidate->ref_frame[1] == rf[1]) { in add_ref_mv_candidate() 323 int mi_row, int mi_col, MV_REFERENCE_FRAME ref_frame, in add_tpl_ref_mv() argument 342 av1_set_ref_frame(rf, ref_frame); in add_tpl_ref_mv() 364 mode_context[ref_frame] |= (1 << GLOBALMV_OFFSET); in add_tpl_ref_mv() [all …]
|
D | pred_common.c | 21 MV_REFERENCE_FRAME ref_frame) { in get_ref_filter_type() argument 24 return ((ref_mbmi->ref_frame[0] == ref_frame || in get_ref_filter_type() 25 ref_mbmi->ref_frame[1] == ref_frame) in get_ref_filter_type() 33 (mbmi->ref_frame[1] > INTRA_FRAME) * INTER_FILTER_COMP_OFFSET; in av1_get_pred_context_switchable_interp() 35 const MV_REFERENCE_FRAME ref_frame = mbmi->ref_frame[0]; in av1_get_pred_context_switchable_interp() local 45 left_type = get_ref_filter_type(xd->mi[-1], xd, dir, ref_frame); in av1_get_pred_context_switchable_interp() 49 get_ref_filter_type(xd->mi[-xd->mi_stride], xd, dir, ref_frame); in av1_get_pred_context_switchable_interp() 141 #define CHECK_BACKWARD_REFS(ref_frame) \ argument 142 (((ref_frame) >= BWDREF_FRAME) && ((ref_frame) <= ALTREF_FRAME)) 143 #define IS_BACKWARD_REF_FRAME(ref_frame) CHECK_BACKWARD_REFS(ref_frame) argument [all …]
|
D | mvref_common.h | 172 const int8_t ref_frame = av1_ref_frame_type(rf); in av1_mode_context_analyzer() local 174 if (rf[1] <= INTRA_FRAME) return mode_context[ref_frame]; in av1_mode_context_analyzer() 176 const int16_t newmv_ctx = mode_context[ref_frame] & NEWMV_CTX_MASK; in av1_mode_context_analyzer() 178 (mode_context[ref_frame] >> REFMV_OFFSET) & REFMV_CTX_MASK; in av1_mode_context_analyzer() 220 ref_counts[above_mbmi->ref_frame[0]]++; in av1_collect_neighbors_ref_counts() 222 ref_counts[above_mbmi->ref_frame[1]]++; in av1_collect_neighbors_ref_counts() 228 ref_counts[left_mbmi->ref_frame[0]]++; in av1_collect_neighbors_ref_counts() 230 ref_counts[left_mbmi->ref_frame[1]]++; in av1_collect_neighbors_ref_counts() 243 MB_MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame,
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_decodemv.c | 206 mi->ref_frame[0] = INTRA_FRAME; in read_intra_frame_mode_info() 207 mi->ref_frame[1] = NONE; in read_intra_frame_mode_info() 305 MV_REFERENCE_FRAME ref_frame[2]) { in read_ref_frames() 310 ref_frame[0] = (MV_REFERENCE_FRAME)get_segdata(&cm->seg, segment_id, in read_ref_frames() 312 ref_frame[1] = NONE; in read_ref_frames() 321 ref_frame[idx] = cm->comp_fixed_ref; in read_ref_frames() 322 ref_frame[!idx] = cm->comp_var_ref[bit]; in read_ref_frames() 331 ref_frame[0] = bit1 ? ALTREF_FRAME : GOLDEN_FRAME; in read_ref_frames() 333 ref_frame[0] = LAST_FRAME; in read_ref_frames() 336 ref_frame[1] = NONE; in read_ref_frames() [all …]
|
/external/libaom/libaom/test/ |
D | temporal_filter_planewise_test.cc | 41 const YV12_BUFFER_CONFIG *ref_frame, const MACROBLOCKD *mbd, 135 YV12_BUFFER_CONFIG *ref_frame = in RunTest() local 137 ref_frame->heights[0] = height; in RunTest() 138 ref_frame->strides[0] = stride; in RunTest() 140 ref_frame->buffer_alloc = src; in RunTest() 141 ref_frame->buffers[0] = ref_frame->buffer_alloc; in RunTest() 142 ref_frame->flags = 0; // Only support low bit-depth test. in RunTest() 150 params_.ref_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest() 153 params_.tst_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest() 160 params_.ref_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest() [all …]
|
D | temporal_filter_yuv_test.cc | 30 const YV12_BUFFER_CONFIG *ref_frame, const MACROBLOCKD *mbd, 423 YV12_BUFFER_CONFIG *ref_frame = in ApplyTestFilter() local 425 ref_frame->strides[0] = y_pre_stride; in ApplyTestFilter() 426 ref_frame->strides[1] = uv_pre_stride; in ApplyTestFilter() 429 ref_frame->buffer_alloc = src; in ApplyTestFilter() 430 ref_frame->buffers[0] = ref_frame->buffer_alloc + 0 * mb_pels; in ApplyTestFilter() 431 ref_frame->buffers[1] = ref_frame->buffer_alloc + 1 * mb_pels; in ApplyTestFilter() 432 ref_frame->buffers[2] = ref_frame->buffer_alloc + 2 * mb_pels; in ApplyTestFilter() 433 ref_frame->flags = bd_ > 8 ? YV12_FLAG_HIGHBITDEPTH : 0; in ApplyTestFilter() 460 filter_func_(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in ApplyTestFilter() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | nonrd_pickmode.c | 57 MV_REFERENCE_FRAME ref_frame; member 129 const int ref = mi->ref_frame[0]; in combined_motion_search() 197 MV_REFERENCE_FRAME ref_frame, int gf_temporal_ref, in search_new_mv() argument 203 if (ref_frame > LAST_FRAME && gf_temporal_ref && in search_new_mv() 213 &x->mbmi_ext->ref_mv_stack[ref_frame][0].this_mv.as_mv); in search_new_mv() 218 frame_mv[NEWMV][ref_frame].as_int = mi->mv[0].as_int; in search_new_mv() 225 av1_mv_bit_cost(&frame_mv[NEWMV][ref_frame].as_mv, &ref_mv, in search_new_mv() 227 frame_mv[NEWMV][ref_frame].as_mv.row >>= 3; in search_new_mv() 228 frame_mv[NEWMV][ref_frame].as_mv.col >>= 3; in search_new_mv() 236 &x->pred_sse[ref_frame], NULL); in search_new_mv() [all …]
|
D | rdopt.c | 317 MV_REFERENCE_FRAME ref_frame; member 749 int ref_frame; in estimate_ref_frame_costs() local 750 for (ref_frame = 0; ref_frame < REF_FRAMES; ++ref_frame) in estimate_ref_frame_costs() 751 memset(ref_costs_comp[ref_frame], 0, in estimate_ref_frame_costs() 909 av1_ref_frame_type(xd->mi[0]->ref_frame)); in store_coding_context() 916 const AV1_COMP *const cpi, MACROBLOCK *x, MV_REFERENCE_FRAME ref_frame, in setup_buffer_ref_mvs_inter() argument 921 av1_get_scaled_ref_frame(cpi, ref_frame); in setup_buffer_ref_mvs_inter() 926 get_ref_scale_factors_const(cm, ref_frame); in setup_buffer_ref_mvs_inter() 927 const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_yv12_buf(cm, ref_frame); in setup_buffer_ref_mvs_inter() 933 av1_setup_pred_block(xd, yv12_mb[ref_frame], scaled_ref_frame, NULL, NULL, in setup_buffer_ref_mvs_inter() [all …]
|
D | rdopt.h | 153 MV_REFERENCE_FRAME ref_frame) { in av1_copy_usable_ref_mv_stack_and_weight() argument 154 memcpy(mbmi_ext->weight[ref_frame], xd->weight[ref_frame], in av1_copy_usable_ref_mv_stack_and_weight() 156 memcpy(mbmi_ext->ref_mv_stack[ref_frame], xd->ref_mv_stack[ref_frame], in av1_copy_usable_ref_mv_stack_and_weight() 162 static INLINE int prune_ref(const MV_REFERENCE_FRAME *const ref_frame, in prune_ref() argument 170 if (ref_frame[0] == ref_frame_list[i] || in prune_ref() 171 ref_frame[1] == ref_frame_list[i]) { in prune_ref() 184 const MV_REFERENCE_FRAME *const ref_frame, in prune_ref_by_selective_ref_frame() argument 191 const int comp_pred = ref_frame[1] > INTRA_FRAME; in prune_ref_by_selective_ref_frame() 202 if (prune_ref(ref_frame, order_hint_info, ref_display_order_hint, in prune_ref_by_selective_ref_frame() 216 if (prune_ref(ref_frame, order_hint_info, ref_display_order_hint, in prune_ref_by_selective_ref_frame()
|
D | bitstream.c | 491 assert(mbmi->ref_frame[0] == in write_ref_frames() 496 assert(mbmi->ref_frame[0] == LAST_FRAME); in write_ref_frames() 516 const int bit = mbmi->ref_frame[0] == BWDREF_FRAME; in write_ref_frames() 520 assert(mbmi->ref_frame[0] == LAST_FRAME); in write_ref_frames() 521 const int bit1 = mbmi->ref_frame[1] == LAST3_FRAME || in write_ref_frames() 522 mbmi->ref_frame[1] == GOLDEN_FRAME; in write_ref_frames() 525 const int bit2 = mbmi->ref_frame[1] == GOLDEN_FRAME; in write_ref_frames() 529 assert(mbmi->ref_frame[1] == ALTREF_FRAME); in write_ref_frames() 537 const int bit = (mbmi->ref_frame[0] == GOLDEN_FRAME || in write_ref_frames() 538 mbmi->ref_frame[0] == LAST3_FRAME); in write_ref_frames() [all …]
|
/external/webrtc/audio/ |
D | remix_resample_unittest.cc | 108 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { in VerifyParams() argument 109 EXPECT_EQ(ref_frame.num_channels_, test_frame.num_channels_); in VerifyParams() 110 EXPECT_EQ(ref_frame.samples_per_channel_, test_frame.samples_per_channel_); in VerifyParams() 111 EXPECT_EQ(ref_frame.sample_rate_hz_, test_frame.sample_rate_hz_); in VerifyParams() 117 float ComputeSNR(const AudioFrame& ref_frame, in ComputeSNR() argument 120 VerifyParams(ref_frame, test_frame); in ComputeSNR() 126 const int16_t* ref_frame_data = ref_frame.data(); in ComputeSNR() 129 i < ref_frame.samples_per_channel_ * ref_frame.num_channels_ - delay; in ComputeSNR() 147 void VerifyFramesAreEqual(const AudioFrame& ref_frame, in VerifyFramesAreEqual() argument 149 VerifyParams(ref_frame, test_frame); in VerifyFramesAreEqual() [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 198 uint8_t ref_frame_type = av1_ref_frame_type(mbmi->ref_frame); in read_drl_idx() 790 mbmi->ref_frame[0] = INTRA_FRAME; in read_intra_frame_mode_info() 791 mbmi->ref_frame[1] = NONE_FRAME; in read_intra_frame_mode_info() 924 MV_REFERENCE_FRAME ref_frame[2]) { in set_ref_frames_for_skip_mode() 925 ref_frame[0] = LAST_FRAME + cm->current_frame.skip_mode_info.ref_frame_idx_0; in set_ref_frames_for_skip_mode() 926 ref_frame[1] = LAST_FRAME + cm->current_frame.skip_mode_info.ref_frame_idx_1; in set_ref_frames_for_skip_mode() 932 MV_REFERENCE_FRAME ref_frame[2]) { in read_ref_frames() 934 set_ref_frames_for_skip_mode(cm, ref_frame); in read_ref_frames() 939 ref_frame[0] = (MV_REFERENCE_FRAME)get_segdata(&cm->seg, segment_id, in read_ref_frames() 941 ref_frame[1] = NONE_FRAME; in read_ref_frames() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | vp8_loopfilter.c | 184 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_normal() local 186 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_normal() 235 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_row_simple() local 237 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_row_simple() 300 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_frame() local 302 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame() 350 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_frame() local 352 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame() 421 const int ref_frame = mode_info_context->mbmi.ref_frame; in vp8_loop_filter_frame_yonly() local 423 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; in vp8_loop_filter_frame_yonly() [all …]
|
D | findnearmv.c | 40 if (above->mbmi.ref_frame != INTRA_FRAME) { in vp8_find_near_mvs() 43 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, in vp8_find_near_mvs() 52 if (left->mbmi.ref_frame != INTRA_FRAME) { in vp8_find_near_mvs() 57 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, in vp8_find_near_mvs() 72 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) { in vp8_find_near_mvs() 77 mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, in vp8_find_near_mvs()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mr_dissim.c | 32 if (x->mbmi.ref_frame != INTRA_FRAME) { \ 39 if (x->mbmi.ref_frame != INTRA_FRAME) { \ 42 if (cm->ref_frame_sign_bias[x->mbmi.ref_frame] != \ 43 cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) { \ 87 if (tmp->mbmi.ref_frame != INTRA_FRAME) { in vp8_cal_dissimilarity() 185 store_mode_info->ref_frame = tmp->mbmi.ref_frame; in vp8_cal_dissimilarity()
|
/external/webrtc/common_video/libyuv/ |
D | webrtc_libyuv.cc | 271 double I420APSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420APSNR() argument 272 if (!ref_frame || !test_frame) in I420APSNR() 274 RTC_DCHECK(ref_frame->video_frame_buffer()->type() == in I420APSNR() 278 return I420APSNR(*ref_frame->video_frame_buffer()->GetI420A(), in I420APSNR() 306 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420PSNR() argument 307 if (!ref_frame || !test_frame) in I420PSNR() 309 return I420PSNR(*ref_frame->video_frame_buffer()->ToI420(), in I420PSNR() 337 double I420ASSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame) { in I420ASSIM() argument 338 if (!ref_frame || !test_frame) in I420ASSIM() 340 RTC_DCHECK(ref_frame->video_frame_buffer()->type() == in I420ASSIM() [all …]
|
/external/libvpx/libvpx/vp8/decoder/ |
D | decodemv.c | 46 mi->mbmi.ref_frame = INTRA_FRAME; in read_kf_modes() 286 mbmi->ref_frame = (MV_REFERENCE_FRAME)vp8_read(bc, pbi->prob_intra); in read_mb_modes_mv() 287 if (mbmi->ref_frame) { /* inter MB */ in read_mb_modes_mv() 302 mbmi->ref_frame = in read_mb_modes_mv() 311 if (above->mbmi.ref_frame != INTRA_FRAME) { in read_mb_modes_mv() 314 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], mbmi->ref_frame, in read_mb_modes_mv() 323 if (left->mbmi.ref_frame != INTRA_FRAME) { in read_mb_modes_mv() 328 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], mbmi->ref_frame, in read_mb_modes_mv() 343 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) { in read_mb_modes_mv() 348 mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], mbmi->ref_frame, in read_mb_modes_mv()
|
D | error_concealment.c | 303 if (prev_mi->mbmi.ref_frame == LAST_FRAME) { in estimate_missing_mvs() 326 mi->mbmi.ref_frame = LAST_FRAME; in estimate_missing_mvs() 347 assert(mi->mbmi.ref_frame < MAX_REF_FRAMES); in assign_neighbor() 348 neighbor->ref_frame = mi->mbmi.ref_frame; in assign_neighbor() 440 if (neighbors[i].ref_frame != dom_ref_frame) continue; in interpolate_mvs() 468 neighbors[i].ref_frame = MAX_REF_FRAMES; in vp8_interpolate_motion() 477 mb->mode_info_context->mbmi.ref_frame = LAST_FRAME; in vp8_interpolate_motion()
|