/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AmrCodec.cpp | 55 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 D | Type.cpp | 51 uint32_t count = x * y * z * faces; local 63 count += x * y * z * faces; 65 mElementCount = count;
|
/frameworks/rs/ |
H A D | rsAdapter.cpp | 40 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 D | TextDirectionHeuristicsCompat.java | 124 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 D | RequestQueueTest.java | 51 * @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 D | SndFile.c | 46 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 D | ProCamera.cpp | 364 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 D | DngUtils.cpp | 43 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 D | JetPlayer.cpp | 158 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 D | ToneGenerator.cpp | 1126 // 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 D | MidiFile.cpp | 442 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 D | MonoPipe.cpp | 117 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 D | SurfaceMediaSource.cpp | 156 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 D | omxVCM4P2_MotionEstimationMB.c | 295 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 D | H264SwDecApi.c | 89 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 D | TestBenchMultipleInstance.c | 436 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 D | AudioResamplerFirProcess.h | 180 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 D | resampler_tests.cpp | 153 unsigned count = (end - start + stride - 1) / stride; local 154 return accum / count;
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyEffects.cpp | 102 // 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 D | AssetFileDescriptor.java | 225 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 D | MemoryFile.java | 51 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 D | DateFormat.java | 441 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 D | PasswordTransformationMethod.java | 71 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 D | Base64.java | 574 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 D | FocusFinder.java | 181 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);
|