Home
last modified time | relevance | path

Searched refs:oformat (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacDrc.java530 MediaFormat oformat = codec.getOutputFormat(); in decodeToMemory() local
531 audioParams.setNumChannels(oformat.getInteger(MediaFormat.KEY_CHANNEL_COUNT)); in decodeToMemory()
532 audioParams.setSamplingRate(oformat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in decodeToMemory()
533 Log.d(TAG, "output format has changed to " + oformat); in decodeToMemory()
DDecoderTestXheAac.java962 MediaFormat oformat = codec.getOutputFormat();
963 audioParams.setNumChannels(oformat.getInteger(MediaFormat.KEY_CHANNEL_COUNT));
964 audioParams.setSamplingRate(oformat.getInteger(MediaFormat.KEY_SAMPLE_RATE));
965 Log.d(TAG, "output format has changed to " + oformat);
DDecoderTest.java1843 MediaFormat oformat = codec.getOutputFormat();
1844 audioParams.setNumChannels(oformat.getInteger(MediaFormat.KEY_CHANNEL_COUNT));
1845 audioParams.setSamplingRate(oformat.getInteger(MediaFormat.KEY_SAMPLE_RATE));
1846 Log.d(TAG, "output format has changed to " + oformat);
2857 MediaFormat oformat = codec.getOutputFormat();
2858 if (oformat.containsKey(MediaFormat.KEY_COLOR_FORMAT) &&
2859 oformat.containsKey(MediaFormat.KEY_WIDTH) &&
2860 oformat.containsKey(MediaFormat.KEY_HEIGHT)) {
2861 int colorFormat = oformat.getInteger(MediaFormat.KEY_COLOR_FORMAT);
2862 width = oformat.getInteger(MediaFormat.KEY_WIDTH);
[all …]