Searched refs:headerLen (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libstagefright/foundation/ |
D | OpusHeader.cpp | 189 int headerLen = 0; in WriteOpusHeaders() local 204 memcpy(output + headerLen, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders() 205 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders() 208 headerLen += AOPUS_LENGTH_SIZE; in WriteOpusHeaders() 210 int headerSize = WriteOpusHeader(header, inputSampleRate, output + headerLen, in WriteOpusHeaders() 211 outputSize - headerLen); in WriteOpusHeaders() 216 headerLen += headerSize; in WriteOpusHeaders() 234 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders() 239 memcpy(output + headerLen, AOPUS_CSD_CODEC_DELAY_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders() 240 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 | 422 int headerLen = WriteOpusHeaders(opusHeader, mSampleRate, header, in process() local 426 C2StreamInitDataInfo::output::AllocUnique(headerLen, 0u); in process() 433 ALOGV("put csd, %d bytes", headerLen); in process() 434 memcpy(csd->m.value, header, headerLen); in process()
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 1115 const int32_t headerLen = strlen(OpusTags); in verifyOpusComments() local 1116 int32_t framingBitOffset = headerLen; in verifyOpusComments() 1117 for (int i = 0; i < headerLen; ++i) { in verifyOpusComments() 1156 buf.data = commentData + headerLen; in verifyOpusComments() 1157 buf.size = commentSize - headerLen; in verifyOpusComments() 1163 ref.length = commentSize - headerLen; in verifyOpusComments()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformAdbRestoreTask.java | 212 final int headerLen = BACKUP_FILE_HEADER_MAGIC.length(); in parseBackupFileHeaderAndReturnTarStream() local 213 byte[] streamHeader = new byte[headerLen]; in parseBackupFileHeaderAndReturnTarStream()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 142 int headerLen = (versionAndHeaderLen & IP_V4_IHL_BYTE_MASK) * BYTES_PER_QUAD; in parseIpv4Packet() local 144 data.position(data.position() + headerLen); in parseIpv4Packet()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 1520 int headerLen = pdu.length - in testProcessMsg1() local 1561 int headerLen = pdu.length - (mGsmHeader.length + in testProcessMsg2() local 1603 int headerLen = pdu.length - in testProcessMsg3() local 1673 int headerLen = pdu.length - in testProcessMsg4() local 1762 int headerLen = pdu.length - in testProcessMsg5() local 1803 int headerLen = pdu.length - in testProcessMsg6() local
|