package z1; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.ParcelFileDescriptor; import com.bumptech.glide.load.ImageHeaderParser; import com.bumptech.glide.load.data.ParcelFileDescriptorRewinder; import java.io.InputStream; import java.util.List; /* loaded from: classes.dex */ interface z { public static final class a implements z { /* renamed from: a, reason: collision with root package name */ private final com.bumptech.glide.load.data.k f15803a; /* renamed from: b, reason: collision with root package name */ private final t1.b f15804b; /* renamed from: c, reason: collision with root package name */ private final List f15805c; a(InputStream inputStream, List list, t1.b bVar) { this.f15804b = (t1.b) m2.j.d(bVar); this.f15805c = (List) m2.j.d(list); this.f15803a = new com.bumptech.glide.load.data.k(inputStream, bVar); } @Override // z1.z public int a() { return com.bumptech.glide.load.a.b(this.f15805c, this.f15803a.a(), this.f15804b); } @Override // z1.z public Bitmap b(BitmapFactory.Options options) { return BitmapFactory.decodeStream(this.f15803a.a(), null, options); } @Override // z1.z public void c() { this.f15803a.c(); } @Override // z1.z public ImageHeaderParser.ImageType d() { return com.bumptech.glide.load.a.e(this.f15805c, this.f15803a.a(), this.f15804b); } } public static final class b implements z { /* renamed from: a, reason: collision with root package name */ private final t1.b f15806a; /* renamed from: b, reason: collision with root package name */ private final List f15807b; /* renamed from: c, reason: collision with root package name */ private final ParcelFileDescriptorRewinder f15808c; b(ParcelFileDescriptor parcelFileDescriptor, List list, t1.b bVar) { this.f15806a = (t1.b) m2.j.d(bVar); this.f15807b = (List) m2.j.d(list); this.f15808c = new ParcelFileDescriptorRewinder(parcelFileDescriptor); } @Override // z1.z public int a() { return com.bumptech.glide.load.a.a(this.f15807b, this.f15808c, this.f15806a); } @Override // z1.z public Bitmap b(BitmapFactory.Options options) { return BitmapFactory.decodeFileDescriptor(this.f15808c.a().getFileDescriptor(), null, options); } @Override // z1.z public void c() { } @Override // z1.z public ImageHeaderParser.ImageType d() { return com.bumptech.glide.load.a.d(this.f15807b, this.f15808c, this.f15806a); } } int a(); Bitmap b(BitmapFactory.Options options); void c(); ImageHeaderParser.ImageType d(); }