Lines Matching refs:sam
1148 int32_t sam, tmp; in decorr_stereo() local
1150 sam = dpp->samplesA[0]; in decorr_stereo()
1152 out_left[0] = tmp = (dpp->samplesA[1] = in_left[0]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo()
1153 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo()
1156 sam = dpp->samplesB[0]; in decorr_stereo()
1158 out_right[0] = tmp = (dpp->samplesB[1] = in_right[0]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo()
1159 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo()
1170 int32_t sam, tmp; in decorr_stereo() local
1172 sam = 2 * dpp->samplesA[0] - dpp->samplesA[1]; in decorr_stereo()
1174 out_left[0] = tmp = (dpp->samplesA[0] = in_left[0]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo()
1175 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo()
1178 sam = 2 * dpp->samplesB[0] - dpp->samplesB[1]; in decorr_stereo()
1180 … out_right[0] = tmp = (dpp->samplesB[0] = in_right[0]) - APPLY_WEIGHT (dpp->weightB, sam); in decorr_stereo()
1181 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo()
1192 int32_t sam, tmp; in decorr_stereo() local
1194 sam = dpp->samplesA[0] + ((dpp->samplesA[0] - dpp->samplesA[1]) >> 1); in decorr_stereo()
1196 out_left[0] = tmp = (dpp->samplesA[0] = in_left[0]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo()
1197 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo()
1200 sam = dpp->samplesB[0] + ((dpp->samplesB[0] - dpp->samplesB[1]) >> 1); in decorr_stereo()
1202 out_right[0] = tmp = (dpp->samplesB[0] = in_right[0]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo()
1203 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo()
1216 int32_t sam, tmp; in decorr_stereo() local
1218 sam = dpp->samplesA[m]; in decorr_stereo()
1219 out_left[0] = tmp = (dpp->samplesA[k] = in_left[0]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo()
1220 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo()
1223 sam = dpp->samplesB[m]; in decorr_stereo()
1224 out_right[0] = tmp = (dpp->samplesB[k] = in_right[0]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo()
1225 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo()
1376 int32_t sam, tmp; in decorr_stereo_quick() local
1378 sam = dpp->samplesA[0]; in decorr_stereo_quick()
1380 out_left[i] = tmp = (dpp->samplesA[1] = in_left[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_quick()
1381 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_quick()
1383 sam = dpp->samplesB[0]; in decorr_stereo_quick()
1385 … out_right[i] = tmp = (dpp->samplesB[1] = in_right[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_quick()
1386 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_quick()
1391 int32_t sam, tmp; in decorr_stereo_quick() local
1393 sam = 2 * dpp->samplesA[0] - dpp->samplesA[1]; in decorr_stereo_quick()
1395 out_left[i] = tmp = (dpp->samplesA[0] = in_left[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_quick()
1396 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_quick()
1398 sam = 2 * dpp->samplesB[0] - dpp->samplesB[1]; in decorr_stereo_quick()
1400 … out_right[i] = tmp = (dpp->samplesB[0] = in_right[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_quick()
1401 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_quick()
1406 int32_t sam, tmp; in decorr_stereo_quick() local
1408 sam = dpp->samplesA[0] + ((dpp->samplesA[0] - dpp->samplesA[1]) >> 1); in decorr_stereo_quick()
1410 out_left[i] = tmp = (dpp->samplesA[0] = in_left[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_quick()
1411 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_quick()
1413 sam = dpp->samplesB[0] + ((dpp->samplesB[0] - dpp->samplesB[1]) >> 1); in decorr_stereo_quick()
1415 … out_right[i] = tmp = (dpp->samplesB[0] = in_right[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_quick()
1416 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_quick()
1423 int32_t sam, tmp; in decorr_stereo_quick() local
1425 sam = dpp->samplesA[m]; in decorr_stereo_quick()
1426 out_left[i] = tmp = (dpp->samplesA[k] = in_left[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_quick()
1427 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_quick()
1429 sam = dpp->samplesB[m]; in decorr_stereo_quick()
1430 … out_right[i] = tmp = (dpp->samplesB[k] = in_right[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_quick()
1431 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_quick()
2238 int32_t sam, tmp; in decorr_stereo_pass2() local
2240 sam = 2 * dpp->samplesA[0] - dpp->samplesA[1]; in decorr_stereo_pass2()
2242 … samples_l[i] = tmp = (dpp->samplesA[0] = samples_l[i]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo_pass2()
2243 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_pass2()
2245 sam = 2 * dpp->samplesB[0] - dpp->samplesB[1]; in decorr_stereo_pass2()
2247 … samples_r[i] = tmp = (dpp->samplesB[0] = samples_r[i]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo_pass2()
2248 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_pass2()
2253 int32_t sam, tmp; in decorr_stereo_pass2() local
2255 sam = dpp->samplesA[0] + ((dpp->samplesA[0] - dpp->samplesA[1]) >> 1); in decorr_stereo_pass2()
2257 … samples_l[i] = tmp = (dpp->samplesA[0] = samples_l[i]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo_pass2()
2258 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_pass2()
2260 sam = dpp->samplesB[0] + ((dpp->samplesB[0] - dpp->samplesB[1]) >> 1); in decorr_stereo_pass2()
2262 … samples_r[i] = tmp = (dpp->samplesB[0] = samples_r[i]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo_pass2()
2263 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_pass2()
2268 int32_t sam, tmp; in decorr_stereo_pass2() local
2270 sam = dpp->samplesA[m]; in decorr_stereo_pass2()
2271 … samples_l[i] = tmp = (dpp->samplesA[k] = samples_l[i]) - APPLY_WEIGHT(dpp->weightA, sam); in decorr_stereo_pass2()
2272 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_pass2()
2274 sam = dpp->samplesB[m]; in decorr_stereo_pass2()
2275 … samples_r[i] = tmp = (dpp->samplesB[k] = samples_r[i]) - APPLY_WEIGHT(dpp->weightB, sam); in decorr_stereo_pass2()
2276 UPDATE_WEIGHT(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_pass2()
2357 int32_t sam, tmp; in decorr_stereo_pass_id2() local
2359 sam = 2 * dpp->samplesA[0] - dpp->samplesA[1]; in decorr_stereo_pass_id2()
2361 … samples_l[i] = tmp = (dpp->samplesA[0] = samples_l[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_pass_id2()
2362 update_weight_d2(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_pass_id2()
2364 sam = 2 * dpp->samplesB[0] - dpp->samplesB[1]; in decorr_stereo_pass_id2()
2366 … samples_r[i] = tmp = (dpp->samplesB[0] = samples_r[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_pass_id2()
2367 update_weight_d2(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_pass_id2()
2372 int32_t sam, tmp; in decorr_stereo_pass_id2() local
2374 sam = dpp->samplesA[0] + ((dpp->samplesA[0] - dpp->samplesA[1]) >> 1); in decorr_stereo_pass_id2()
2376 … samples_l[i] = tmp = (dpp->samplesA[0] = samples_l[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_pass_id2()
2377 update_weight_d2(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_pass_id2()
2379 sam = dpp->samplesB[0] + ((dpp->samplesB[0] - dpp->samplesB[1]) >> 1); in decorr_stereo_pass_id2()
2381 … samples_r[i] = tmp = (dpp->samplesB[0] = samples_r[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_pass_id2()
2382 update_weight_d2(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_pass_id2()
2387 int32_t sam, tmp; in decorr_stereo_pass_id2() local
2389 sam = dpp->samplesA[m]; in decorr_stereo_pass_id2()
2390 … samples_l[i] = tmp = (dpp->samplesA[k] = samples_l[i]) - APPLY_WEIGHT_I(dpp->weightA, sam); in decorr_stereo_pass_id2()
2391 update_weight_d2(dpp->weightA, dpp->delta, sam, tmp); in decorr_stereo_pass_id2()
2393 sam = dpp->samplesB[m]; in decorr_stereo_pass_id2()
2394 … samples_r[i] = tmp = (dpp->samplesB[k] = samples_r[i]) - APPLY_WEIGHT_I(dpp->weightB, sam); in decorr_stereo_pass_id2()
2395 update_weight_d2(dpp->weightB, dpp->delta, sam, tmp); in decorr_stereo_pass_id2()
2714 int32_t sam; in wavpack_encode_block() local
2718 sam = 2 * dpp->samplesA[0] - dpp->samplesA[1]; in wavpack_encode_block()
2720 sam = (3 * dpp->samplesA[0] - dpp->samplesA[1]) >> 1; in wavpack_encode_block()
2725 sam = dpp->samplesA[m]; in wavpack_encode_block()
2729 code -= APPLY_WEIGHT(dpp->weightA, sam); in wavpack_encode_block()
2730 UPDATE_WEIGHT(dpp->weightA, dpp->delta, sam, code); in wavpack_encode_block()