/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | hp_wsp.c | 49 void Init_Hp_wsp(Word16 mem[]) in Init_Hp_wsp() argument 51 Set_zero(mem, 9); in Init_Hp_wsp() 56 void scale_mem_Hp_wsp(Word16 mem[], Word16 exp) in scale_mem_Hp_wsp() argument 63 L_tmp = ((mem[i] << 16) + (mem[i + 1]<<1)); in scale_mem_Hp_wsp() 65 mem[i] = L_tmp >> 16; in scale_mem_Hp_wsp() 66 mem[i + 1] = (L_tmp & 0xffff)>>1; in scale_mem_Hp_wsp() 71 L_tmp = L_deposit_h(mem[i]); /* x[i] */ in scale_mem_Hp_wsp() 73 mem[i] = vo_round(L_tmp); in scale_mem_Hp_wsp() 84 Word16 mem[] /* i/o : filter memory [9] */ in Hp_wsp() argument 91 y3_hi = mem[0]; in Hp_wsp() [all …]
|
D | hp400.c | 51 void Init_HP400_12k8(Word16 mem[]) in Init_HP400_12k8() argument 53 Set_zero(mem, 6); in Init_HP400_12k8() 60 Word16 mem[] /* filter memory [6] */ in HP400_12k8() argument 67 y2_hi = *mem++; in HP400_12k8() 68 y2_lo = *mem++; in HP400_12k8() 69 y1_hi = *mem++; in HP400_12k8() 70 y1_lo = *mem++; in HP400_12k8() 71 x0 = *mem++; in HP400_12k8() 72 x1 = *mem; in HP400_12k8() 96 *mem-- = x1; in HP400_12k8() [all …]
|
D | hp50.c | 52 void Init_HP50_12k8(Word16 mem[]) in Init_HP50_12k8() argument 54 Set_zero(mem, 6); in Init_HP50_12k8() 61 Word16 mem[] /* filter memory [6] */ in HP50_12k8() argument 69 y2_hi = *mem++; in HP50_12k8() 70 y2_lo = *mem++; in HP50_12k8() 71 y1_hi = *mem++; in HP50_12k8() 72 y1_lo = *mem++; in HP50_12k8() 73 x0 = *mem++; in HP50_12k8() 74 x1 = *mem; in HP50_12k8() 96 *mem-- = x1; in HP50_12k8() [all …]
|
D | gpclip.c | 38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */ in Init_gp_clip() argument 41 mem[0] = DIST_ISF_MAX; in Init_gp_clip() 42 mem[1] = GAIN_PIT_MIN; in Init_gp_clip() 47 … Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ in Gp_clip() argument 51 if ((mem[0] < DIST_ISF_THRES) && (mem[1] > GAIN_PIT_THRES)) in Gp_clip() 60 … Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ in Gp_clip_test_isf() argument 77 dist = extract_h(L_mac(vo_L_mult(26214, mem[0]), 6554, dist_min)); in Gp_clip_test_isf() 83 mem[0] = dist; in Gp_clip_test_isf() 91 … Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */ in Gp_clip_test_gain_pit() argument 96 L_tmp = (29491 * mem[1])<<1; in Gp_clip_test_gain_pit() [all …]
|
D | deemph.c | 34 Word16 * mem /* (i/o) : memory (y[-1]) */ in Deemph() argument 41 L_tmp = L_mac(L_tmp, *mem, mu); in Deemph() 51 *mem = x[L - 1]; in Deemph() 61 Word16 * mem /* (i/o) : memory (y[-1]) */ in Deemph2() argument 67 i = L_mult(*mem, mu); in Deemph2() 78 *mem = x[L - 1]; in Deemph2() 89 Word16 * mem /* (i/o) : memory (y[-1]) */ in Deemph_32() argument 100 L_tmp += ((*mem) * fac)<<1; in Deemph_32() 114 *mem = y[L - 1]; in Deemph_32()
|
D | preemph.c | 32 Word16 * mem /* (i/o) : memory (x[-1]) */ in Preemph() argument 48 L_tmp -= ((*mem) * mu)<<1; in Preemph() 51 *mem = temp; in Preemph() 61 Word16 * mem /* (i/o) : memory (x[-1]) */ in Preemph2() argument 84 L_tmp -= ((*mem) * mu)<<1; in Preemph2() 94 *mem = temp; in Preemph2()
|
D | hp6k.c | 47 void Init_Filt_6k_7k(Word16 mem[]) /* mem[30] */ in Init_Filt_6k_7k() argument 49 Set_zero(mem, L_FIR - 1); in Init_Filt_6k_7k() 56 Word16 mem[] /* in/out: memory (size=30) */ in Filt_6k_7k() argument 62 Copy(mem, x, L_FIR - 1); in Filt_6k_7k() 88 Copy(x + lg, mem, L_FIR - 1); in Filt_6k_7k()
|
D | decim54.c | 60 Word16 mem[] /* output: memory (2*NB_COEF_DOWN) set to zeros */ in Init_Decim_12k8() argument 63 Set_zero(mem, 2 * NB_COEF_DOWN); in Init_Decim_12k8() 71 Word16 mem[] /* in/out: memory (2*NB_COEF_DOWN) */ in Decim_12k8() argument 77 Copy(mem, signal, 2 * NB_COEF_DOWN); in Decim_12k8() 85 Copy(signal + lg, mem, 2 * NB_COEF_DOWN); in Decim_12k8()
|
D | lp_dec2.c | 38 Word16 mem[] /* in/out: memory (size=3) */ in LP_Decim2() argument 48 *p_x++ = mem[i]; in LP_Decim2() 49 mem[i] = x[l - L_MEM + i]; in LP_Decim2()
|
D | levinson.c | 99 Word16 * mem /* output :static memory (18 words) */ in Init_Levinson() argument 102 Set_zero(mem, 18); /* old_A[0..M-1] = 0, old_rc[0..1] = 0 */ in Init_Levinson() 112 … Word16 * mem /* (i/o) :static memory (18 words) */ in Levinson() argument 125 old_A = mem; in Levinson() 126 old_rc = mem + M; in Levinson()
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
D | highpass_400hz_at_12k8.cpp | 134 void highpass_400Hz_at_12k8_init(int16 mem[]) in highpass_400Hz_at_12k8_init() argument 136 pv_memset((void *)mem, 0, 6*sizeof(*mem)); in highpass_400Hz_at_12k8_init() 146 int16 mem[] /* filter memory [6] */ in highpass_400Hz_at_12k8() argument 154 y2_hi = mem[0]; in highpass_400Hz_at_12k8() 155 y2_lo = mem[1]; in highpass_400Hz_at_12k8() 156 y1_hi = mem[2]; in highpass_400Hz_at_12k8() 157 y1_lo = mem[3]; in highpass_400Hz_at_12k8() 158 x0 = mem[4]; in highpass_400Hz_at_12k8() 159 x1 = mem[5]; in highpass_400Hz_at_12k8() 192 mem[0] = y2_hi; in highpass_400Hz_at_12k8() [all …]
|
D | highpass_50hz_at_12k8.cpp | 136 void highpass_50Hz_at_12k8_init(int16 mem[]) in highpass_50Hz_at_12k8_init() argument 138 pv_memset((void *)mem, 0, 6*sizeof(*mem)); in highpass_50Hz_at_12k8_init() 148 int16 mem[] /* filter memory [6] */ in highpass_50Hz_at_12k8() argument 157 y2_hi = mem[0]; in highpass_50Hz_at_12k8() 158 y2_lo = mem[1]; in highpass_50Hz_at_12k8() 159 y1_hi = mem[2]; in highpass_50Hz_at_12k8() 160 y1_lo = mem[3]; in highpass_50Hz_at_12k8() 161 x0 = mem[4]; in highpass_50Hz_at_12k8() 162 x1 = mem[5]; in highpass_50Hz_at_12k8() 197 mem[0] = y2_hi; in highpass_50Hz_at_12k8() [all …]
|
D | dec_gain2_amr_wb.cpp | 145 void dec_gain2_amr_wb_init(int16 * mem) in dec_gain2_amr_wb_init() argument 149 mem[0] = -14336; /* past_qua_en[0] */ in dec_gain2_amr_wb_init() 150 mem[1] = -14336; /* past_qua_en[1] */ in dec_gain2_amr_wb_init() 151 mem[2] = -14336; /* past_qua_en[2] */ in dec_gain2_amr_wb_init() 152 mem[3] = -14336; /* past_qua_en[3] */ in dec_gain2_amr_wb_init() 159 pv_memset((void *)&mem[4], 0, 18*sizeof(*mem)); in dec_gain2_amr_wb_init() 161 mem[22] = 21845; in dec_gain2_amr_wb_init() 181 int16 * mem /* (i/o) : static memory (4 words) */ in dec_gain2_amr_wb() argument 192 past_qua_en = mem; in dec_gain2_amr_wb() 193 past_gain_pit = mem + 4; in dec_gain2_amr_wb() [all …]
|
D | pvamrwbdecoder_acelp.h | 86 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[], /* in/out: memory (size=30) */ [all …]
|
D | low_pass_filt_7k.cpp | 129 void low_pass_filt_7k_init(int16 mem[]) /* mem[30] */ in low_pass_filt_7k_init() argument 131 pv_memset((void *)mem, 0, (L_FIR)*sizeof(*mem)); in low_pass_filt_7k_init() 145 int16 mem[], /* in/out: memory (size=30) */ in low_pass_filt_7k() argument 155 pv_memcpy((void *)x, (void *)mem, (L_FIR)*sizeof(*x)); in low_pass_filt_7k() 216 pv_memcpy((void *)mem, (void *)(x + lg), (L_FIR)*sizeof(*mem)); in low_pass_filt_7k()
|
D | band_pass_6k_7k.cpp | 138 void band_pass_6k_7k_init(int16 mem[]) /* mem[30] */ in band_pass_6k_7k_init() argument 140 pv_memset((void *)mem, 0, L_FIR*sizeof(*mem)); in band_pass_6k_7k_init() 152 int16 mem[], /* in/out: memory (size=30) */ in band_pass_6k_7k() argument 164 pv_memcpy((void *)x, (void *)mem, L_FIR*sizeof(*x)); in band_pass_6k_7k() 237 pv_memcpy((void *)mem, (void *)(x + lg), L_FIR*sizeof(*mem)); in band_pass_6k_7k()
|
D | oversamp_12k8_to_16k.cpp | 189 void oversamp_12k8_to_16k_init(int16 mem[]) in oversamp_12k8_to_16k_init() argument 191 pv_memset((void *)mem, 0, (2*NB_COEF_UP)*sizeof(*mem)); in oversamp_12k8_to_16k_init() 203 int16 mem[], /* in/out: memory (2*NB_COEF_UP) */ in oversamp_12k8_to_16k() argument 210 (void *)mem, in oversamp_12k8_to_16k() 211 (2*NB_COEF_UP)*sizeof(*mem)); in oversamp_12k8_to_16k() 221 pv_memcpy((void *)mem, in oversamp_12k8_to_16k()
|
D | deemphasis_32.cpp | 126 int16 * mem /* (i/o) : memory (y[-1]) */ in deemphasis_32() argument 137 L_tmp = fxp_mac_16by16(*mem, mu, L_tmp), in deemphasis_32() 162 *mem = y[L - 1]; in deemphasis_32()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
D | acelp.h | 48 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[] /* in/out: memory (size=30) */ [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerStreamListener.cpp | 41 sp<IMemory> mem = mMemoryDealer->allocate(kBufferSize); in NuPlayerStreamListener() local 42 CHECK(mem != NULL); in NuPlayerStreamListener() 44 mBuffers.push(mem); in NuPlayerStreamListener() 151 sp<IMemory> mem = mBuffers.editItemAt(entry->mIndex); in read() local 152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) { in read() 157 (const uint8_t *)mem->pointer() in read()
|
/frameworks/av/services/camera/libcameraservice/device1/ |
D | CameraHardwareInterface.h | 360 void releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame() argument 366 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size); in releaseRecordingFrame() 504 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle)); in __data_cb() 505 if (index >= mem->mNumBufs) { in __data_cb() 507 index, mem->mNumBufs); in __data_cb() 510 __this->mDataCb(msg_type, mem->mBuffers[index], metadata, __this->mCbUser); in __data_cb() 523 sp<CameraHeapMemory> mem(static_cast<CameraHeapMemory *>(data->handle)); in __data_cb_timestamp() 524 if (index >= mem->mNumBufs) { in __data_cb_timestamp() 526 index, mem->mNumBufs); in __data_cb_timestamp() 529 __this->mDataCbTimestamp(timestamp, msg_type, mem->mBuffers[index], __this->mCbUser); in __data_cb_timestamp() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
D | syn_filt_neon.s | 21 @ Word16 mem[], /* (i/o) : memory associated with this filtering. */ 27 @ mem[] --- r3 38 MOV r4, r3 @ copy mem[] address 43 @ *yy++ = mem[i]@ 46 VST1.S16 {D0, D1, D2, D3}, [r5]! @store 16 mem[] to *yy 94 @ update mem[]
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 114 sp<IMemory> mem = mBuffers.itemAt(index); in onBufferAvailable() local 116 ssize_t n = read(mFd, mem->pointer(), mem->size()); in onBufferAvailable() 225 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); in writeData() local 228 if (copy + mCurrentBufferOffset > mem->size()) { in writeData() 229 copy = mem->size() - mCurrentBufferOffset; in writeData() 232 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy); in writeData() 235 if (mCurrentBufferOffset == mem->size()) { in writeData()
|
/frameworks/av/camera/ |
D | ICameraRecordingProxy.cpp | 64 void releaseRecordingFrame(const sp<IMemory>& mem) in releaseRecordingFrame() argument 69 data.writeStrongBinder(IInterface::asBinder(mem)); in releaseRecordingFrame() 112 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); in onTransact() local 113 releaseRecordingFrame(mem); in onTransact()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 51 virtual void releaseRecordingFrame(const sp<IMemory>& mem); 108 void handlePreviewData(int32_t msgType, const sp<IMemory>& mem, 110 void handlePostview(const sp<IMemory>& mem); 111 void handleRawPicture(const sp<IMemory>& mem); 112 void handleCompressedPicture(const sp<IMemory>& mem);
|