package androidx.media3.exoplayer.mediacodec;

import android.content.Context;
import androidx.media3.common.Format;
import androidx.media3.exoplayer.mediacodec.MediaCodecUtil;

/* JADX INFO: loaded from: classes.dex */
public final /* synthetic */ class e implements MediaCodecUtil.ScoreProvider {
    public final /* synthetic */ int a;
    public final /* synthetic */ Context b;
    public final /* synthetic */ Format c;

    public /* synthetic */ e(Context context, Format format, int i) {
        this.a = i;
        this.b = context;
        this.c = format;
    }

    @Override // androidx.media3.exoplayer.mediacodec.MediaCodecUtil.ScoreProvider
    public final int getScore(Object obj) {
        switch (this.a) {
            case 0:
                return MediaCodecUtil.lambda$getDecoderInfosSortedByFullFormatSupport$1(this.b, this.c, (MediaCodecInfo) obj);
            default:
                return MediaCodecUtil.lambda$getDecoderInfosSortedByFormatSupport$0(this.b, this.c, (MediaCodecInfo) obj);
        }
    }
}
