Home
last modified time | relevance | path

Searched refs:AOPUS_LENGTH_SIZE (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp216 headerLen += AOPUS_LENGTH_SIZE; in WriteOpusHeaders()
228 memcpy(output + AOPUS_MARKER_SIZE, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
242 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders()
249 memcpy(output + headerLen, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
250 headerLen += AOPUS_LENGTH_SIZE; in WriteOpusHeaders()
255 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders()
262 memcpy(output + headerLen, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
263 headerLen += AOPUS_LENGTH_SIZE; in WriteOpusHeaders()
309 while (i <= data_size - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE) { in GetOpusHeaderBuffers()
318 i += AOPUS_MARKER_SIZE + AOPUS_LENGTH_SIZE + value; in GetOpusHeaderBuffers()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DOpusHeader.h34 #define AOPUS_LENGTH_SIZE sizeof(uint64_t) macro
36 (AOPUS_MARKER_SIZE) + (AOPUS_LENGTH_SIZE) + sizeof(uint64_t)
38 (AOPUS_MARKER_SIZE) + (AOPUS_LENGTH_SIZE) + sizeof(uint64_t)
43 (AOPUS_MARKER_SIZE) + (AOPUS_LENGTH_SIZE) + (AOPUS_OPUSHEAD_MINSIZE)
53 (AOPUS_MARKER_SIZE) + (AOPUS_LENGTH_SIZE) + (AOPUS_OPUSHEAD_MAXSIZE)