Searched defs:coef (Results 1 - 17 of 17) sorted by relevance

/external/speex/libspeex/
H A Dlsp_bfin.h39 spx_word16_t *coef, /* P or Q coefs in Q13 format */
49 "P0 = %2;\n\t" /* P0: coef[m], coef[m-1],..., coef[0] */
81 : "a" (x), "a" (&coef[m]), "a" (m-1)
38 cheb_poly_eva( spx_word16_t *coef, spx_word16_t x, int m, char *stack ) argument
H A Dscal.c230 //float coef = .5*0.78130;
231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707; local
241 gain = coef*sqrt(.1+st->curve[i]);
245 frame[0] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[0]);
246 frame[2*st->frame_size-1] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[st->frame_size-1]);
H A Dlsp.c141 spx_word16_t *coef, /* P or Q coefs in Q13 format */
162 sum = ADD32(EXTEND32(coef[m]), EXTEND32(MULT16_16_P14(coef[m-1],x)));
168 sum = ADD32(sum, EXTEND32(MULT16_16_P14(coef[m-i],b0)));
177 static float cheb_poly_eva(spx_word32_t *coef, spx_word16_t x, int m, char *stack) argument
192 b0=x*b0-b1+coef[m-k]; /* b0 holds its new value based on b0 and b1 */
196 return(-b1+.5*x*b0+coef[m]);
140 cheb_poly_eva( spx_word16_t *coef, spx_word16_t x, int m, char *stack ) argument
/external/opencore/codecs_v2/audio/aac/dec/src/
H A Dpulse_nc.cpp43 coef[] = Array of quantized spectral coefficents.
58 max = Pointer to the maximum value of coef[]
70 coef[] = coefficient contents are modified by the encoded pulse
225 Int16 coef[],
263 pCoef = &(coef[index]);
224 pulse_nc( Int16 coef[], const PulseInfo *pPulseInfo, const FrameInfo *pLongFrameInfo, Int *max) argument
H A Dtns_inv_filter.cpp47 coef = spectral input to be shaped by the filter.
56 (first input to filter is coef[0])
58 (first input to filter is coef[num_coef-1])
84 coef = contains spectral data after application of TNS filter
98 A block of spectral data (Int32 coef[]) of length (const Int num_coef)
106 back to the calling function via (Int32 coef[])
108 In order to avoid overflow, the filter input (Int32 coef[]) must utilize
119 [Int32 coef] must store no more than 16 bits of data.
122 the input data [Int32 coef], and to make use of a fast
297 Int32 coef[],
296 tns_inv_filter( Int32 coef[], const Int num_coef, const Int direction, const Int32 lpc[], const Int lpc_qformat, const Int order, Int32 scratch_memory[]) argument
[all...]
H A Dapply_tns.cpp26 coef = Array of input coefficients.
64 coef[] = TNS altered data.
85 The input, coef, should use all 32-bits, else the scaling by tns_ar_filter
172 Int32 coef[],
194 Int32 *pCoef = coef;
319 * Set up the pointers so we can index into coef[]
171 apply_tns( Int32 coef[], Int q_format[], const FrameInfo * const pFrameInfo, TNS_frame_info * const pTNS_frame_info, const Bool inverse_flag, Int32 scratch_Int_buffer[]) argument
H A Dq_normalize.cpp67 coef[] = Array of the spectral coefficients for one channel. [ Int32 ]
79 coef[] = Array of spectral data, now normalized to one q-format.
114 pCoef = &(coef[0]);
134 pCoef = &(coef[0]);
241 Int32 coef[])
292 pCoef = &(coef[0]);
237 q_normalize( Int qFormat[], const FrameInfo *pFrameInfo, Int32 abs_max_per_window[], Int32 coef[]) argument
H A Desc_iquant_scaling.cpp41 coef, data type Int.
43 coef[] = output array of uncompressed coefficients, stored in a
48 QFormat = the output Q format for the array coef[].
66 coef[] contents are overwritten with the uncompressed values from
134 coef[i] = absX;
169 absX = coef[i];
181 coef[i] = (Int32) (mult_high + mult_low);
187 absX = coef[i];
217 coef[i] = (Int32) (mult_high + mult_low);
437 Int32 coef[],
435 esc_iquant_scaling( const Int16 quantSpec[], Int32 coef[], const Int sfbWidth, Int const QFormat, UInt16 scale, Int maxInput) argument
[all...]
H A Dhuffspec_fxp.cpp107 coef[] = array that holds inverse quantized coefs, Int32 QFormat.
130 coef contains the newly inverse quantized 1024 spec coefs,
157 This function should set the content of the array 'coef' with the inverse
304 Int32 coef[],
321 Int stop_idx; /* index of 1st coef in next sfb */
333 Int32 *pCoef; /* ptr to coef[], inverse quantized coefs */
548 /* stop_idx is the index of the 1st coef of next section */
623 pCoef = coef;
298 huffspec_fxp( FrameInfo *pFrameInfo, BITS *pInputStream, Int nsect, SectInfo *pSectInfo, Int factors[], Int32 coef[], Int16 quantSpec[], Int16 tmp_spec[], const FrameInfo *pLongFrameInfo, PulseInfo *pPulseInfo, Int qFormat[]) argument
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/src/
H A Daz_lsp.cpp388 Word16 *coef;
436 coef = f1;
439 ylow = Chebps (xlow, coef, NC);
449 ylow = Chebps (xlow, coef, NC);
460 ymid = Chebps (xmid, coef, NC);
512 coef = f2;
517 coef = f1;
519 ylow = Chebps (xlow, coef, NC);
582 Word16 *coef; local
630 coef
[all...]
/external/jpeg/
H A Djccoefct.c75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; variable
82 coef->MCU_rows_per_iMCU_row = 1;
84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1))
85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
90 coef->mcu_ctr = 0;
91 coef->MCU_vert_offset = 0;
102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
145 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
247 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
343 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
407 my_coef_ptr coef; local
[all...]
H A Djctrans.c230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
237 coef->MCU_rows_per_iMCU_row = 1;
239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1))
240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
245 coef->mcu_ctr = 0;
246 coef->MCU_vert_offset = 0;
257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
366 my_coef_ptr coef; local
[all...]
H A Djdcoefct.c82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
89 coef->MCU_rows_per_iMCU_row = 1;
92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor;
94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height;
97 coef->MCU_ctr = 0;
98 coef->MCU_vert_offset = 0;
122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
125 if (coef
149 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
246 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
317 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
407 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
463 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; local
678 my_coef_ptr coef; local
[all...]
H A Djpeglib.h371 JDIMENSION total_iMCU_rows; /* # of iMCU rows to be input to coef ctlr */
402 struct jpeg_c_coef_controller * coef; member in struct:jpeg_compress_struct
515 int (*coef_bits)[DCTSIZE2]; /* -1 or current Al value for each coef */
625 struct jpeg_d_coef_controller * coef; member in struct:jpeg_decompress_struct
/external/srec/srec/cfront/
H A Dfrontobj.c496 double coef; local
501 coef = 0.54 - 0.46 * cos(f * (double)i);
502 ham[i] = (fftdata) fixed_point_convert((float)coef,
/external/opencore/codecs_v2/video/avc_h264/enc/src/
H A Dblock.cpp83 int16 *coef = video->block; local
92 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */
110 coef[0] = r0 + r1;
111 coef[2] = r0 - r1;
112 coef[1] = (r3 << 1) + r2;
113 coef[3] = r3 - (r2 << 1);
115 coef += 16;
121 coef -= 64;
126 r0 = coef[0] + coef[4
263 int16 *coef, *coef8 = video->block; local
367 int16 *coef = video->block; local
730 int16 *coef = video->block + 256; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
H A DSDL_sysjoystick.c290 int coef[3]; member in struct:joystick_hwdata::axis_correct
715 joystick->hwdata->abs_correct[i].coef[0] =
717 joystick->hwdata->abs_correct[i].coef[1] =
721 joystick->hwdata->abs_correct[i].coef[2] = (1 << 29) / t;
723 joystick->hwdata->abs_correct[i].coef[2] = 0;
1039 if ( value > correct->coef[0] ) {
1040 if ( value < correct->coef[1] ) {
1043 value -= correct->coef[1];
1045 value -= correct->coef[0];
1047 value *= correct->coef[
[all...]

Completed in 385 milliseconds