Searched refs:csd1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/codec2/components/cmds/ |
D | codec2.cpp | 204 sp<ABuffer> csd0, csd1; in play() local 206 format->findBuffer("csd-1", &csd1); in play() 301 } else if (csd1 != nullptr) { in play() 302 csd = csd1; in play() 303 csd1 = nullptr; in play()
|
/frameworks/av/media/libstagefright/ |
D | Utils.cpp | 1423 static size_t reassembleAVCC(const sp<ABuffer> &csd0, const sp<ABuffer> &csd1, char *avcc) { in reassembleAVCC() argument 1468 i = findNextNalStartCode(csd1->data() + i, csd1->size() - i) - csd1->data(); in reassembleAVCC() 1474 memcpy(avcc+avccidx, csd1->data() + lastparamoffset, size); in reassembleAVCC() 1480 } while(i < csd1->size()); in reassembleAVCC() 1810 sp<ABuffer> csd0, csd1, csd2; in convertMessageToMetaData() local 1814 sp<ABuffer> csd1; in convertMessageToMetaData() local 1815 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData() 1816 std::vector<char> avcc(csd0size + csd1->size() + 1024); in convertMessageToMetaData() 1817 size_t outsize = reassembleAVCC(csd0, csd1, avcc.data()); in convertMessageToMetaData() 1846 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData() [all …]
|