Home
last modified time | relevance | path

Searched refs:scalers (Results 1 – 2 of 2) sorted by relevance

/external/adhd/cras/src/server/
Dsoftvol_curve.c119 float *scalers; in softvol_build_from_curve() local
125 scalers = (float *)malloc(NUM_VOLUME_STEPS * sizeof(float)); in softvol_build_from_curve()
126 if (!scalers) in softvol_build_from_curve()
135 scalers[volume] = convert_softvol_scaler_from_dB( in softvol_build_from_curve()
137 if (scalers[volume] > 1.0) in softvol_build_from_curve()
138 scalers[volume] = 1.0; in softvol_build_from_curve()
141 return scalers; in softvol_build_from_curve()
/external/webp/src/dec/
Dio_dec.c310 WebPRescaler* scalers; in InitYUVRescaler() local
325 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + tmp_size); in InitYUVRescaler()
326 p->scaler_y = &scalers[0]; in InitYUVRescaler()
327 p->scaler_u = &scalers[1]; in InitYUVRescaler()
328 p->scaler_v = &scalers[2]; in InitYUVRescaler()
329 p->scaler_a = has_alpha ? &scalers[3] : NULL; in InitYUVRescaler()
492 WebPRescaler* scalers; in InitRGBRescaler() local
511 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + total_size); in InitRGBRescaler()
512 p->scaler_y = &scalers[0]; in InitRGBRescaler()
513 p->scaler_u = &scalers[1]; in InitRGBRescaler()
[all …]