Searched refs:headerLen (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/module/foundation/ |
D | OpusHeader.cpp | 201 int headerLen = 0; in WriteOpusHeaders() local 216 memcpy(output + headerLen, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders() 217 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders() 220 headerLen += AOPUS_LENGTH_SIZE; in WriteOpusHeaders() 222 int headerSize = WriteOpusHeader(header, inputSampleRate, output + headerLen, in WriteOpusHeaders() 223 outputSize - headerLen); in WriteOpusHeaders() 228 headerLen += headerSize; in WriteOpusHeaders() 246 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders() 251 memcpy(output + headerLen, AOPUS_CSD_CODEC_DELAY_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders() 252 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders() [all …]
|
/frameworks/av/cmds/screenrecord/ |
D | FrameOutput.cpp | 159 size_t headerLen = sizeof(uint32_t) * 5; in copyFrame() local 160 size_t packetLen = headerLen - sizeof(uint32_t) + rgbDataLen; in copyFrame() 161 uint8_t header[headerLen]; in copyFrame() 167 fwrite(header, 1, headerLen, fp); in copyFrame()
|
/frameworks/base/tests/CoreTests/android/core/ |
D | TestWebServer.java | 610 int headerLen = 0; in readHeaders() local 611 headerLen = parseHeader(is); in readHeaders() 612 if (headerLen == -1) in readHeaders() 614 nread += headerLen; in readHeaders() 615 if (headerLen <= 2) { in readHeaders()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 449 int headerLen = WriteOpusHeaders(opusHeader, mSampleRate, header, in process() local 453 C2StreamInitDataInfo::output::AllocUnique(headerLen, 0u); in process() 460 ALOGV("put csd, %d bytes", headerLen); in process() 461 memcpy(csd->m.value, header, headerLen); in process()
|
/frameworks/av/media/module/extractors/ogg/ |
D | OggExtractor.cpp | 1187 const int32_t headerLen = strlen(OpusTags); in verifyOpusComments() local 1188 int32_t framingBitOffset = headerLen; in verifyOpusComments() 1189 for (int i = 0; i < headerLen; ++i) { in verifyOpusComments() 1228 buf.data = commentData + headerLen; in verifyOpusComments() 1229 buf.size = commentSize - headerLen; in verifyOpusComments() 1235 ref.length = commentSize - headerLen; in verifyOpusComments()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformAdbRestoreTask.java | 172 final int headerLen = BACKUP_FILE_HEADER_MAGIC.length(); in parseBackupFileHeaderAndReturnTarStream() local 173 byte[] streamHeader = new byte[headerLen]; in parseBackupFileHeaderAndReturnTarStream()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 1524 int headerLen = pdu.length - in testProcessMsg1() local 1565 int headerLen = pdu.length - (mGsmHeader.length + in testProcessMsg2() local 1607 int headerLen = pdu.length - in testProcessMsg3() local 1677 int headerLen = pdu.length - in testProcessMsg4() local 1766 int headerLen = pdu.length - in testProcessMsg5() local 1807 int headerLen = pdu.length - in testProcessMsg6() local
|