Home
last modified time | relevance | path

Searched refs:configFormat (Results 1 – 3 of 3) 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/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java317 MediaFormat configFormat = format; in decodeToMemory() local
322 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_BOOST_FACTOR, drcParams.boost); in decodeToMemory()
323 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_ATTENUATION_FACTOR, drcParams.cut); in decodeToMemory()
324 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_TARGET_REFERENCE_LEVEL, in decodeToMemory()
326 configFormat.setInteger(MediaFormat.KEY_AAC_DRC_HEAVY_COMPRESSION, drcParams.heavy); in decodeToMemory()
328 Log.v(localTag, "configuring with " + configFormat); in decodeToMemory()
329 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */); in decodeToMemory()
DDecoderTest.java1338 MediaFormat configFormat = format;
1341 configFormat = MediaFormat.createAudioFormat(mime,
1345 configFormat.setLong(MediaFormat.KEY_DURATION,
1350 configFormat.setInteger(k, format.getInteger(k));
1354 Log.v(localTag, "configuring with " + configFormat);
1355 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
1363 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */);
1440 codec.configure(configFormat, null /* surface */, null /* crypto */,