Searched refs:hist_ptr (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/codecs/amrwb/enc/src/ |
D | dtx.c | 108 st->hist_ptr = 0; in dtx_enc_reset() 304 st->hist_ptr = add(st->hist_ptr, 1); in dtx_buffer() 305 if(st->hist_ptr == DTX_HIST_SIZE) in dtx_buffer() 307 st->hist_ptr = 0; in dtx_buffer() 310 Copy(isf_new, &st->isf_hist[st->hist_ptr * M], M); in dtx_buffer() 331 st->log_en_hist[st->hist_ptr] = log_en; in dtx_buffer() 482 ptr = st->hist_ptr; in find_frame_indices() 494 tmp = sub(isf_old_tx[st->hist_ptr * M + j], isf_old_tx[ptr * M + j]); in find_frame_indices() 537 indices[i] = sub(st->hist_ptr, indices[i]); in find_frame_indices()
|
/frameworks/av/media/codecs/amrnb/enc/src/ |
D | dtx_enc.cpp | 369 st->hist_ptr = 0; in dtx_enc_reset() 955 st->hist_ptr += 1; in dtx_buffer() 957 if (st->hist_ptr == DTX_HIST_SIZE) in dtx_buffer() 959 st->hist_ptr = 0; in dtx_buffer() 963 memcpy(&st->lsp_hist[st->hist_ptr * M], lsp_new, M*sizeof(Word16)); in dtx_buffer() 1001 st->log_en_hist[st->hist_ptr] = log_en >> 1; /* Q10 */ in dtx_buffer()
|
D | dtx_enc.h | 105 Word16 hist_ptr; member
|
/frameworks/av/media/codecs/amrwb/dec/src/ |
D | dtx_decoder_amr_wb.cpp | 136 st->hist_ptr = 0; in dtx_dec_amr_wb_reset() 225 ptr = st->hist_ptr + 1; in dtx_dec_amr_wb() 230 …pv_memcpy((void *)&st->isf_hist[ptr * M], (void *)&st->isf_hist[st->hist_ptr * M], M*sizeof(*st->i… in dtx_dec_amr_wb() 232 st->log_en_hist[ptr] = st->log_en_hist[st->hist_ptr]; in dtx_dec_amr_wb() 472 st->hist_ptr++; in dtx_dec_amr_wb_activity_update() 474 if (st->hist_ptr == DTX_HIST_SIZE) in dtx_dec_amr_wb_activity_update() 476 st->hist_ptr = 0; in dtx_dec_amr_wb_activity_update() 478 pv_memcpy((void *)&st->isf_hist[st->hist_ptr * M], (void *)isf, M*sizeof(*isf)); in dtx_dec_amr_wb_activity_update() 500 st->log_en_hist[st->hist_ptr] = log_en; in dtx_dec_amr_wb_activity_update() 777 ptr = st->hist_ptr; in find_frame_indices() [all …]
|
D | dtx.h | 94 int16 hist_ptr; member 141 int16 hist_ptr; member
|
/frameworks/av/media/codecs/amrwb/enc/inc/ |
D | dtx.h | 46 Word16 hist_ptr; member
|