Lines Matching refs:domain
68 ConfigMapper &limitTo(uint32_t domain) { in limitTo()
69 C2_CHECK(domain & Domain::GUARD_BIT); in limitTo()
70 mDomain = Domain(mDomain & domain); in limitTo()
165 Domain domain() const { return mDomain; } in domain() function
258 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
259 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
260 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
261 ((cm.domain() & Domain::IS_RAW) ? 'R' : ' '), in add()
262 ((cm.domain() & Domain::IS_CONFIG) ? 'c' : ' '), in add()
263 ((cm.domain() & Domain::IS_PARAM) ? 'p' : ' '), in add()
264 ((cm.domain() & Domain::IS_READ) ? 'r' : ' '), in add()
265 cm.domain(), in add()
289 ALOGV("filtering %s %x %x %x %x", cm.path().c_str(), cm.domain(), any, in getPathsForDomain()
290 (cm.domain() & any), (cm.domain() & any & all)); in getPathsForDomain()
291 if ((cm.domain() & any) && ((cm.domain() & any & all) == (any & all))) { in getPathsForDomain()
838 C2ComponentDomainSetting domain(C2Component::DOMAIN_OTHER); in initialize() local
842 c2_status_t c2err = component->query({ &domain, &kind }, {}, C2_DONT_BLOCK, &queried); in initialize()
855 if (domain.value == C2Component::DOMAIN_OTHER) { in initialize()
858 domain.value = C2Component::DOMAIN_AUDIO; in initialize()
860 domain.value = C2Component::DOMAIN_VIDEO; in initialize()
862 domain.value = C2Component::DOMAIN_IMAGE; in initialize()
867 mDomain = (domain.value == C2Component::DOMAIN_VIDEO ? Domain::IS_VIDEO : in initialize()
868 domain.value == C2Component::DOMAIN_IMAGE ? Domain::IS_IMAGE : in initialize()
869 domain.value == C2Component::DOMAIN_AUDIO ? Domain::IS_AUDIO : Domain::OTHER_DOMAIN) in initialize()
876 ALOGV("domain is %#x (%u %u)", mDomain, domain.value, kind.value); in initialize()
917 if (domain.value == C2Component::DOMAIN_IMAGE || domain.value == C2Component::DOMAIN_VIDEO) { in initialize()
1000 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain) { in updateConfiguration() argument
1022 return updateFormats(domain); in updateConfiguration()
1027 bool CCodecConfig::updateFormats(Domain domain) { in updateFormats() argument
1056 if (domain & mInputDomain) { in updateFormats()
1067 if (domain & mOutputDomain) { in updateFormats()
1087 if ((cm.domain() & portDomain) == 0 // input-output-coded-raw in getSdkFormatForDomain()
1088 || (cm.domain() & mDomain) != mDomain // component domain + kind (these must match) in getSdkFormatForDomain()
1089 || (cm.domain() & IS_READ) == 0) { in getSdkFormatForDomain()
1485 if ((cm.domain() & configDomain) in getReflectedFormat()
1487 && (cm.domain() & mDomain) == mDomain) { in getReflectedFormat()