Searched refs:mem (Results 26 - 50 of 62) sorted by relevance

123

/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h310 void releaseRecordingFrame(const sp<IMemory>& mem) argument
316 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
454 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle));
455 if (index >= mem->mNumBufs) {
457 index, mem->mNumBufs);
460 __this->mDataCb(msg_type, mem->mBuffers[index], metadata, __this->mCbUser);
473 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle));
474 if (index >= mem->mNumBufs) {
476 index, mem->mNumBufs);
479 __this->mDataCbTimestamp(timestamp, msg_type, mem
535 CameraHeapMemory *mem; local
[all...]
H A DCameraClient.cpp462 void CameraClient::releaseRecordingFrame(const sp<IMemory>& mem) { argument
465 mHardware->releaseRecordingFrame(mem);
797 const sp<IMemory>& mem,
801 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
834 c->dataCallback(msgType, mem, metadata);
842 void CameraClient::handlePostview(const sp<IMemory>& mem) { argument
848 c->dataCallback(CAMERA_MSG_POSTVIEW_FRAME, mem, NULL);
853 void CameraClient::handleRawPicture(const sp<IMemory>& mem) { argument
858 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
863 c->dataCallback(CAMERA_MSG_RAW_IMAGE, mem, NUL
796 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
868 handleCompressedPicture(const sp<IMemory>& mem) argument
[all...]
/frameworks/av/cmds/stagefright/
H A Dstream.cpp113 sp<IMemory> mem = mBuffers.itemAt(index); local
115 ssize_t n = read(mFd, mem->pointer(), mem->size());
222 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); local
225 if (copy + mCurrentBufferOffset > mem->size()) {
226 copy = mem->size() - mCurrentBufferOffset;
229 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy);
232 if (mCurrentBufferOffset == mem->size()) {
/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 DStagefrightMediaScanner.cpp216 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/amrwbenc/src/asm/ARMV5E/
H A DDeemph_32_opt.s23 @ Word16 * mem /* (i/o) : memory (y[-1]) */
29 @*mem RN R3
53 MOV r12, r10, LSL #1 @L_tmp = L_mac(L_tmp, *mem, fac)
H A DFilt_6k_7k_opt.s21 @ Word16 mem[] /* in/out: memory (size=30) */
26 @ r2 --- mem[]
39 MOV r5, r2 @ copy mem[] address
44 BL voAWB_Copy @ memcpy(x, mem, (L_FIR - 1)<<1)
173 LDR r1, [sp, #-4] @mem address
H A Dsyn_filt_opt.s21 @ Word16 mem[], /* (i/o) : memory associated with this filtering. */
27 @ mem[] --- r3
39 MOV r4, r3 @ copy mem[] address
44 @ *yy++ = mem[i]@
224 @ update mem[]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/
H A DDeemph_32_neon.s23 @ Word16 * mem /* (i/o) : memory (y[-1]) */
29 @*mem RN R3
53 MOV r12, r10, LSL #1 @L_tmp = L_mac(L_tmp, *mem, fac)
H A DFilt_6k_7k_neon.s21 @ Word16 mem[] /* in/out: memory (size=30) */
26 @ r2 --- mem[]
37 MOV r5, r2 @ copy mem[] address
210 @LDR r1, [sp, #-4] @mem address
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dsyn_filt.c34 Word16 mem[], /* (i/o) : memory associated with this filtering. */
46 *yy++ = mem[i];
79 mem[i] = yy[lg - 16 + i];
29 Syn_filt( Word16 a[], Word16 x[], Word16 y[], Word16 lg, Word16 mem[], Word16 update ) argument
H A Dq_gain2.c48 Word16 * mem /* output :static memory (2 words) */
56 mem[i] = -14336; /* past_qua_en[i] */
75 Word16 * mem /* (i/o) : static memory (2 words) */
86 past_qua_en = mem;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp278 MemoryArea* mem = pInput.memArea(); local
286 MemoryRegion* region = mem->request(offset, size);
291 mem->release(region);
298 mem->release(region);
304 mem->release(region);
309 mem->release(region);
/frameworks/av/camera/
H A DCamera.cpp159 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) argument
164 c->releaseRecordingFrame(mem);
327 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) argument
330 mCamera->releaseRecordingFrame(mem);
H A DICamera.cpp131 void releaseRecordingFrame(const sp<IMemory>& mem) argument
136 data.writeStrongBinder(mem->asBinder());
315 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
316 releaseRecordingFrame(mem);
/frameworks/av/include/camera/
H A DICamera.h76 virtual void releaseRecordingFrame(const sp<IMemory>& mem) = 0;
H A DCamera.h99 void releaseRecordingFrame(const sp<IMemory>& mem);
142 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
/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/av/media/libstagefright/codecs/avc/common/include/
H A Davcapi_common.h221 \param "mem" "Pointer to the memory to be freed"
224 typedef void (*FunctionType_Free)(void *userData, void *mem);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dwb_syn_filt.cpp54 int16 mem[], (i/o) : memory associated with this filtering.
131 int16 mem[], /* (i/o) : memory associated with this filtering. */
145 pv_memcpy(y_buf, mem, m*sizeof(*yy));
215 pv_memcpy(mem, &y[lg - m], m*sizeof(*y));
125 wb_syn_filt( int16 a[], int16 m, int16 x[], int16 y[], int16 lg, int16 mem[], int16 update, int16 y_buf[] ) argument
/frameworks/compile/mclinker/unittests/
H A DELFReaderTest.cpp128 MemoryArea* mem = m_pInput->memArea(); local
135 MemoryRegion* region = mem->request(offset, size);
140 mem->release(region);
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp315 llvm::OwningPtr<llvm::MemoryBuffer> mem; local
317 mem.reset(llvm::MemoryBuffer::getMemBuffer(
323 module.reset(llvm::ParseBitcodeFile(mem.get(), ctx, &errmsg));
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.h82 void releaseRecordingFrame(const sp<IMemory>& mem);
/frameworks/av/media/libmedia/
H A DIStreamSource.cpp108 sp<IMemory> mem = local
111 buffers.push(mem);

Completed in 565 milliseconds

123