Searched refs:s_mask (Results 1 – 7 of 7) sorted by relevance
/external/libvpx/libvpx/vpx_dsp/ |
D | psnrhvs.c | 176 double s_mask = 0; in calc_psnrhvs() local 231 s_mask += dct_s_coef[i * 8 + j] * dct_s_coef[i * 8 + j] * mask[i][j]; in calc_psnrhvs() 235 s_mask = sqrt(s_mask * s_gvar) / 32.f; in calc_psnrhvs() 237 if (d_mask > s_mask) s_mask = d_mask; in calc_psnrhvs() 243 err = err < s_mask / mask[i][j] ? 0 : err - s_mask / mask[i][j]; in calc_psnrhvs()
|
/external/libaom/libaom/aom_dsp/ |
D | psnrhvs.c | 182 double s_mask = 0; in calc_psnrhvs() local 222 s_mask += dct_s_coef[i * 8 + j] * dct_s_coef[i * 8 + j] * mask[i][j]; in calc_psnrhvs() 223 s_mask = sqrt(s_mask * s_gvar) / 8.f; in calc_psnrhvs() 229 err = err < s_mask / mask[i][j] ? 0 : err - s_mask / mask[i][j]; in calc_psnrhvs()
|
/external/aac/libAACdec/src/ |
D | aacdec_tns.cpp | 205 UCHAR coef, s_mask; in CTns_Read() local 218 s_mask = sgn_mask[coef_res + 1 - coef_compress]; in CTns_Read() 223 filter->Coeff[i] = (coef & s_mask) ? (coef | n_mask) : coef; in CTns_Read()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_fs.c | 415 LLVMValueRef s_mask = LLVMBuildLoad(builder, s_mask_ptr, ""); in lp_build_sample_alpha_to_coverage() local 416 s_mask = LLVMBuildAnd(builder, s_mask, test, ""); in lp_build_sample_alpha_to_coverage() 417 LLVMBuildStore(builder, s_mask, s_mask_ptr); in lp_build_sample_alpha_to_coverage() 716 LLVMValueRef s_mask = lp_build_pointer_get(builder, mask_store, s_mask_idx); in generate_fs_loop() local 718 mask_val = s_mask; in generate_fs_loop() 720 mask_val = LLVMBuildOr(builder, s_mask, mask_val, ""); in generate_fs_loop() 722 …LLVMValueRef mask_in = LLVMBuildAnd(builder, s_mask, lp_build_const_int_vec(gallivm, type, (1 << s… in generate_fs_loop() 750 LLVMValueRef s_mask = NULL, s_mask_ptr = NULL; in generate_fs_loop() local 790 s_mask = LLVMBuildLoad(builder, s_mask_ptr, ""); in generate_fs_loop() 791 s_mask = LLVMBuildAnd(builder, s_mask, mask_val, ""); in generate_fs_loop() [all …]
|
D | lp_bld_depth.c | 931 unsigned s_shift, s_mask; in lp_build_depth_stencil_test() local 937 have_s = get_s_shift_and_mask(format_desc, &s_shift, &s_mask); in lp_build_depth_stencil_test() 964 if (s_mask != 0xffffffff) { in lp_build_depth_stencil_test() 965 LLVMValueRef mask = lp_build_const_int_vec(gallivm, s_type, s_mask); in lp_build_depth_stencil_test()
|
/external/libxaac/decoder/ |
D | ixheaacd_spectrum_dec.c | 86 WORD16 *sp, tmp, s_mask, n_mask; in ixheaacd_read_tns_u() local 131 s_mask = sgn_mask[resolution - 2]; in ixheaacd_read_tns_u() 137 *sp++ = (tmp & s_mask) ? (tmp | n_mask) : tmp; in ixheaacd_read_tns_u()
|
/external/vixl/test/aarch64/ |
D | test-assembler-sve-aarch64.cc | 2349 uint64_t s_mask = GetUintMask(kSRegSize); in TEST_SVE() local 2360 ASSERT_EQUAL_SVE_LANE((2 + i) & s_mask, z2.VnS(), i); in TEST_SVE() 2374 ASSERT_EQUAL_SVE_LANE((42 + (42 * i)) & s_mask, z6.VnS(), i); in TEST_SVE() 2391 ASSERT_EQUAL_SVE_LANE((42 - (3 * i)) & s_mask, z14.VnS(), i); in TEST_SVE()
|