Searched defs:count (Results 51 - 75 of 352) sorted by relevance

1234567891011>>

/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp50 size_t count,
57 mBuffer.frameCount = count;
66 if (CC_UNLIKELY(count > available)) {
67 count = available;
69 // count could be zero, either because count was zero on entry or
71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift);
72 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) {
77 mFramesRead += count;
78 // For better responsiveness with large values of count,
49 read(void *buffer, size_t count, int64_t readPTS) argument
95 size_t count = total - accumulator; local
[all...]
H A DAudioStreamOutSink.cpp54 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument
60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c75 OMX_INT outer, inner, count, index; local
95 for (outer = 0, count = 0,index = 0;
99 for (inner = 0; inner < BlockSize; inner++, count++, index++)
101 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
150 for (outer = 0, count = 0, candSAD = 0,index = 0;
154 for (inner = 0; inner < BlockSize; inner++, count++,index++)
164 candSAD += armAbs (tempPel - pSrcCurrBuf[count]);
H A DarmVCM4P2_BlockMatch_Integer.c83 OMX_INT outer, inner, count,index; local
141 for (outer = 0, count = 0, index = 0, candSAD = 0;
145 for (inner = 0; inner < BlockSize; inner++, count++, index++)
147 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
H A DomxVCM4P2_DecodeBlockCoef_Intra.c109 OMX_INT predDir, predACDir, i, j, count; local
211 for (j = 0, count = 0; j < 8; j++)
213 for(i = 0; i < 8; i++, count++)
215 pDst[i] = armClip (0, 255, pTempBuf2[count]);
H A DomxVCM4P2_DecodePadMV_PVOP.c93 OMX_INT iBlk, i, count = 1; local
125 count = 4;
129 count = 1;
139 for (iBlk = 0; iBlk < count; iBlk++)
H A DomxVCM4P2_MCReconBlock.c188 OMX_U8 x,y,count,index; local
191 for (y = 0, count = 0, index = 0; y < 8; y++,index += (srcStep -8), count += (dstStep - 8))
193 for (x = 0; x < 8; x++, count++,index++)
195 pDst[count] = pSrc[index];
H A DomxVCM4P2_TransRecBlockCoef_intra.c144 OMX_INT x, y, count, predDir; local
183 for (y = 0, count = 0; y < 8; y++)
185 for(x= 0; x < 8; x++, count++)
187 pTempBuf1[count] = pSrc[(y*srcStep) + x];
199 for (y = 0, count = 0; y < 8; y++)
201 for(x = 0; x < 8; x++, count++)
204 pTempBuf1[count] = pTempBuf2[count];
205 pDst[(y*dstStep) + x] = pTempBuf2[count];
250 for(count
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_half.s38 count RN 2 label
138 ;// pack values to count register
144 MOV count, width
148 ADD count, count, tmp2, LSL #16
154 AND tmp1, count, #0x000F0000 ;// partHeight-1
155 AND tmp3, count, #0x00F00000 ;// partWidth-1
156 ADD count, count, tmp1, LSL #8
159 ADD count, coun
[all...]
H A Dh264bsd_interpolate_hor_quarter.s38 count RN 2 label
140 ;// pack values to count register
146 MOV count, width
150 ADD count, count, tmp2, LSL #16
156 AND tmp1, count, #0x000F0000 ;// partHeight-1
157 AND tmp3, count, #0x00F00000 ;// partWidth-1
158 ADD count, count, tmp1, LSL #8
161 ADD count, coun
[all...]
H A Dh264bsd_interpolate_ver_half.s38 count RN 2 label
138 ADD count, partW, partH, LSL #16 ;// |partH|partW|
140 SSUB16 count, count, tmp5; ;// |partH-1|partW-1|
143 AND tmp1, count, #0x000000FF ;// partWidth
147 ADD count, count, tmp1, LSL #24 ;// partWidth-1 to top byte
281 SUBS count, count, #4<<24 ;// (partWidth-1) -= 4;
335 ADDS count, coun
[all...]
H A Dh264bsd_interpolate_ver_quarter.s37 count RN 2 label
137 ADD count, partW, partH, LSL #8 ;// |xx|xx|partH|partW|
139 RSB count, tmp5, count, LSL #8 ;// |xx|partH-1|partW-1|xx|
141 ADD count, count, tmp2 ;// |xx|partH-1|partW-1|verOffset|
144 AND tmp1, count, #0x0000FF00 ;// partWidth
148 ADD count, count, tmp1, LSL #16 ;// partWidth-1 to top byte
189 MOVS tmp1, count, LS
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.cpp110 uint16_t count = U16_AT(tmpData); local
114 for (int i = 0; i < count; i++) {
150 uint16_t count = U16_AT(tmpData + 4); local
151 parcel->writeInt32(count);
156 for (int i = 0; i < count; i++) {
349 uint16_t count = U16_AT(tmpData); local
350 parcel->writeInt32(count);
353 for (int i = 0; i < count; i++) {
/frameworks/base/core/java/android/text/
H A DAndroidCharacter.java33 * Fill in the first <code>count</code> bytes of <code>dest</code> with the
34 * directionalities from the first <code>count</code> chars of <code>src</code>.
39 int count);
55 * Fill the first <code>count</code> bytes of <code>dest</code> with the
56 * East Asian Width from <code>count</code> chars of <code>src</code>
66 * @param count maximum number of characters to measure
70 int count, byte[] dest);
79 * @param count maximum number of characters to mirror
82 public native static boolean mirror(char[] text, int start, int count); argument
38 getDirectionalities(char[] src, byte[] dest, int count) argument
69 getEastAsianWidths(char[] src, int start, int count, byte[] dest) argument
H A DPackedObjectVector.java83 deleteAt(int row, int count) argument
85 moveRowGapTo(row + count);
87 mRowGapStart -= count;
88 mRowGapLength += count;
/frameworks/base/core/java/com/android/internal/os/
H A DPkgUsageStats.java53 public PkgUsageStats(String pkgName, int count, long time, Map<String, Long> lastResumeTimes) { argument
55 launchCount = count;
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java54 public void write(char[] buf, int offset, int count) { argument
55 final int bufferEnd = offset + count;
H A DProcFileReader.java74 private void consumeBuf(int count) throws IOException { argument
77 System.arraycopy(mBuffer, count, mBuffer, 0, mTail - count);
78 mTail -= count;
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp54 static void getDirectionalities(JNIEnv* env, jobject obj, jcharArray srcArray, jbyteArray destArray, int count) argument
65 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) {
70 for (int i = 0; i < count; i++) {
72 i + 1 < count &&
105 int start, int count, jbyteArray destArray)
116 if (start < 0 || start > start + count
117 || env->GetArrayLength(srcArray) < (start + count)
118 || env->GetArrayLength(destArray) < count) {
123 for (int i = 0; i < count;
104 getEastAsianWidths(JNIEnv* env, jobject obj, jcharArray srcArray, int start, int count, jbyteArray destArray) argument
147 mirror(JNIEnv* env, jobject obj, jcharArray charArray, int start, int count) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java123 private void readIndexOutOfBoundsException(int offset, int count, String msg) argument
131 is.read(buffer, offset, count);
164 "read() with offset + count outside buffer should throw IndexOutOfBoundsException");
176 // read() with count larger than data should succeed, and return # of bytes read
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp117 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { argument
120 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition));
/frameworks/base/libs/hwui/
H A DGradientCache.h36 count = 0;
41 GradientCacheEntry(uint32_t* colors, float* positions, int count) { argument
42 copy(colors, positions, count);
46 copy(entry.colors, entry.positions, entry.count);
59 copy(entry.colors, entry.positions, entry.count);
67 LTE_INT(count) {
68 int result = memcmp(colors, rhs.colors, count * sizeof(uint32_t));
71 result = memcmp(positions, rhs.positions, count * sizeof(float));
80 int count; member in struct:android::uirenderer::GradientCacheEntry
85 void copy(uint32_t* colors, float* positions, int count) { argument
[all...]
H A DLayerCache.cpp80 size_t count = mCache.size(); local
81 for (size_t i = 0; i < count; i++) {
H A DPatchCache.cpp46 size_t count = mCache.size(); local
47 for (size_t i = 0; i < count; i++) {
H A DPathCache.cpp83 size_t count = mGarbage.size(); local
84 for (size_t i = 0; i < count; i++) {

Completed in 1746 milliseconds

1234567891011>>