Searched refs:mem (Results 1 - 25 of 102) sorted by relevance

12345

/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 Dpvamrwbdecoder_acelp.h86 void low_pass_filt_7k_init(int16 mem[]);
90 int16 mem[], /* in/out: memory (size=30) */
162 int16 mem[] /* output: memory (2*NB_COEF_UP) set to zeros */
168 int16 mem[], /* in/out: memory (2*NB_COEF_UP) */
172 void highpass_50Hz_at_12k8_init(int16 mem[]);
176 int16 mem[] /* filter memory [6] */
178 void highpass_400Hz_at_12k8_init(int16 mem[]);
182 int16 mem[] /* filter memory [6] */
185 void band_pass_6k_7k_init(int16 mem[]);
189 int16 mem[], /* i
[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 Ddeemphasis_32.cpp52 int16 * mem (i/o) : memory (y[-1])
126 int16 * mem /* (i/o) : memory (y[-1]) */
137 L_tmp = fxp_mac_16by16(*mem, mu, L_tmp),
162 *mem = y[L - 1];
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
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 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 Dgpclip.c38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */
41 mem[0] = DIST_ISF_MAX;
42 mem[1] = GAIN_PIT_MIN;
47 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
51 if ((mem[0] < DIST_ISF_THRES) && (mem[1] > GAIN_PIT_THRES))
60 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
77 dist = extract_h(L_mac(vo_L_mult(26214, mem[0]), 6554, dist_min));
83 mem[0] = dist;
91 Word16 mem[] /* (
[all...]
H A Ddeemph.c34 Word16 * mem /* (i/o) : memory (y[-1]) */
41 L_tmp = L_mac(L_tmp, *mem, mu);
51 *mem = x[L - 1];
61 Word16 * mem /* (i/o) : memory (y[-1]) */
67 i = L_mult(*mem, mu);
78 *mem = x[L - 1];
89 Word16 * mem /* (i/o) : memory (y[-1]) */
100 L_tmp += ((*mem) * fac)<<1;
114 *mem = y[L - 1];
H A Dpreemph.c32 Word16 * mem /* (i/o) : memory (x[-1]) */
48 L_tmp -= ((*mem) * mu)<<1;
51 *mem = temp;
61 Word16 * mem /* (i/o) : memory (x[-1]) */
84 L_tmp -= ((*mem) * mu)<<1;
94 *mem = temp;
H A Dlp_dec2.c38 Word16 mem[] /* in/out: memory (size=3) */
48 *p_x++ = mem[i];
49 mem[i] = x[l - L_MEM + i];
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 Ddecim54.c60 Word16 mem[] /* output: memory (2*NB_COEF_DOWN) set to zeros */
63 Set_zero(mem, 2 * NB_COEF_DOWN);
71 Word16 mem[] /* in/out: memory (2*NB_COEF_DOWN) */
77 Copy(mem, signal, 2 * NB_COEF_DOWN);
85 Copy(signal + lg, mem, 2 * NB_COEF_DOWN);
/frameworks/av/media/libstagefright/
H A DBufferImpl.cpp34 SharedMemoryBuffer::SharedMemoryBuffer(const sp<AMessage> &format, const sp<IMemory> &mem) argument
35 : MediaCodecBuffer(format, new ABuffer(mem->pointer(), mem->size())),
36 mMemory(mem) {
39 SharedMemoryBuffer::SharedMemoryBuffer(const sp<AMessage> &format, const sp<TMemory> &mem) argument
40 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())),
41 mTMemory(mem) {
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dsyn_filt.h75 Word16 mem[], /* (i/o): memory associated with this filtering. */
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dacelp.h48 Word16 * mem /* output :static memory (18 words) */
56 Word16 * mem /* (i/o) :static memory (18 words) */
170 Word16 mem[] /* output: memory (2*NB_COEF_DOWN) set to zeros */
176 Word16 mem[] /* in/out: memory (2*NB_COEF_DOWN) */
179 void Init_HP50_12k8(Word16 mem[]);
183 Word16 mem[] /* filter memory [6] */
185 void Init_HP400_12k8(Word16 mem[]);
189 Word16 mem[] /* filter memory [6] */
192 void Init_Filt_6k_7k(Word16 mem[]);
196 Word16 mem[] /* i
[all...]
H A Dp_med_o.h48 Word16 mem[] /* i/o : filter memory [9] */
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DMatrix.java25 public final double[] mem; field in class:Matrix
36 mem = new double[rows * cols];
51 mem = values;
52 if (mem.length != n * m) throw new IllegalArgumentException();
63 mem = new double[that.mem.length];
64 for (int i = 0; i < mem.length; i++) {
65 mem[i] = that.mem[i];
79 return mem[
[all...]
/frameworks/av/media/libstagefright/include/
H A DSharedMemoryBuffer.h35 SharedMemoryBuffer(const sp<AMessage> &format, const sp<IMemory> &mem);
36 SharedMemoryBuffer(const sp<AMessage> &format, const sp<TMemory> &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);
151 sp<IMemory> mem = mBuffers.editItemAt(entry->mIndex); local
152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) {
157 (const uint8_t *)mem->pointer()
/frameworks/compile/mclinker/lib/Support/
H A DMemoryArea.cpp34 llvm::StringRef mem(pMemBuffer, pSize);
36 llvm::MemoryBuffer::getMemBuffer(mem,
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp93 camera_memory_t* mem = sGetMemory(descriptor->data[0], bufferSize, bufferCount, this); local
94 sp<CameraHeapMemory> camMem(static_cast<CameraHeapMemory *>(mem->handle));
101 mHidlMemPoolMap.insert(std::make_pair(memPoolId, mem));
106 camera_memory_t* mem = nullptr; local
113 mem = mHidlMemPoolMap.at(memId);
116 sPutMemory(mem);
123 camera_memory_t* mem = nullptr; local
130 mem = mHidlMemPoolMap.at(data);
135 sDataCb((int32_t) msgType, mem, bufferIndex, &md, this);
142 camera_memory_t* mem local
158 camera_memory_t* mem = nullptr; local
571 releaseRecordingFrame(const sp<IMemory>& mem) argument
782 CameraHeapMemory *mem; local
798 CameraHeapMemory *mem = static_cast<CameraHeapMemory *>(data->handle); local
[all...]
/frameworks/av/include/media/
H A DIMediaSource.h151 uint64_t lookup(const sp<IMemory> &mem) { argument
152 auto p = mMemoryToIndex.find(mem.get());
162 ALOGW_IF(p->second.first.get() != mem.get(), "Mismatched buffers without reset");
167 uint64_t insert(const sp<IMemory> &mem) { argument
168 auto p = mMemoryToIndex.find(mem.get());
176 (void)mMemoryToIndex.emplace(// C++11 mem.get(), std::make_pair(mem, mIndex))
178 std::forward_as_tuple(mem.get()), std::forward_as_tuple(mem, mIndex));
/frameworks/av/media/libmedia/include/media/
H A DIMediaSource.h151 uint64_t lookup(const sp<IMemory> &mem) { argument
152 auto p = mMemoryToIndex.find(mem.get());
162 ALOGW_IF(p->second.first.get() != mem.get(), "Mismatched buffers without reset");
167 uint64_t insert(const sp<IMemory> &mem) { argument
168 auto p = mMemoryToIndex.find(mem.get());
176 (void)mMemoryToIndex.emplace(// C++11 mem.get(), std::make_pair(mem, mIndex))
178 std::forward_as_tuple(mem.get()), std::forward_as_tuple(mem, mIndex));

Completed in 217 milliseconds

12345