Lines Matching full:sample

87 	int32_t sample;  in drc_update_detector_average()  local
102 if (nbyte == 2) { /* 2 bytes per sample */ in drc_update_detector_average()
108 sample = Q_SHIFT_LEFT((int32_t)*sample16_p, 15, 31); in drc_update_detector_average()
109 abs_input_array[i] = MAX(abs_input_array[i], ABS(sample)); in drc_update_detector_average()
112 } else { /* 4 bytes per sample */ in drc_update_detector_average()
118 sample = *sample32_p; in drc_update_detector_average()
119 abs_input_array[i] = MAX(abs_input_array[i], ABS(sample)); in drc_update_detector_average()
276 int32_t sample; in drc_compress_output() local
293 if (is_2byte) { /* 2 bytes per sample */ in drc_compress_output()
312 sample = (int32_t)*sample16_p; in drc_compress_output()
314 sat_int16(Q_MULTSR_32X32((int64_t)sample, in drc_compress_output()
327 } else { /* 4 bytes per sample */ in drc_compress_output()
346 sample = *sample32_p; in drc_compress_output()
348 sat_int32(Q_MULTSR_32X32((int64_t)sample, in drc_compress_output()
376 if (is_2byte) { /* 2 bytes per sample */ in drc_compress_output()
394 sample = (int32_t)*sample16_p; in drc_compress_output()
396 sat_int16(Q_MULTSR_32X32((int64_t)sample, in drc_compress_output()
410 } else { /* 4 bytes per sample */ in drc_compress_output()
428 sample = *sample32_p; in drc_compress_output()
430 sat_int32(Q_MULTSR_32X32((int64_t)sample, in drc_compress_output()
545 /* Delay the input sample only and don't do other processing. This is used when the in drc_s16_default()
691 /* Delay the input sample only and don't do other processing. This is used when the in drc_s24_default()
739 /* Delay the input sample only and don't do other processing. This is used when the in drc_s32_default()