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

123

/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.c36 Word16 mem[], /* (i/o) : memory associated with this filtering. */
48 *yy++ = mem[i];
81 mem[i] = yy[lg - 16 + i];
31 Syn_filt( Word16 a[], Word16 x[], Word16 y[], Word16 lg, Word16 mem[], Word16 update ) argument
/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) {
H A DStagefrightMediaScanner.cpp162 sp<IMemory> mem = mRetriever->extractAlbumArt(); local
163 if (mem != NULL) {
164 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(mem->pointer());
/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
/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/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];
256 Word16 mem[], /* (i/o) : memory associated with this filtering. */
271 /* Copy mem[] to yy[] */
275 memcpy(yy, mem,
251 Syn_filt( Word16 a[], Word16 x[], Word16 y[], Word16 lg, Word16 mem[], Word16 update ) argument
[all...]
/frameworks/base/cmds/incident_helper/tests/
H A DCpuInfoParser_test.cpp64 CpuInfoProto::MemStats* mem = expected.mutable_mem(); local
65 mem->set_total(3842668);
66 mem->set_used(3761936);
67 mem->set_free(80732);
68 mem->set_buffers(220188);
/frameworks/av/camera/
H A DICameraRecordingProxy.cpp65 void releaseRecordingFrame(const sp<IMemory>& mem) argument
70 data.writeStrongBinder(IInterface::asBinder(mem));
131 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local
132 releaseRecordingFrame(mem);
/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/
H A DOMXBuffer.cpp49 OMXBuffer::OMXBuffer(const sp<IMemory> &mem) argument
51 mMem(mem) {
H A DIStreamSource.cpp100 sp<IMemory> mem = local
103 if (mem != NULL) {
104 buffers.push(mem);
/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));
/frameworks/compile/mclinker/unittests/
H A DELFReaderTest.cpp122 MemoryArea* mem = m_pInput->memArea(); local
129 llvm::StringRef region = mem->request(offset, size);
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
H A DVtsHalSensorManagerV1_0TargetTest.cpp116 map_region map(const hidl_memory &mem) { argument
117 if (mem.handle() == nullptr || mem.handle()->numFds != 1) {
120 size_t size = mem.size();
121 void *buf = mmap(nullptr, size, PROT_READ, MAP_SHARED, mem.handle()->data[0], 0);
146 ASSERT_OK(ashmem_->allocate(memSize, [&](bool success, const auto &mem) {
148 ASSERT_NE(mem.handle(), nullptr);
149 ASSERT_OK(manager_->createAshmemDirectChannel(mem, intendedSize, callback));
226 ASSERT_OK(ashmem_->allocate(memSize, [&] (bool success, const auto &mem) {
228 map_region buf = map(mem);
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaBuffer.h50 MediaBuffer(const sp<IMemory> &mem) : argument
51 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) {
53 mMemory = mem;
/frameworks/av/media/libmediaextractor/
H A DMediaBufferGroup.cpp72 sp<IMemory> mem = memoryDealer->allocate(augmented_size); local
73 if (mem.get() == nullptr || mem->pointer() == nullptr) {
77 MediaBuffer *buffer = new MediaBuffer(mem);
/frameworks/av/media/libmediaextractor/include/media/stagefright/
H A DMediaBuffer.h50 MediaBuffer(const sp<IMemory> &mem) : argument
51 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) {
53 mMemory = mem;

Completed in 293 milliseconds

123