Searched defs:count (Results 151 - 175 of 430) sorted by relevance

1234567891011>>

/frameworks/opt/net/voip/src/jni/rtp/
H A DAmrCodec.cpp55 int decode(int16_t *samples, int count, void *payload, int length);
131 int AmrCodec::decode(int16_t *samples, int count, void *payload, int length) argument
216 int decode(int16_t *samples, int count, void *payload, int length);
242 int GsmEfrCodec::decode(int16_t *samples, int count, void *payload, int length) argument
246 while (n + 160 <= count && length >= 31 && (bytes[0] >> 4) == 0x0C) {
/frameworks/rs/cpp/
H A DType.cpp51 uint32_t count = x * y * z * faces; local
63 count += x * y * z * faces;
65 mElementCount = count;
/frameworks/rs/
H A DrsAdapter.cpp40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument
41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0);
/frameworks/support/v4/java/android/support/v4/text/
H A DTextDirectionHeuristicsCompat.java124 public boolean isRtl(char[] array, int start, int count) { argument
125 return isRtl(CharBuffer.wrap(array), start, count);
129 public boolean isRtl(CharSequence cs, int start, int count) { argument
130 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) {
136 return doCheck(cs, start, count);
139 private boolean doCheck(CharSequence cs, int start, int count) { argument
140 switch(mAlgorithm.checkRtl(cs, start, count)) {
173 int checkRtl(CharSequence cs, int start, int count); argument
182 public int checkRtl(CharSequence cs, int start, int count) { argument
205 checkRtl(CharSequence cs, int start, int count) argument
[all...]
/frameworks/volley/tests/src/com/android/volley/
H A DRequestQueueTest.java51 * @param count Number of requests to make
53 private List<MockRequest> makeRequests(int count) { argument
58 for (int i = 0; i < count; i++) {
/frameworks/wilhelm/src/desktop/
H A DSndFile.c46 sf_count_t count; local
47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE);
75 if (0 < count) {
77 SLuint32 size = (SLuint32) (count * sizeof(short));
194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count;
/frameworks/av/camera/
H A DProCamera.cpp364 int ProCamera::dropFrameBuffer(int streamId, int count) { argument
369 } else if (count < 0) {
381 for (int i = 0; i < count; ++i) {
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp43 uint32_t count = convertToBigEndian(mCount); local
44 memcpy(buf, &count, sizeof(count));
45 memcpy(buf + sizeof(count), mOpList.getArray(), mOpList.getSize());
/frameworks/av/media/libmedia/
H A DJetPlayer.cpp158 EAS_I32 count; local
203 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count);
207 p += count * pLibConfig->numChannels;
208 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
H A DToneGenerator.cpp1126 // Update pcm frame count and end time (current time at the end of this process)
1220 // Pre increment loop count and restart if total count not reached. Stop sequence otherwise
1548 // Description: Generates count samples of a sine wave and accumulates
1553 // count: number of samples to produce.
1561 unsigned int count, unsigned int command) {
1579 if (count == 0) {
1582 long dec = lAmplitude/count;
1584 while (count--) {
1595 while (count
1560 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMidiFile.cpp442 EAS_I32 count; local
483 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count);
487 p += count * pLibConfig->numChannels;
488 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp117 ssize_t MonoPipe::write(const void *buffer, size_t count) argument
123 while (count > 0) {
127 if (CC_LIKELY(written > count)) {
128 written = count;
149 count -= written;
177 ns = count * (1350000000 / Format_sampleRate(mFormat));
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp156 ALOGE("Failed to find the advertised buffer count");
183 status_t SurfaceMediaSource::setMaxAcquiredBufferCount(size_t count) { argument
184 ALOGV("setMaxAcquiredBufferCount(%zu)", count);
187 CHECK_GT(count, 1);
188 mMaxAcquiredBufferCount = count;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_MotionEstimationMB.c295 OMX_INT intraSAD, average, count, index, x, y; local
334 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16)
336 for(x = 0; x < 16; x++, count++, index++)
338 pTempSrcCurrBuf[count] = pSrcCurrBuf[index];
516 for (count = 0, average = 0; count < 256 ; count++)
518 average = average + pTempSrcCurrBuf[count];
525 for (count = 0; count < 25
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DH264SwDecApi.c89 void H264SwDecMemcpy(void *dest, void *src, u32 count) { argument
90 memcpy(dest, src, count);
93 void H264SwDecMemset(void *ptr, i32 value, u32 count) { argument
94 memset(ptr, value, count);
H A DTestBenchMultipleInstance.c436 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument
438 memcpy(dest, src, count);
446 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument
448 memset(ptr, value, count);
/frameworks/av/services/audioflinger/
H A DAudioResamplerFirProcess.h180 size_t count,
196 for (size_t i = 0; i < count; ++i) {
197 TC c = TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP);
205 c = TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP);
220 for (size_t i = 0; i < count; ++i) {
221 mac(l, r, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP);
224 mac(l, r, TFUNC::interpolaten(coefsN[count], coefsN[0], lerpP), sN);
232 for (size_t i = 0; i < count; ++i) {
233 mac(l, TFUNC::interpolatep(coefsP[0], coefsP[count], lerpP), sP);
236 mac(l, TFUNC::interpolaten(coefsN[count], coefs
179 ProcessBase(TO* const out, size_t count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument
247 ProcessL(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TI* sP, const TI* sN, const TO* const volumeLR) argument
260 Process(TO* const out, int count, const TC* coefsP, const TC* coefsN, const TC* coefsP1 __unused, const TC* coefsN1 __unused, const TI* sP, const TI* sN, TINTERP lerpP, const TO* const volumeLR) argument
[all...]
/frameworks/av/services/audioflinger/tests/
H A Dresampler_tests.cpp153 unsigned count = (end - start + stride - 1) / stride; local
154 return accum / count;
/frameworks/av/services/audiopolicy/
H A DAudioPolicyEffects.cpp102 // EffectVector is existing and we just need to increase ref count
157 uint32_t *count)
169 *count = 0;
176 if (i < *count) {
180 if (effects.size() > *count) {
183 *count = effects.size();
190 uint32_t *count)
202 *count = 0;
209 if (i < *count) {
213 if (effects.size() > *count) {
155 queryDefaultInputEffects(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
188 queryDefaultOutputSessionEffects(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java225 public int read(byte[] buffer, int offset, int count) throws IOException { argument
228 if (count > mRemaining) count = (int)mRemaining;
229 int res = super.read(buffer, offset, count);
234 return super.read(buffer, offset, count);
243 public long skip(long count) throws IOException { argument
246 if (count > mRemaining) count = mRemaining;
247 long res = super.skip(count);
252 return super.skip(count);
300 write(byte[] buffer, int offset, int count) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMemoryFile.java51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException;
53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException;
194 * @param count number of bytes to read.
198 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument
203 if (destOffset < 0 || destOffset > buffer.length || count < 0
204 || count > buffer.length - destOffset
206 || count > mLength - srcOffset) {
209 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging);
219 * @param count number of bytes to write.
222 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument
50 native_read(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument
52 native_write(FileDescriptor fd, long address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument
303 read(byte buffer[], int offset, int count) argument
336 write(byte buffer[], int offset, int count) argument
[all...]
/frameworks/base/core/java/android/text/format/
H A DDateFormat.java441 int count;
443 for (int i = 0; i < length; i += count) {
444 count = 1;
448 count = skipQuotedText(inFormat, i, length);
462 int count = 1;
470 count++;
479 count++;
483 return count;
495 int count;
501 for (int i = 0; i < len; i += count) {
588 getDayOfWeekString(LocaleData ld, int day, int count, int kind) argument
599 getMonthString(LocaleData ld, int month, int count, int kind) argument
613 getTimeZoneString(Calendar inDate, int count) argument
625 formatZoneOffset(int offset, int count) argument
644 getYearString(int year, int count) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java71 int count, int after) {
76 int before, int count) {
103 if (count > 0) {
106 if (count == 1) {
107 sp.setSpan(new Visible(sp, this), start, start + count,
70 beforeTextChanged(CharSequence s, int start, int count, int after) argument
75 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/util/
H A DBase64.java574 private int count; field in class:Base64.Encoder
592 count = do_newline ? LINE_GROUPS : -1;
608 int count = this.count;
650 if (--count == 0) {
653 count = LINE_GROUPS;
672 if (--count == 0) {
675 count = LINE_GROUPS;
714 } else if (do_newline && op > 0 && count != LINE_GROUPS) {
734 this.count
[all...]
/frameworks/base/core/java/android/view/
H A DFocusFinder.java181 final int count = focusables.size();
184 return getNextFocusable(focused, focusables, count);
186 return getPreviousFocusable(focused, focusables, count);
188 return focusables.get(count - 1);
243 private static View getNextFocusable(View focused, ArrayList<View> focusables, int count) { argument
246 if (position >= 0 && position + 1 < count) {
256 private static View getPreviousFocusable(View focused, ArrayList<View> focusables, int count) { argument
264 return focusables.get(count - 1);

Completed in 398 milliseconds

1234567891011>>