mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-04 03:28:54 +01:00
73 lines
2.4 KiB
Java
73 lines
2.4 KiB
Java
package androidx.camera.video;
|
|
|
|
import android.util.Size;
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.RestrictTo;
|
|
import androidx.camera.core.DynamicRange;
|
|
import androidx.camera.video.internal.VideoValidatedEncoderProfilesProxy;
|
|
import java.util.ArrayList;
|
|
import java.util.HashSet;
|
|
import java.util.List;
|
|
import java.util.Set;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes.dex */
|
|
public interface VideoCapabilities {
|
|
|
|
@NonNull
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
public static final VideoCapabilities EMPTY = new VideoCapabilities() { // from class: androidx.camera.video.VideoCapabilities.1
|
|
@Override // androidx.camera.video.VideoCapabilities
|
|
@NonNull
|
|
public Set<DynamicRange> getSupportedDynamicRanges() {
|
|
return new HashSet();
|
|
}
|
|
|
|
@Override // androidx.camera.video.VideoCapabilities
|
|
@NonNull
|
|
public List<Quality> getSupportedQualities(@NonNull DynamicRange dynamicRange) {
|
|
return new ArrayList();
|
|
}
|
|
|
|
@Override // androidx.camera.video.VideoCapabilities
|
|
public boolean isQualitySupported(@NonNull Quality quality, @NonNull DynamicRange dynamicRange) {
|
|
return false;
|
|
}
|
|
|
|
@Override // androidx.camera.video.VideoCapabilities
|
|
public boolean isStabilizationSupported() {
|
|
return false;
|
|
}
|
|
};
|
|
|
|
@Nullable
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
default VideoValidatedEncoderProfilesProxy findNearestHigherSupportedEncoderProfilesFor(@NonNull Size size, @NonNull DynamicRange dynamicRange) {
|
|
return null;
|
|
}
|
|
|
|
@NonNull
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
default Quality findNearestHigherSupportedQualityFor(@NonNull Size size, @NonNull DynamicRange dynamicRange) {
|
|
return Quality.NONE;
|
|
}
|
|
|
|
@Nullable
|
|
@RestrictTo({RestrictTo.Scope.LIBRARY})
|
|
default VideoValidatedEncoderProfilesProxy getProfiles(@NonNull Quality quality, @NonNull DynamicRange dynamicRange) {
|
|
return null;
|
|
}
|
|
|
|
@NonNull
|
|
Set<DynamicRange> getSupportedDynamicRanges();
|
|
|
|
@NonNull
|
|
List<Quality> getSupportedQualities(@NonNull DynamicRange dynamicRange);
|
|
|
|
boolean isQualitySupported(@NonNull Quality quality, @NonNull DynamicRange dynamicRange);
|
|
|
|
default boolean isStabilizationSupported() {
|
|
return false;
|
|
}
|
|
}
|