/external/icu/icu4c/source/samples/csdet/ |
csdet.c | 34 UCharsetDetector* csd; local 55 csd = ucsdet_open(&status); 56 ucsdet_setText(csd, buffer, inputLength, &status); 58 csm = ucsdet_detectAll(csd, &matchCount, &status); 72 ucsdet_close(csd);
|
/external/icu/icu4c/source/i18n/ |
ucsdet.cpp | 38 CharsetDetector* csd = new CharsetDetector(*status); local 41 delete csd; 42 csd = NULL; 45 return (UCharsetDetector *) csd; 51 CharsetDetector *csd = (CharsetDetector *) ucsd; local 52 delete csd; 123 CharsetDetector *csd = (CharsetDetector *) ucsd; local 125 return (const UCharsetMatch**)csd->detectAll(*maxMatchesFound,*status); 129 // ucsdet_getDetectableCharsetName(const UCharsetDetector *csd, int32_t index, UErrorCode *status) 134 // return csd->getCharsetName(index,*status) 165 CharsetDetector *csd = (CharsetDetector *) ucsd; local [all...] |
/frameworks/av/media/libstagefright/ |
MetaDataUtils.cpp | 43 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); local 44 if (csd == nullptr) { 49 meta.setData(kKeyAVCC, kTypeAVCC, csd->data(), csd->size()); 69 sp<ABuffer> csd = MakeAVCCodecSpecificData(accessUnit, &width, &height, &sarWidth, &sarHeight); local 70 if (csd == nullptr) { 75 AMediaFormat_setBuffer(meta, AMEDIAFORMAT_KEY_CSD_AVC, csd->data(), csd->size()); 124 uint8_t *csd, /* out */ 164 memcpy(csd, kStaticESDS, sizeof(kStaticESDS)) 183 uint8_t csd[2]; local 206 uint8_t csd[24]; local [all...] |
MediaCodec.cpp | 3042 sp<ABuffer> csd; local 3062 sp<ABuffer> csd = *mCSD.begin(); local 3609 sp<ABuffer> csd = new ABuffer(nalSize + 4); local 3625 sp<ABuffer> csd = new ABuffer(buffer->size()); local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ucsdetst.c | 94 UCharsetDetector *csd = ucsdet_open(&status); local 95 UEnumeration *e = ucsdet_getAllDetectableCharsets(csd, &status); 114 ucsdet_close(csd); 127 UCharsetDetector *csd = ucsdet_open(&status); local 134 ucsdet_setText(csd, bytes, byteLength, &status); 140 match = ucsdet_detect(csd, &status); 153 ucsdet_setDeclaredEncoding(csd, "UTF-8", 5, &status); /* for coverage */ 157 ucsdet_close(csd); 173 UCharsetDetector *csd = ucsdet_open(&status); local 178 ucsdet_setText(csd, beBytes, beLength, &status) 236 UCharsetDetector *csd = ucsdet_open(&status); local 289 UCharsetDetector *csd = ucsdet_open(&status); local 394 UCharsetDetector *csd = ucsdet_open(&status); local 479 UCharsetDetector *csd = ucsdet_open(&status); local 557 UCharsetDetector *csd = ucsdet_open(&status); local [all...] |
/external/v4l2_codec2/cmds/ |
codec2.cpp | 195 format->findBuffer("csd-0", &csds[0]); 196 format->findBuffer("csd-1", &csds[1]); 294 sp<ABuffer> csd; local 296 csd = std::move(csds.front()); 298 size = csd->size(); 299 data = csd->data();
|
/frameworks/av/media/codec2/components/cmds/ |
codec2.cpp | 205 format->findBuffer("csd-0", &csd0); 206 format->findBuffer("csd-1", &csd1); 297 sp<ABuffer> csd; local 299 csd = csd0; 302 csd = csd1; 322 if (csd != nullptr) { 323 size = csd->size(); 324 data = csd->data();
|
/frameworks/av/media/codec2/components/flac/ |
C2SoftFlacEnc.cpp | 233 std::unique_ptr<C2StreamInitDataInfo::output> csd = local 235 if (!csd) { 236 ALOGE("CSD allocation failed"); 241 memcpy(csd->m.value, mHeader, mHeaderOffset); 242 ALOGV("put csd, %d bytes", mHeaderOffset); 244 work->worklets.front()->output.configUpdate.push_back(std::move(csd));
|
/frameworks/av/media/libmedia/ |
CharacterEncodingDetector.cpp | 108 UCharsetDetector *csd = ucsdet_open(&status); local 140 ucsdet_setText(csd, buf, strlen(buf), &status); 142 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status); 169 ucsdet_setText(csd, buf, strlen(buf), &status); 170 ucma = ucsdet_detectAll(csd, &matches, &status); 215 ucsdet_setText(csd, s, inputLength, &status); 216 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status); 232 ucsdet_setText(csd, s, inputLength, &status); 233 ucm = ucsdet_detect(csd, &status); 305 ucsdet_close(csd); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
APacketSource.cpp | 172 sp<ABuffer> csd = new ABuffer(csdSize); local 173 uint8_t *out = csd->data(); 217 // hexdump(csd->data(), csd->size()); 219 return csd; 249 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + 2); local 250 memcpy(csd->data(), kStaticESDS, sizeof(kStaticESDS)); 251 csd->data()[sizeof(kStaticESDS)] = (x >> 8) & 0xff; 252 csd->data()[sizeof(kStaticESDS) + 1] = x & 0xff; 254 // hexdump(csd->data(), csd->size()) 296 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + config->size()); local 382 sp<ABuffer> csd = new ABuffer(len3); local [all...] |
/external/ltp/testcases/network/lib6/ |
asapi_01.c | 379 int csd[2]; /* control sockets */ local 383 isocketpair(PF_INET, SOCK_STREAM, 0, csd); 389 FD_SET(csd[1], &rset_save); 391 maxfd = MAX(sd, csd[1]); 396 close(csd[0]); 402 close(csd[1]); 403 client(csd[0]); 428 if (write(csd[1], packet, cc) < 0) { 433 if (FD_ISSET(csd[1], &rset)) { 436 cc = read(csd[1], buf, sizeof(buf)) [all...] |
/frameworks/av/media/codec2/components/aac/ |
C2SoftAacEnc.cpp | 337 std::unique_ptr<C2StreamInitDataInfo::output> csd = local 339 if (!csd) { 340 ALOGE("CSD allocation failed"); 345 memcpy(csd->m.value, encInfo.confBuf, encInfo.confSize); 346 ALOGV("put csd"); 348 hexdump(csd->m.value, csd->flexCount()); 350 work->worklets.front()->output.configUpdate.push_back(std::move(csd));
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
C2SoftMpeg4Enc.cpp | 439 std::unique_ptr<C2StreamInitDataInfo::output> csd = local 441 if (!csd) { 442 ALOGE("CSD allocation failed"); 447 memcpy(csd->m.value, outPtr, outputSize); 448 work->worklets.front()->output.configUpdate.push_back(std::move(csd));
|
/frameworks/av/media/codec2/components/opus/ |
C2SoftOpusEnc.cpp | 425 std::unique_ptr<C2StreamInitDataInfo::output> csd = local 427 if (!csd) { 428 ALOGE("CSD allocation failed"); 433 ALOGV("put csd, %d bytes", headerLen); 434 memcpy(csd->m.value, header, headerLen); 435 work->worklets.front()->output.configUpdate.push_back(std::move(csd));
|
/external/icu/icu4c/source/test/intltest/ |
csdetest.cpp | 169 LocalUCharsetDetectorPointer csd(ucsdet_open(&status)); 181 ucsdet_setText(csd.getAlias(), bytes, byteLength, &status); 184 const UCharsetMatch **matches = ucsdet_detectAll(csd.getAlias(), &matchCount, &status); 258 LocalUCharsetDetectorPointer csd(ucsdet_open(status)); 259 LocalUEnumerationPointer e(ucsdet_getAllDetectableCharsets(csd.getAlias(), status)); 285 LocalUEnumerationPointer eActive(ucsdet_getDetectableCharsets(csd.getAlias(), status)); 329 UCharsetDetector *csd = ucsdet_open(&status); local 333 ucsdet_setText(csd, bytes, byteLength, &status); 334 match = ucsdet_detect(csd, &status); 347 ucsdet_setDeclaredEncoding(csd, "UTF-8", 5, &status); /* for coverage * 369 UCharsetDetector *csd = ucsdet_open(&status); local 429 UCharsetDetector *csd = ucsdet_open(&status); local 497 UCharsetDetector *csd = ucsdet_open(&status); local 639 UCharsetDetector *csd = ucsdet_open(&status); local 729 UCharsetDetector *csd = ucsdet_open(&status); local 784 UCharsetDetector *csd = ucsdet_open(&status); local [all...] |
/external/v4l2_codec2/tests/ |
C2VDAComponent_test.cpp | 582 // Get csd buffers for h264. 586 format->findBuffer("csd-0", &csds[0]); 587 format->findBuffer("csd-1", &csds[1]); 599 sp<ABuffer> csd; local 603 csd = std::move(csds.front()); 605 size = csd->size(); 606 data = csd->data(); [all...] |
/frameworks/av/media/codec2/components/hevc/ |
C2SoftHevcEnc.cpp | 842 std::unique_ptr<C2StreamInitDataInfo::output> csd = local 845 if (!csd) { 846 ALOGE("CSD allocation failed"); 852 memcpy(csd->m.value, s_header_op.pu1_output_buf, 854 DUMP_TO_FILE(mOutFile, csd->m.value, csd->flexCount()); 856 std::move(csd)); [all...] |
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
NuPlayer2Decoder.cpp | 709 ALOGI("[%s] resubmitting CSD", mComponentName.c_str()); 1065 int32_t eos, csd; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerDecoder.cpp | 686 ALOGV("[%s] resubmitting CSD", mComponentName.c_str()); 1047 int32_t eos, csd; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
avc_utils.cpp | 408 sp<ABuffer> csd = new ABuffer(csdSize); local 409 uint8_t *out = csd->data(); 462 return csd;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
ESQueue.cpp | 1699 sp<ABuffer> csd = new ABuffer(offset); local 1917 sp<ABuffer> csd = new ABuffer(offset); local [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
_regset.h | 251 unsigned long csd;
member in struct:_caller_saved
|
/frameworks/av/media/codec2/components/avc/ |
C2SoftAvcEnc.cpp | 1460 std::unique_ptr<C2StreamInitDataInfo::output> csd = local [all...] |
/external/u-boot/include/ |
mmc.h | 578 uint csd[4]; member in struct:mmc
|
/frameworks/av/media/extractors/mp4/ |
MPEG4Extractor.cpp | 578 // MPEG2 tracks do not provide CSD, so read the stream header 4291 const uint8_t *csd; local [all...] |