Home
last modified time | relevance | path

Searched refs:mChannelCount (Results 1 – 21 of 21) sorted by relevance

/cts/tests/media/common/src/android/mediav2/common/cts/
DRawResource.java32 public final int mChannelCount; field in RawResource
40 if (builder.mIsAudio && (builder.mSampleRate <= 0 || builder.mChannelCount <= 0 in RawResource()
54 mChannelCount = builder.mChannelCount; in RawResource()
66 private int mChannelCount; field in RawResource.Builder
93 this.mChannelCount = channelCount; in setChannelCount()
DEncoderConfigParams.java58 public final int mChannelCount; field in EncoderConfigParams
84 if (cfg.mSampleRate <= 0 || cfg.mChannelCount <= 0) { in EncoderConfigParams()
88 mChannelCount = cfg.mChannelCount; in EncoderConfigParams()
201 mChannelCount = 1; in EncoderConfigParams()
220 mFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, mChannelCount); in getFormat()
285 mMsg.append(String.format("Channel count : %d, ", mChannelCount)); in toString()
343 public int mChannelCount = 1; field in EncoderConfigParams.Builder
424 this.mChannelCount = channelCount; in setChannelCount()
DCodecEncoderBlockModelTestBase.java100 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in enqueueInput()
108 * mActiveEncCfg.mChannelCount * mActiveEncCfg.mSampleRate); in enqueueInput()
112 size % ((long) mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount)); in enqueueInput()
DCodecEncoderTestBase.java467 * mActiveEncCfg.mChannelCount * mActiveEncCfg.mSampleRate); in enqueueInput()
470 * mActiveEncCfg.mChannelCount)); in enqueueInput()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DJavaPlayer.java90 return mChannelCount != 0 ? mChannelCount : Integer.bitCount(mChannelMask); in calcChannelCount()
124 mChannelCount = builder.getChannelCount(); in setupStream()
132 Log.d(TAG, " chans:" + mChannelCount); in setupStream()
141 mAudioSource.init(mNumExchangeFrames, mChannelCount); in setupStream()
151 if (mChannelCount != 0) { in setupStream()
153 StreamBase.channelCountToOutPositionMask(mChannelCount)); in setupStream()
196 mChannelCount = 0; in teardownStream()
DOboePlayer.java75 mChannelCount = builder.getChannelCount(); in setupStream()
84 Log.d(TAG, " chans:" + mChannelCount); in setupStream()
93 mNativePlayer, mChannelCount, mChannelMask, mSampleRate, in setupStream()
102 mChannelCount = 0; in teardownStream()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DBuilderBase.java67 protected int mChannelCount = 2; field in BuilderBase
142 mChannelCount = channelCount; in setChannelCount()
152 return mChannelCount; in getChannelCount()
164 mChannelCount = 0; in setChannelMask()
DStreamBase.java84 protected int mChannelCount; field in StreamBase
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DJavaRecorder.java104 mChannelCount = builder.getChannelCount(); in setupStream()
113 Log.i(TAG, " chans:" + mChannelCount); in setupStream()
130 .setChannelIndexMask(StreamBase.channelCountToIndexMask(mChannelCount)); in setupStream()
146 mRecorderBuffer = new float[mNumExchangeFrames * mChannelCount]; in setupStream()
152 mAudioSink.init(mNumExchangeFrames, mChannelCount); in setupStream()
182 mChannelCount = 0; in teardownStream()
260 final int numRecordSamples = mNumExchangeFrames * mChannelCount; in run()
DOboeRecorder.java65 mChannelCount = builder.getChannelCount(); in setupStream()
74 Log.i(TAG, " chans:" + mChannelCount); in setupStream()
81 return setupStreamN(mNativeRecorder, mChannelCount, mSampleRate, mPerformanceMode, in setupStream()
88 mChannelCount = 0; in teardownStream()
/cts/apps/CtsVerifier/jni/megaaudio/common/
DStreamBase.h39 mChannelCount(0), in StreamBase()
88 int32_t mChannelCount;
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackNative.java51 mChannelCount = numChannels; in open()
112 return mChannelCount; in getChannelCount()
137 private int mChannelCount; field in AudioTrackNative
DAudioRecordNative.java49 mChannelCount = numChannels; in open()
110 return mChannelCount; in getChannelCount()
135 private int mChannelCount; field in AudioRecordNative
/cts/apps/CtsVerifier/jni/megaaudio/recorder/
DOboeRecorder.cpp48 mChannelCount = channelCount; in setupStream()
55 builder.setChannelCount(mChannelCount); in setupStream()
84 mAudioSink->init(mBufferSizeInFrames, mChannelCount); in setupStream()
101 mAudioSink->push((float*)audioData, numFrames, mChannelCount); in onAudioReady()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DOboePlayer.cpp84 mChannelCount = channelCount; in setupStream()
92 if (mChannelCount != 0) { in setupStream()
93 builder.setChannelCount(mChannelCount); in setupStream()
94 mNumExchangeChannels = mChannelCount; in setupStream()
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DEncoderTest.java94 private final int mChannelCount; field in EncoderTest
184 mChannelCount = channelcount; in EncoderTest()
190 mFormat.setInteger(MediaFormat.KEY_CHANNEL_COUNT, mChannelCount); in setUpFormat()
/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderValidationTest.java105 private final int mChannelCount; field in CodecDecoderValidationTest
119 mChannelCount = channelCount; in CodecDecoderValidationTest()
840 + mTestConfig + mTestEnv, mChannelCount, in testDecodeAndValidate()
DAudioEncoderTest.java193 * mActiveEncCfg.mChannelCount * mActiveRawRes.mBytesPerSample / 1000; in encodeAndValidate()
DEncoderProfileLevelTest.java556 int expChCount = mActiveEncCfg.mProfile != AACObjectHE_PS ? mActiveEncCfg.mChannelCount in checkIfTrackFormatIsOk()
557 : mActiveEncCfg.mChannelCount / 2; in checkIfTrackFormatIsOk()
DCodecEncoderMultiAccessUnitTest.java311 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in testSimpleEncode()
DCodecEncoderBlockModelMultiAccessUnitTest.java330 int frameSize = mActiveRawRes.mBytesPerSample * mActiveEncCfg.mChannelCount; in testSimpleEncode()