/frameworks/av/media/codec2/hal/plugin/ |
D | FilterWrapper.cpp | 47 std::shared_ptr<C2ComponentInterface> intf, in WrappedDecoderInterface() argument 50 : mIntf(intf), mFilterWrapper(filterWrapper) { in WrappedDecoderInterface() 62 c2_status_t err = mFilters.back().intf->querySupportedParams_nb(¶mDescs); in takeFilters() 83 mFilters.back().intf->query_vb({}, indices, C2_MAY_BLOCK, &lastFilterParams); in takeFilters() 99 transferParams_l(mIntf, mFilters[0].intf, C2_MAY_BLOCK); in takeFilters() 101 transferParams_l(mFilters[i - 1].intf, mFilters[i].intf, C2_MAY_BLOCK); in takeFilters() 113 backPropagateParams_l(mIntf, mFilters[0].intf, C2_MAY_BLOCK); in takeFilters() 115 backPropagateParams_l(mFilters[i - 2].intf, mFilters[i - 1].intf, C2_MAY_BLOCK); in takeFilters() 134 mFilters.back().intf->config_vb(paramPtrs, C2_MAY_BLOCK, &failures); in takeFilters() 179 const std::shared_ptr<C2ComponentInterface> &filter = mFilters[i].intf; in query_vb() [all …]
|
D | DefaultFilterPlugin.cpp | 101 bool DefaultFilterPlugin::isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) { in isFilteringEnabled() argument 105 return mPlugin->isFilteringEnabled(intf); in isFilteringEnabled() 109 const std::shared_ptr<C2ComponentInterface> &intf, in queryParamsForPreviousComponent() argument 114 return mPlugin->queryParamsForPreviousComponent(intf, params); in queryParamsForPreviousComponent()
|
D | FilterWrapperStub.cpp | 31 const std::shared_ptr<C2ComponentInterface> intf) { in maybeWrapInterface() argument 32 return intf; in maybeWrapInterface()
|
/frameworks/av/media/codec2/hal/plugin/internal/ |
D | FilterWrapper.h | 45 virtual bool isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) = 0; 47 const std::shared_ptr<C2ComponentInterface> &intf, 54 const std::shared_ptr<C2ComponentInterface> intf; member 71 const std::shared_ptr<C2ComponentInterface> intf); 82 bool isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf); 104 const std::shared_ptr<C2ComponentInterface> &intf, 124 C2Component::Traits getTraits(const std::shared_ptr<C2ComponentInterface> &intf);
|
D | DefaultFilterPlugin.h | 37 bool isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) override; 39 const std::shared_ptr<C2ComponentInterface> &intf,
|
/frameworks/av/media/codec2/hal/aidl/ |
D | ComponentInterface.cpp | 48 CompIntf(const std::shared_ptr<C2ComponentInterface>& intf, in CompIntf() 50 ConfigurableC2Intf{intf->getName(), intf->getId()}, in CompIntf() 51 mIntf{intf}, mMultiAccessUnitIntf{multiAccessUnitIntf} { 196 const std::shared_ptr<C2ComponentInterface>& intf, in ComponentInterface() argument 197 const std::shared_ptr<ParameterCache>& cache):ComponentInterface(intf, nullptr, cache) { in ComponentInterface() 201 const std::shared_ptr<C2ComponentInterface>& intf, in ComponentInterface() argument 204 : mInterface{intf}, in ComponentInterface() 206 std::make_unique<CompIntf>(intf, multiAccessUnitIntf))} {
|
D | ComponentStore.cpp | 268 onInterfaceLoaded(c2component->intf()); in createComponent() 295 std::shared_ptr<IComponentInterface> *intf) { in createInterface() argument 305 *intf = SharedRefBase::make<ComponentInterface>( in createInterface() 338 void ComponentStore::onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf) { in onInterfaceLoaded() argument 342 if (!mLoadedInterfaces.count(intf->getName())) { in onInterfaceLoaded() 344 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded() 483 std::shared_ptr<C2ComponentInterface> intf = compStatus.c2Component->intf(); in dump() local 484 if (!intf) { in dump() 488 out << indent << "Name: " << intf->getName() << std::endl; in dump() 489 out << indent << "Id: " << intf->getId() << std::endl; in dump()
|
/frameworks/av/media/codec2/hal/hidl/1.0/utils/ |
D | ComponentInterface.cpp | 47 CompIntf(const std::shared_ptr<C2ComponentInterface>& intf, in CompIntf() 49 ConfigurableC2Intf{intf->getName(), intf->getId()}, in CompIntf() 50 mIntf{intf}, mMultiAccessUnitIntf{multiAccessUnitIntf} { 196 const std::shared_ptr<C2ComponentInterface>& intf, in ComponentInterface() argument 197 const std::shared_ptr<ParameterCache>& cache):ComponentInterface(intf, nullptr, cache) { in ComponentInterface() 201 const std::shared_ptr<C2ComponentInterface>& intf, in ComponentInterface() argument 204 : mInterface{intf}, in ComponentInterface() 206 std::make_unique<CompIntf>(intf, multiAccessUnitIntf))} {
|
D | InputSurfaceConnection.cpp | 77 std::shared_ptr<C2ComponentInterface> intf = localComp->intf(); local 78 mSinkName = intf ? intf->getName() : ""; 297 std::shared_ptr<C2ComponentInterface> intf = mLocalComp->intf(); in queryFromSink() local 298 if (intf) { in queryFromSink() 299 return intf->query_vb(stackParams, in queryFromSink()
|
D | ComponentStore.cpp | 251 onInterfaceLoaded(c2component->intf()); in createComponent() 327 void ComponentStore::onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf) { in onInterfaceLoaded() argument 331 if (!mLoadedInterfaces.count(intf->getName())) { in onInterfaceLoaded() 333 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded() 464 std::shared_ptr<C2ComponentInterface> intf = compStatus.c2Component->intf(); in dump() local 465 if (!intf) { in dump() 469 out << indent << "Name: " << intf->getName() << std::endl; in dump() 470 out << indent << "Id: " << intf->getId() << std::endl; in dump()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | PersistentSurface.h | 85 ::android::sp<::android::IBinder> intf = in writeToParcel() 87 if (intf) { in writeToParcel() 89 parcel->writeStrongBinder(intf); in writeToParcel() 124 ::android::sp<::android::IBinder> intf = parcel->readStrongBinder(); in readFromParcel() 125 AIBinder *ndkBinder = AIBinder_fromPlatformBinder(intf); in readFromParcel()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 184 public boolean claimInterface(UsbInterface intf, boolean force) { in claimInterface() argument 185 return native_claim_interface(intf.getId(), force); in claimInterface() 193 public boolean releaseInterface(UsbInterface intf) { in releaseInterface() argument 194 return native_release_interface(intf.getId()); in releaseInterface() 203 public boolean setInterface(UsbInterface intf) { in setInterface() argument 204 return native_set_interface(intf.getId(), intf.getAlternateSetting()); in setInterface()
|
D | UsbInterface.java | 175 … UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol); 176 intf.setEndpoints(endpoints); 177 return intf;
|
D | DeviceFilter.java | 226 UsbInterface intf = device.getInterface(i); in matches() local 227 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), in matches() 228 intf.getInterfaceProtocol(), intf.getName())) return true; in matches()
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
D | accessorychat.c | 105 struct usb_interface_descriptor *intf = NULL; in usb_device_added() local 113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added() 115 intf = (struct usb_interface_descriptor *)desc; in usb_device_added() 124 if (!intf) { in usb_device_added() 133 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) { in usb_device_added()
|
/frameworks/av/media/mtp/ |
D | MtpDescriptors.cpp | 120 .intf = mtp_interface_desc, 127 .intf = mtp_interface_desc, 134 .intf = mtp_interface_desc, 144 .intf = ptp_interface_desc, 151 .intf = ptp_interface_desc, 158 .intf = ptp_interface_desc,
|
D | MtpDescriptors.h | 54 struct usb_interface_descriptor intf; member 61 struct usb_interface_descriptor intf; member
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | usb.c | 111 struct usb_interface_descriptor *intf = NULL; in usb_device_added() local 117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added() 119 intf = (struct usb_interface_descriptor *)desc; in usb_device_added() 128 if (!intf) { in usb_device_added() 137 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) { in usb_device_added()
|
/frameworks/av/media/codec2/hal/hidl/1.2/utils/ |
D | ComponentStore.cpp | 251 onInterfaceLoaded(c2component->intf()); in createComponent() 326 void ComponentStore::onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf) { in onInterfaceLoaded() argument 330 if (!mLoadedInterfaces.count(intf->getName())) { in onInterfaceLoaded() 332 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded() 411 onInterfaceLoaded(c2component->intf()); in createComponent_1_1() 447 onInterfaceLoaded(c2component->intf()); in createComponent_1_2() 535 std::shared_ptr<C2ComponentInterface> intf = compStatus.c2Component->intf(); in dump() local 536 if (!intf) { in dump() 540 out << indent << "Name: " << intf->getName() << std::endl; in dump() 541 out << indent << "Id: " << intf->getId() << std::endl; in dump()
|
/frameworks/av/media/codec2/hal/plugin/include/codec2/hidl/plugin/ |
D | FilterPlugin.h | 59 virtual bool isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) = 0; 67 const std::shared_ptr<C2ComponentInterface> &intf,
|
/frameworks/av/media/codec2/hal/hidl/1.1/utils/ |
D | ComponentStore.cpp | 252 onInterfaceLoaded(c2component->intf()); in createComponent() 328 void ComponentStore::onInterfaceLoaded(const std::shared_ptr<C2ComponentInterface> &intf) { in onInterfaceLoaded() argument 332 if (!mLoadedInterfaces.count(intf->getName())) { in onInterfaceLoaded() 334 mLoadedInterfaces.emplace(intf->getName()); in onInterfaceLoaded() 413 onInterfaceLoaded(c2component->intf()); in createComponent_1_1() 501 std::shared_ptr<C2ComponentInterface> intf = compStatus.c2Component->intf(); in dump() local 502 if (!intf) { in dump() 506 out << indent << "Name: " << intf->getName() << std::endl; in dump() 507 out << indent << "Id: " << intf->getId() << std::endl; in dump()
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 99 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedProfileLevels() argument 115 c2_status_t err = intf->querySupportedValues(profileQuery, C2_DONT_BLOCK); in addSupportedProfileLevels() 134 c2_status_t err1 = intf->querySupportedParams(¶mDescs); in addSupportedProfileLevels() 178 err = intf->config({&pl}, C2_DONT_BLOCK, &failures); in addSupportedProfileLevels() 183 err = intf->querySupportedValues(levelQuery, C2_DONT_BLOCK); in addSupportedProfileLevels() 249 std::shared_ptr<Codec2Client::Interface> intf, in addSupportedColorFormats() argument 270 if (intf->querySupportedValues(query, C2_DONT_BLOCK) == C2_OK) { in addSupportedColorFormats() 529 std::shared_ptr<Codec2Client::Interface> intf = in buildMediaCodecList() local 531 if (!intf) { in buildMediaCodecList() 725 if (!addSupportedProfileLevels(intf, caps.get(), trait, mediaType)) { in buildMediaCodecList() [all …]
|
/frameworks/av/media/codec2/components/tests/ |
D | C2SoftCodecTest.cpp | 51 std::shared_ptr<C2ComponentInterface>* const intf) { in createInterface() argument 56 kPlaceholderId, intf, std::default_delete<C2ComponentInterface>()); in createInterface()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 138 UsbInterface intf = device.getInterface(i); in isCamera() local 139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera() 140 intf.getInterfaceSubclass() == 1 && in isCamera() 141 intf.getInterfaceProtocol() == 1) { in isCamera()
|
/frameworks/av/media/codec2/hal/plugin/samples/ |
D | SampleFilterPlugin.cpp | 118 static bool IsFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) { in IsFilteringEnabled() argument 121 c2_status_t err = intf->query_vb({&info}, {}, C2_MAY_BLOCK, &heapParams); in IsFilteringEnabled() 124 << "query failed for " << intf->getName(); in IsFilteringEnabled() 131 [[maybe_unused]] const std::shared_ptr<C2ComponentInterface> &intf, in QueryParamsForPreviousComponent() argument 606 std::shared_ptr<C2ComponentInterface> intf() override { in intf() function in android::SampleToneMappingFilter 956 std::shared_ptr<C2ComponentInterface> intf{new typename T::Interface(0, reflector)}; in AddFactory() local 958 CHECK(C2InterfaceUtils::FillTraitsFromInterface(traits.get(), intf)) in AddFactory() 1002 bool isFilteringEnabled(const std::shared_ptr<C2ComponentInterface> &intf) override { in isFilteringEnabled() argument 1003 if (intf->getName() == SampleToneMappingFilter::Interface::NAME) { in isFilteringEnabled() 1004 return SampleToneMappingFilter::Interface::IsFilteringEnabled(intf); in isFilteringEnabled() [all …]
|