38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
package o;
|
|
|
|
import com.bumptech.glide.load.ImageHeaderParser;
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
import java.nio.ByteBuffer;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class gYC implements ImageHeaderParser {
|
|
@Override // com.bumptech.glide.load.ImageHeaderParser
|
|
public final ImageHeaderParser.ImageType b(InputStream inputStream) {
|
|
return ImageHeaderParser.ImageType.UNKNOWN;
|
|
}
|
|
|
|
@Override // com.bumptech.glide.load.ImageHeaderParser
|
|
public final ImageHeaderParser.ImageType a(ByteBuffer byteBuffer) {
|
|
return ImageHeaderParser.ImageType.UNKNOWN;
|
|
}
|
|
|
|
@Override // com.bumptech.glide.load.ImageHeaderParser
|
|
public final int a(InputStream inputStream, Opg opg) throws IOException {
|
|
int a = new hvV(inputStream).a("Orientation", 1);
|
|
if (a == 0) {
|
|
return -1;
|
|
}
|
|
return a;
|
|
}
|
|
|
|
@Override // com.bumptech.glide.load.ImageHeaderParser
|
|
public final int d(ByteBuffer byteBuffer, Opg opg) throws IOException {
|
|
int a = new hvV(Qeb.a(byteBuffer)).a("Orientation", 1);
|
|
if (a == 0) {
|
|
return -1;
|
|
}
|
|
return a;
|
|
}
|
|
}
|