Home
last modified time | relevance | path

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

/cts/tests/media/src/android/mediav2/cts/
DAudioEncoderTest.java152 audioEncodingToString(mActiveEncCfg.mPcmEncoding), mCodecName) + mTestConfig in encodeAndValidate()
153 + mTestEnv, mActiveEncCfg.mPcmEncoding, in encodeAndValidate()
165 mOutFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mActiveEncCfg.mPcmEncoding); in encodeAndValidate()
174 audioEncodingToString(mActiveEncCfg.mPcmEncoding), listOfDecoders.get(0)) in encodeAndValidate()
175 + mTestConfig + mTestEnv, mActiveEncCfg.mPcmEncoding, in encodeAndValidate()
183 && mActiveEncCfg.mPcmEncoding == AudioFormat.ENCODING_PCM_FLOAT) { in encodeAndValidate()
185 mActiveEncCfg.mPcmEncoding, -1L, in encodeAndValidate()
DEncoderInput.java74 if (cfg.mPcmEncoding == AudioFormat.ENCODING_PCM_FLOAT) { in getRawResource()
76 } else if (cfg.mPcmEncoding == AudioFormat.ENCODING_PCM_16BIT) { in getRawResource()
/cts/tests/media/common/src/android/mediav2/common/cts/
DEncoderConfigParams.java60 public final int mPcmEncoding; field in EncoderConfigParams
102 if (cfg.mPcmEncoding != AudioFormat.ENCODING_PCM_FLOAT in EncoderConfigParams()
103 && cfg.mPcmEncoding != AudioFormat.ENCODING_PCM_16BIT) { in EncoderConfigParams()
110 mPcmEncoding = cfg.mPcmEncoding; in EncoderConfigParams()
203 mPcmEncoding = AudioFormat.ENCODING_INVALID; in EncoderConfigParams()
230 mFormat.setInteger(MediaFormat.KEY_PCM_ENCODING, mPcmEncoding); in getFormat()
294 mMsg.append(String.format("encoding : %d, ", mPcmEncoding)); in toString()
345 public int mPcmEncoding = AudioFormat.ENCODING_PCM_16BIT; field in EncoderConfigParams.Builder
434 this.mPcmEncoding = pcmEncoding; in setPcmEncoding()