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

12

/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/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/libs/camera/
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);
H A DCamera.cpp250 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) argument
255 c->releaseRecordingFrame(mem);
436 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) argument
439 mCamera->releaseRecordingFrame(mem);
H A DICamera.cpp141 void releaseRecordingFrame(const sp<IMemory>& mem) argument
146 data.writeStrongBinder(mem->asBinder());
331 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
332 releaseRecordingFrame(mem);
/frameworks/base/media/libmediaplayerservice/nuplayer/
H A DNuPlayerStreamListener.cpp41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); local
42 CHECK(mem != NULL);
44 mBuffers.push(mem);
/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/libmedia/
H A DIStreamSource.cpp96 sp<IMemory> mem = local
99 buffers.push(mem);
/frameworks/base/media/libstagefright/
H A DStagefrightMediaScanner.cpp201 sp<IMemory> mem = mRetriever->extractAlbumArt(); local
203 if (mem != NULL) {
204 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer());
H A DACodec.cpp387 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); local
388 CHECK(mem.get() != NULL);
403 mNode, portIndex, mem, &buffer);
405 err = mOMX->useBuffer(mNode, portIndex, mem, &buffer);
415 info.mData = new ABuffer(mem->pointer(), def.nBufferSize);
/frameworks/base/cmds/stagefright/
H A Dstream.cpp110 sp<IMemory> mem = mBuffers.itemAt(index); local
112 ssize_t n = read(mFd, mem->pointer(), mem->size());
219 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); local
222 if (copy + mCurrentBufferOffset > mem->size()) {
223 copy = mem->size() - mCurrentBufferOffset;
226 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy);
229 if (mCurrentBufferOffset == mem->size()) {
H A Dstagefright.cpp782 sp<IMemory> mem = local
786 if (mem != NULL) {
790 VideoFrame *frame = (VideoFrame *)mem->pointer();
805 mem = retriever->extractAlbumArt();
807 if (mem != NULL) {
/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, NULL, mCallbackCookie);
298 sp<MemoryBase> mem = new MemoryBase(heap, 0, kCannedJpegSize); local
300 mDataCb(CAMERA_MSG_COMPRESSED_IMAGE, mem, NULL, mCallbackCookie);
/frameworks/base/media/libstagefright/omx/
H A DOMXNodeInstance.cpp34 BufferMeta(const sp<IMemory> &mem, bool is_backup = false) argument
35 : mMem(mem),
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp389 jlong mem = 0; local
408 mem += atoll(num) * 1024;
417 return numFound > 0 ? mem : -1;

Completed in 5800 milliseconds

12