Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp159 size_t csdSize = sizeof(kStaticESDS) + 2; in MakeAACCodecSpecificData() local
160 if (csdSize > *esds_size) { in MakeAACCodecSpecificData()
171 *esds_size = csdSize; in MakeAACCodecSpecificData()
206 size_t csdSize = sizeof(csd); in MakeAACCodecSpecificData() local
209 if (!MakeAACCodecSpecificData(csd, &csdSize, profile, sampling_freq_index, in MakeAACCodecSpecificData()
218 meta.setData(kKeyESDS, 0, csd, csdSize); in MakeAACCodecSpecificData()
DMPEG4Writer.cpp3299 size_t csdSize = 23; in parseHEVCCodecSpecificData() local
3316 csdSize += 3; in parseHEVCCodecSpecificData()
3321 csdSize += 2 + paramSets.getSize(j); in parseHEVCCodecSpecificData()
3324 mCodecSpecificDataSize = csdSize; in parseHEVCCodecSpecificData()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp138 size_t csdSize = csdBuffer->flexCount(); in workDone() local
139 if (csdSize > 0) csd = true; in workDone()
/frameworks/av/media/libstagefright/tests/writer/
DWriterTest.cpp389 size_t csdSize = 0; in extract() local
390 bool csdFound = AMediaFormat_getBuffer(format, csdName, &csdBuf, &csdSize); in extract()
391 if (!csdFound || !csdBuf || !csdSize) break; in extract()
393 bufferInfo.push_back({static_cast<int32_t>(csdSize), CODEC_CONFIG_FLAG, 0}); in extract()
394 memcpy(buffer + bufferOffset, csdBuf, csdSize); in extract()
395 bufferOffset += csdSize; in extract()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp416 size_t csdSize = in MakeAVCCodecSpecificData() local
421 sp<ABuffer> csd = new ABuffer(csdSize); in MakeAVCCodecSpecificData()
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp168 size_t csdSize = in MakeAVCCodecSpecificData() local
173 sp<ABuffer> csd = new ABuffer(csdSize); in MakeAVCCodecSpecificData()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1264 static bool isMkvAudioCsdSizeOK(const char* mime, size_t csdSize) { in isMkvAudioCsdSizeOK() argument
1265 if ((!strcmp(mime, MEDIA_MIMETYPE_AUDIO_MS_ADPCM) && csdSize < 50) || in isMkvAudioCsdSizeOK()
1266 (!strcmp(mime, MEDIA_MIMETYPE_AUDIO_DVI_IMA_ADPCM) && csdSize < 20) || in isMkvAudioCsdSizeOK()
1267 (!strcmp(mime, MEDIA_MIMETYPE_AUDIO_WMA) && csdSize < 28) || in isMkvAudioCsdSizeOK()
1268 (!strcmp(mime, MEDIA_MIMETYPE_AUDIO_MPEG) && csdSize < 30)) { in isMkvAudioCsdSizeOK()