Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp212 memcpy(output + headerLen, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
213 headerLen += AOPUS_MARKER_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()
247 memcpy(output + headerLen, AOPUS_CSD_CODEC_DELAY_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
248 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders()
255 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders()
260 memcpy(output + headerLen, AOPUS_CSD_SEEK_PREROLL_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
261 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders()
271 if (data_size < AOPUS_MARKER_SIZE) { in IsOpusHeader()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DOpusHeader.h33 #define AOPUS_MARKER_SIZE 8 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)