Lines Matching defs:csd
794 // if there's more csd left, we submit it here
1409 sp<ABuffer> csd;
1410 if (!format->findBuffer(StringPrintf("csd-%u", i).c_str(), &csd)) {
1414 mCSD.push_back(csd);
1427 sp<ABuffer> csd = *mCSD.begin();
1433 if (csd->size() > codecInputData->capacity()) {
1437 memcpy(codecInputData->data(), csd->data(), csd->size());
1444 msg->setSize("size", csd->size());
1616 info->mData->meta()->setInt32("csd", true);
1783 // under the keys "csd-0" and "csd-1".
1793 sp<ABuffer> csd = new ABuffer(nalSize + 4);
1794 memcpy(csd->data(), "\x00\x00\x00\x01", 4);
1795 memcpy(csd->data() + 4, nalStart, nalSize);
1798 StringPrintf("csd-%u", csdIndex).c_str(), csd);
1808 // the output format as a single piece of csd under "csd-0".
1809 mOutputFormat->setBuffer("csd-0", buffer);