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 | 1491 static size_t reassembleAVCC(const sp<ABuffer> &csd0, const sp<ABuffer> &csd1, char *avcc) { in reassembleAVCC() argument 1536 i = findNextNalStartCode(csd1->data() + i, csd1->size() - i) - csd1->data(); in reassembleAVCC() 1542 memcpy(avcc+avccidx, csd1->data() + lastparamoffset, size); in reassembleAVCC() 1548 } while(i < csd1->size()); in reassembleAVCC() 1878 sp<ABuffer> csd0, csd1, csd2; in convertMessageToMetaData() local 1882 sp<ABuffer> csd1; in convertMessageToMetaData() local 1883 if (msg->findBuffer("csd-1", &csd1)) { in convertMessageToMetaData() 1884 std::vector<char> avcc(csd0size + csd1->size() + 1024); in convertMessageToMetaData() 1885 size_t outsize = reassembleAVCC(csd0, csd1, avcc.data()); in convertMessageToMetaData() 1919 sp<ABuffer> csd1; in convertMessageToMetaData() local [all …]
|