Searched refs:csd1 (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 1072 static size_t reassembleAVCC(const sp<ABuffer> &csd0, const sp<ABuffer> csd1, char *avcc) { in reassembleAVCC() argument 1117 i = findNextNalStartCode(csd1->data() + i, csd1->size() - i) - csd1->data(); in reassembleAVCC() 1123 memcpy(avcc+avccidx, csd1->data() + lastparamoffset, size); in reassembleAVCC() 1129 } while(i < csd1->size()); in reassembleAVCC() 1378 sp<ABuffer> csd0, csd1, csd2; in convertMessageToMetaData() local 1381 sp<ABuffer> csd1; in convertMessageToMetaData() local 1382 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData() 1384 size_t outsize = reassembleAVCC(csd0, csd1, avcc); in convertMessageToMetaData() 1402 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData() 1403 meta->setData(kKeyOpusCodecDelay, 0, csd1->data(), csd1->size()); in convertMessageToMetaData() [all …]
|