Home
last modified time | relevance | path

Searched refs:num_points (Results 1 – 25 of 32) sorted by relevance

12

/third_party/skia/third_party/externals/freetype/src/base/
Dftstroke.c314 FT_UInt num_points; member
331 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow()
361 FT_UInt count = border->num_points; in ft_stroke_border_close()
368 border->num_points = start; in ft_stroke_border_close()
373 border->num_points = --count; in ft_stroke_border_close()
436 border->points[border->num_points - 1] = *to; in ft_stroke_border_lineto()
441 if ( border->num_points > (FT_UInt)border->start && in ft_stroke_border_lineto()
442 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) && in ft_stroke_border_lineto()
443 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) ) in ft_stroke_border_lineto()
450 FT_Vector* vec = border->points + border->num_points; in ft_stroke_border_lineto()
[all …]
/third_party/ffmpeg/libavcodec/
Datrac3plus.c880 chan->gain_data[i].num_points = get_bits(gb, 3); in decode_gainc_npoints()
884 chan->gain_data[i].num_points = in decode_gainc_npoints()
893 chan->gain_data[i].num_points = in decode_gainc_npoints()
894 (ref_chan->gain_data[i].num_points + delta) & 7; in decode_gainc_npoints()
897 chan->gain_data[0].num_points = in decode_gainc_npoints()
904 chan->gain_data[i].num_points = in decode_gainc_npoints()
905 (chan->gain_data[i - 1].num_points + delta) & 7; in decode_gainc_npoints()
912 chan->gain_data[i].num_points = in decode_gainc_npoints()
913 ref_chan->gain_data[i].num_points; in decode_gainc_npoints()
919 chan->gain_data[i].num_points = min_val + get_bitsz(gb, delta_bits); in decode_gainc_npoints()
[all …]
Datrac.c94 gc_scale = gc_next->num_points ? gctx->gain_tab1[gc_next->lev_code[0]] in ff_atrac_gain_compensation()
97 if (!gc_now->num_points) { in ff_atrac_gain_compensation()
103 for (i = 0; i < gc_now->num_points; i++) { in ff_atrac_gain_compensation()
107 gain_inc = gctx->gain_tab2[(i + 1 < gc_now->num_points ? gc_now->lev_code[i + 1] in ff_atrac_gain_compensation()
Datrac3plusdsp.c440 gain_lev = (g1->num_points > 0) ? (6 - g1->lev_code[0]) : 0; in ff_atrac3p_power_compensation()
442 for (i = 0; i < g2->num_points; i++) in ff_atrac3p_power_compensation()
445 for (i = 0; i < g1->num_points; i++) in ff_atrac3p_power_compensation()
Datrac.h36 int num_points; ///< number of gain control points member
/third_party/node/deps/openssl/openssl/crypto/ec/
Decp_nistp224.c1141 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1162 for (i = (num_points ? 220 : 27); i >= 0; --i) { in batch_mul()
1199 if (num_points && (i % 5 == 0)) { in batch_mul()
1201 for (num = 0; num < num_points; ++num) { in batch_mul()
1427 size_t num_points = num; in ossl_ec_GFp_nistp224_points_mul() local
1473 num_points = num_points + 1; in ossl_ec_GFp_nistp224_points_mul()
1476 if (num_points > 0) { in ossl_ec_GFp_nistp224_points_mul()
1477 if (num_points >= 3) { in ossl_ec_GFp_nistp224_points_mul()
1484 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp224_points_mul()
1485 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp224_points_mul()
[all …]
Decp_nistp256.c1674 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1695 for (i = (num_points ? 255 : 31); i >= 0; --i) { in batch_mul()
1734 if (num_points && (i % 5 == 0)) { in batch_mul()
1736 for (num = 0; num < num_points; ++num) { in batch_mul()
2039 size_t num_points = num; in ossl_ec_GFp_nistp256_points_mul() local
2086 num_points++; in ossl_ec_GFp_nistp256_points_mul()
2088 if (num_points > 0) { in ossl_ec_GFp_nistp256_points_mul()
2089 if (num_points >= 3) { in ossl_ec_GFp_nistp256_points_mul()
2096 secrets = OPENSSL_malloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp256_points_mul()
2097 pre_comp = OPENSSL_malloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp256_points_mul()
[all …]
Decp_nistp521.c1584 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1604 for (i = (num_points ? 520 : 130); i >= 0; --i) { in batch_mul()
1630 if (num_points && (i % 5 == 0)) { in batch_mul()
1632 for (num = 0; num < num_points; ++num) { in batch_mul()
1932 size_t num_points = num; in ossl_ec_GFp_nistp521_points_mul() local
1978 num_points++; in ossl_ec_GFp_nistp521_points_mul()
1981 if (num_points > 0) { in ossl_ec_GFp_nistp521_points_mul()
1982 if (num_points >= 2) { in ossl_ec_GFp_nistp521_points_mul()
1989 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp521_points_mul()
1990 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp521_points_mul()
[all …]
/third_party/openssl/crypto/ec/
Decp_nistp224.c1141 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1162 for (i = (num_points ? 220 : 27); i >= 0; --i) { in batch_mul()
1199 if (num_points && (i % 5 == 0)) { in batch_mul()
1201 for (num = 0; num < num_points; ++num) { in batch_mul()
1427 size_t num_points = num; in ossl_ec_GFp_nistp224_points_mul() local
1473 num_points = num_points + 1; in ossl_ec_GFp_nistp224_points_mul()
1476 if (num_points > 0) { in ossl_ec_GFp_nistp224_points_mul()
1477 if (num_points >= 3) { in ossl_ec_GFp_nistp224_points_mul()
1484 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp224_points_mul()
1485 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp224_points_mul()
[all …]
Decp_nistp256.c1674 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1695 for (i = (num_points ? 255 : 31); i >= 0; --i) { in batch_mul()
1734 if (num_points && (i % 5 == 0)) { in batch_mul()
1736 for (num = 0; num < num_points; ++num) { in batch_mul()
2039 size_t num_points = num; in ossl_ec_GFp_nistp256_points_mul() local
2086 num_points++; in ossl_ec_GFp_nistp256_points_mul()
2088 if (num_points > 0) { in ossl_ec_GFp_nistp256_points_mul()
2089 if (num_points >= 3) { in ossl_ec_GFp_nistp256_points_mul()
2096 secrets = OPENSSL_malloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp256_points_mul()
2097 pre_comp = OPENSSL_malloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp256_points_mul()
[all …]
Decp_nistp521.c1584 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument
1604 for (i = (num_points ? 520 : 130); i >= 0; --i) { in batch_mul()
1630 if (num_points && (i % 5 == 0)) { in batch_mul()
1632 for (num = 0; num < num_points; ++num) { in batch_mul()
1932 size_t num_points = num; in ossl_ec_GFp_nistp521_points_mul() local
1978 num_points++; in ossl_ec_GFp_nistp521_points_mul()
1981 if (num_points > 0) { in ossl_ec_GFp_nistp521_points_mul()
1982 if (num_points >= 2) { in ossl_ec_GFp_nistp521_points_mul()
1989 secrets = OPENSSL_zalloc(sizeof(*secrets) * num_points); in ossl_ec_GFp_nistp521_points_mul()
1990 pre_comp = OPENSSL_zalloc(sizeof(*pre_comp) * num_points); in ossl_ec_GFp_nistp521_points_mul()
[all …]
/third_party/skia/third_party/externals/freetype/src/pshinter/
Dpshalgo.c1046 glyph->num_points = 0; in psh_glyph_done()
1086 FT_UInt count = glyph->num_points; in psh_glyph_load_points()
1124 for ( n = 0; n < glyph->num_points; n++ ) in psh_glyph_save_points()
1174 glyph->num_points = (FT_UInt)outline->n_points; in psh_glyph_init()
1224 for ( n = 0; n < glyph->num_points; n++, point++ ) in psh_glyph_init()
1362 for ( n = 0; n < glyph->num_points; n++ ) in psh_glyph_compute_extrema()
1578 if ( num_masks > 1 && glyph->num_points > 0 ) in psh_glyph_find_strong_points()
1581 first = mask->end_point > glyph->num_points in psh_glyph_find_strong_points()
1582 ? glyph->num_points in psh_glyph_find_strong_points()
1587 FT_UInt next = FT_MIN( mask->end_point, glyph->num_points ); in psh_glyph_find_strong_points()
[all …]
Dpshalgo.h187 FT_UInt num_points; member
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1load.c200 axis->maximum = map->design_points[map->num_points - 1]; in T1_Get_Multi_Master()
225 for ( j = 1; j < axismap->num_points; j++ ) in mm_axis_unmap()
235 return INT_TO_FIXED( axismap->design_points[axismap->num_points - 1] ); in mm_axis_unmap()
594 design = ( designs[map->num_points - 1] - designs[0] ) / 2; in T1_Set_MM_Design()
596 for ( p = 0; p < (FT_Int)map->num_points; p++ ) in T1_Set_MM_Design()
622 the_blend = blends[map->num_points - 1]; in T1_Set_MM_Design()
764 dmap->num_points = 0; in T1_Done_Blend()
1023 FT_Int p, num_points; in parse_blend_design_map() local
1031 T1_MAX_MM_MAP_POINTS, &num_points ); in parse_blend_design_map()
1035 if ( num_points <= 0 || num_points > T1_MAX_MM_MAP_POINTS ) in parse_blend_design_map()
[all …]
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafhints.c419 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points()
427 if ( hints->num_points ) in af_glyph_hints_dump_points()
839 hints->num_points = 0; in af_glyph_hints_done()
873 hints->num_points = 0; in af_glyph_hints_reload()
935 hints->num_points = outline->n_points; in af_glyph_hints_reload()
957 if ( hints->num_points == 0 ) in af_glyph_hints_reload()
962 AF_Point point_limit = points + hints->num_points; in af_glyph_hints_reload()
1283 AF_Point limit = point + hints->num_points; in af_glyph_hints_save()
1393 AF_Point point_limit = points + hints->num_points; in af_glyph_hints_align_strong_points()
1667 AF_Point point_limit = points + hints->num_points; in af_glyph_hints_align_weak_points()
Dafhints.h351 FT_Int num_points; /* number of used points */ member
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrgload.c767 FT_Int i, old_points, num_points; in pfr_glyph_load_rec() local
784 num_points = base->n_points - old_points; in pfr_glyph_load_rec()
792 for ( i = 0; i < num_points; i++, vec++ ) in pfr_glyph_load_rec()
805 for ( i = 0; i < num_points; i++, vec++ ) in pfr_glyph_load_rec()
/third_party/cef/tests/cefclient/browser/
Dosr_window_win.cc836 int num_points = LOWORD(wParam); in OnTouchEvent() local
838 if (num_points < 0 || num_points > 16) in OnTouchEvent()
840 std::unique_ptr<TOUCHINPUT[]> input(new TOUCHINPUT[num_points]); in OnTouchEvent()
841 if (GetTouchInputInfo(reinterpret_cast<HTOUCHINPUT>(lParam), num_points, in OnTouchEvent()
844 for (int i = 0; i < num_points; ++i) { in OnTouchEvent()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dt1decode.c903 FT_UInt num_points, nn, mm; in t1_decoder_parse_charstrings() local
915 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 ); in t1_decoder_parse_charstrings()
916 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) ) in t1_decoder_parse_charstrings()
939 delta = top + num_points; in t1_decoder_parse_charstrings()
941 for ( nn = 0; nn < num_points; nn++ ) in t1_decoder_parse_charstrings()
954 known_othersubr_result_cnt = (FT_Int)num_points; in t1_decoder_parse_charstrings()
Dpsintrp.c1830 FT_UInt num_points, nn, mm; in cf2_interpT2CharString() local
1844 num_points = (FT_UInt)subr_no - 13 + in cf2_interpT2CharString()
1846 if ( arg_cnt != (FT_Int)( num_points * in cf2_interpT2CharString()
1872 delta = opIdx + num_points; in cf2_interpT2CharString()
1874 for ( nn = 0; nn < num_points; nn++ ) in cf2_interpT2CharString()
1890 (CF2_UInt)arg_cnt - num_points ); in cf2_interpT2CharString()
1892 known_othersubr_result_cnt = (FT_Int)num_points; in cf2_interpT2CharString()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-glyf-table.hh636 unsigned int num_points = endPtsOfContours[num_contours - 1] + 1; in get_contour_points() local
638 points_.resize (num_points); in get_contour_points()
650 for (unsigned int i = 0; i < num_points; i++) in get_contour_points()
659 while ((repeat_count-- > 0) && (++i < num_points)) in get_contour_points()
778 unsigned num_points = hb_len (CompositeGlyph (*header, bytes).get_iterator ()); in get_points() local
779 if (unlikely (!points.resize (num_points))) return false; in get_points()
/third_party/mesa3d/include/android_stub/system/
Dgraphics.h224 uint32_t num_points; member
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h3395 static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float … in stbtt__tesselate_curve() argument
3406 …stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatn… in stbtt__tesselate_curve()
3407 …stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatn… in stbtt__tesselate_curve()
3409 stbtt__add_point(points, *num_points,x2,y2); in stbtt__tesselate_curve()
3410 *num_points = *num_points+1; in stbtt__tesselate_curve()
3415 static void stbtt__tesselate_cubic(stbtt__point *points, int *num_points, float x0, float y0, float… in stbtt__tesselate_cubic() argument
3449 …stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared… in stbtt__tesselate_cubic()
3450 …stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared… in stbtt__tesselate_cubic()
3452 stbtt__add_point(points, *num_points,x3,y3); in stbtt__tesselate_cubic()
3453 *num_points = *num_points+1; in stbtt__tesselate_cubic()
[all …]
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h3395 static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float … in stbtt__tesselate_curve() argument
3406 …stbtt__tesselate_curve(points, num_points, x0,y0, (x0+x1)/2.0f,(y0+y1)/2.0f, mx,my, objspace_flatn… in stbtt__tesselate_curve()
3407 …stbtt__tesselate_curve(points, num_points, mx,my, (x1+x2)/2.0f,(y1+y2)/2.0f, x2,y2, objspace_flatn… in stbtt__tesselate_curve()
3409 stbtt__add_point(points, *num_points,x2,y2); in stbtt__tesselate_curve()
3410 *num_points = *num_points+1; in stbtt__tesselate_curve()
3415 static void stbtt__tesselate_cubic(stbtt__point *points, int *num_points, float x0, float y0, float… in stbtt__tesselate_cubic() argument
3449 …stbtt__tesselate_cubic(points, num_points, x0,y0, x01,y01, xa,ya, mx,my, objspace_flatness_squared… in stbtt__tesselate_cubic()
3450 …stbtt__tesselate_cubic(points, num_points, mx,my, xb,yb, x23,y23, x3,y3, objspace_flatness_squared… in stbtt__tesselate_cubic()
3452 stbtt__add_point(points, *num_points,x3,y3); in stbtt__tesselate_cubic()
3453 *num_points = *num_points+1; in stbtt__tesselate_cubic()
[all …]
/third_party/skia/third_party/externals/freetype/include/freetype/
Dt1tables.h285 FT_Byte num_points; member

12