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

/system/bt/embdrv/sbc/decoder/srce/
H A Ddequant.c44 dequant = 2^(scale_factor+1) * ((raw * 2.0 + 1.0) / ((2^bits) - 1) - 1)
47 0 <= raw < (2^bits)-1 (the -1 is because quantized values with all 1's are
77 d = 2 * raw + 1 1 <= d <= 2^bits - 2
91 d' =~ 2^31 * (raw * 2.0 + 1.0) / (2^bits - 1) / 1.38...
93 result = d' - 2^31/1.38... =~ 2^31 * ((raw * 2.0 + 1.0) / (2^bits - 1) - 1) /
133 INLINE float dequant_float(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) { argument
135 ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f);
151 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, argument
163 d = (raw * 2) + 1;
172 float_result = dequant_float(raw, scale_facto
190 OI_SBC_Dequant_Unscaled(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) argument
[all...]
H A Dreadsamplesjoint.inc78 uint32_t raw;
83 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
84 dequant = OI_SBC_Dequant(raw, sf, bits);
92 uint32_t raw;
97 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
98 dequant = OI_SBC_Dequant(raw, sf, bits);
H A Ddecoder-private.c212 uint32_t raw; local
213 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
214 dequant = OI_SBC_Dequant(raw, sf, bits);
/system/update_engine/update_manager/
H A Dreal_updater_provider.cc103 GetStatusHelper raw(system_state(), errmsg);
104 if (!raw.is_success())
107 return new Time(Time::FromTimeT(raw.last_checked_time()));
122 GetStatusHelper raw(system_state(), errmsg);
123 if (!raw.is_success())
126 if (raw.progress() < 0.0 || raw.progress() > 1.0) {
129 raw.progress());
134 return new double(raw.progress());
176 GetStatusHelper raw(system_stat
[all...]
/system/vold/
H A DKeyUtil.cpp45 char raw[EXT4_MAX_KEY_SIZE]; member in struct:android::vold::ext4_encryption_key
59 // Get raw keyref - used to make keyname and to pass to ioctl
83 static_assert(EXT4_AES_256_XTS_KEY_SIZE <= sizeof(ext4_key->raw), "Key too long!");
86 memset(ext4_key->raw, 0, sizeof(ext4_key->raw));
87 memcpy(ext4_key->raw, key.data(), key.size());
118 // Return raw key reference for use in policy
125 *raw_ref = generateKeyRef(ext4_key.raw, ext4_key.size);
H A DUtils.h59 bool FindValue(const std::string& raw, const std::string& key, std::string* value);
84 /* Converts hex string to raw bytes, ignoring [ :-] */
86 /* Converts raw bytes to hex string */
88 /* Converts raw key bytes to hex string */
H A DUtils.cpp195 bool FindValue(const std::string& raw, const std::string& key, std::string* value) { argument
197 auto start = raw.find(qual);
198 if (start > 0 && raw[start - 1] != ' ') {
199 start = raw.find(qual, start + 1);
205 auto end = raw.find("\"", start);
208 *value = raw.substr(start, end - start);
/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::__anon2046
48 * buffer->raw points to data returned
55 * buffer->raw points to data released
/system/tools/hidl/include_hash/hidl-hash/
H A DHash.h42 const std::vector<uint8_t> &raw() const;
/system/media/audio/include/system/
H A Daudio_effect.h437 void* raw; // raw pointer to start of buffer member in union:audio_buffer_s::__anon2020
/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);
462 memcpy(buffer->raw,
H A Dresampler.c111 if (buf.raw == NULL) {
115 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.cpp289 char* raw = NULL; local
301 raw = (char*)nlAttrData(payload);
307 hex[4 + (i * 2)] = "0123456789abcdef"[(raw[i] >> 4) & 0xf];
308 hex[5 + (i * 2)] = "0123456789abcdef"[raw[i] & 0xf];
/system/core/libunwindstack/tests/
H A DRegsTest.cpp55 uint32_t* raw = reinterpret_cast<uint32_t*>(regs32.RawData()); local
57 raw[i] = 0xf0000000 + i;
77 uint64_t* raw = reinterpret_cast<uint64_t*>(regs64.RawData()); local
79 raw[i] = 0xf123456780000000UL + i;
/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc_private.h217 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, OI_UINT bits);
/system/tools/hidl/
H A DHash.cpp84 const std::vector<uint8_t> &Hash::raw() const { function in class:android::Hash
H A DInterface.cpp298 iface->getFileHash()->raw().begin(), iface->getFileHash()->raw().end(), ",",
/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
200 // of the PTY closes, which we rely on. If we use a raw pipe, processes that don't read/write,
205 // Disable PTY input/output processing since the client is expecting raw data.
206 D("Can't create raw subprocess without shell protocol, using PTY in raw mode instead");
372 // directly into the local socket for raw data transfer.
413 Subprocess* raw local
[all...]
/system/core/libziparchive/
H A Dzip_archive_test.cc436 static void ZipArchiveStreamTest(ZipArchiveHandle& handle, const std::string& entry_name, bool raw, argument
442 if (raw) {
468 const std::vector<uint8_t>& contents, bool raw) {
474 ZipArchiveStreamTest(handle, entry_name, raw, true, &entry, &read_data);
466 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 359 milliseconds