Searched refs:scalers (Results 1 – 3 of 3) sorted by relevance
34 float *scalers; in softvol_build_from_curve() local40 scalers = (float *)malloc(NUM_VOLUME_STEPS * sizeof(float)); in softvol_build_from_curve()41 if (!scalers) in softvol_build_from_curve()50 scalers[volume] = convert_softvol_scaler_from_dB( in softvol_build_from_curve()52 if (scalers[volume] > 1.0) in softvol_build_from_curve()53 scalers[volume] = 1.0; in softvol_build_from_curve()57 else if (scalers[volume] < 1e-7) in softvol_build_from_curve()58 scalers[volume] = 1e-7; in softvol_build_from_curve()61 return scalers; in softvol_build_from_curve()
305 WebPRescaler* scalers; in InitYUVRescaler() local320 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + tmp_size); in InitYUVRescaler()321 p->scaler_y = &scalers[0]; in InitYUVRescaler()322 p->scaler_u = &scalers[1]; in InitYUVRescaler()323 p->scaler_v = &scalers[2]; in InitYUVRescaler()324 p->scaler_a = has_alpha ? &scalers[3] : NULL; in InitYUVRescaler()487 WebPRescaler* scalers; in InitRGBRescaler() local506 scalers = (WebPRescaler*)WEBP_ALIGN((const uint8_t*)work + total_size); in InitRGBRescaler()507 p->scaler_y = &scalers[0]; in InitRGBRescaler()508 p->scaler_u = &scalers[1]; in InitRGBRescaler()[all …]