/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | block.cpp | 83 int16 *coef = video->block; in dct_luma() local 92 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */ in dct_luma() 110 coef[0] = r0 + r1; in dct_luma() 111 coef[2] = r0 - r1; in dct_luma() 112 coef[1] = (r3 << 1) + r2; in dct_luma() 113 coef[3] = r3 - (r2 << 1); in dct_luma() 115 coef += 16; in dct_luma() 121 coef -= 64; in dct_luma() 126 r0 = coef[0] + coef[48]; in dct_luma() 127 r3 = coef[0] - coef[48]; in dct_luma() [all …]
|
/external/jpeg/ |
D | jccoefct.c | 75 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local 82 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row() 84 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row() 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 87 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row() 90 coef->mcu_ctr = 0; in start_iMCU_row() 91 coef->MCU_vert_offset = 0; in start_iMCU_row() 102 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local 104 coef->iMCU_row_num = 0; in start_pass_coef() 109 if (coef->whole_image[0] != NULL) in start_pass_coef() [all …]
|
D | jdcoefct.c | 82 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local 89 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row() 92 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 94 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row() 97 coef->MCU_ctr = 0; in start_iMCU_row() 98 coef->MCU_vert_offset = 0; in start_iMCU_row() 122 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_output_pass() local 125 if (coef->pub.coef_arrays != NULL) { in start_output_pass() 127 coef->pub.decompress_data = decompress_smooth_data; in start_output_pass() 129 coef->pub.decompress_data = decompress_data; in start_output_pass() [all …]
|
D | jctrans.c | 230 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_iMCU_row() local 237 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row() 239 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows-1)) in start_iMCU_row() 240 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 242 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row() 245 coef->mcu_ctr = 0; in start_iMCU_row() 246 coef->MCU_vert_offset = 0; in start_iMCU_row() 257 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in start_pass_coef() local 262 coef->iMCU_row_num = 0; in start_pass_coef() 280 my_coef_ptr coef = (my_coef_ptr) cinfo->coef; in compress_output() local [all …]
|
D | jidctfst.c | 129 #define DEQUANTIZE(coef,quantval) (((IFAST_MULT_TYPE) (coef)) * (quantval)) argument 131 #define DEQUANTIZE(coef,quantval) \ 132 DESCALE((coef)*(quantval), IFAST_SCALE_BITS-PASS1_BITS)
|
D | jcmainct.c | 135 if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { in process_data_simple_main() 209 if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { in process_data_buffer_main()
|
/external/opencore/codecs_v2/audio/aac/dec/src/ |
D | esc_iquant_scaling.cpp | 437 Int32 coef[], in esc_iquant_scaling() argument 463 temp = coef; in esc_iquant_scaling() 486 pv_memset(coef, 0, sizeof(Int32) * sfbWidth); in esc_iquant_scaling() 507 coef[i] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() 514 coef[i-1] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() 523 coef[i-2] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() 530 coef[i-3] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() 547 coef[i] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() 560 coef[i] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() 573 coef[i-1] = fxp_mul32_by_16(mult_high, scale) << 1; in esc_iquant_scaling() [all …]
|
D | pulse_nc.cpp | 225 Int16 coef[], in pulse_nc() argument 263 pCoef = &(coef[index]); in pulse_nc()
|
D | tns_inv_filter.cpp | 297 Int32 coef[], in tns_inv_filter() argument 333 Int32 *pCoef = coef; in tns_inv_filter()
|
D | apply_tns.cpp | 172 Int32 coef[], in apply_tns() argument 194 Int32 *pCoef = coef; in apply_tns()
|
D | q_normalize.cpp | 241 Int32 coef[]) in q_normalize() argument 292 pCoef = &(coef[0]); in q_normalize()
|
D | huffspec_fxp.cpp | 304 Int32 coef[], in huffspec_fxp() argument 623 pCoef = coef; in huffspec_fxp()
|
D | pulse_nc.h | 90 Int16 coef[],
|
D | q_normalize.h | 92 Int32 coef[]);
|
D | tns_inv_filter.h | 86 Int32 coef[],
|
D | apply_tns.h | 96 Int32 coef[],
|
D | esc_iquant_scaling.h | 87 Int32 coef[],
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/common/src/ |
D | az_lsp.cpp | 582 Word16 *coef; in Az_lsp() local 630 coef = f1; in Az_lsp() 633 ylow = Chebps(xlow, coef, NC, pOverflow); in Az_lsp() 643 ylow = Chebps(xlow, coef, NC, pOverflow); in Az_lsp() 655 ymid = Chebps(xmid, coef, NC, pOverflow); in Az_lsp() 707 coef = f2; in Az_lsp() 712 coef = f1; in Az_lsp() 715 ylow = Chebps(xlow, coef, NC, pOverflow); in Az_lsp()
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_math.h | 125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument 146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_math.h | 125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument 146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_math.h | 125 #define MULT_AUDIO_COEF(audio,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 128 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 143 #define MULT_AUDIO_WET_DRY_COEF(audio,coef) /*lint -e(702) <avoid divide for performance>*/ \ argument 146 ((EAS_I32)(audio)) * ((EAS_I32)(coef)) \ 283 #define MULT_DENTS_COEF(dents,coef) /*lint -e704 <avoid divide for performance>*/ \ argument 286 ((EAS_I32)(dents)) * ((EAS_I32)(coef)) \
|
/external/speex/libspeex/ |
D | lsp_bfin.h | 39 spx_word16_t *coef, /* P or Q coefs in Q13 format */ in cheb_poly_eva() argument 81 : "a" (x), "a" (&coef[m]), "a" (m-1) in cheb_poly_eva()
|
D | lsp.c | 141 spx_word16_t *coef, /* P or Q coefs in Q13 format */ in cheb_poly_eva() argument 162 sum = ADD32(EXTEND32(coef[m]), EXTEND32(MULT16_16_P14(coef[m-1],x))); in cheb_poly_eva() 168 sum = ADD32(sum, EXTEND32(MULT16_16_P14(coef[m-i],b0))); in cheb_poly_eva() 177 static float cheb_poly_eva(spx_word32_t *coef, spx_word16_t x, int m, char *stack) in cheb_poly_eva() argument 192 b0=x*b0-b1+coef[m-k]; /* b0 holds its new value based on b0 and b1 */ in cheb_poly_eva() 196 return(-b1+.5*x*b0+coef[m]); in cheb_poly_eva()
|
D | scal.c | 231 float coef = M_PI*0.075063 * 0.93763 * amount * .8 * 0.707; in speex_decorrelate() local 241 gain = coef*sqrt(.1+st->curve[i]); in speex_decorrelate() 245 frame[0] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[0]); in speex_decorrelate() 246 frame[2*st->frame_size-1] = coef*uni_rand(&st->seed)*sqrt(.1+st->curve[st->frame_size-1]); in speex_decorrelate()
|
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/ |
D | SDL_sysjoystick.c | 290 int coef[3]; member 715 joystick->hwdata->abs_correct[i].coef[0] = in EV_ConfigJoystick() 717 joystick->hwdata->abs_correct[i].coef[1] = in EV_ConfigJoystick() 721 joystick->hwdata->abs_correct[i].coef[2] = (1 << 29) / t; in EV_ConfigJoystick() 723 joystick->hwdata->abs_correct[i].coef[2] = 0; in EV_ConfigJoystick() 1039 if ( value > correct->coef[0] ) { in EV_AxisCorrect() 1040 if ( value < correct->coef[1] ) { in EV_AxisCorrect() 1043 value -= correct->coef[1]; in EV_AxisCorrect() 1045 value -= correct->coef[0]; in EV_AxisCorrect() 1047 value *= correct->coef[2]; in EV_AxisCorrect()
|