Searched refs:raw (Results 1 - 17 of 17) sorted by relevance

/system/bt/embdrv/sbc/decoder/srce/
H A Ddequant.c42 dequant = 2^(scale_factor+1) * ((raw * 2.0 + 1.0) / ((2^bits) - 1) - 1)
45 0 <= raw < (2^bits)-1 (the -1 is because quantized values with all 1's are forbidden)
73 d = 2 * raw + 1 1 <= d <= 2^bits - 2
85 d' =~ 2^31 * (raw * 2.0 + 1.0) / (2^bits - 1) / 1.38...
87 result = d' - 2^31/1.38... =~ 2^31 * ((raw * 2.0 + 1.0) / (2^bits - 1) - 1) / 1.38...
125 INLINE float dequant_float(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
127 float result = (1 << (scale_factor+1)) * ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f);
144 INLINE OI_INT32 OI_SBC_Dequant(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
156 d = (raw * 2) + 1;
165 float_result = dequant_float(raw, scale_facto
183 OI_SBC_Dequant_Unscaled(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
[all...]
H A Dreadsamplesjoint.inc77 OI_UINT32 raw;
82 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
83 dequant = OI_SBC_Dequant(raw, sf, bits);
91 OI_UINT32 raw;
96 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
97 dequant = OI_SBC_Dequant(raw, sf, bits);
H A Ddecoder-private.c211 OI_UINT32 raw; local
212 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
213 dequant = OI_SBC_Dequant(raw, sf, bits);
/system/update_engine/update_manager/
H A Dreal_updater_provider.cc94 GetStatusHelper raw(system_state(), errmsg);
95 if (!raw.is_success())
98 return new Time(Time::FromTimeT(raw.last_checked_time()));
113 GetStatusHelper raw(system_state(), errmsg);
114 if (!raw.is_success())
117 if (raw.progress() < 0.0 || raw.progress() > 1.0) {
120 raw.progress());
125 return new double(raw.progress());
167 GetStatusHelper raw(system_stat
[all...]
/system/media/audio_utils/include/audio_utils/
H A Decho_reference.h27 void *raw; // pointer to audio frame member in struct:echo_reference_buffer
H A Dresampler.h34 void* raw; member in union:resampler_buffer::__anon1853
48 * buffer->raw points to data returned
55 * buffer->raw points to data released
/system/connectivity/shill/
H A Dprofile.cc281 bool Profile::ParseIdentifier(const string& raw, Identifier* parsed) { argument
282 if (raw.empty()) {
285 if (raw[0] == '~') {
287 size_t slash = raw.find('/');
291 string user(raw.begin() + 1, raw.begin() + slash);
292 string identifier(raw.begin() + slash + 1, raw.end());
302 if (!IsValidIdentifierToken(raw)) {
306 parsed->identifier = raw;
[all...]
H A Dprofile.h169 // Parses a profile identifier. There're two acceptable forms of the |raw|
173 static bool ParseIdentifier(const std::string& raw, Identifier* parsed);
/system/media/audio_utils/
H A Decho_reference.c83 buffer->raw = NULL;
213 int16_t *src16 = (int16_t *)buffer->raw;
246 er->wr_src_buf = buffer->raw;
262 srcBuf = buffer->raw;
323 memset(buffer->raw, 0, er->rd_frame_size * buffer->frame_count);
468 memcpy(buffer->raw,
H A Dresampler.c110 if (buf.raw == NULL) {
114 buf.raw,
/system/extras/tests/sdcard/
H A Dstopwatch.cpp100 void StopWatch::setPrintRawMode(bool raw) argument
102 printRaw = raw;
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp275 char* raw = NULL; local
287 raw = (char*) nla_data(payload);
293 hex[4 + (i * 2)] = "0123456789abcdef"[(raw[i] >> 4) & 0xf];
294 hex[5 + (i * 2)] = "0123456789abcdef"[raw[i] & 0xf];
/system/vold/
H A DExt4Crypt.cpp92 char raw[EXT4_MAX_KEY_SIZE]; member in struct:__anon2078::ext4_encryption_key
105 // Get raw keyref - used to make keyname and to pass to ioctl
129 static_assert(EXT4_AES_256_XTS_KEY_SIZE <= sizeof(ext4_key->raw), "Key too long!");
132 memset(ext4_key->raw, 0, sizeof(ext4_key->raw));
133 memcpy(ext4_key->raw, key.data(), key.size());
157 // Return raw key reference for use in policy
161 *raw_ref = generate_key_ref(ext4_key.raw, ext4_key.size);
/system/core/adb/
H A Dshell_service.cpp19 // There are two types of subprocesses, PTY or raw. PTY is typically used for
20 // an interactive session, raw for non-interactive. There are also two methods
21 // of communication with the subprocess, passing raw data or using a simple
35 // socket uses the fdevent loop to pass raw data between this pipe and the
211 // of the PTY closes, which we rely on. If we use a raw pipe, processes that don't read/write,
216 // Disable PTY input/output processing since the client is expecting raw data.
217 D("Can't create raw subprocess without shell protocol, using PTY in raw mode instead");
363 // directly into the local socket for raw data transfer.
404 Subprocess* raw local
[all...]
/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc_private.h214 INLINE OI_INT32 OI_SBC_Dequant(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits);
/system/core/libziparchive/
H A Dzip_archive_test.cc498 ZipArchiveHandle& handle, const std::string& entry_name, bool raw,
504 if (raw) {
530 const std::vector<uint8_t>& contents, bool raw) {
536 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data);
497 ZipArchiveStreamTest( ZipArchiveHandle& handle, const std::string& entry_name, bool raw, bool verified, ZipEntry* entry, std::vector<uint8_t>* read_data) argument
528 ZipArchiveStreamTestUsingContents( const std::string& zip_file, const std::string& entry_name, const std::vector<uint8_t>& contents, bool raw) argument
/system/extras/tests/workloads/
H A Dpwrtest.sh158 collectOutput=${testName}-power-raw.out

Completed in 408 milliseconds