39 lines
1.6 KiB
Java
39 lines
1.6 KiB
Java
|
package com.kofax.kmc.ken.engines;
|
||
|
|
||
|
import com.kofax.kmc.ken.engines.gpu.GPUStrategyCombinedEdgeDetection;
|
||
|
import com.kofax.kmc.ken.engines.gpu.GPUStrategyEdgeDetection;
|
||
|
import o.fPK;
|
||
|
import o.fZE;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class GpuDetectionModule_GetCombinedDocumentDetectionFactory implements fPK<GPUStrategyEdgeDetection> {
|
||
|
private final GpuDetectionModule aa;
|
||
|
private final fZE<GPUStrategyCombinedEdgeDetection> ab;
|
||
|
|
||
|
public GpuDetectionModule_GetCombinedDocumentDetectionFactory(GpuDetectionModule gpuDetectionModule, fZE<GPUStrategyCombinedEdgeDetection> fze) {
|
||
|
this.aa = gpuDetectionModule;
|
||
|
this.ab = fze;
|
||
|
}
|
||
|
|
||
|
@Override // o.fZE
|
||
|
public final GPUStrategyEdgeDetection get() {
|
||
|
GPUStrategyEdgeDetection a = this.aa.a(this.ab.get());
|
||
|
if (a != null) {
|
||
|
return a;
|
||
|
}
|
||
|
throw new NullPointerException("Cannot return null from a non-@Nullable @Provides method");
|
||
|
}
|
||
|
|
||
|
public static GpuDetectionModule_GetCombinedDocumentDetectionFactory create(GpuDetectionModule gpuDetectionModule, fZE<GPUStrategyCombinedEdgeDetection> fze) {
|
||
|
return new GpuDetectionModule_GetCombinedDocumentDetectionFactory(gpuDetectionModule, fze);
|
||
|
}
|
||
|
|
||
|
public static GPUStrategyEdgeDetection proxyGetCombinedDocumentDetection(GpuDetectionModule gpuDetectionModule, GPUStrategyCombinedEdgeDetection gPUStrategyCombinedEdgeDetection) {
|
||
|
GPUStrategyEdgeDetection a = gpuDetectionModule.a(gPUStrategyCombinedEdgeDetection);
|
||
|
if (a != null) {
|
||
|
return a;
|
||
|
}
|
||
|
throw new NullPointerException("Cannot return null from a non-@Nullable @Provides method");
|
||
|
}
|
||
|
}
|