Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp204 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/
DUtils.cpp1527 static size_t reassembleAVCC(const sp<ABuffer> &csd0, const sp<ABuffer> &csd1, char *avcc) { in reassembleAVCC() argument
1572 i = findNextNalStartCode(csd1->data() + i, csd1->size() - i) - csd1->data(); in reassembleAVCC()
1578 memcpy(avcc+avccidx, csd1->data() + lastparamoffset, size); in reassembleAVCC()
1584 } while(i < csd1->size()); in reassembleAVCC()
1941 sp<ABuffer> csd0, csd1, csd2; in convertMessageToMetaData() local
1945 sp<ABuffer> csd1; in convertMessageToMetaData() local
1946 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData()
1947 std::vector<char> avcc(csd0size + csd1->size() + 1024); in convertMessageToMetaData()
1948 size_t outsize = reassembleAVCC(csd0, csd1, avcc.data()); in convertMessageToMetaData()
1983 sp<ABuffer> csd1; in convertMessageToMetaData() local
[all …]