Package org.robolectric.shadows
Class ShadowPublicFormatUtils
java.lang.Object
org.robolectric.shadows.ShadowPublicFormatUtils
@Implements(className="android.media.PublicFormatUtils",
minSdk=33)
public class ShadowPublicFormatUtils
extends Object
Shadow for private class PublicFormatUtils.
It converts between the "legacy" Image "public format" (S) and the newer "hal format" (T).
Reference: https://cs.android.com/android/platform/superproject/+/android-13.0.0_r1:frameworks/base/media/java/android/media/PublicFormatUtils.java https://cs.android.com/android/platform/superproject/+/android-13.0.0_r1:frameworks/base/libs/hostgraphics/PublicFormat.cpp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
getHalDataspace
(int imageFormat) protected static int
getHalFormat
(int imageFormat) protected static int
getPublicFormat
(int imageFormat, int dataspace)
-
Constructor Details
-
ShadowPublicFormatUtils
public ShadowPublicFormatUtils()
-
-
Method Details
-
getHalFormat
-
getHalDataspace
-
getPublicFormat
-