Home
last modified time | relevance | path

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

/frameworks/av/media/module/foundation/
DOpusHeader.cpp216 memcpy(output + headerLen, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
217 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders()
232 memcpy(output + AOPUS_MARKER_SIZE, &length, AOPUS_LENGTH_SIZE); 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()
259 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders()
264 memcpy(output + headerLen, AOPUS_CSD_SEEK_PREROLL_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
265 headerLen += AOPUS_MARKER_SIZE; in WriteOpusHeaders()
275 if (data_size < AOPUS_MARKER_SIZE) { in IsOpusHeader()
[all …]
/frameworks/av/media/module/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)