Home
last modified time | relevance | path

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

/external/aac/libFDK/src/
Dnlc_dec.cpp113 int sum_val = data[0] + data[1]; in sym_restoreIPD() local
116 if (sum_val > lav) { in sym_restoreIPD()
117 data[0] = -sum_val + (2 * lav + 1); in sym_restoreIPD()
120 data[0] = sum_val; in sym_restoreIPD()
276 int sum_val = data[0] + data[1]; in sym_restore() local
279 if (sum_val > lav) { in sym_restore()
280 data[0] = -sum_val + (2 * lav + 1); in sym_restore()
283 data[0] = sum_val; in sym_restore()
/external/aac/libSACenc/src/
Dsacenc_nlc_enc.cpp202 int sum_val = data[0] + data[1]; in sym_check() local
206 if (sum_val != 0) { in sym_check()
207 int sum_neg = (sum_val < 0) ? 1 : 0; in sym_check()
209 sum_val = -sum_val; in sym_check()
229 if (sum_val % 2) { in sym_check()
230 data[0] = lav - sum_val / 2; in sym_check()
233 data[0] = sum_val / 2; in sym_check()
/external/libxaac/decoder/
Dixheaacd_mps_dec.c461 WORD32 sum_val = data[0] + data[1]; in ixheaacd_mps_sym_restore() local
464 if (sum_val > lav) { in ixheaacd_mps_sym_restore()
465 data[0] = -sum_val + (2 * lav + 1); in ixheaacd_mps_sym_restore()
468 data[0] = sum_val; in ixheaacd_mps_sym_restore()
497 WORD32 sum_val = data[0] + data[1]; in ixheaacd_mps_sym_restoreipd() local
500 if (sum_val > lav) { in ixheaacd_mps_sym_restoreipd()
501 data[0] = -sum_val + (2 * lav + 1); in ixheaacd_mps_sym_restoreipd()
504 data[0] = sum_val; in ixheaacd_mps_sym_restoreipd()
/external/libhevc/common/arm/
Dihevc_resi_trans_neon_32x32.c113 int32x4_t sum_val = vdupq_n_s32(0); in ihevc_resi_trans_32x32_neon() local
171 sum_val = vaddq_s32(sum_val,vpaddlq_s16(abs)); in ihevc_resi_trans_32x32_neon()
1034 tmp_a = vpaddlq_s32(sum_val); in ihevc_resi_trans_32x32_neon()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c564 int sum_val = 0; in fp_estimate_point_noise() local
584 sum_val += (int)tmp_ptr[j] * (int)*kernal_ptr; in fp_estimate_point_noise()
593 dn_val = (sum_val + (sum_weight >> 1)) / sum_weight; in fp_estimate_point_noise()
605 int sum_val = 0; in fp_highbd_estimate_point_noise() local
627 sum_val += (int)tmp_ptr16[j] * (int)*kernal_ptr; in fp_highbd_estimate_point_noise()
636 dn_val = (sum_val + (sum_weight >> 1)) / sum_weight; in fp_highbd_estimate_point_noise()
Dvp9_encoder.c4701 uint8_t point_weight, int *sum_val, argument
4705 *sum_val += (int)data_val * (int)point_weight;
4712 int sum_val = 0; local
4743 &sum_val, &sum_weight);
4750 *src_ptr = (uint8_t)((sum_val + (sum_weight >> 1)) / sum_weight);
4757 int sum_val = 0; local
4788 &sum_val, &sum_weight);
4795 *src_ptr = (uint16_t)((sum_val + (sum_weight >> 1)) / sum_weight);
/external/tensorflow/tensorflow/python/distribute/
Dtpu_strategy_test.py451 sum_val = train_step().numpy().astype(float)
452 self.assertEqual(sum_val, strategy.num_replicas_in_sync * 10)