/hardware/google/av/codec2/vndk/util/ |
D | C2ParamUtils.cpp | 72 for (size_t ix = 0; ix < name.size(); ++ix) { in camelCaseToDashed() local 74 << name.substr(word_start, ix - word_start) << "[" in camelCaseToDashed() 75 << name.substr(ix, 1) << "]" << name.substr(ix + 1) in camelCaseToDashed() 77 if (isupper(name[ix])) { in camelCaseToDashed() 79 name.insert(ix++, 1, '-'); in camelCaseToDashed() 80 word_start = ix; in camelCaseToDashed() 82 name[ix] = tolower(name[ix]); in camelCaseToDashed() 84 } else if (islower(name[ix])) { in camelCaseToDashed() 85 if (type == kDigit && ix > 0) { in camelCaseToDashed() 86 name.insert(ix++, 1, '-'); in camelCaseToDashed() [all …]
|
D | C2InterfaceHelper.cpp | 464 size_t ix = 0; in addParam() local 469 << ix << " that is not yet defined"; in addParam() 472 ++ix; in addParam() 478 std::shared_ptr<ParamHelper> getParam(C2Param::Index ix) const { in getParam() 480 const auto it = _mIndexToHelper.find(ix); in getParam() 490 std::shared_ptr<C2Param> getParamValue(C2Param::Index ix) const { in getParamValue() 491 std::shared_ptr<ParamHelper> helper = getParam(ix); in getParamValue() 506 size_t getDependencyIndex(C2Param::Index ix) { in getDependencyIndex() 509 auto it = _mDependencyIndex.find(ix); in getDependencyIndex() 655 C2Param::Index ix = min->second.first; in config() local [all …]
|
D | C2InterfaceUtils.cpp | 1070 size_t ix = 0; in C2FieldUtilsCousinsIterator() local 1071 for (; ix < level && node; ++ix) { in C2FieldUtilsCousinsIterator() 1076 setupPath(ix); in C2FieldUtilsCousinsIterator() 1083 size_t ix = 0; in increment() local 1084 while (ix < _mPath.size()) { in increment() 1085 if (++_mPath[ix]->index < _mPath[ix]->usedExtent) { in increment() 1086 setupPath(ix + 1); in increment() 1089 _mPath[ix++]->index = 0; in increment()
|
/hardware/google/av/media/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 131 size_t ix; in TEST_P() local 132 EXPECT_EQ(codec->dequeueInputBuffer(&ix, 1000000), OK); in TEST_P() 134 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P() 160 size_t ix; in TEST_P() local 161 EXPECT_EQ(codec->dequeueInputBuffer(&ix, 1000000), OK); in TEST_P() 163 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P() 193 size_t ix; in TEST_P() local 194 EXPECT_EQ(codec->dequeueInputBuffer(&ix, 1000000), OK); in TEST_P() 196 EXPECT_EQ(codec->getInputBuffer(ix, &buf), OK); in TEST_P() 226 size_t ix; in TEST_F() local [all …]
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | Configurable.cpp | 95 size_t ix = 0; in config() local 98 objcpy(&failures[ix++], *c2result); in config() 101 failures.resize(ix); in config() 155 size_t ix = 0; in querySupportedValues() local 157 objcpy(&outFields[ix++], result); in querySupportedValues()
|
D | types.cpp | 290 for (size_t ix = s.aliases.size(); ix > 0; ) { in objcpy() local 291 --ix; in objcpy() 292 d->aliases[ix] = s.aliases[ix]; in objcpy() 1418 size_t ix = 0; in parseParamsBlob() local 1423 p = C2ParamUtils::ParseFirst(data + ix, size - ix); in parseParamsBlob() 1426 ix += p->size(); in parseParamsBlob() 1427 ix = align(ix, PARAMS_ALIGNMENT); in parseParamsBlob() 1431 return ix == size ? C2_OK : C2_BAD_VALUE; in parseParamsBlob() 1456 size_t ix = 0; in _createParamsBlob() local 1462 size_t paramSize = std::min(p->size(), size - ix); in _createParamsBlob() [all …]
|
D | ComponentStore.cpp | 213 size_t ix = 0; in listComponents() local 216 objcpy(&traits[ix++], *c2trait); in listComponents() 219 traits.resize(ix); in listComponents()
|
D | Component.cpp | 349 size_t ix = 0; in onTripped_nb() local 353 if (objcpy(&settingResults[ix++], *c2result) != in onTripped_nb() 359 settingResults.resize(ix); in onTripped_nb()
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxEnc.h | 394 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in LayeringSetter() local 395 me.set().m.bitrateRatios[ix] = c2_clamp( in LayeringSetter() 396 ix > 0 ? me.v.m.bitrateRatios[ix - 1] : 0, me.v.m.bitrateRatios[ix], 1.); in LayeringSetter()
|
/hardware/google/av/media/codecs/base/include/ |
D | SimpleC2Interface.h | 216 for (size_t ix = 0; ix < me.v.flexCount(); ++ix) { in NonStrictValuesWithNoDeps() local 217 res.plus(me.F(me.v.m.values[ix]).validatePossible(me.v.m.values[ix])); in NonStrictValuesWithNoDeps()
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.cpp | 240 int32_t ix = x ^ 0x55; in DecodeALaw() local 241 ix &= 0x7f; in DecodeALaw() 243 int32_t iexp = ix >> 4; in DecodeALaw() 244 int32_t mant = ix & 0x0f; in DecodeALaw()
|
/hardware/google/av/media/sfplugin/ |
D | CCodecConfig.cpp | 957 for (C2Param::Index ix : mSubscribedIndices) { in subscribeToConfigUpdate() local 958 indices.push_back(ix); in subscribeToConfigUpdate() 1389 size_t ix = params->findEntryByName("crop-right"); in getReflectedFormat() local 1390 params->setEntryNameAt(ix, "crop-width"); in getReflectedFormat() 1392 params->setEntryAt(ix, item); in getReflectedFormat() 1396 size_t ix = params->findEntryByName("crop-bottom"); in getReflectedFormat() local 1397 params->setEntryNameAt(ix, "crop-height"); in getReflectedFormat() 1399 params->setEntryAt(ix, item); in getReflectedFormat() 1442 for (size_t ix = 0; ix < params->countEntries(); ++ix) { in getReflectedFormat() local 1444 AString name = params->getEntryNameAt(ix, &type); in getReflectedFormat() [all …]
|
D | CCodec.cpp | 834 for (size_t ix = 0; msg->findBuffer(StringPrintf("csd-%zu", ix).c_str(), &csd); ++ix) { in configure() local 1624 for (C2Param::Index ix : stdGfxInfos) { in onMessageReceived() local 1625 if (!buf->hasInfo(ix)) { in onMessageReceived() 1627 config->getConfigParameterValue(ix.withStream(stream)); in onMessageReceived()
|
D | CCodecBufferChannel.cpp | 1878 for (size_t ix = 0; ix + 3 < info->size(); ix += 4) { in renderOutputBuffer() 1879 if (ix) res.append(", "); in renderOutputBuffer() 1880 res.append(*((int32_t*)info.get() + (ix / 4))); in renderOutputBuffer()
|
/hardware/google/av/codec2/include/ |
D | C2ParamDef.h | 745 size_t ix = 0; 751 if (ix == arrayLen) { 754 array[ix++] = item; 761 size_t ix = 0; 767 if (ix == arrayLen) { 770 array[ix++] = item;
|
D | C2Config.h | 1388 size_t ix = 0; in C2ColorInfoStruct() local 1390 if (ix == flexCount) { in C2ColorInfoStruct() 1393 locations[ix] = location; in C2ColorInfoStruct() 1394 ++ix; in C2ColorInfoStruct() 1746 size_t ix = 0; in C2TemporalLayeringStruct() local 1748 if (ix == flexCount) { in C2TemporalLayeringStruct() 1751 bitrateRatios[ix++] = ratio; in C2TemporalLayeringStruct()
|
D | C2Param.h | 304 Index ix = mIndex; in withStream() local 305 (void)ix.setStream(stream); in withStream() 306 return ix; in withStream() 311 Index ix = mIndex; in withPort() local 312 (void)ix.setPort(output); in withPort() 313 return ix; in withPort()
|
/hardware/google/av/codec2/vndk/include/util/ |
D | C2InterfaceHelper.h | 717 size_t getDependencyIndex_l(C2Param::Index ix) const;
|