Home
last modified time | relevance | path

Searched refs:coef (Results 1 – 25 of 158) sorted by relevance

1234567

/third_party/skia/third_party/externals/libjpeg-turbo/
Djccoefct.c73 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 …]
Djctrans.c243 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 …]
Djdcoefct.c60 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 …]
Djdcoefct.h66 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/flutter/skia/third_party/externals/libjpeg-turbo/
Djccoefct.c73 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 …]
Djctrans.c242 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local
249 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
251 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows - 1)) in start_iMCU_row()
252 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
254 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
257 coef->mcu_ctr = 0; in start_iMCU_row()
258 coef->MCU_vert_offset = 0; in start_iMCU_row()
269 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_pass_coef() local
274 coef->iMCU_row_num = 0; in start_pass_coef()
292 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in compress_output() local
[all …]
Djdcoefct.c60 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()
105 if (!(*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) { in decompress_onepass()
107 coef->MCU_vert_offset = yoffset; in decompress_onepass()
[all …]
Djdcoefct.h65 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local
72 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
75 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
77 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
80 coef->MCU_ctr = 0; in start_iMCU_row()
81 coef->MCU_vert_offset = 0; in start_iMCU_row()
/third_party/libjpeg-turbo/
Djccoefct.c73 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 …]
Djctrans.c242 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local
249 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
251 if (coef->iMCU_row_num < (cinfo->total_iMCU_rows - 1)) in start_iMCU_row()
252 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
254 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
257 coef->mcu_ctr = 0; in start_iMCU_row()
258 coef->MCU_vert_offset = 0; in start_iMCU_row()
269 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_pass_coef() local
274 coef->iMCU_row_num = 0; in start_pass_coef()
292 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in compress_output() local
[all …]
Djdcoefct.c60 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()
105 if (!(*cinfo->entropy->decode_mcu) (cinfo, coef->MCU_buffer)) { in decompress_onepass()
107 coef->MCU_vert_offset = yoffset; in decompress_onepass()
[all …]
Djdcoefct.h65 my_coef_ptr coef = (my_coef_ptr)cinfo->coef; in start_iMCU_row() local
72 coef->MCU_rows_per_iMCU_row = 1; in start_iMCU_row()
75 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->v_samp_factor; in start_iMCU_row()
77 coef->MCU_rows_per_iMCU_row = cinfo->cur_comp_info[0]->last_row_height; in start_iMCU_row()
80 coef->MCU_ctr = 0; in start_iMCU_row()
81 coef->MCU_vert_offset = 0; in start_iMCU_row()
/third_party/boost/boost/numeric/odeint/stepper/detail/
Dadams_bashforth_call_algebra.hpp36 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
39 …eps[0].m_v , typename Operations::template scale_sum2< value_type , Time >( 1.0 , dt * coef[0] ) ); in operator ()()
48 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
52 …Operations::template scale_sum3< value_type , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] ) ); in operator ()()
61 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
65 … scale_sum4< value_type , Time , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] )… in operator ()()
74 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
79 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] ) ); in operator ()()
88 …StateIn &in , StateOut &out , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
93 … 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] , dt * coef[4] ) ); in operator ()()
[all …]
Dadams_moulton_call_algebra.hpp35 …, const DerivIn &dxdt , const StepStorage& /* steps */ , const Coefficients &coef , Time dt ) const in operator ()()
38 … in , dxdt , typename Operations::template scale_sum2< value_type , Time >( 1.0 , dt * coef[0] ) ); in operator ()()
47 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
51 …Operations::template scale_sum3< value_type , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] ) ); in operator ()()
60 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
64 …emplate scale_sum4< value_type , Time , Time >( 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] )… in operator ()()
73 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
78 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] ) ); in operator ()()
87 … &out , const DerivIn &dxdt , const StepStorage &steps , const Coefficients &coef , Time dt ) const in operator ()()
92 … 1.0 , dt * coef[0] , dt * coef[1] , dt * coef[2] , dt * coef[3] , dt * coef[4] ) ); in operator ()()
[all …]
/third_party/ffmpeg/tests/checkasm/
Dvp8dsp.c34 #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 …]
Dh264dsp.c49 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/boost/libs/math/tools/
Drational_tests.cpp26 std::vector<int> coef; in main() local
29 coef.push_back(gen()); in main()
40 std::cout << coef[j]; in main()
49 std::cout << coef[j]; in main()
53 mp_t r1 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(0.125), i); in main()
54 mp_t r2 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(0.25), i); in main()
55 mp_t r3 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(0.75), i); in main()
56 mp_t r4 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(1) - mp_t(1) / 64, i); in main()
121 r1 = boost::math::tools::evaluate_even_polynomial(&coef[0], mp_t(0.125), i); in main()
122 r2 = boost::math::tools::evaluate_even_polynomial(&coef[0], mp_t(0.25), i); in main()
[all …]
Dgenerate_rational_test.cpp30 std::vector<int> coef; in main() local
33 coef.push_back(gen()); in main()
45 std::cout << coef[j]; in main()
54 std::cout << coef[j]; in main()
58 mp_t r1 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(0.125), i); in main()
59 mp_t r2 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(0.25), i); in main()
60 mp_t r3 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(0.75), i); in main()
61 mp_t r4 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(1) - mp_t(1) / 64, i); in main()
62 mp_t r5 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(6.5), i); in main()
63 mp_t r6 = boost::math::tools::evaluate_polynomial(&coef[0], mp_t(10247.25), i); in main()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_w3fdif.c112 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 …]
Dw3fdif.h30 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/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_lms_q31.c84 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 …]
Darm_lms_q15.c80 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 …]
Darm_lms_norm_q31.c87 q31_t coef; /* Temporary variable for coef */ in arm_lms_norm_q31() local
208 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31()
210 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
214 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31()
215 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
218 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31()
219 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
222 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31()
223 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
243 coef = (q31_t) (((q63_t) w * (*px++)) >> (32)); in arm_lms_norm_q31()
[all …]
Darm_lms_norm_q15.c87 q31_t coef; /* Temporary variable for coefficient */ in arm_lms_norm_q15() local
204 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15()
205 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15()
207 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15()
208 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15()
210 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15()
211 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15()
213 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15()
214 *pb++ = (q15_t) __SSAT(coef, 16); in arm_lms_norm_q15()
233 coef = (q31_t) *pb + (((q31_t) w * (*px++)) >> 15); in arm_lms_norm_q15()
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.c101 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 …]

1234567