/frameworks/av/camera/ |
H A D | Camera.cpp | 251 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 D | ICamera.cpp | 143 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);
|
H A D | ICameraRecordingProxy.cpp | 61 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);
|
/frameworks/av/cmds/stagefright/ |
H A D | stagefright.cpp | 844 sp<IMemory> mem = local 848 if (mem != NULL) { 852 VideoFrame *frame = (VideoFrame *)mem->pointer(); 860 mem = retriever->extractAlbumArt(); 862 if (mem != NULL) {
|
H A D | stream.cpp | 112 sp<IMemory> mem = mBuffers.itemAt(index); local 114 ssize_t n = read(mFd, mem->pointer(), mem->size()); 221 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); local 224 if (copy + mCurrentBufferOffset > mem->size()) { 225 copy = mem->size() - mCurrentBufferOffset; 228 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy); 231 if (mCurrentBufferOffset == mem->size()) {
|
/frameworks/av/media/libmedia/ |
H A D | IStreamSource.cpp | 105 sp<IMemory> mem = local 108 buffers.push(mem);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1168 sp<MemoryBase> mem; local 1177 return mem; 1211 mem = new MemoryBase(cache->getHeap(), 0, cache->size()); 1215 ALOGV("return memory @ %p, sampleRate=%u, channelCount = %d, format = %d", mem->pointer(), *pSampleRate, *pNumChannels, *pFormat); 1219 return mem; 1225 sp<MemoryBase> mem; local 1261 mem = new MemoryBase(cache->getHeap(), 0, cache->size()); 1265 ALOGV("return memory @ %p, sampleRate=%u, channelCount = %d, format = %d", mem->pointer(), *pSampleRate, *pNumChannels, *pFormat); 1270 return mem;
|
/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);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 439 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); local 440 CHECK(mem.get() != NULL); 451 mem.clear(); 461 mNode, portIndex, mem, &info.mBufferID); 463 err = mOMX->useBuffer(mNode, portIndex, mem, &info.mBufferID); 466 if (mem != NULL) { 467 info.mData = new ABuffer(mem->pointer(), def.nBufferSize);
|
H A D | OMXCodec.cpp | 1545 sp<IMemory> mem = mDealer[portIndex]->allocate(def.nBufferSize); local 1546 CHECK(mem.get() != NULL); 1557 mem.clear(); 1564 mNode, portIndex, mem, &buffer); 1569 mem.clear(); 1576 mNode, portIndex, mem, &buffer); 1579 err = mOMX->useBuffer(mNode, portIndex, mem, &buffer); 1587 if (mem != NULL) { 1588 info.mData = mem->pointer(); 1593 info.mMem = mem; [all...] |
H A D | StagefrightMediaScanner.cpp | 216 sp<IMemory> mem = mRetriever->extractAlbumArt(); local 218 if (mem != NULL) { 219 MediaAlbumArt *art = static_cast<MediaAlbumArt *>(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]; 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/libstagefright/codecs/amrwb/src/ |
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 | dec_gain2_amr_wb.cpp | 58 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 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 | oversamp_12k8_to_16k.cpp | 49 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 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/libstagefright/codecs/amrwbenc/src/ |
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 | 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 | 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 | 34 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/omx/ |
H A D | OMXNodeInstance.cpp | 34 BufferMeta(const sp<IMemory> &mem, bool is_backup = false) argument 35 : mMem(mem),
|