/external/libvpx/libvpx/vp9/common/ |
vp9_mvref_common.c | 17 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, 47 if (candidate->ref_frame[0] == ref_frame) 50 else if (candidate->ref_frame[1] == ref_frame) 66 if (candidate->ref_frame[0] == ref_frame) 68 else if (candidate->ref_frame[1] == ref_frame) 90 if (prev_frame_mvs->ref_frame[0] == ref_frame) [all...] |
vp9_pred_common.c | 78 ctx = (above_mbmi->ref_frame[0] == cm->comp_fixed_ref) ^ 79 (left_mbmi->ref_frame[0] == cm->comp_fixed_ref); 82 ctx = 2 + (above_mbmi->ref_frame[0] == cm->comp_fixed_ref || 86 ctx = 2 + (left_mbmi->ref_frame[0] == cm->comp_fixed_ref || 95 ctx = edge_mbmi->ref_frame[0] == cm->comp_fixed_ref; 132 pred_context = 1 + 2 * (edge_mbmi->ref_frame[0] != cm->comp_var_ref[1]); 134 pred_context = 1 + 2 * (edge_mbmi->ref_frame[var_ref_idx] 139 const MV_REFERENCE_FRAME vrfa = a_sg ? above_mbmi->ref_frame[0] 140 : above_mbmi->ref_frame[var_ref_idx]; 141 const MV_REFERENCE_FRAME vrfl = l_sg ? left_mbmi->ref_frame[0 [all...] |
vp9_mvref_common.h | 151 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 175 #define IF_DIFF_REF_FRAME_ADD_MV(mbmi, ref_frame, ref_sign_bias, refmv_count, \ 179 if ((mbmi)->ref_frame[0] != ref_frame) \ 180 ADD_MV_REF_LIST(scale_mv((mbmi), 0, ref_frame, ref_sign_bias), \ 183 (mbmi)->ref_frame[1] != ref_frame && \ 185 ADD_MV_REF_LIST(scale_mv((mbmi), 1, ref_frame, ref_sign_bias), \ 212 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_pred_common.c | 84 ctx = (above_mbmi->ref_frame[0] == cm->comp_fixed_ref) ^ 85 (left_mbmi->ref_frame[0] == cm->comp_fixed_ref); 88 ctx = 2 + (above_mbmi->ref_frame[0] == cm->comp_fixed_ref || 92 ctx = 2 + (left_mbmi->ref_frame[0] == cm->comp_fixed_ref || 101 ctx = edge_mbmi->ref_frame[0] == cm->comp_fixed_ref; 138 pred_context = 1 + 2 * (edge_mbmi->ref_frame[0] != cm->comp_var_ref[1]); 140 pred_context = 1 + 2 * (edge_mbmi->ref_frame[var_ref_idx] 145 const MV_REFERENCE_FRAME vrfa = a_sg ? above_mbmi->ref_frame[0] 146 : above_mbmi->ref_frame[var_ref_idx]; 147 const MV_REFERENCE_FRAME vrfl = l_sg ? left_mbmi->ref_frame[0 [all...] |
vp9_mvref_common.c | 141 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 168 if ((mbmi)->ref_frame[0] != ref_frame) \ 169 ADD_MV_REF_LIST(scale_mv((mbmi), 0, ref_frame, ref_sign_bias)); \ 171 (mbmi)->ref_frame[1] != ref_frame && \ 173 ADD_MV_REF_LIST(scale_mv((mbmi), 1, ref_frame, ref_sign_bias)); \ 193 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, 225 if (candidate->ref_frame[0] == ref_frame) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_pickmode.c | 39 int ref = mbmi->ref_frame[0]; 140 int ref = mbmi->ref_frame[0]; 214 MV_REFERENCE_FRAME ref_frame, best_ref_frame = LAST_FRAME; local 248 mbmi->ref_frame[0] = NONE; 249 mbmi->ref_frame[1] = NONE; 257 for (ref_frame = LAST_FRAME; ref_frame <= LAST_FRAME ; ++ref_frame) { 258 x->pred_mv_sad[ref_frame] = INT_MAX; 259 if (cpi->ref_frame_flags & flag_list[ref_frame]) { [all...] |
vp9_rdopt.c | 60 MV_REFERENCE_FRAME ref_frame[2]; member in struct:__anon30260 64 MV_REFERENCE_FRAME ref_frame[2]; member in struct:__anon30261 435 const int ref = xd->mi[0]->mbmi.ref_frame[0]; 3134 MV_REFERENCE_FRAME ref_frame, second_ref_frame; local 3764 MV_REFERENCE_FRAME ref_frame, second_ref_frame; local [all...] |
/external/webrtc/webrtc/common_video/libyuv/ |
webrtc_libyuv.cc | 295 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame) { 296 if (!ref_frame || !test_frame) 298 else if ((ref_frame->width() != test_frame->width()) || 299 (ref_frame->height() != test_frame->height())) 301 else if (ref_frame->width() < 0 || ref_frame->height() < 0) 304 double psnr = libyuv::I420Psnr(ref_frame->buffer(kYPlane), 305 ref_frame->stride(kYPlane), 306 ref_frame->buffer(kUPlane), 307 ref_frame->stride(kUPlane) [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
ec_types.h | 51 MV_REFERENCE_FRAME ref_frame; member in struct:__anon16531
|
/external/webrtc/webrtc/voice_engine/ |
utility_unittest.cc | 82 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { 83 EXPECT_EQ(ref_frame.num_channels_, test_frame.num_channels_); 84 EXPECT_EQ(ref_frame.samples_per_channel_, test_frame.samples_per_channel_); 85 EXPECT_EQ(ref_frame.sample_rate_hz_, test_frame.sample_rate_hz_); 88 // Computes the best SNR based on the error between |ref_frame| and 91 float ComputeSNR(const AudioFrame& ref_frame, const AudioFrame& test_frame, 93 VerifyParams(ref_frame, test_frame); 99 for (size_t i = 0; i < ref_frame.samples_per_channel_ * 100 ref_frame.num_channels_ - delay; i++) { 101 int error = ref_frame.data_[i] - test_frame.data_[i + delay] [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/ |
ec_types.h | 51 MV_REFERENCE_FRAME ref_frame; member in struct:__anon30166
|
/external/webrtc/webrtc/tools/psnr_ssim_analyzer/ |
psnr_ssim_analyzer.cc | 38 uint8_t* ref_frame = new uint8_t[size]; local 44 reference_file_name, width, height, frame_counter, ref_frame): 46 height, frame_counter, ref_frame); 55 webrtc::test::kPSNR, ref_frame, test_frame, width, height); 57 webrtc::test::kSSIM, ref_frame, test_frame, width, height); 62 delete[] ref_frame;
|
/external/libvpx/libvpx/vp8/encoder/ |
segmentation.c | 43 if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == ALTREF_FRAME))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
segmentation.c | 43 if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == ALTREF_FRAME))
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_pickmode.c | 46 MODE_INFO *mi, MV_REFERENCE_FRAME ref_frame, 74 if (candidate->ref_frame[0] == ref_frame) 92 if (candidate->ref_frame[0] == ref_frame) 108 IF_DIFF_REF_FRAME_ADD_MV(candidate, ref_frame, ref_sign_bias, 116 x->mbmi_ext->mode_context[ref_frame] = counter_to_context[context_counter]; 135 const int ref = mbmi->ref_frame[0]; 776 MV_REFERENCE_FRAME ref_frame, 833 xd->plane[1].pre[0] = yv12_mb[ref_frame][1] 1045 MV_REFERENCE_FRAME ref_frame; member in struct:__anon16620 1084 MV_REFERENCE_FRAME ref_frame, best_ref_frame = LAST_FRAME; local 1683 MV_REFERENCE_FRAME ref_frame, second_ref_frame = NONE; local [all...] |
vp9_rdopt.c | 59 MV_REFERENCE_FRAME ref_frame[2]; member in struct:__anon16629 63 MV_REFERENCE_FRAME ref_frame[2]; member in struct:__anon16630 168 const int ref = xd->mi[0]->mbmi.ref_frame[0]; 2959 MV_REFERENCE_FRAME ref_frame, second_ref_frame; local 3737 MV_REFERENCE_FRAME ref_frame, second_ref_frame; local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
viddec_vc1_workload.c | 116 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = intcomp1; 125 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = intcomp1; 140 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_bot = intcomp1; 158 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_bot = intcomp1; 169 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_bot = intcomp2; 176 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = intcomp2; 186 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = intcomp1; 193 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_bot = intcomp1; 224 if(parser->ref_frame[VC1_REF_FRAME_T_MINUS_1].fcm == VC1_FCM_FIELD_INTERLACE) 232 parser->ref_frame[VC1_REF_FRAME_T_MINUS_0].intcomp_top = spr->intcomp_fwd_top [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
mix_vbp_h264_stubs.c | 353 wi.ref_frame.reference_id = pInfo->dpb.frame_id_need_to_be_displayed[i]; 354 wi.ref_frame.luma_phys_addr = 0; 355 wi.ref_frame.chroma_phys_addr = 0; 375 wi.ref_frame.reference_id = pInfo->dpb.frame_id_need_to_be_removed[i]; 376 wi.ref_frame.luma_phys_addr = 0; 377 wi.ref_frame.chroma_phys_addr = 0; 397 wi.ref_frame.reference_id = pInfo->dpb.frame_id_need_to_be_dropped[i]; 398 wi.ref_frame.luma_phys_addr = 0; 399 wi.ref_frame.chroma_phys_addr = 0; 422 wi.ref_frame.reference_id = fs_id [all...] |
/external/libvpx/libvpx/vp8/common/ |
findnearmv.c | 49 if (above->mbmi.ref_frame != INTRA_FRAME) 54 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, ref_frame_sign_bias); 62 if (left->mbmi.ref_frame != INTRA_FRAME) 69 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 84 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) 91 mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias);
|
vp8_loopfilter.c | 216 const int ref_frame = mode_info_context->mbmi.ref_frame; local 218 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; 273 const int ref_frame = mode_info_context->mbmi.ref_frame; local 275 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; 348 const int ref_frame = mode_info_context->mbmi.ref_frame; local 350 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; 404 const int ref_frame = mode_info_context->mbmi.ref_frame local 490 const int ref_frame = mode_info_context->mbmi.ref_frame; local 606 const int ref_frame = mode_info_context->mbmi.ref_frame; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
findnearmv.c | 49 if (above->mbmi.ref_frame != INTRA_FRAME) 54 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, ref_frame_sign_bias); 62 if (left->mbmi.ref_frame != INTRA_FRAME) 69 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 84 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) 91 mv_bias(ref_frame_sign_bias[aboveleft->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias);
|
loopfilter.c | 218 const int ref_frame = mode_info_context->mbmi.ref_frame; local 220 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; 275 const int ref_frame = mode_info_context->mbmi.ref_frame; local 277 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; 350 const int ref_frame = mode_info_context->mbmi.ref_frame; local 352 filter_level = lfi_n->lvl[seg][ref_frame][mode_index]; 406 const int ref_frame = mode_info_context->mbmi.ref_frame local 492 const int ref_frame = mode_info_context->mbmi.ref_frame; local 608 const int ref_frame = mode_info_context->mbmi.ref_frame; local [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_vertex_buffers.h | 128 struct pipe_vertex_buffer vl_vb_get_mv(struct vl_vertex_buffer *buffer, int ref_frame); 132 struct vl_motionvector *vl_vb_get_mv_stream(struct vl_vertex_buffer *buffer, int ref_frame);
|
/external/webrtc/webrtc/common_video/libyuv/include/ |
webrtc_libyuv.h | 152 double I420PSNR(const VideoFrame* ref_frame, const VideoFrame* test_frame); 154 double I420SSIM(const VideoFrame* ref_frame, const VideoFrame* test_frame);
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
viddec_fw_mp4_workload.c | 95 viddec_fw_mp4_set_past_field_frame(&vop_info, parser->ref_frame[VIDDEC_MP4_INDX_2].is_field); 97 viddec_fw_mp4_set_future_field_frame(&vop_info, parser->ref_frame[VIDDEC_MP4_INDX_1].is_field); 99 viddec_fw_mp4_set_current_field_frame(&vop_info, parser->ref_frame[VIDDEC_MP4_INDX_0].is_field); 282 wi.ref_frame.reference_id = 0; 283 wi.ref_frame.luma_phys_addr = 0; 284 wi.ref_frame.chroma_phys_addr = 0; 296 wi.ref_frame.reference_id = 0; 297 wi.ref_frame.luma_phys_addr = 0; 298 wi.ref_frame.chroma_phys_addr = 0; 359 parser->ref_frame[VIDDEC_MP4_INDX_2] = parser->ref_frame[VIDDEC_MP4_INDX_1] [all...] |