Home
last modified time | relevance | path

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

/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/
DDecoderTestAacFormat.java134 MediaFormat configFormat = format; in decodeUpdateFormat() local
136 configFormat.setInteger( in decodeUpdateFormat()
140 Log.v(TAG, "configuring with " + configFormat); in decodeUpdateFormat()
141 decoder.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */); in decodeUpdateFormat()
DDecoderTestAacDrc.java563 MediaFormat configFormat = format; in decodeToMemory() local
572 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.mBoost); in decodeToMemory()
573 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.mCut); in decodeToMemory()
576 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL, in decodeToMemory()
580 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.mHeavy); in decodeToMemory()
582 Log.v(localTag, "configuring with " + configFormat); in decodeToMemory()
583 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */); in decodeToMemory()
DDecoderTestXheAac.java1265 MediaFormat configFormat = format;
1274 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.mHeavy);
1276 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.mBoost);
1277 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.mCut);
1279 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL,
1283 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_EFFECT_TYPE,
1287 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ALBUM_MODE,
1293 Log.v(localTag, "configuring with " + configFormat);
1294 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
DDecoderTest.java2125 MediaFormat configFormat = format;
2128 configFormat = MediaFormat.createAudioFormat(mime,
2132 configFormat.setLong(MediaFormat.KEY_DURATION,
2137 configFormat.setInteger(k, format.getInteger(k));
2141 Log.v(localTag, "configuring with " + configFormat);
2142 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
2150 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
2227 codec.configure(configFormat, null /* surface */, null /* crypto */,