Searched refs:byteData (Results 1 – 5 of 5) sorted by relevance
/frameworks/av/media/libaaudio/src/flowgraph/ |
D | SourceI24.cpp | 44 const uint8_t *byteData = &byteBase[mFrameIndex * channelCount * kBytesPerI24Packed]; in onProcess() local 47 memcpy_to_float_from_p24(floatData, byteData, numSamples); in onProcess() 52 int32_t pad = byteData[2]; in onProcess() 54 pad |= byteData[1]; in onProcess() 56 pad |= byteData[0]; in onProcess() 58 byteData += kBytesPerI24Packed; in onProcess()
|
D | SinkI24.cpp | 33 uint8_t *byteData = (uint8_t *) data; in read() local 46 memcpy_to_p24_from_float(byteData, floatData, numSamples); in read() 48 byteData += numSamples * kBytesPerI24Packed; in read() 57 *byteData++ = (uint8_t) n; in read() 58 *byteData++ = (uint8_t) (n >> 8); in read() 59 *byteData++ = (uint8_t) (n >> 16); in read()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 54 uint8_t *byteData = nullptr; in main() local 104 byteData = new uint8_t[framesPerWrite * actualChannelCount in main() 158 myData.sineOscillators[i].render24(&byteData[i * bytesPerSample], in main() 180 actual = AAudioStream_write(aaudioStream, byteData, minFrames, timeoutNanos); in main() 239 delete[] byteData; in main()
|
/frameworks/av/services/mediametrics/fuzzer/ |
D | mediametrics_service_fuzzer.cpp | 190 char *byteData = nullptr; in invokeItemManipulation() local 192 (void)item.writeToByteString(&byteData, &length); in invokeItemManipulation() 193 (void)item2.readFromByteString(byteData, length); in invokeItemManipulation() 194 if (byteData) { in invokeItemManipulation() 195 free(byteData); in invokeItemManipulation()
|
/frameworks/base/media/tests/MtpTests/src/android/mtp/ |
D | MtpDatabaseTest.java | 92 private static void writeNewFileFromByte(File newFile, byte[] byteData) { in writeNewFileFromByte() argument 94 new FileOutputStream(newFile).write(byteData); in writeNewFileFromByte()
|