Searched refs:oformat (Results 1 – 3 of 3) sorted by relevance
530 MediaFormat oformat = codec.getOutputFormat(); in decodeToMemory() local531 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()
962 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);
1843 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 …]