Home
last modified time | relevance | path

Searched refs:configFormat (Results 1 – 5 of 5) sorted by relevance

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaPerfUtils.java56 MediaFormat configFormat, MediaFormat inputFormat, MediaFormat outputFormat) { in addPerformanceHeadersToLog() argument
57 String mime = configFormat.getString(MediaFormat.KEY_MIME); in addPerformanceHeadersToLog()
58 int width = configFormat.getInteger(MediaFormat.KEY_WIDTH); in addPerformanceHeadersToLog()
59 int height = configFormat.getInteger(MediaFormat.KEY_HEIGHT); in addPerformanceHeadersToLog()
66 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog()
73 message += " codec=" + codecName + " round=" + round + " configFormat=" + configFormat in addPerformanceHeadersToLog()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaPerfUtils.java56 MediaFormat configFormat, MediaFormat inputFormat, MediaFormat outputFormat) { in addPerformanceHeadersToLog() argument
57 String mime = configFormat.getString(MediaFormat.KEY_MIME); in addPerformanceHeadersToLog()
58 int width = configFormat.getInteger(MediaFormat.KEY_WIDTH); in addPerformanceHeadersToLog()
59 int height = configFormat.getInteger(MediaFormat.KEY_HEIGHT); in addPerformanceHeadersToLog()
66 log.addValue("config_format", formatForReport(configFormat), in addPerformanceHeadersToLog()
73 message += " codec=" + codecName + " round=" + round + " configFormat=" + configFormat in addPerformanceHeadersToLog()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java422 MediaFormat configFormat = format; in decodeToMemory() local
431 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.mBoost); in decodeToMemory()
432 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.mCut); in decodeToMemory()
434 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL, in decodeToMemory()
437 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.mHeavy); in decodeToMemory()
439 Log.v(localTag, "configuring with " + configFormat); in decodeToMemory()
440 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */); in decodeToMemory()
DDecoderTestXheAac.java845 MediaFormat configFormat = format;
854 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.mBoost);
855 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.mCut);
857 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL,
860 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.mHeavy);
862 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_EFFECT_TYPE,
867 Log.v(localTag, "configuring with " + configFormat);
868 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
DDecoderTest.java1684 MediaFormat configFormat = format;
1687 configFormat = MediaFormat.createAudioFormat(mime,
1691 configFormat.setLong(MediaFormat.KEY_DURATION,
1696 configFormat.setInteger(k, format.getInteger(k));
1700 Log.v(localTag, "configuring with " + configFormat);
1701 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
1709 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
1786 codec.configure(configFormat, null /* surface */, null /* crypto */,