Lines Matching refs:domain
90 ConfigMapper &limitTo(uint32_t domain) { in limitTo()
91 C2_CHECK(domain & Domain::GUARD_BIT); in limitTo()
92 mDomain = Domain(mDomain & domain); in limitTo()
170 Domain domain() const { return mDomain; } in domain() function
263 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
264 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
265 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
266 ((cm.domain() & Domain::IS_RAW) ? 'R' : ' '), in add()
267 ((cm.domain() & Domain::IS_CONFIG) ? 'c' : ' '), in add()
268 ((cm.domain() & Domain::IS_PARAM) ? 'p' : ' '), in add()
269 ((cm.domain() & Domain::IS_READ) ? 'r' : ' '), in add()
270 cm.domain(), in add()
294 ALOGV("filtering %s %x %x %x %x", cm.path().c_str(), cm.domain(), any, in getPathsForDomain()
295 (cm.domain() & any), (cm.domain() & any & all)); in getPathsForDomain()
296 if ((cm.domain() & any) && ((cm.domain() & any & all) == (any & all))) { in getPathsForDomain()
925 C2ComponentDomainSetting domain(C2Component::DOMAIN_OTHER); in initialize() local
929 c2_status_t c2err = configurable->query({ &domain, &kind }, {}, C2_DONT_BLOCK, &queried); in initialize()
942 if (domain.value == C2Component::DOMAIN_OTHER) { in initialize()
945 domain.value = C2Component::DOMAIN_AUDIO; in initialize()
947 domain.value = C2Component::DOMAIN_VIDEO; in initialize()
949 domain.value = C2Component::DOMAIN_IMAGE; in initialize()
954 mDomain = (domain.value == C2Component::DOMAIN_VIDEO ? Domain::IS_VIDEO : in initialize()
955 domain.value == C2Component::DOMAIN_IMAGE ? Domain::IS_IMAGE : in initialize()
956 domain.value == C2Component::DOMAIN_AUDIO ? Domain::IS_AUDIO : Domain::OTHER_DOMAIN) in initialize()
963 ALOGV("domain is %#x (%u %u)", mDomain, domain.value, kind.value); in initialize()
1004 if (domain.value == C2Component::DOMAIN_IMAGE || domain.value == C2Component::DOMAIN_VIDEO) { in initialize()
1097 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain) { in updateConfiguration() argument
1119 return updateFormats(domain); in updateConfiguration()
1124 bool CCodecConfig::updateFormats(Domain domain) { in updateFormats() argument
1153 if (domain & mInputDomain) { in updateFormats()
1164 if (domain & mOutputDomain) { in updateFormats()
1185 if ((cm.domain() & portDomain) == 0 // input-output-coded-raw in getFormatForDomain()
1186 || (cm.domain() & mDomain) != mDomain // component domain + kind (these must match) in getFormatForDomain()
1187 || (cm.domain() & IS_READ) == 0) { in getFormatForDomain()
1616 if ((cm.domain() & configDomain) in getReflectedFormat()
1618 && (cm.domain() & mDomain) == mDomain) { in getReflectedFormat()