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

12

/frameworks/av/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/av/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/av/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.cpp251 void Camera::releaseRecordingFrame(const sp<IMemory>& mem) argument
256 c->releaseRecordingFrame(mem);
437 void Camera::RecordingProxy::releaseRecordingFrame(const sp<IMemory>& mem) argument
440 mCamera->releaseRecordingFrame(mem);
H A DICamera.cpp143 void releaseRecordingFrame(const sp<IMemory>& mem) argument
148 data.writeStrongBinder(mem->asBinder());
333 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
334 releaseRecordingFrame(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/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/libmedia/
H A DIStreamSource.cpp105 sp<IMemory> mem = local
108 buffers.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/compile/mclinker/lib/LD/
H A DELFObjectReader.cpp247 MemoryArea* mem = pInput.memArea(); local
256 MemoryRegion* region = mem->request(
260 mem->release(region);
266 MemoryRegion* region = mem->request(
269 mem->release(region);
/frameworks/compile/mclinker/unittests/Linker/
H A DTestLinker.cpp46 std::list<mcld::MemoryArea*>::iterator mem, mEnd = m_MemAreaList.end() ; local
47 for (mem = m_MemAreaList.begin(); mem != mEnd; ++mem)
48 delete (*mem);
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp149 sp<IMemory> mem = mBuffers.itemAt(index); local
150 CHECK_LE(srcBuffer->size(), mem->size());
153 memcpy(mem->pointer(), srcBuffer->data(), srcBuffer->size());
/frameworks/av/services/camera/libcameraservice/camera2/
H A DStreamingProcessor.cpp568 void StreamingProcessor::releaseRecordingFrame(const sp<IMemory>& mem) { argument
579 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
/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/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

Completed in 159 milliseconds

12