/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | hp6k.c | 47 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 D | hp400.c | 51 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 D | hp50.c | 52 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 D | hp_wsp.c | 49 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 D | syn_filt.c | 36 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 D | BufferImpl.cpp | 34 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 D | StagefrightMediaScanner.cpp | 162 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 D | highpass_400hz_at_12k8.cpp | 49 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 D | highpass_50hz_at_12k8.cpp | 49 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 D | low_pass_filt_7k.cpp | 49 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 D | band_pass_6k_7k.cpp | 49 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 D | wb_syn_filt.cpp | 54 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 D | NuPlayerStreamListener.cpp | 41 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 D | syn_filt.cpp | 72 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 D | CpuInfoParser_test.cpp | 64 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 D | ICameraRecordingProxy.cpp | 65 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 D | IMediaSource.h | 151 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 D | OMXBuffer.cpp | 49 OMXBuffer::OMXBuffer(const sp<IMemory> &mem) argument 51 mMem(mem) {
|
H A D | IStreamSource.cpp | 100 sp<IMemory> mem = local 103 if (mem != NULL) { 104 buffers.push(mem);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaSource.h | 151 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 D | ELFReaderTest.cpp | 122 MemoryArea* mem = m_pInput->memArea(); local 129 llvm::StringRef region = mem->request(offset, size);
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
H A D | VtsHalSensorManagerV1_0TargetTest.cpp | 116 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 D | MediaBuffer.h | 50 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 D | MediaBufferGroup.cpp | 72 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 D | MediaBuffer.h | 50 MediaBuffer(const sp<IMemory> &mem) : argument 51 MediaBuffer((uint8_t *)mem->pointer() + sizeof(SharedControl), mem->size()) { 53 mMemory = mem;
|