Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzqv.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

73 lines
2.8 KiB
Java

package com.google.android.gms.internal.ads;
import java.nio.ByteBuffer;
/* loaded from: classes3.dex */
final class zzqv extends zzci {
private static final int zzd = Float.floatToIntBits(Float.NaN);
private static void zzo(int i, ByteBuffer byteBuffer) {
int floatToIntBits = Float.floatToIntBits((float) (i * 4.656612875245797E-10d));
if (floatToIntBits == zzd) {
floatToIntBits = Float.floatToIntBits(0.0f);
}
byteBuffer.putInt(floatToIntBits);
}
@Override // com.google.android.gms.internal.ads.zzch
public final void zze(ByteBuffer byteBuffer) {
ByteBuffer zzj;
int position = byteBuffer.position();
int limit = byteBuffer.limit();
int i = limit - position;
int i2 = this.zzb.zzd;
if (i2 == 21) {
zzj = zzj((i / 3) * 4);
while (position < limit) {
zzo(((byteBuffer.get(position) & 255) << 8) | ((byteBuffer.get(position + 1) & 255) << 16) | ((byteBuffer.get(position + 2) & 255) << 24), zzj);
position += 3;
}
} else if (i2 == 22) {
zzj = zzj(i);
while (position < limit) {
int i3 = byteBuffer.get(position) & 255;
int i4 = (byteBuffer.get(position + 1) & 255) << 8;
zzo(i3 | i4 | ((byteBuffer.get(position + 2) & 255) << 16) | ((byteBuffer.get(position + 3) & 255) << 24), zzj);
position += 4;
}
} else if (i2 == 1342177280) {
zzj = zzj((i / 3) * 4);
while (position < limit) {
zzo(((byteBuffer.get(position + 2) & 255) << 8) | ((byteBuffer.get(position + 1) & 255) << 16) | ((byteBuffer.get(position) & 255) << 24), zzj);
position += 3;
}
} else {
if (i2 != 1610612736) {
throw new IllegalStateException();
}
zzj = zzj(i);
while (position < limit) {
int i5 = byteBuffer.get(position + 3) & 255;
int i6 = (byteBuffer.get(position + 2) & 255) << 8;
zzo(i5 | i6 | ((byteBuffer.get(position + 1) & 255) << 16) | ((byteBuffer.get(position) & 255) << 24), zzj);
position += 4;
}
}
byteBuffer.position(byteBuffer.limit());
zzj.flip();
}
@Override // com.google.android.gms.internal.ads.zzci
public final zzcf zzi(zzcf zzcfVar) throws zzcg {
int i = zzcfVar.zzd;
int i2 = zzei.zza;
if (i == 21 || i == 1342177280 || i == 22 || i == 1610612736) {
return new zzcf(zzcfVar.zzb, zzcfVar.zzc, 4);
}
if (i == 4) {
return zzcf.zza;
}
throw new zzcg("Unhandled input format:", zzcfVar);
}
}