Home
last modified time | relevance | path

Searched refs:RawResource (Results 1 – 17 of 17) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DEncoderInput.java25 import android.mediav2.common.cts.RawResource;
34 private static final RawResource INPUT_VIDEO_FILE =
35 new RawResource.Builder()
41 private static final RawResource INPUT_VIDEO_FILE_HBD =
42 new RawResource.Builder()
55 private static final RawResource INPUT_AUDIO_FILE =
56 new RawResource.Builder()
63 private static final RawResource INPUT_AUDIO_FILE_HBD =
64 new RawResource.Builder()
72 public static RawResource getRawResource(EncoderConfigParams cfg) { in getRawResource()
DVideoEncoderTest.java33 import android.mediav2.common.cts.RawResource;
269 RawResource res = EncoderInput.getRawResource(mEncCfgParams[0]); in testEncodeAndValidate()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoEncoderInput.java21 import android.mediav2.common.cts.RawResource;
33 public static final HashMap<String, RawResource> RES_YUV_MAP = new HashMap<>();
69 public static RawResource getRawResource(EncoderConfigParams cfg) { in getRawResource()
72 for (Map.Entry<String, RawResource> element : RES_YUV_MAP.entrySet()) { in getRawResource()
84 public static RawResource getRawResource(CompressedResource cRes) { in getRawResource()
DVideoEncoderValidationTestBase.java38 import android.mediav2.common.cts.RawResource;
90 HashMap<String, RawResource> streamYuvMap, String prefix) { in decodeStreamsToYuv()
95 HashMap<String, RawResource> streamYuvMap, int frameLimit, String prefix) { in decodeStreamsToYuv()
106 HashMap<String, RawResource> streamYuvMap, int frameLimit, String prefix) { in decodeStreamsToYuv()
131 for (RawResource res : RES_YUV_MAP.values()) { in cleanUpResources()
157 RawResource res = getRawResource(cfg); in encodeToMemory()
DVideoEncoderQualityRegressionBFrameTest.java30 import android.mediav2.common.cts.RawResource;
93 RawResource res = getRawResource(mCRes); in qualityRegressionOverBFrames()
DVideoEncoderPsnrTest.java31 import android.mediav2.common.cts.RawResource;
121 RawResource res = getRawResource(mEncCfgParams[0]); in testPsnr()
DVideoEncoderQualityRegressionCodecTest.java31 import android.mediav2.common.cts.RawResource;
93 RawResource res = getRawResource(mCRes); in testQualityRegressionWrtAvc()
DVideoEncoderMultiResTest.java31 import android.mediav2.common.cts.RawResource;
165 RawResource res = getRawResource(mEncCfgParams[0]); in testMultiRes()
DVideoEncoderQualityRegressionTestBase.java31 import android.mediav2.common.cts.RawResource;
126 VideoEncoderValidationTestBase[] testInstances, String[] encoderNames, RawResource res, in getQualityRegressionForCfgs()
DVideoDecodeEditEncodeTest.java43 import android.mediav2.common.cts.RawResource;
678 private double computeVariance(RawResource yuv) throws IOException { in computeVariance()
741 RawResource yuv = yuvRes.getDecodedYuv(); in testVideoEdit()
DVideoEncoderRoiTest.java38 import android.mediav2.common.cts.RawResource;
234 RawResource res = getRawResource(mCRes); in testRoiSupport()
DVideoEncoderMinMaxTest.java34 import android.mediav2.common.cts.RawResource;
286 RawResource res = getRawResource(mEncCfgParams[0]); in testMinMaxSupport()
/cts/tests/media/common/src/android/mediav2/common/cts/
DRawResource.java25 public class RawResource { class
36 private RawResource(Builder builder) { in RawResource() method in RawResource
107 public RawResource build() { in build()
108 return new RawResource(this); in build()
DVideoErrorManager.java45 private final RawResource mRefYuv;
46 private final RawResource mTestYuv;
57 public VideoErrorManager(RawResource refYuv, RawResource testYuv, boolean allowLoopBack) { in VideoErrorManager()
DCompareStreams.java70 private final RawResource mRefYuv;
92 private CompareStreams(RawResource refYuv, MediaFormat testFormat, ByteBuffer testBuffer, in CompareStreams()
106 public CompareStreams(RawResource refYuv, String testMediaType, String testFile, in CompareStreams()
134 public CompareStreams(RawResource refYuv, String testMediaType, String testFile, in CompareStreams()
DCodecEncoderTestBase.java64 protected RawResource mActiveRawRes;
187 public static void validateEncodedPSNR(RawResource inp, String outMediaType, String outFile, in validateEncodedPSNR()
586 public void encodeToMemory(String encoder, EncoderConfigParams cfg, RawResource res, in encodeToMemory()
610 public void encodeToMemory(String encoder, EncoderConfigParams cfg, RawResource res, in encodeToMemory()
DDecodeStreamToYuv.java85 public RawResource getDecodedYuv() { in getDecodedYuv()
103 return new RawResource.Builder() in getDecodedYuv()