/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jccoefct.c | 73 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local 80 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row() 82 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows - 1)) in start_iMCU_row() 83 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 85 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row() 88 coef->mcu_ctr = 0; in start_iMCU_row() 89 coef->MCU_vert_offset = 0; in start_iMCU_row() 100 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_pass_coef() local 102 coef->iMCU_row_num = 0; in start_pass_coef() 107 if (coef->whole_image[0] != NULL) in start_pass_coef() [all …]
|
D | jctrans.c | 243 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local 250 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row() 252 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows - 1)) in start_iMCU_row() 253 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 255 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row() 258 coef->mcu_ctr = 0; in start_iMCU_row() 259 coef->MCU_vert_offset = 0; in start_iMCU_row() 270 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_pass_coef() local 275 coef->iMCU_row_num = 0; in start_pass_coef() 293 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in compress_output() local [all …]
|
D | jdcoefct.c | 60 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_output_pass() local 63 if (coef->pub.coef_arrays != NULL) { in start_output_pass() 65 coef->pub.decompress_data = decompress_smooth_data; in start_output_pass() 67 coef->pub.decompress_data = decompress_data; in start_output_pass() 87 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in decompress_onepass() local 98 for (yoffset = coef->MCU_vert_offset; yoffset < coef->MCU_rows_per_iMCU_row; in decompress_onepass() 100 for (MCU_col_num = coef->MCU_ctr; MCU_col_num <= last_MCU_col; in decompress_onepass() 103 jzero_far((void *)coef->MCU_buffer[0], in decompress_onepass() 107 if (!(*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) { in decompress_onepass() 109 coef->MCU_vert_offset = yoffset; in decompress_onepass() [all …]
|
D | jdcoefct.h | 66 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local 73 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row() 76 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row() 78 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row() 81 coef->MCU_ctr = 0; in start_iMCU_row() 82 coef->MCU_vert_offset = 0; in start_iMCU_row()
|
/third_party/ffmpeg/tests/checkasm/ |
D | vp8dsp.c | 34 #define randomize_buffers(src, dst, stride, coef) \ argument 41 (coef)[y * 4 + x] = (src)[y * (stride) + x] - \ 46 static void dct4x4(int16_t *coef) in dct4x4() argument 50 const int a1 = (coef[i*4 + 0] + coef[i*4 + 3]) * 8; in dct4x4() 51 const int b1 = (coef[i*4 + 1] + coef[i*4 + 2]) * 8; in dct4x4() 52 const int c1 = (coef[i*4 + 1] - coef[i*4 + 2]) * 8; in dct4x4() 53 const int d1 = (coef[i*4 + 0] - coef[i*4 + 3]) * 8; in dct4x4() 54 coef[i*4 + 0] = a1 + b1; in dct4x4() 55 coef[i*4 + 1] = (c1 * 2217 + d1 * 5352 + 14500) >> 12; in dct4x4() 56 coef[i*4 + 2] = a1 - b1; in dct4x4() [all …]
|
D | h264dsp.c | 49 coef[y * sz + x] = src[y * PIXEL_STRIDE + x] - \ 52 ((int32_t *)coef)[y * sz + x] = \ 61 static void dct4x4_##size(dctcoef *coef) \ 66 const int z0 = coef[i*4 + 0] + coef[i*4 + 3]; \ 67 const int z1 = coef[i*4 + 1] + coef[i*4 + 2]; \ 68 const int z2 = coef[i*4 + 0] - coef[i*4 + 3]; \ 69 const int z3 = coef[i*4 + 1] - coef[i*4 + 2]; \ 80 coef[i*4 + 0] = z0 + z1; \ 81 coef[i*4 + 1] = 2*z2 + z3; \ 82 coef[i*4 + 2] = z0 - z1; \ [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_w3fdif.c | 112 const int16_t *coef, int linesize) in filter_simple_low() argument 117 *work_line = *in_lines_cur[0]++ * coef[0]; in filter_simple_low() 118 *work_line++ += *in_lines_cur[1]++ * coef[1]; in filter_simple_low() 124 const int16_t *coef, int linesize) in filter_complex_low() argument 129 *work_line = *in_lines_cur[0]++ * coef[0]; in filter_complex_low() 130 *work_line += *in_lines_cur[1]++ * coef[1]; in filter_complex_low() 131 *work_line += *in_lines_cur[2]++ * coef[2]; in filter_complex_low() 132 *work_line++ += *in_lines_cur[3]++ * coef[3]; in filter_complex_low() 139 const int16_t *coef, int linesize) in filter_simple_high() argument 144 *work_line += *in_lines_cur[0]++ * coef[0]; in filter_simple_high() [all …]
|
D | w3fdif.h | 30 const int16_t *coef, int linesize); 33 const int16_t *coef, int linesize); 37 const int16_t *coef, int linesize); 41 const int16_t *coef, int linesize);
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_setup.c | 101 struct tgsi_interp_coef coef[PIPE_MAX_SHADER_INPUTS]; member 407 struct tgsi_interp_coef *coef, in const_coeff() argument 412 coef->dadx[i] = 0; in const_coeff() 413 coef->dady[i] = 0; in const_coeff() 417 coef->a0[i] = setup->vprovoke[vertSlot][i]; in const_coeff() 428 struct tgsi_interp_coef *coef, in tri_linear_coeff() argument 441 coef->dadx[i] = dadx; in tri_linear_coeff() 442 coef->dady[i] = dady; in tri_linear_coeff() 456 coef->a0[i] = (v[0] - in tri_linear_coeff() 473 struct tgsi_interp_coef *coef, in tri_persp_coeff() argument [all …]
|
D | sp_fs_exec.c | 77 setup_pos_vector(const struct tgsi_interp_coef *coef, in setup_pos_vector() argument 96 const float dadx = coef->dadx[chan]; in setup_pos_vector() 97 const float dady = coef->dady[chan]; in setup_pos_vector() 98 const float a0 = coef->a0[chan] + dadx * x + dady * y; in setup_pos_vector()
|
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_lms_q31.c | 84 q31_t coef; /* Temporary variable for coef */ in arm_lms_q31() local 190 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31() 192 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31() 196 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31() 197 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31() 200 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31() 201 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31() 204 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31() 205 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31() 225 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31() [all …]
|
D | arm_lms_q15.c | 80 q31_t coef; /* Temporary variable for coefficient */ in arm_lms_q15() local 178 coef = (q31_t) *pb + (((q31_t) alpha * (*px++)) >> 15); in arm_lms_q15() 179 *pb++ = (q15_t) __SSAT((coef), 16); in arm_lms_q15() 181 coef = (q31_t) *pb + (((q31_t) alpha * (*px++)) >> 15); in arm_lms_q15() 182 *pb++ = (q15_t) __SSAT((coef), 16); in arm_lms_q15() 184 coef = (q31_t) *pb + (((q31_t) alpha * (*px++)) >> 15); in arm_lms_q15() 185 *pb++ = (q15_t) __SSAT((coef), 16); in arm_lms_q15() 187 coef = (q31_t) *pb + (((q31_t) alpha * (*px++)) >> 15); in arm_lms_q15() 188 *pb++ = (q15_t) __SSAT((coef), 16); in arm_lms_q15() 207 coef = (q31_t) *pb + (((q31_t) alpha * (*px++)) >> 15); in arm_lms_q15() [all …]
|
D | arm_lms_norm_q31.c | 87 q31_t coef; /* Temporary variable for coef */ in arm_lms_norm_q31() local 209 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31() 211 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31() 215 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31() 216 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31() 219 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31() 220 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31() 223 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31() 224 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31() 244 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31() [all …]
|
D | arm_lms_norm_q15.c | 87 q31_t coef; /* Temporary variable for coefficient */ in arm_lms_norm_q15() local 205 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15() 206 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15() 208 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15() 209 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15() 211 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15() 212 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15() 214 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15() 215 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15() 234 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | aacenc_tns.c | 48 static inline int compress_coeffs(int *coef, int order, int c_bits) in compress_coeffs() argument 58 if (coef[i] >= low_idx && coef[i] <= high_idx) in compress_coeffs() 61 coef[i] -= (coef[i] > high_idx) ? shift_val : 0; in compress_coeffs() 120 compute_lpc_coefs(tns->coef[w][filt], order, lpc, 0, 0, 0); in ff_aac_apply_tns() 147 static inline void quantize_coefs(double *coef, int *idx, float *lpc, int order, in quantize_coefs() argument 153 idx[i] = quant_array_idx(coef[i], quant_arr, c_bits ? 16 : 8); in quantize_coefs() 207 quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], in ff_aac_search_for_tns()
|
D | aacdec_fixed.c | 156 int i, coef; in vector_pow43() local 159 coef = coefs[i]; in vector_pow43() 160 if (coef < 0) in vector_pow43() 161 coef = -(int)ff_cbrt_tab_fixed[(-coef) & 8191]; in vector_pow43() 163 coef = (int)ff_cbrt_tab_fixed[ coef & 8191]; in vector_pow43() 164 coefs[i] = coef; in vector_pow43() 282 static av_always_inline void predict(PredictorState *ps, int *coef, in predict() argument 318 *coef += (unsigned)((pv.mant + (1 << (shift - 1))) >> shift); in predict() 320 *coef += (unsigned)pv.mant << -shift; in predict() 324 e0 = av_int2sf(*coef, 2); in predict()
|
D | aacenc_utils.h | 59 static inline int quant(float coef, const float Q, const float rounding) in quant() argument 61 float a = coef * Q; in quant() 157 static inline uint8_t coef2minsf(float coef) in coef2minsf() argument 159 return av_clip_uint8(log2f(coef)*4 - 69 + SCALE_ONE_POS - SCALE_DIV_512); in coef2minsf() 163 static inline uint8_t coef2maxsf(float coef) in coef2maxsf() argument 165 return av_clip_uint8(log2f(coef)*4 + 6 + SCALE_ONE_POS - SCALE_DIV_512); in coef2maxsf()
|
D | ac3enc_fixed.c | 55 static void clip_coefficients(AudioDSPContext *adsp, int32_t *coef, in clip_coefficients() argument 58 adsp->vector_clip_int32(coef, coef, COEF_MIN, COEF_MAX, len); in clip_coefficients()
|
D | truespeech.c | 200 int coef; in truespeech_place_pulses() local 209 coef = dec->pulsepos[quart] >> 15; in truespeech_place_pulses() 214 if(coef >= t) in truespeech_place_pulses() 215 coef -= t; in truespeech_place_pulses() 222 coef = dec->pulsepos[quart] & 0x7FFF; in truespeech_place_pulses() 226 if(coef >= t) in truespeech_place_pulses() 227 coef -= t; in truespeech_place_pulses()
|
D | ac3enc_float.c | 61 static void clip_coefficients(AudioDSPContext *adsp, float *coef, in clip_coefficients() argument 64 adsp->vector_clipf(coef, coef, len, COEF_MIN, COEF_MAX); in clip_coefficients()
|
/third_party/ffmpeg/libavfilter/x86/ |
D | vf_w3fdif_init.c | 30 const int16_t *coef, int linesize); 35 const int16_t *coef, int linesize); 39 const int16_t *coef, int linesize); 44 const int16_t *coef, int linesize);
|
/third_party/gstreamer/gstplugins_bad/gst/transcode/ |
D | gst-cpu-throttling-clock.c | 91 float delta_usage, usage, coef; in gst_transcoder_adjust_wait_time() local 104 coef = GST_MSECOND / 10; in gst_transcoder_adjust_wait_time() 106 coef = -coef; in gst_transcoder_adjust_wait_time() 110 (GstClockTime) priv->current_wait_time + coef, GST_SECOND); in gst_transcoder_adjust_wait_time()
|
/third_party/benchmark/src/ |
D | complexity.h | 43 LeastSq() : coef(0.0), rms(0.0), complexity(oNone) {} in LeastSq() 45 double coef; member
|
D | complexity.cc | 102 result.coef = sigma_time_gn / sigma_gn_squared; in MinimalLeastSq() 107 double fit = result.coef * fitting_curve(n[i]); in MinimalLeastSq() 206 big_o.real_accumulated_time = result_real.coef; in ComputeBigO() 207 big_o.cpu_accumulated_time = result_cpu.coef; in ComputeBigO()
|
/third_party/ffmpeg/libavformat/ |
D | genh.c | 44 unsigned start_offset, header_size, codec, coef_type, coef[2]; in genh_read_header() local 116 coef[0] = avio_rl32(s->pb); in genh_read_header() 117 coef[1] = avio_rl32(s->pb); in genh_read_header() 135 avio_seek(s->pb, coef[ch], SEEK_SET); in genh_read_header()
|