Rabbit-R1/android (non root)/java/sources/androidx/media3/exoplayer/RendererCapabilities.java
2024-05-21 17:08:36 -04:00

136 lines
3.7 KiB
Java

package androidx.media3.exoplayer;
import androidx.media3.common.Format;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/* loaded from: classes2.dex */
public interface RendererCapabilities {
public static final int ADAPTIVE_NOT_SEAMLESS = 8;
public static final int ADAPTIVE_NOT_SUPPORTED = 0;
public static final int ADAPTIVE_SEAMLESS = 16;
public static final int ADAPTIVE_SUPPORT_MASK = 24;
public static final int DECODER_SUPPORT_FALLBACK = 0;
public static final int DECODER_SUPPORT_FALLBACK_MIMETYPE = 256;
public static final int DECODER_SUPPORT_PRIMARY = 128;
@Deprecated
public static final int FORMAT_EXCEEDS_CAPABILITIES = 3;
@Deprecated
public static final int FORMAT_HANDLED = 4;
public static final int FORMAT_SUPPORT_MASK = 7;
@Deprecated
public static final int FORMAT_UNSUPPORTED_DRM = 2;
@Deprecated
public static final int FORMAT_UNSUPPORTED_SUBTYPE = 1;
@Deprecated
public static final int FORMAT_UNSUPPORTED_TYPE = 0;
public static final int HARDWARE_ACCELERATION_NOT_SUPPORTED = 0;
public static final int HARDWARE_ACCELERATION_SUPPORTED = 64;
public static final int HARDWARE_ACCELERATION_SUPPORT_MASK = 64;
public static final int MODE_SUPPORT_MASK = 384;
public static final int TUNNELING_NOT_SUPPORTED = 0;
public static final int TUNNELING_SUPPORTED = 32;
public static final int TUNNELING_SUPPORT_MASK = 32;
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface AdaptiveSupport {
}
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface Capabilities {
}
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface DecoderSupport {
}
@Target({ElementType.TYPE_USE})
@Deprecated
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface FormatSupport {
}
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface HardwareAccelerationSupport {
}
/* loaded from: classes2.dex */
public interface Listener {
void onRendererCapabilitiesChanged(Renderer renderer);
}
@Target({ElementType.TYPE_USE})
@Documented
@Retention(RetentionPolicy.SOURCE)
/* loaded from: classes2.dex */
public @interface TunnelingSupport {
}
static int create(int i, int i2, int i3, int i4, int i5) {
return i | i2 | i3 | i4 | i5;
}
static int getAdaptiveSupport(int i) {
return i & 24;
}
static int getDecoderSupport(int i) {
return i & 384;
}
static int getFormatSupport(int i) {
return i & 7;
}
static int getHardwareAccelerationSupport(int i) {
return i & 64;
}
static int getTunnelingSupport(int i) {
return i & 32;
}
default void clearListener() {
}
String getName();
int getTrackType();
default void setListener(Listener listener) {
}
int supportsFormat(Format format) throws ExoPlaybackException;
int supportsMixedMimeTypeAdaptation() throws ExoPlaybackException;
static int create(int i) {
return create(i, 0, 0);
}
static int create(int i, int i2, int i3) {
return create(i, i2, i3, 0, 128);
}
}