Home
last modified time | relevance | path

Searched refs:scaled_value (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/native_client_sdk/src/examples/api/audio/
Daudio.cc81 int16_t scaled_value = static_cast<int16_t>(sin_value * max_int16); in SineWaveCallback() local
83 *buff++ = scaled_value; in SineWaveCallback()
/external/chromium_org/sdch/open-vcdiff/src/
Dtesting.h174 const double scaled_value = value / rand_limit; in PortableRandomInRange() local
175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
/external/chromium/sdch/open-vcdiff/src/
Dtesting.h174 const double scaled_value = value / rand_limit; in PortableRandomInRange() local
175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
/external/open-vcdiff/src/
Dtesting.h174 const double scaled_value = value / rand_limit; in PortableRandomInRange() local
175 return static_cast<IntType>(limit * scaled_value); in PortableRandomInRange()
/external/chromium_org/chrome/browser/thumbnails/
Dcontent_analysis.cc129 float scaled_value = (*it - value_min) * scale; in ComputeScaledHistogram() local
130 (*histogram)[static_cast<int>(scaled_value)] += 1; in ComputeScaledHistogram()
/external/chromium_org/native_client_sdk/src/doc/devguide/coding/
Daudio.rst319 int16_t scaled_value = static_cast<int16_t>(sin_value * max_int16);
321 *buff++ = scaled_value;