Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1546 const void *_codecPrivate, size_t codecPrivateSize) { in addVorbisCodecInfo() argument
1549 if (codecPrivateSize < 1) { in addVorbisCodecInfo()
1564 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()
1571 if (offset >= codecPrivateSize) { in addVorbisCodecInfo()
1580 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()
1587 if (offset >= codecPrivateSize) { in addVorbisCodecInfo()
1596 codecPrivateSize < offset + len1 + len2) { in addVorbisCodecInfo()
1618 &codecPrivate[offset], codecPrivateSize - offset); in addVorbisCodecInfo()
1625 const void *codecPrivate, size_t codecPrivateSize) { in addFlacMetadata() argument
1629 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, codecPrivate, codecPrivateSize); in addFlacMetadata()
[all …]
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp164 size_t codecPrivateSize = 0; in audioTrack() local
165 codecPrivateSize += headerSize; in audioTrack()
168 sp<ABuffer> codecPrivateBuf = new ABuffer(codecPrivateSize); in audioTrack()
192 size_t codecPrivateSize = 1; in audioTrack() local
193 codecPrivateSize += XiphLaceCodeLen(headerSize1); in audioTrack()
194 codecPrivateSize += XiphLaceCodeLen(headerSize2); in audioTrack()
195 codecPrivateSize += headerSize1 + headerSize2 + headerSize3; in audioTrack()
198 sp<ABuffer> codecPrivateBuf = new ABuffer(codecPrivateSize); in audioTrack()