Home
last modified time | relevance | path

Searched refs:EncoderProfilesProxy (Results 1 – 25 of 50) sorted by relevance

12

/camera/camera-testing/src/main/java/androidx/camera/testing/impl/
DEncoderProfilesUtil.kt24 import androidx.camera.core.impl.EncoderProfilesProxy in <lambda>()
25 import androidx.camera.core.impl.EncoderProfilesProxy.AudioProfileProxy in <lambda>()
26 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy in <lambda>()
27 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy in <lambda>()
93 public const val DEFAULT_VIDEO_PROFILE: Int = EncoderProfilesProxy.CODEC_PROFILE_NONE in <lambda>()
120 public const val DEFAULT_AUDIO_PROFILE: Int = EncoderProfilesProxy.CODEC_PROFILE_NONE in <lambda>()
123 public val PROFILES_QCIF: EncoderProfilesProxy = createFakeEncoderProfilesProxy(RESOLUTION_QCIF) in <lambda>()
124 public val PROFILES_QVGA: EncoderProfilesProxy = createFakeEncoderProfilesProxy(RESOLUTION_QVGA) in <lambda>()
125 public val PROFILES_CIF: EncoderProfilesProxy = createFakeEncoderProfilesProxy(RESOLUTION_CIF) in <lambda>()
126 public val PROFILES_VGA: EncoderProfilesProxy = createFakeEncoderProfilesProxy(RESOLUTION_VGA) in <lambda>()
[all …]
/camera/camera-video/src/main/java/androidx/camera/video/internal/
DDynamicRangeMatchedEncoderProfilesProvider.java23 import androidx.camera.core.impl.EncoderProfilesProxy;
24 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
25 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
43 private final Map<Integer, EncoderProfilesProxy> mEncoderProfilesCache = new HashMap<>();
63 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
67 private @Nullable EncoderProfilesProxy getProfilesInternal(int quality) { in getProfilesInternal()
72 EncoderProfilesProxy profiles = null; in getProfilesInternal()
74 EncoderProfilesProxy baseProfiles = mEncoderProfilesProvider.getAll(quality); in getProfilesInternal()
82 private static @Nullable EncoderProfilesProxy filterUnmatchedDynamicRange( in filterUnmatchedDynamicRange()
83 @Nullable EncoderProfilesProxy encoderProfiles, @NonNull DynamicRange dynamicRange) { in filterUnmatchedDynamicRange()
DQualityExploredEncoderProfilesProvider.java31 import androidx.camera.core.impl.EncoderProfilesProxy;
32 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
33 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
65 private final Map<Integer, EncoderProfilesProxy> mEncoderProfilesCache = new HashMap<>();
99 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
103 private @Nullable EncoderProfilesProxy getProfilesInternal(int qualityValue) { in getProfilesInternal()
107 EncoderProfilesProxy profiles = mBaseEncoderProfilesProvider.getAll(qualityValue); in getProfilesInternal()
117 @Nullable EncoderProfilesProxy encoderProfiles) { in hasMatchedVideoProfileForAllTargetDynamicRanges()
130 private @Nullable EncoderProfilesProxy exploreProfiles( in exploreProfiles()
133 EncoderProfilesProxy qualityMappedProfiles = in exploreProfiles()
[all …]
DBackupHdrProfileEncoderProfilesProvider.java25 import static androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy.BIT_DEPTH_10;
26 import static androidx.camera.core.impl.EncoderProfilesProxy.getVideoCodecMimeType;
35 import androidx.camera.core.impl.EncoderProfilesProxy;
36 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
37 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
66 private final Map<Integer, EncoderProfilesProxy> mEncoderProfilesCache = new HashMap<>();
92 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
96 private @Nullable EncoderProfilesProxy getProfilesInternal(int quality) { in getProfilesInternal()
101 EncoderProfilesProxy profiles = null; in getProfilesInternal()
103 EncoderProfilesProxy baseProfiles = mEncoderProfilesProvider.getAll(quality); in getProfilesInternal()
[all …]
DVideoValidatedEncoderProfilesProxy.java21 import androidx.camera.core.impl.EncoderProfilesProxy;
37 public abstract class VideoValidatedEncoderProfilesProxy implements EncoderProfilesProxy {
41 @NonNull EncoderProfilesProxy profiles) { in from()
/camera/camera-core/src/main/java/androidx/camera/core/impl/compat/
DEncoderProfilesProxyCompatBaseImpl.java19 import static androidx.camera.core.impl.EncoderProfilesProxy.getAudioCodecMimeType;
20 import static androidx.camera.core.impl.EncoderProfilesProxy.getRequiredAudioProfile;
21 import static androidx.camera.core.impl.EncoderProfilesProxy.getVideoCodecMimeType;
26 import androidx.camera.core.impl.EncoderProfilesProxy;
27 import androidx.camera.core.impl.EncoderProfilesProxy.AudioProfileProxy;
28 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
29 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
39 public static @NonNull EncoderProfilesProxy from( in from()
60 EncoderProfilesProxy.CODEC_PROFILE_NONE, in toVideoProfiles()
DEncoderProfilesProxyCompatApi31Impl.java24 import androidx.camera.core.impl.EncoderProfilesProxy;
25 import androidx.camera.core.impl.EncoderProfilesProxy.AudioProfileProxy;
26 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
27 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
38 public static @NonNull EncoderProfilesProxy from( in from()
DEncoderProfilesProxyCompatApi33Impl.java24 import androidx.camera.core.impl.EncoderProfilesProxy;
25 import androidx.camera.core.impl.EncoderProfilesProxy.AudioProfileProxy;
26 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
27 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
38 public static @NonNull EncoderProfilesProxy from( in from()
DEncoderProfilesProxyCompat.java25 import androidx.camera.core.impl.EncoderProfilesProxy;
39 public static @NonNull EncoderProfilesProxy from(@NonNull EncoderProfiles encoderProfiles) { in from()
52 public static @NonNull EncoderProfilesProxy from(@NonNull CamcorderProfile camcorderProfile) { in from()
/camera/camera-testing/src/main/java/androidx/camera/testing/impl/fakes/
DFakeEncoderProfilesProvider.java20 import androidx.camera.core.impl.EncoderProfilesProxy;
33 private final Map<Integer, EncoderProfilesProxy> mQualityToProfileMap;
35 FakeEncoderProfilesProvider(@NonNull Map<Integer, EncoderProfilesProxy> qualityToProfileMap) { in FakeEncoderProfilesProvider()
47 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
56 private final Map<Integer, EncoderProfilesProxy> mQualityToProfileMap = new HashMap<>();
61 public @NonNull Builder add(int quality, @NonNull EncoderProfilesProxy profiles) { in add()
70 @NonNull Map<Integer, EncoderProfilesProxy> qualityToProfileMap) { in addAll()
/camera/camera-video/src/main/java/androidx/camera/video/internal/workaround/
DQualityResolutionModifiedEncoderProfilesProvider.java24 import androidx.camera.core.impl.EncoderProfilesProxy;
25 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy;
26 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
48 private final @NonNull Map<Integer, EncoderProfilesProxy> mEncoderProfilesCache =
67 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
71 private @Nullable EncoderProfilesProxy getProfilesInternal(int quality) { in getProfilesInternal()
77 EncoderProfilesProxy profiles = null; in getProfilesInternal()
79 EncoderProfilesProxy baseProfiles = requireNonNull(mProvider.getAll(quality)); in getProfilesInternal()
102 private @Nullable EncoderProfilesProxy createNewEncoderProfiles( in createNewEncoderProfiles()
103 @NonNull EncoderProfilesProxy baseProfiles, @NonNull Size resolution) { in createNewEncoderProfiles()
DDefaultEncoderProfilesProvider.kt26 import androidx.camera.core.impl.EncoderProfilesProxy
27 import androidx.camera.core.impl.EncoderProfilesProxy.AudioProfileProxy
28 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy
59 private val encoderProfilesMap = mutableMapOf<Int, EncoderProfilesProxy?>()
63 override fun getAll(quality: Int): EncoderProfilesProxy? = getProfileInternal(quality) in hasProfile()
65 private fun getProfileInternal(quality: Int): EncoderProfilesProxy? { in hasProfile()
73 private fun generateEncoderProfiles(quality: Int): EncoderProfilesProxy? { in generateEncoderProfiles()
133 ): EncoderProfilesProxy { in createDefaultEncoderProfiles()
134 return EncoderProfilesProxy.ImmutableEncoderProfilesProxy.create( in createDefaultEncoderProfiles()
218 internal const val DEFAULT_VIDEO_PROFILE = EncoderProfilesProxy.CODEC_PROFILE_NONE
DQualityAddedEncoderProfilesProvider.java23 import androidx.camera.core.impl.EncoderProfilesProxy;
43 private @Nullable Map<Integer, EncoderProfilesProxy> mExtraQualityToEncoderProfiles;
56 Map<Integer, EncoderProfilesProxy> extraEncoderProfiles = extraQuirks.get(0) in QualityAddedEncoderProfilesProvider()
70 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
74 private @Nullable EncoderProfilesProxy getProfilesInternal(int quality) { in getProfilesInternal()
/camera/camera-video/src/main/java/androidx/camera/video/internal/compat/quirk/
DExtraSupportedQualityQuirk.java36 import androidx.camera.core.impl.EncoderProfilesProxy;
70 public @Nullable Map<Integer, EncoderProfilesProxy> getExtraEncoderProfiles( in getExtraEncoderProfiles()
84 private @Nullable Map<Integer, EncoderProfilesProxy> getExtraEncoderProfilesForMotoC( in getExtraEncoderProfilesForMotoC()
94 EncoderProfilesProxy profilesHigh = encoderProfilesProvider.getAll(QUALITY_HIGH); in getExtraEncoderProfilesForMotoC()
95 EncoderProfilesProxy.VideoProfileProxy videoProfileHigh = in getExtraEncoderProfilesForMotoC()
102 EncoderProfilesProxy.VideoProfileProxy derivedVideoProfile = in getExtraEncoderProfilesForMotoC()
104 EncoderProfilesProxy profiles480p = in getExtraEncoderProfilesForMotoC()
105 EncoderProfilesProxy.ImmutableEncoderProfilesProxy.create( in getExtraEncoderProfilesForMotoC()
112 Map<Integer, EncoderProfilesProxy> extraEncoderProfilesMap = new HashMap<>(); in getExtraEncoderProfilesForMotoC()
123 EncoderProfilesProxy.@NonNull VideoProfileProxy videoProfile, in getSupportedBitrateRange()
/camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/
DCamera2EncoderProfilesProvider.java32 import androidx.camera.core.impl.EncoderProfilesProxy;
33 import androidx.camera.core.impl.EncoderProfilesProxy.VideoProfileProxy;
52 private final Map<Integer, EncoderProfilesProxy> mEncoderProfilesCache = new HashMap<>();
83 public @Nullable EncoderProfilesProxy getAll(int quality) { in getAll()
96 EncoderProfilesProxy profiles = getProfilesInternal(quality); in getAll()
111 private @Nullable EncoderProfilesProxy findHighestQualityProfiles() { in findHighestQualityProfiles()
113 EncoderProfilesProxy profiles = getAll(quality); in findHighestQualityProfiles()
121 private @Nullable EncoderProfilesProxy findLowestQualityProfiles() { in findLowestQualityProfiles()
123 EncoderProfilesProxy profiles = getAll(quality); in findLowestQualityProfiles()
131 private @Nullable EncoderProfilesProxy getProfilesInternal(int quality) { in getProfilesInternal()
[all …]
/camera/camera-video/src/main/java/androidx/camera/video/internal/utils/
DEncoderProfilesUtil.java22 import androidx.camera.core.impl.EncoderProfilesProxy;
48 public static EncoderProfilesProxy.@NonNull VideoProfileProxy deriveVideoProfile( in deriveVideoProfile()
49 EncoderProfilesProxy.@NonNull VideoProfileProxy baseVideoProfile, in deriveVideoProfile()
62 return EncoderProfilesProxy.VideoProfileProxy.create( in deriveVideoProfile()
80 public static EncoderProfilesProxy.@Nullable VideoProfileProxy getFirstVideoProfile( in getFirstVideoProfile()
81 @Nullable EncoderProfilesProxy encoderProfiles) { in getFirstVideoProfile()
/camera/camera-camera2/src/main/java/androidx/camera/camera2/internal/compat/workaround/
DSizeFilteredEncoderProfilesProvider.kt24 import androidx.camera.core.impl.EncoderProfilesProxy
41 private val encoderProfilesCache = mutableMapOf<Int, EncoderProfilesProxy?>()
47 override fun getAll(quality: Int): EncoderProfilesProxy? { in getAll()
76 private fun isResolutionSupported(profiles: EncoderProfilesProxy): Boolean { in isResolutionSupported()
97 private fun findFirstAvailableProfile(qualityOrder: List<Int>): EncoderProfilesProxy? { in findFirstAvailableProfile()
/camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/compat/workaround/
DSizeFilteredEncoderProfilesProvider.kt24 import androidx.camera.core.impl.EncoderProfilesProxy
41 private val encoderProfilesCache = mutableMapOf<Int, EncoderProfilesProxy?>()
47 override fun getAll(quality: Int): EncoderProfilesProxy? { in getAll()
76 private fun isResolutionSupported(profiles: EncoderProfilesProxy): Boolean { in isResolutionSupported()
97 private fun findFirstAvailableProfile(qualityOrder: List<Int>): EncoderProfilesProxy? { in findFirstAvailableProfile()
/camera/camera-camera2-pipe-integration/src/main/java/androidx/camera/camera2/pipe/integration/adapter/
DEncoderProfilesProviderAdapter.kt33 import androidx.camera.core.impl.EncoderProfilesProxy
44 private val mEncoderProfilesCache: MutableMap<Int, EncoderProfilesProxy?> = mutableMapOf()
71 override fun getAll(quality: Int): EncoderProfilesProxy? { in getAll()
97 private fun findHighestQualityProfiles(): EncoderProfilesProxy? { in findHighestQualityProfiles()
107 private fun findLowestQualityProfiles(): EncoderProfilesProxy? { in findLowestQualityProfiles()
118 private fun getProfilesInternal(quality: Int): EncoderProfilesProxy? { in getProfilesInternal()
148 private fun createProfilesFromCamcorderProfile(quality: Int): EncoderProfilesProxy? { in createProfilesFromCamcorderProfile()
161 private fun isEncoderProfilesResolutionValidInQuirk(profiles: EncoderProfilesProxy): Boolean { in isEncoderProfilesResolutionValidInQuirk()
/camera/camera-video/src/main/java/androidx/camera/video/internal/config/
DAudioMimeInfo.java19 import androidx.camera.core.impl.EncoderProfilesProxy;
44 public abstract EncoderProfilesProxy.@Nullable AudioProfileProxy getCompatibleAudioProfile(); in getCompatibleAudioProfile()
59 EncoderProfilesProxy.@Nullable AudioProfileProxy audioProfile); in setCompatibleAudioProfile()
DVideoMimeInfo.java19 import androidx.camera.core.impl.EncoderProfilesProxy;
44 public abstract EncoderProfilesProxy.@Nullable VideoProfileProxy getCompatibleVideoProfile(); in getCompatibleVideoProfile()
59 EncoderProfilesProxy.@Nullable VideoProfileProxy videoProfile); in setCompatibleVideoProfile()
/camera/camera-video/src/main/java/androidx/camera/video/
DCapabilitiesByQuality.java26 import androidx.camera.core.impl.EncoderProfilesProxy;
65 EncoderProfilesProxy profiles = getEncoderProfiles(quality, provider, qualitySource); in CapabilitiesByQuality()
80 EncoderProfilesProxy.VideoProfileProxy videoProfile = in CapabilitiesByQuality()
163 private @Nullable EncoderProfilesProxy getEncoderProfiles(@NonNull Quality quality, in getEncoderProfiles()
174 @NonNull EncoderProfilesProxy profiles) { in toValidatedProfiles()
176 List<EncoderProfilesProxy.VideoProfileProxy> videoProfiles = in toValidatedProfiles()
/camera/camera-video/src/main/java/androidx/camera/video/internal/encoder/
DEncoderConfig.java21 import androidx.camera.core.impl.EncoderProfilesProxy;
34 int CODEC_PROFILE_NONE = EncoderProfilesProxy.CODEC_PROFILE_NONE;
/camera/camera-video/src/test/java/androidx/camera/video/internal/workaround/
DQualityAddedEncoderProfilesProviderTest.kt23 import androidx.camera.core.impl.EncoderProfilesProxy
24 import androidx.camera.core.impl.EncoderProfilesProxy.ImmutableEncoderProfilesProxy
71 private class FakeQuirk(private val qualityToEncoderProfiles: Map<Int, EncoderProfilesProxy>) :
/camera/camera-core/src/main/java/androidx/camera/core/impl/
DEncoderProfilesProvider.java59 @Nullable EncoderProfilesProxy getAll(int quality); in getAll()
69 public @Nullable EncoderProfilesProxy getAll(int quality) {

12