package o6; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.ParcelFileDescriptor; import e6.f; import java.io.InputStream; import java.nio.ByteBuffer; import java.util.List; /* loaded from: classes2.dex */ interface r { public static final class a implements r { /* renamed from: a, reason: collision with root package name */ private final ByteBuffer f12779a; /* renamed from: b, reason: collision with root package name */ private final List f12780b; /* renamed from: c, reason: collision with root package name */ private final i6.a f12781c; a(ByteBuffer byteBuffer, List list, i6.a aVar) { this.f12779a = byteBuffer; this.f12780b = list; this.f12781c = aVar; } private InputStream e() { return b7.a.g(b7.a.d(this.f12779a)); } @Override // o6.r public int a() { return e6.g.e(this.f12780b, b7.a.d(this.f12779a), this.f12781c); } @Override // o6.r public Bitmap b(BitmapFactory.Options options) { return BitmapFactory.decodeStream(e(), null, options); } @Override // o6.r public void c() { } @Override // o6.r public f.a d() { return e6.g.h(this.f12780b, b7.a.d(this.f12779a)); } } public static final class b implements r { /* renamed from: a, reason: collision with root package name */ private final f6.k f12782a; /* renamed from: b, reason: collision with root package name */ private final i6.a f12783b; /* renamed from: c, reason: collision with root package name */ private final List f12784c; b(InputStream inputStream, List list, i6.a aVar) { this.f12783b = (i6.a) b7.j.d(aVar); this.f12784c = (List) b7.j.d(list); this.f12782a = new f6.k(inputStream, aVar); } @Override // o6.r public int a() { return e6.g.d(this.f12784c, this.f12782a.a(), this.f12783b); } @Override // o6.r public Bitmap b(BitmapFactory.Options options) { return BitmapFactory.decodeStream(this.f12782a.a(), null, options); } @Override // o6.r public void c() { this.f12782a.c(); } @Override // o6.r public f.a d() { return e6.g.g(this.f12784c, this.f12782a.a(), this.f12783b); } } public static final class c implements r { /* renamed from: a, reason: collision with root package name */ private final i6.a f12785a; /* renamed from: b, reason: collision with root package name */ private final List f12786b; /* renamed from: c, reason: collision with root package name */ private final f6.m f12787c; c(ParcelFileDescriptor parcelFileDescriptor, List list, i6.a aVar) { this.f12785a = (i6.a) b7.j.d(aVar); this.f12786b = (List) b7.j.d(list); this.f12787c = new f6.m(parcelFileDescriptor); } @Override // o6.r public int a() { return e6.g.c(this.f12786b, this.f12787c, this.f12785a); } @Override // o6.r public Bitmap b(BitmapFactory.Options options) { return BitmapFactory.decodeFileDescriptor(this.f12787c.a().getFileDescriptor(), null, options); } @Override // o6.r public void c() { } @Override // o6.r public f.a d() { return e6.g.f(this.f12786b, this.f12787c, this.f12785a); } } int a(); Bitmap b(BitmapFactory.Options options); void c(); f.a d(); }