Searched refs:frameLength (Results 1 – 5 of 5) sorted by relevance
95 unsigned frameLength = nal->size() + 7; in MakeADTSCompoundFromAACFrames() local106 dst[3] = ((channelConfig & 3) << 6) | (frameLength >> 11); in MakeADTSCompoundFromAACFrames()108 dst[4] = (frameLength >> 3) & 0xff; in MakeADTSCompoundFromAACFrames()109 dst[5] = (frameLength & 7) << 5; in MakeADTSCompoundFromAACFrames()
79 static unsigned split(State *s, unsigned frameStart, unsigned frameLength, unsigned segmentBudget) in split() argument81 if (frameLength <= 0) in split()84 if ((frameLength <= s->mMinSegmentLengthFrames*2) || (segmentBudget <= 1)) { in split()88 seg->mFrameLength = frameLength; in split()93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; in split()102 assert(leftLength + rightLength == frameLength); in split()
69 status_t writeAdtsHeader(uint32_t frameLength);
238 status_t AACWriter::writeAdtsHeader(uint32_t frameLength) { in writeAdtsHeader() argument264 const uint32_t kFrameLength = frameLength; in writeAdtsHeader()
177 const uint8_t *ptr, size_t size, size_t *frameLength) { in IsSeeminglyValidADTSHeader() argument207 *frameLength = frameLengthInHeader; in IsSeeminglyValidADTSHeader()334 size_t frameLength; in appendData() local337 &ptr[i], size - i, &frameLength)) { in appendData()353 if (frameLength != size - startOffset) { in appendData()356 frameLength, size - startOffset); in appendData()