Home
last modified time | relevance | path

Searched refs:npoints (Results 1 – 25 of 30) sorted by relevance

12

/external/libaom/libaom/av1/encoder/
Dransac.c310 static int get_rand_indices(int npoints, int minpts, int *indices, in get_rand_indices() argument
313 int ptr = lcg_rand16(seed) % npoints; in get_rand_indices()
314 if (minpts > npoints) return 0; in get_rand_indices()
316 ptr = (ptr == npoints - 1 ? 0 : ptr + 1); in get_rand_indices()
319 int index = lcg_rand16(seed) % npoints; in get_rand_indices()
321 ptr = (ptr == npoints - 1 ? 0 : ptr + 1); in get_rand_indices()
373 static int ransac(const int *matched_points, int npoints, in ransac() argument
383 unsigned int seed = (unsigned int)npoints; in ransac()
406 if (npoints < minpts * MINPTS_MULTIPLIER || npoints == 0) { in ransac()
410 points1 = (double *)aom_malloc(sizeof(*points1) * npoints * 2); in ransac()
[all …]
Dransac.h22 typedef int (*RansacFunc)(int *matched_points, int npoints,
25 typedef int (*RansacFuncDouble)(double *matched_points, int npoints,
31 int ransac_affine(int *matched_points, int npoints, int *num_inliers_by_motion,
33 int ransac_rotzoom(int *matched_points, int npoints, int *num_inliers_by_motion,
35 int ransac_translation(int *matched_points, int npoints,
38 int ransac_translation_double_prec(double *matched_points, int npoints,
42 int ransac_rotzoom_double_prec(double *matched_points, int npoints,
46 int ransac_affine_double_prec(double *matched_points, int npoints,
/external/zopfli/src/zopfli/
Dblocksplitter.c155 size_t npoints = 0; in PrintBlockSplitPoints() local
163 if (lz77splitpoints[npoints] == i) { in PrintBlockSplitPoints()
164 ZOPFLI_APPEND_DATA(pos, &splitpoints, &npoints); in PrintBlockSplitPoints()
165 if (npoints == nlz77points) break; in PrintBlockSplitPoints()
170 assert(npoints == nlz77points); in PrintBlockSplitPoints()
173 for (i = 0; i < npoints; i++) { in PrintBlockSplitPoints()
177 for (i = 0; i < npoints; i++) { in PrintBlockSplitPoints()
200 const size_t* splitpoints, size_t npoints, in FindLargestSplittableBlock() argument
205 for (i = 0; i <= npoints; i++) { in FindLargestSplittableBlock()
207 size_t end = i == npoints ? llsize - 1 : splitpoints[i]; in FindLargestSplittableBlock()
[all …]
Dblocksplitter.h48 size_t** splitpoints, size_t* npoints);
66 size_t maxblocks, size_t** splitpoints, size_t* npoints);
75 size_t** splitpoints, size_t* npoints);
Ddeflate.c729 size_t npoints = 0; in DeflateSplittingFirst() local
731 ZopfliBlockSplitSimple(in, instart, inend, 65535, &splitpoints, &npoints); in DeflateSplittingFirst()
737 options->blocksplittingmax, &splitpoints, &npoints); in DeflateSplittingFirst()
740 for (i = 0; i <= npoints; i++) { in DeflateSplittingFirst()
742 size_t end = i == npoints ? inend : splitpoints[i]; in DeflateSplittingFirst()
743 DeflateBlock(options, btype, i == npoints && final, in, start, end, in DeflateSplittingFirst()
765 size_t npoints = 0; in DeflateSplittingLast() local
798 options->blocksplittingmax, &splitpoints, &npoints); in DeflateSplittingLast()
801 for (i = 0; i <= npoints; i++) { in DeflateSplittingLast()
803 size_t end = i == npoints ? store.size : splitpoints[i]; in DeflateSplittingLast()
[all …]
/external/libxaac/decoder/
Dixheaacd_aac_imdct.h26 WORD32 npoints);
30 WORD32 npoints);
34 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints);
38 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints);
42 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
48 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
54 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
74 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
78 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
82 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
[all …]
Dixheaacd_esbr_fft.c43 WORD32 npoints) { in ixheaacd_real_synth_fft_p2() argument
51 dig_rev_shift = ixheaacd_norm32(npoints) + 1 - 16; in ixheaacd_real_synth_fft_p2()
52 n_stages = 30 - ixheaacd_norm32(npoints); in ixheaacd_real_synth_fft_p2()
59 for (i = 0; i < npoints; i += 4) { in ixheaacd_real_synth_fft_p2()
70 inp += (npoints >> 2); in ixheaacd_real_synth_fft_p2()
73 inp += (npoints >> 2); in ixheaacd_real_synth_fft_p2()
76 inp += (npoints >> 2); in ixheaacd_real_synth_fft_p2()
96 ptr_y -= 2 * npoints; in ixheaacd_real_synth_fft_p2()
99 in_loop_cnt = npoints >> 4; in ixheaacd_real_synth_fft_p2()
241 data -= 2 * npoints; in ixheaacd_real_synth_fft_p2()
[all …]
Dixheaacd_qmf_dec.h139 VOID ixheaacd_radix4bfly(const WORD16 *w, WORD32 *x, WORD32 npoints,
143 const WORD32 *p_dig_rev_tbl, WORD32 npoints);
146 const WORD32 *p_dig_rev_tbl, WORD32 npoints);
152 void ixheaacd_sbr_imdct_using_fft(const WORD32 *ptr_w, WORD32 npoints,
167 VOID ixheaacd_radix4bfly(const WORD16 *w, WORD32 *x, WORD32 npoints,
171 const WORD32 *p_dig_rev_tbl, WORD32 npoints);
174 const WORD32 *p_dig_rev_tbl, WORD32 npoints);
Dixheaacd_aac_imdct.c296 WORD npoints) { in ixheaacd_post_twiddle_dec() argument
299 WORD32 *spec_data1 = spec_data + npoints - 1; in ixheaacd_post_twiddle_dec()
300 WORD32 *out_ptr1 = out_ptr + npoints - 1; in ixheaacd_post_twiddle_dec()
304 if (npoints == 1024) { in ixheaacd_post_twiddle_dec()
327 for (i = 0; i < (npoints / 2 - 2); i++) { in ixheaacd_post_twiddle_dec()
385 } else if (npoints == 128) { in ixheaacd_post_twiddle_dec()
407 for (i = 0; i < (npoints / 2 - 2); i++) { in ixheaacd_post_twiddle_dec()
471 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints, in ixheaacd_post_twid_overlap_add_dec() argument
476 WORD32 size = npoints / 2; in ixheaacd_post_twid_overlap_add_dec()
790 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints, in ixheaacd_imdct_using_fft_dec() argument
[all …]
Dixheaacd_fft.c71 WORD32 npoints = nlength; in ixheaacd_mps_complex_fft_64_dec() local
74 n_stages = 30 - ixheaacd_norm32(npoints); in ixheaacd_mps_complex_fft_64_dec()
80 for (i = 0; i < npoints; i += 4) { in ixheaacd_mps_complex_fft_64_dec()
87 inp += (npoints >> 1); in ixheaacd_mps_complex_fft_64_dec()
91 inp += (npoints >> 1); in ixheaacd_mps_complex_fft_64_dec()
95 inp += (npoints >> 1); in ixheaacd_mps_complex_fft_64_dec()
127 ptr_y -= 2 * npoints; in ixheaacd_mps_complex_fft_64_dec()
130 in_loop_cnt = npoints >> 4; in ixheaacd_mps_complex_fft_64_dec()
275 data -= 2 * npoints; in ixheaacd_mps_complex_fft_64_dec()
357 data -= 2 * npoints; in ixheaacd_mps_complex_fft_64_dec()
[all …]
Dixheaacd_imdct.c139 static void ixheaacd_fft_based_imdct(WORD32 *data, WORD32 npoints, in ixheaacd_fft_based_imdct() argument
143 WORD32 nlength = npoints >> 1; in ixheaacd_fft_based_imdct()
174 void ixheaacd_acelp_imdct(WORD32 *imdct_in, WORD32 npoints, WORD8 *qshift, in ixheaacd_acelp_imdct() argument
178 WORD32 k = (npoints / 2); in ixheaacd_acelp_imdct()
186 for (i = 0; i < (npoints / 2); i++) { in ixheaacd_acelp_imdct()
192 ixheaacd_fft_based_imdct(imdct_in, npoints / 2, &preshift, tmp_data); in ixheaacd_acelp_imdct()
Dixheaacd_function_selector.h183 ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
187 ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
Dixheaacd_windows.h50 void ixheaacd_acelp_imdct(WORD32 *imdct_in, WORD32 npoints, WORD8 *qshift,
/external/libxaac/decoder/armv7/
Dixheaacd_fft_armv7.c21 WORD32 npoints = nlength; in ixheaacd_complex_fft_p2_armv7() local
24 dig_rev_shift = ixheaacd_norm32(npoints) + 1 - 16; in ixheaacd_complex_fft_p2_armv7()
25 n_stages = 30 - ixheaacd_norm32(npoints); // log2(npoints), if npoints=2^m in ixheaacd_complex_fft_p2_armv7()
30 npts = npoints; // CALCULATION OF GUARD BITS in ixheaacd_complex_fft_p2_armv7()
71 WORD32 npoints = nlength; in ixheaacd_mps_complex_fft_64_armv7() local
74 n_stages = 30 - ixheaacd_norm32(npoints); // log2(npoints), if npoints=2^m in ixheaacd_mps_complex_fft_64_armv7()
Dixheaacd_function_selector_armv7.c161 WORD npoints) = &ixheaacd_post_twiddle_armv7;
165 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
190 (ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
234 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
238 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
Dixheaacd_function_selector_arm_non_neon.c155 WORD npoints) = &ixheaacd_post_twiddle_dec;
159 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
185 (ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
/external/libxaac/decoder/generic/
Dixheaacd_qmf_dec_generic.c841 WORD32 npoints) { in ixheaacd_esbr_postradixcompute2() argument
854 y2 = ptr_y + (WORD32)npoints; in ixheaacd_esbr_postradixcompute2()
856 x2 = ptr_x + (WORD32)(npoints >> 1); in ixheaacd_esbr_postradixcompute2()
858 y1 = y0 + (WORD32)(npoints >> 2); in ixheaacd_esbr_postradixcompute2()
859 y3 = y2 + (WORD32)(npoints >> 2); in ixheaacd_esbr_postradixcompute2()
861 n0 = npoints >> 1; in ixheaacd_esbr_postradixcompute2()
864 for (i = 0; i<npoints>> 1; i += 8) { in ixheaacd_esbr_postradixcompute2()
921 x0 += (WORD32)npoints >> 1; in ixheaacd_esbr_postradixcompute2()
922 x2 += (WORD32)npoints >> 1; in ixheaacd_esbr_postradixcompute2()
928 WORD32 npoints) { in ixheaacd_esbr_postradixcompute4() argument
[all …]
Dixheaacd_function_selector_generic.c160 WORD npoints) = &ixheaacd_post_twiddle_dec;
164 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
190 (ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
234 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
238 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpec_setuptable.c66 const int npoints = 3; in setupTable() local
67 BNU_CHUNK_T* A = cpEcGFpGetPool(npoints, pEC); in setupTable()
154 cpEcGFpReleasePool(npoints, pEC); in setupTable()
/external/libxaac/decoder/x86_64/
Dixheaacd_function_selector_x86_64.c159 WORD npoints) = &ixheaacd_post_twiddle_dec;
163 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
189 (ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
233 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
237 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
/external/libxaac/decoder/x86/
Dixheaacd_function_selector_x86.c159 WORD npoints) = &ixheaacd_post_twiddle_dec;
163 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
189 (ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
233 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
237 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
/external/libxaac/decoder/armv8/
Dixheaacd_function_selector_armv8.c159 WORD npoints) = &ixheaacd_post_twiddle_armv8;
163 ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD npoints,
189 (ia_aac_dec_imdct_tables_struct *ptr_imdct_tables, WORD32 npoints,
233 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
237 (ia_aac_dec_imdct_tables_struct *imdct_tables_ptr, WORD32 npoints,
Dixheaacd_qmf_dec_armv8.c616 WORD32 npoints) { in ixheaacd_esbr_postradixcompute2() argument
627 y2 = ptr_y + (WORD32)npoints; in ixheaacd_esbr_postradixcompute2()
629 x2 = ptr_x + (WORD32)(npoints >> 1); in ixheaacd_esbr_postradixcompute2()
631 y1 = y0 + (WORD32)(npoints >> 2); in ixheaacd_esbr_postradixcompute2()
632 y3 = y2 + (WORD32)(npoints >> 2); in ixheaacd_esbr_postradixcompute2()
634 n0 = npoints >> 1; in ixheaacd_esbr_postradixcompute2()
637 for (i = 0; i<npoints>> 1; i += 8) { in ixheaacd_esbr_postradixcompute2()
676 x0 += (WORD32)npoints >> 1; in ixheaacd_esbr_postradixcompute2()
677 x2 += (WORD32)npoints >> 1; in ixheaacd_esbr_postradixcompute2()
683 WORD32 npoints) { in ixheaacd_esbr_postradixcompute4() argument
[all …]
/external/libvterm/src/
Dstate.c246 int npoints = 0; in on_text() local
256 codepoints, &npoints, state->gsingle_set ? 1 : len, in on_text()
262 if(!npoints) in on_text()
265 if(state->gsingle_set && npoints) in on_text()
289 while(i < npoints && vterm_unicode_is_combining(codepoints[i])) { in on_text()
312 for(; i < npoints; i++) { in on_text()
316 for(glyph_ends = i + 1; glyph_ends < npoints; glyph_ends++) in on_text()
369 if(i == npoints - 1) { in on_text()
/external/python/cpython2/Modules/
Dcstubs350 int ncoords, npoints;
373 npoints = arg1 - arg5;
376 if (!PyList_Check(v) || PyList_Size(v) != npoints) {
380 if ((arg4 = PyMem_NEW(double, npoints*ncoords )) == NULL) {
384 for (i = 0; i < npoints; i++) {
410 long npoints, ncoords;
420 npoints = PyList_Size(v);
427 if ((data = PyMem_NEW(double, npoints*ncoords)) == NULL) {
431 for (i = 0; i < npoints; i++) {
436 pwlcurve(npoints, data, sizeof(double)*ncoords, type);

12