Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DOpusHeader.cpp310 uint8_t *csdBuf = (uint8_t *)data + i; in GetOpusHeaderBuffers() local
311 if (!memcmp(csdBuf, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE)) { in GetOpusHeaderBuffers()
313 memcpy(&value, csdBuf + AOPUS_MARKER_SIZE, sizeof(value)); in GetOpusHeaderBuffers()
323 *opusHeadBuf = csdBuf + AOPUS_MARKER_SIZE + AOPUS_LENGTH_SIZE; in GetOpusHeaderBuffers()
326 } else if (!memcmp(csdBuf, AOPUS_CSD_CODEC_DELAY_MARKER, AOPUS_MARKER_SIZE)) { in GetOpusHeaderBuffers()
328 memcpy(&value, csdBuf + AOPUS_MARKER_SIZE, sizeof(value)); in GetOpusHeaderBuffers()
338 *codecDelayBuf = csdBuf + AOPUS_MARKER_SIZE + AOPUS_LENGTH_SIZE; in GetOpusHeaderBuffers()
340 } else if (!memcmp(csdBuf, AOPUS_CSD_SEEK_PREROLL_MARKER, AOPUS_MARKER_SIZE)) { in GetOpusHeaderBuffers()
342 memcpy(&value, csdBuf + AOPUS_MARKER_SIZE, sizeof(value)); in GetOpusHeaderBuffers()
352 *seekPreRollBuf = csdBuf + AOPUS_MARKER_SIZE + AOPUS_LENGTH_SIZE; in GetOpusHeaderBuffers()