Searched defs:csd (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp86 UCharsetDetector *csd = ucsdet_open(&status); local
116 ucsdet_setText(csd, buf, strlen(buf), &status);
118 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status);
147 ucsdet_setText(csd, buf, strlen(buf), &status);
148 ucma = ucsdet_detectAll(csd, &matches, &status);
190 ucsdet_setText(csd, s, inputLength, &status);
191 ucm = ucsdet_detect(csd, &status);
263 ucsdet_close(csd);
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp173 sp<ABuffer> csd = new ABuffer(csdSize); local
174 uint8_t *out = csd->data();
218 // hexdump(csd->data(), csd->size());
220 return csd;
250 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + 2); local
251 memcpy(csd->data(), kStaticESDS, sizeof(kStaticESDS));
252 csd->data()[sizeof(kStaticESDS)] = (x >> 8) & 0xff;
253 csd->data()[sizeof(kStaticESDS) + 1] = x & 0xff;
255 // hexdump(csd
297 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + config->size()); local
383 sp<ABuffer> csd = new ABuffer(len3); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.cpp856 int32_t eos, csd; local
860 } else if (buffer->meta()->findInt32("csd", &csd) && csd) {
985 if (mInputFormat->findBuffer("csd-0", &oldBuf) &&
986 targetFormat->findBuffer("csd-0", &newBuf)) {
1033 AString tag = "csd-";
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp360 sp<ABuffer> csd = new ABuffer(csdSize); local
361 uint8_t *out = csd->data();
392 meta->setData(kKeyAVCC, kTypeAVCC, csd->data(), csd->size());
500 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + 2); local
501 memcpy(csd->data(), kStaticESDS, sizeof(kStaticESDS));
503 csd->data()[sizeof(kStaticESDS)] =
506 csd->data()[sizeof(kStaticESDS) + 1] =
509 meta->setData(kKeyESDS, 0, csd->data(), csd
[all...]
H A DAVIExtractor.cpp974 sp<ABuffer> csd = new ABuffer(len3); local
975 uint8_t *dst = csd->data();
994 // hexdump(csd->data(), csd->size());
996 return csd;
1041 sp<ABuffer> csd = MakeMPEG4VideoCodecSpecificData(buffer); local
1042 track->mMeta->setData(kKeyESDS, kTypeESDS, csd->data(), csd->size());
1093 const void *csd; local
1095 CHECK(meta->findData(kKeyAVCC, &type, &csd,
[all...]
H A DMediaCodec.cpp1411 // if there's more csd left, we submit it here
2199 sp<ABuffer> csd; local
2200 if (!format->findBuffer(AStringPrintf("csd-%u", i).c_str(), &csd)) {
2204 mCSD.push_back(csd);
2217 sp<ABuffer> csd = *mCSD.begin(); local
2223 if (csd->size() > codecInputData->capacity()) {
2227 memcpy(codecInputData->data(), csd->data(), csd->size());
2234 msg->setSize("size", csd
2769 sp<ABuffer> csd = new ABuffer(nalSize + 4); local
[all...]
H A DMPEG4Extractor.cpp2982 const uint8_t *csd; local
2985 (const void **)&csd, &csd_size) != OK) {
2991 hexdump(csd, csd_size);
3011 ABitReader br(csd, csd_size);
3128 ALOGW("csd missing extension flag; assuming %d for object type %u.",
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp108 sp<ABuffer> csd; local
109 if (!mFormat->findBuffer(AStringPrintf("csd-%d", i).c_str(), &csd)) {
113 mCSD.push(csd);
186 const sp<ABuffer> &csd = mCSD.itemAt(i); local
188 memcpy(dup->data() + offset, csd->data(), csd->size());
189 offset += csd->size();
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp1017 static sp<ABuffer> MakeMPEGVideoESDS(const sp<ABuffer> &csd) { argument
1018 sp<ABuffer> esds = new ABuffer(csd->size() + 25);
1022 EncodeSize14(&ptr, 22 + csd->size());
1030 EncodeSize14(&ptr, 16 + csd->size());
1039 EncodeSize14(&ptr, csd->size());
1041 memcpy(ptr, csd->data(), csd->size());
1100 sp<ABuffer> csd = new ABuffer(offset); local
1101 memcpy(csd->data(), data, offset);
1112 // hexdump(csd
1292 sp<ABuffer> csd = new ABuffer(offset); local
[all...]

Completed in 271 milliseconds