Home
last modified time | relevance | path

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

/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1552 const void *_codecPrivate, size_t codecPrivateSize) { in addVorbisCodecInfo() argument
1555 if (codecPrivateSize < 1) { in addVorbisCodecInfo()
1570 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()
1577 if (offset >= codecPrivateSize) { in addVorbisCodecInfo()
1586 while (offset < codecPrivateSize && codecPrivate[offset] == 0xff) { in addVorbisCodecInfo()
1593 if (offset >= codecPrivateSize) { in addVorbisCodecInfo()
1602 codecPrivateSize < offset + len1 + len2) { in addVorbisCodecInfo()
1624 &codecPrivate[offset], codecPrivateSize - offset); in addVorbisCodecInfo()
1631 const void *codecPrivate, size_t codecPrivateSize) { in addFlacMetadata() argument
1635 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_0, codecPrivate, codecPrivateSize); in addFlacMetadata()
[all …]
/frameworks/av/media/libstagefright/webm/
DWebmWriter.cpp196 size_t codecPrivateSize = 0; in audioTrack() local
197 codecPrivateSize += headerSize; in audioTrack()
200 sp<ABuffer> codecPrivateBuf = new ABuffer(codecPrivateSize); in audioTrack()
224 size_t codecPrivateSize = 1; in audioTrack() local
225 codecPrivateSize += XiphLaceCodeLen(headerSize1); in audioTrack()
226 codecPrivateSize += XiphLaceCodeLen(headerSize2); in audioTrack()
227 codecPrivateSize += headerSize1 + headerSize2 + headerSize3; in audioTrack()
230 sp<ABuffer> codecPrivateBuf = new ABuffer(codecPrivateSize); in audioTrack()