/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 86 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 D | APacketSource.cpp | 173 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 D | NuPlayerDecoder.cpp | 856 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 D | avc_utils.cpp | 360 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 D | AVIExtractor.cpp | 974 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 D | MediaCodec.cpp | 1411 // 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 D | MPEG4Extractor.cpp | 2982 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 D | TSPacketizer.cpp | 108 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 D | ESQueue.cpp | 1017 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...] |