Home
last modified time | relevance | path

Searched refs:s_mask (Results 1 – 5 of 5) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dpsnrhvs.c168 double s_mask = 0; in calc_psnrhvs() local
220 s_mask += dct_s_coef[i * 8 + j] * dct_s_coef[i * 8 + j] * mask[i][j]; in calc_psnrhvs()
224 s_mask = sqrt(s_mask * s_gvar) / 32.f; in calc_psnrhvs()
226 if (d_mask > s_mask) s_mask = d_mask; in calc_psnrhvs()
232 err = err < s_mask / mask[i][j] ? 0 : err - s_mask / mask[i][j]; in calc_psnrhvs()
/external/libvpx/libvpx/vpx_dsp/
Dpsnrhvs.c172 double s_mask = 0; in calc_psnrhvs() local
227 s_mask += dct_s_coef[i * 8 + j] * dct_s_coef[i * 8 + j] * mask[i][j]; in calc_psnrhvs()
231 s_mask = sqrt(s_mask * s_gvar) / 32.f; in calc_psnrhvs()
233 if (d_mask > s_mask) s_mask = d_mask; in calc_psnrhvs()
239 err = err < s_mask / mask[i][j] ? 0 : err - s_mask / mask[i][j]; in calc_psnrhvs()
/external/aac/libAACdec/src/
Daacdec_tns.cpp205 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/libxaac/decoder/
Dixheaacd_spectrum_dec.c91 WORD16 *sp, tmp, s_mask, n_mask; in ixheaacd_read_tns_u() local
135 s_mask = sgn_mask[resolution - 2]; in ixheaacd_read_tns_u()
141 *sp++ = (tmp & s_mask) ? (tmp | n_mask) : tmp; in ixheaacd_read_tns_u()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c921 unsigned s_shift, s_mask; in lp_build_depth_stencil_test() local
927 have_s = get_s_shift_and_mask(format_desc, &s_shift, &s_mask); in lp_build_depth_stencil_test()
954 if (s_mask != 0xffffffff) { in lp_build_depth_stencil_test()
955 LLVMValueRef mask = lp_build_const_int_vec(gallivm, s_type, s_mask); in lp_build_depth_stencil_test()