Home
last modified time | relevance | path

Searched refs:CHANNELS (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirProcess.h79 template<int CHANNELS, typename TO>
80 class Accumulator : public Accumulator<CHANNELS-1, TO> // recursive
85 Accumulator<CHANNELS-1, TO>::clear(); in clear()
90 Accumulator<CHANNELS-1, TO>::acc(coef, data); in acc()
94 Accumulator<CHANNELS-1, TO>::volume(out, gain); in volume()
177 template <int CHANNELS, int STRIDE, typename TFUNC, typename TC, typename TI, typename TO,
189 static_assert(CHANNELS > 0, "CHANNELS must be > 0"); in ProcessBase()
191 if (CHANNELS > 2) { in ProcessBase()
193 Accumulator<CHANNELS, TO> accum; in ProcessBase()
205 sP -= CHANNELS; in ProcessBase()
[all …]
DAudioResamplerSinc.cpp294 template<int CHANNELS>
299 const size_t headOffset = c.halfNumCoefs*CHANNELS; in resample()
320 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
323 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
329 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex); in resample()
338 for (size_t i=0 ; i<CHANNELS ; i++) { in resample()
339 head[i] = in[inputIndex*CHANNELS + i]; in resample()
344 filterCoefficient<CHANNELS>(&out[outputIndex], phaseFraction, impulse, vRL); in resample()
354 read<CHANNELS>(impulse, phaseFraction, in, inputIndex); in resample()
369 return outputIndex / CHANNELS; in resample()
[all …]
DAudioResamplerFirProcessNeon.h73 template <int CHANNELS, int STRIDE, bool FIXED>
86 static_assert(CHANNELS == 1 || CHANNELS == 2, "CHANNELS must be 1 or 2"); in ProcessNeonIntrinsic()
88 sP -= CHANNELS*((STRIDE>>1)-1); in ProcessNeonIntrinsic()
103 if (CHANNELS == 2) { in ProcessNeonIntrinsic()
127 switch (CHANNELS) { in ProcessNeonIntrinsic()
168 if (CHANNELS == 1) { in ProcessNeonIntrinsic()
171 } else if (CHANNELS == 2) { in ProcessNeonIntrinsic()
181 template <int CHANNELS, int STRIDE, bool FIXED>
194 static_assert(CHANNELS == 1 || CHANNELS == 2, "CHANNELS must be 1 or 2"); in ProcessNeonIntrinsic()
196 sP -= CHANNELS*((STRIDE>>1)-1); in ProcessNeonIntrinsic()
[all …]
DAudioResamplerDyn.cpp86 void AudioResamplerDyn<TC, TI, TO>::InBuffer::resize(int CHANNELS, int halfNumCoefs) in resize() argument
89 size_t stateCount = halfNumCoefs * CHANNELS * 2 * kStateSizeMultipleOfFilterLength; in resize()
94 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) { in resize()
108 TI* srcLo = mImpulse - halfNumCoefs*CHANNELS; in resize()
109 TI* srcHi = mImpulse + halfNumCoefs*CHANNELS; in resize()
126 mImpulse = state + halfNumCoefs*CHANNELS; // actually one sample greater than needed in resize()
127 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS; in resize()
132 template<int CHANNELS>
136 TI* head = impulse + halfNumCoefs*CHANNELS; in readAgain()
137 for (size_t i=0 ; i<CHANNELS ; i++) { in readAgain()
[all …]
DAudioResamplerFirProcessSSE.h37 template <int CHANNELS, int STRIDE, bool FIXED>
50 static_assert(CHANNELS == 1 || CHANNELS == 2, "CHANNELS must be 1 or 2"); in ProcessSSEIntrinsic()
52 sP -= CHANNELS*(4-1); // adjust sP for a loop iteration of four in ProcessSSEIntrinsic()
61 if (CHANNELS == 2) { in ProcessSSEIntrinsic()
94 switch (CHANNELS) { in ProcessSSEIntrinsic()
157 if (CHANNELS == 1) { in ProcessSSEIntrinsic()
161 } else if (CHANNELS == 2) { in ProcessSSEIntrinsic()
DAudioResamplerSinc.h49 template<int CHANNELS>
53 template<int CHANNELS>
57 template<int CHANNELS>
63 template<int CHANNELS>
DAudioResamplerDyn.h118 void resize(int CHANNELS, int halfNumCoefs);
129 template<int CHANNELS>
133 template<int CHANNELS>
155 template<int CHANNELS, bool LOCKED, int STRIDE>
/frameworks/av/services/audioflinger/
DBufLog.h81 #define __BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \ argument
82 BufLogSingleton::instance()->write(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, \
85 #define BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \ argument
88 #define BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE) \ argument
89 __BUFLOG(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, BUF, SIZE)
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java343 channel.writeToProto(proto, NotificationChannelGroupProto.CHANNELS); in writeToProto()
/frameworks/base/media/java/android/media/
DAudioRecord.java2034 public static final String CHANNELS = MM_PREFIX + "channels"; field in AudioRecord.MetricsConstants
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java1534 channel.writeToProto(proto, RankingHelperProto.RecordProto.CHANNELS); in dumpPackagePreferencesLocked()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt8064 Landroid/app/NotificationChannelGroupProto;->CHANNELS:J
63733 Landroid/service/notification/RankingHelperProto$RecordProto;->CHANNELS:J
/frameworks/base/non-updatable-api/
Dcurrent.txt23832 field public static final String CHANNELS = "android.media.audiorecord.channels";
/frameworks/base/api/
Dcurrent.txt23832 field public static final String CHANNELS = "android.media.audiorecord.channels";