Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 7 of 7) sorted by relevance

/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp127 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) in writeBurstBufferBytes() argument
129 size_t bytesToWrite = numBytes; in writeBurstBufferBytes()
184 uint16_t numBytes = (mByteCursor - preambleSize); in flushBurstBuffer() local
185 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
228 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) in write() argument
230 size_t bytesLeft = numBytes; in write()
233 mScanning, (uint) *data, numBytes); in write()
272 return numBytes; in write()
DAC3FrameScanner.cpp130 uint16_t AC3FrameScanner::convertBytesToLengthCode(uint16_t numBytes) const in convertBytesToLengthCode()
132 return (mDataType == SPDIF_DATA_TYPE_E_AC3) ? numBytes : numBytes * 8; in convertBytesToLengthCode()
DAC3FrameScanner.h50 virtual uint16_t convertBytesToLengthCode(uint16_t numBytes) const;
/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h48 ssize_t write( const void* buffer, size_t numBytes );
55 virtual ssize_t writeOutput( const void* buffer, size_t numBytes ) = 0;
86 void writeBurstBufferShorts(const uint16_t* buffer, size_t numBytes);
87 void writeBurstBufferBytes(const uint8_t* buffer, size_t numBytes);
DFrameScanner.h103 virtual uint16_t convertBytesToLengthCode(uint16_t numBytes) const { return numBytes * 8; } in convertBytesToLengthCode() argument
/system/core/fastboot/
Dusb_osx.cpp501 UInt32 numBytes = len; in Read() local
521 result = (*handle_->interface)->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); in Read()
524 return (int) numBytes; in Read()
/system/core/adb/
Dusb_osx.cpp483 UInt32 numBytes = len; in usb_read() local
503 result = (*handle->interface)->ReadPipe(handle->interface, handle->bulkIn, buf, &numBytes); in usb_read()
508 result = (*handle->interface)->ReadPipe(handle->interface, handle->bulkIn, buf, &numBytes); in usb_read()