Home
last modified time | relevance | path

Searched refs:csdSize (Results 1 – 5 of 5) 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.cpp2837 size_t csdSize = 23; in parseHEVCCodecSpecificData() local
2854 csdSize += 3; in parseHEVCCodecSpecificData()
2859 csdSize += 2 + paramSets.getSize(j); in parseHEVCCodecSpecificData()
2862 mCodecSpecificDataSize = csdSize; in parseHEVCCodecSpecificData()
/frameworks/av/media/libstagefright/foundation/
Davc_utils.cpp403 size_t csdSize = in MakeAVCCodecSpecificData() local
408 sp<ABuffer> csd = new ABuffer(csdSize); in MakeAVCCodecSpecificData()
/frameworks/av/media/libstagefright/rtsp/
DAPacketSource.cpp167 size_t csdSize = in MakeAVCCodecSpecificData() local
172 sp<ABuffer> csd = new ABuffer(csdSize); in MakeAVCCodecSpecificData()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1255 static bool isMkvAudioCsdSizeOK(const char* mime, size_t csdSize) { in isMkvAudioCsdSizeOK() argument
1256 if ((!strcmp(mime, MEDIA_MIMETYPE_AUDIO_MS_ADPCM) && csdSize < 50) || in isMkvAudioCsdSizeOK()
1257 (!strcmp(mime, MEDIA_MIMETYPE_AUDIO_DVI_IMA_ADPCM) && csdSize < 20) || in isMkvAudioCsdSizeOK()
1258 (!strcmp(mime, MEDIA_MIMETYPE_AUDIO_WMA) && csdSize < 28) || in isMkvAudioCsdSizeOK()
1259 (!strcmp(mime, MEDIA_MIMETYPE_AUDIO_MPEG) && csdSize < 30)) { in isMkvAudioCsdSizeOK()