Searched defs:mem (Results 1 - 25 of 37) sorted by last modified time

12

/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.cpp86 sp<IMemory> mem = mBuffers.itemAt(index);
87 SLAint64 length = (SLAint64) mem->size();
94 // a new shared mem buffer is available: let's try to fill immediately
196 // we're going to change the shared mem buffer queue, so lock it
201 sp<IMemory> mem = mBuffers.itemAt(bufferId); local
202 bufferLoc = mem->pointer();
203 buffSize = mem->size();
212 // 3/ notify shared mem listener that new data is available
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp316 MemoryArea* mem = pInput.memArea(); local
324 llvm::StringRef region = mem->request(offset, size);
/frameworks/compile/mclinker/unittests/
H A DELFReaderTest.cpp127 MemoryArea* mem = m_pInput->memArea(); local
134 llvm::StringRef region = mem->request(offset, size);
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp312 std::unique_ptr<llvm::MemoryBuffer> mem; local
314 mem.reset(llvm::MemoryBuffer::getMemBuffer(
319 llvm::ErrorOr<llvm::Module*> moduleOrError = llvm::parseBitcodeFile(mem.get(), ctx);
/frameworks/base/core/jni/
H A Dandroid_os_Debug.cpp648 long mem[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; local
663 mem[i] = atoll(num);
681 mem[MEMINFO_ZRAM_TOTAL] = atoll(buffer)/1024;
692 outArray[i] = mem[i];
H A Dandroid_util_Process.cpp434 jlong mem = 0; local
450 mem += atoll(num) * 1024;
459 return numFound > 0 ? mem : -1;
/frameworks/base/core/java/android/app/
H A DActivityThread.java956 public void dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, argument
961 dumpMemInfo(pw, mem, checkin, dumpFullInfo, dumpDalvik);
1052 // SQLite mem info
4241 BinderInternal.forceGc("mem");
H A DApplicationThreadNative.java1216 public void dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, argument
1222 mem.writeToParcel(data, 0);
H A DIApplicationThread.java133 void dumpMemInfo(FileDescriptor fd, Debug.MemoryInfo mem, boolean checkin, boolean dumpInfo, argument
/frameworks/av/camera/
H A DCamera.cpp188 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) argument
193 c->releaseRecordingFrame(mem);
364 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) argument
367 mCamera->releaseRecordingFrame(mem);
H A DICamera.cpp145 void releaseRecordingFrame(const sp<IMemory>& mem) argument
150 data.writeStrongBinder(mem->asBinder());
338 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
339 releaseRecordingFrame(mem);
H A DICameraRecordingProxy.cpp61 void releaseRecordingFrame(const sp<IMemory>& mem) argument
66 data.writeStrongBinder(mem->asBinder());
96 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
97 releaseRecordingFrame(mem);
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp843 sp<IMemory> mem = local
847 if (mem != NULL) {
851 VideoFrame *frame = (VideoFrame *)mem->pointer();
859 mem = retriever->extractAlbumArt();
861 if (mem != NULL) {
H A Dstream.cpp114 sp<IMemory> mem = mBuffers.itemAt(index); local
116 ssize_t n = read(mFd, mem->pointer(), mem->size());
225 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); local
228 if (copy + mCurrentBufferOffset > mem->size()) {
229 copy = mem->size() - mCurrentBufferOffset;
232 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy);
235 if (mCurrentBufferOffset == mem->size()) {
/frameworks/av/media/libmedia/
H A DIStreamSource.cpp108 sp<IMemory> mem = local
111 buffers.push(mem);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); local
42 CHECK(mem != NULL);
44 mBuffers.push(mem);
/frameworks/av/media/libstagefright/
H A DACodec.cpp554 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); local
555 CHECK(mem.get() != NULL);
567 mem.clear();
580 mNode, portIndex, mem, &info.mBufferID);
582 err = mOMX->useBuffer(mNode, portIndex, mem, &info.mBufferID);
585 if (mem != NULL) {
586 info.mData = new ABuffer(mem->pointer(), def.nBufferSize);
880 sp<IMemory> mem = mDealer[kPortIndexOutput]->allocate( local
882 CHECK(mem.get() != NULL);
883 info.mData = new ABuffer(mem
[all...]
H A DOMXCodec.cpp1657 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); local
1658 CHECK(mem.get() != NULL);
1669 mem.clear();
1676 mNode, portIndex, mem, &buffer);
1681 mem.clear();
1688 mNode, portIndex, mem, &buffer);
1691 err = mOMX->useBuffer(mNode, portIndex, mem, &buffer);
1699 if (mem != NULL) {
1700 info.mData = mem->pointer();
1705 info.mMem = mem;
[all...]
H A DStagefrightMediaScanner.cpp217 sp<IMemory> mem = mRetriever->extractAlbumArt(); local
218 if (mem != NULL) {
219 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer());
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dsyn_filt.cpp72 Description: Replaced OSCL mem type functions and eliminated include
137 mem = memory buffer associated with this filtering (Word16)
142 mem buffer is changed to be the last M data points of the output signal
178 Word16 mem[], // (i/o) : memory associated with this filtering.
187 // Copy mem[] to yy[]
193 *yy++ = mem[i];
220 mem[i] = y[lg - M + i];
254 Word16 mem[], /* (i/o) : memory associated with this filtering. */
269 /* Copy mem[] to yy[] */
273 memcpy(yy, mem,
249 Syn_filt( Word16 a[], Word16 x[], Word16 y[], Word16 lg, Word16 mem[], Word16 update ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dband_pass_6k_7k.cpp49 int16 mem[] in/out: memory (size=30)
50 int16 x[] scratch mem ( size= 60)
138 void band_pass_6k_7k_init(int16 mem[]) /* mem[30] */ argument
140 pv_memset((void *)mem, 0, L_FIR*sizeof(*mem));
152 int16 mem[], /* in/out: memory (size=30) */
164 pv_memcpy((void *)x, (void *)mem, L_FIR*sizeof(*x));
237 pv_memcpy((void *)mem, (void *)(x + lg), L_FIR*sizeof(*mem));
149 band_pass_6k_7k( int16 signal[], int16 lg, int16 mem[], int16 x[] ) argument
[all...]
H A Ddec_gain2_amr_wb.cpp58 int16 * mem (i/o) : static memory (4 words)
145 void dec_gain2_amr_wb_init(int16 * mem) argument
149 mem[0] = -14336; /* past_qua_en[0] */
150 mem[1] = -14336; /* past_qua_en[1] */
151 mem[2] = -14336; /* past_qua_en[2] */
152 mem[3] = -14336; /* past_qua_en[3] */
159 pv_memset((void *)&mem[4], 0, 18*sizeof(*mem));
161 mem[22] = 21845;
181 int16 * mem /* (
[all...]
H A Dhighpass_400hz_at_12k8.cpp49 int16 mem[] filter memory [6]
134 void highpass_400Hz_at_12k8_init(int16 mem[]) argument
136 pv_memset((void *)mem, 0, 6*sizeof(*mem));
146 int16 mem[] /* filter memory [6] */
154 y2_hi = mem[0];
155 y2_lo = mem[1];
156 y1_hi = mem[2];
157 y1_lo = mem[3];
158 x0 = mem[
[all...]
H A Dhighpass_50hz_at_12k8.cpp49 int16 mem[] filter memory [6]
136 void highpass_50Hz_at_12k8_init(int16 mem[]) argument
138 pv_memset((void *)mem, 0, 6*sizeof(*mem));
148 int16 mem[] /* filter memory [6] */
157 y2_hi = mem[0];
158 y2_lo = mem[1];
159 y1_hi = mem[2];
160 y1_lo = mem[3];
161 x0 = mem[
[all...]
H A Dlow_pass_filt_7k.cpp49 int16 mem[] in/out: memory (size=30)
50 int16 x[] scratch mem ( size= 60)
129 void low_pass_filt_7k_init(int16 mem[]) /* mem[30] */ argument
131 pv_memset((void *)mem, 0, (L_FIR)*sizeof(*mem));
145 int16 mem[], /* in/out: memory (size=30) */
155 pv_memcpy((void *)x, (void *)mem, (L_FIR)*sizeof(*x));
216 pv_memcpy((void *)mem, (void *)(x + lg), (L_FIR)*sizeof(*mem));
142 low_pass_filt_7k( int16 signal[], int16 lg, int16 mem[], int16 x[] ) argument
[all...]

Completed in 297 milliseconds

12