Searched defs:mem (Results 1 - 24 of 24) sorted by relevance

/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A Dhp6k.c47 void Init_Filt_6k_7k(Word16 mem[]) /* mem[30] */ argument
49 Set_zero(mem, L_FIR - 1);
56 Word16 mem[] /* in/out: memory (size=30) */
62 Copy(mem, x, L_FIR - 1);
88 Copy(x + lg, mem, L_FIR - 1);
H A Dhp400.c51 void Init_HP400_12k8(Word16 mem[]) argument
53 Set_zero(mem, 6);
60 Word16 mem[] /* filter memory [6] */
67 y2_hi = *mem++;
68 y2_lo = *mem++;
69 y1_hi = *mem++;
70 y1_lo = *mem++;
71 x0 = *mem++;
72 x1 = *mem;
96 *mem
[all...]
H A Dhp50.c52 void Init_HP50_12k8(Word16 mem[]) argument
54 Set_zero(mem, 6);
61 Word16 mem[] /* filter memory [6] */
69 y2_hi = *mem++;
70 y2_lo = *mem++;
71 y1_hi = *mem++;
72 y1_lo = *mem++;
73 x0 = *mem++;
74 x1 = *mem;
96 *mem
[all...]
H A Dhp_wsp.c49 void Init_Hp_wsp(Word16 mem[]) argument
51 Set_zero(mem, 9);
56 void scale_mem_Hp_wsp(Word16 mem[], Word16 exp) argument
63 L_tmp = ((mem[i] << 16) + (mem[i + 1]<<1));
65 mem[i] = L_tmp >> 16;
66 mem[i + 1] = (L_tmp & 0xffff)>>1;
71 L_tmp = L_deposit_h(mem[i]); /* x[i] */
73 mem[i] = vo_round(L_tmp);
84 Word16 mem[] /*
[all...]
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
/frameworks/base/include/utils/
H A DPool.h52 void* mem = allocImpl(); local
54 return new (mem) T();
56 return static_cast<T*>(mem);
/frameworks/base/media/libstagefright/codecs/amrwb/src/
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...]
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 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
H A Doversamp_12k8_to_16k.cpp49 int16 mem[] in/out: memory (size=30)
50 int16 x[] scratch mem ( size= 60)
189 void oversamp_12k8_to_16k_init(int16 mem[]) argument
191 pv_memset((void *)mem, 0, (2*NB_COEF_UP)*sizeof(*mem));
203 int16 mem[], /* in/out: memory (2*NB_COEF_UP) */
210 (void *)mem,
211 (2*NB_COEF_UP)*sizeof(*mem));
221 pv_memcpy((void *)mem,
199 oversamp_12k8_to_16k( int16 sig12k8[], int16 lg, int16 sig16k[], int16 mem[], int16 signal[] ) argument
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...]
/frameworks/base/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/base/media/libstagefright/
H A DStagefrightMediaScanner.cpp183 sp<IMemory> mem = mRetriever->extractAlbumArt(); local
185 if (mem != NULL) {
186 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer());
H A DOMXCodec.cpp1603 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); local
1604 CHECK(mem.get() != NULL);
1614 mem.clear();
1621 mNode, portIndex, mem, &buffer);
1626 mem.clear();
1633 mNode, portIndex, mem, &buffer);
1636 err = mOMX->useBuffer(mNode, portIndex, mem, &buffer);
1644 if (mem != NULL) {
1645 info.mData = mem->pointer();
1650 info.mMem = mem;
[all...]
/frameworks/base/libs/camera/
H A DCamera.cpp233 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) argument
238 c->releaseRecordingFrame(mem);
H A DICamera.cpp127 void releaseRecordingFrame(const sp<IMemory>& mem) argument
132 data.writeStrongBinder(mem->asBinder());
299 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
300 releaseRecordingFrame(mem);
/frameworks/base/media/libstagefright/omx/
H A DOMXNodeInstance.cpp33 BufferMeta(const sp<IMemory> &mem, bool is_backup = false) argument
34 : mMem(mem),
/frameworks/base/services/camera/libcameraservice/
H A DCameraHardwareStub.cpp242 void CameraHardwareStub::releaseRecordingFrame(const sp<IMemory>& mem) argument
290 sp<MemoryBase> mem = new MemoryBase(mRawHeap, 0, w * h * 3 / 2); local
293 mDataCb(CAMERA_MSG_RAW_IMAGE, mem, mCallbackCookie);
298 sp<MemoryBase> mem = new MemoryBase(heap, 0, kCannedJpegSize); local
300 mDataCb(CAMERA_MSG_COMPRESSED_IMAGE, mem, mCallbackCookie);
H A DCameraService.cpp738 void CameraService::Client::releaseRecordingFrame(const sp<IMemory>& mem) { argument
741 mHardware->releaseRecordingFrame(mem);
1041 void CameraService::Client::handlePreviewData(const sp<IMemory>& mem) { argument
1044 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
1085 c->dataCallback(CAMERA_MSG_PREVIEW_FRAME, mem);
1093 void CameraService::Client::handlePostview(const sp<IMemory>& mem) { argument
1099 c->dataCallback(CAMERA_MSG_POSTVIEW_FRAME, mem);
1104 void CameraService::Client::handleRawPicture(const sp<IMemory>& mem) { argument
1109 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
1119 c->dataCallback(CAMERA_MSG_RAW_IMAGE, mem);
1124 handleCompressedPicture(const sp<IMemory>& mem) argument
[all...]
/frameworks/base/cmds/stagefright/
H A Dstagefright.cpp599 sp<IMemory> mem = local
603 if (mem != NULL) {
606 mem = retriever->extractAlbumArt();
608 if (mem != NULL) {
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp426 jlong mem = 0; local
445 mem += atoll(num) * 1024;
454 return numFound > 0 ? mem : -1;
/frameworks/base/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1202 sp<MemoryBase> mem; local
1211 return mem;
1240 mem = new MemoryBase(cache->getHeap(), 0, cache->size());
1244 LOGV("return memory @ %p, sampleRate=%u, channelCount = %d, format = %d", mem->pointer(), *pSampleRate, *pNumChannels, *pFormat);
1248 return mem;
1254 sp<MemoryBase> mem; local
1283 mem = new MemoryBase(cache->getHeap(), 0, cache->size());
1287 LOGV("return memory @ %p, sampleRate=%u, channelCount = %d, format = %d", mem->pointer(), *pSampleRate, *pNumChannels, *pFormat);
1292 return mem;

Completed in 365 milliseconds