Searched refs:num_points (Results 1 - 22 of 22) sorted by relevance

/external/freetype/src/base/
H A Dftgloadr.c364 FT_UInt num_points = source->base.outline.n_points; local
368 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours );
376 num_points );
378 num_points );
386 num_points );
388 num_points );
391 out->n_points = (short)num_points;
H A Dftstroke.c304 FT_UInt num_points; member in struct:FT_StrokeBorderRec_
321 FT_UInt new_max = border->num_points + new_points;
351 FT_UInt count = border->num_points;
358 border->num_points = start;
363 border->num_points = --count;
425 border->points[border->num_points - 1] = *to;
430 if ( border->num_points > 0 &&
431 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) &&
432 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) )
439 FT_Vector* vec = border->points + border->num_points;
655 FT_UInt num_points = 0; local
1952 FT_UInt num_points = 0, num_contours = 0; local
1982 FT_UInt count1, count2, num_points = 0; local
2290 FT_UInt num_points, num_contours; local
2367 FT_UInt num_points, num_contours; local
[all...]
/external/flac/libFLAC/
H A Dmetadata_object.c167 object->length = object->data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;
170 static FLAC__StreamMetadata_SeekPoint *seekpoint_array_new_(unsigned num_points) argument
174 FLAC__ASSERT(num_points > 0);
176 object_array = (FLAC__StreamMetadata_SeekPoint*)safe_malloc_mul_2op_(num_points, /*times*/sizeof(FLAC__StreamMetadata_SeekPoint));
180 for(i = 0; i < num_points; i++) {
462 object->data.seek_table.num_points = 0;
552 to->data.seek_table.num_points = object->data.seek_table.num_points;
553 if(to->data.seek_table.num_points > SIZE_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) { /* overflow check */
557 if(!copy_bytes_((FLAC__byte**)&to->data.seek_table.points, (FLAC__byte*)object->data.seek_table.points, object->data.seek_table.num_points * sizeo
[all...]
H A Dformat.c250 for(i = 0; i < seek_table->num_points; i++) {
286 qsort(seek_table->points, seek_table->num_points, sizeof(FLAC__StreamMetadata_SeekPoint), (int (*)(const void *, const void *))seekpoint_compare_);
290 for(i = j = 0; i < seek_table->num_points; i++) {
301 for(i = j; i < seek_table->num_points; i++) {
H A Dstream_decoder.c1685 decoder->private_->seek_table.data.seek_table.num_points = length / FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;
1688 if(0 == (decoder->private_->seek_table.data.seek_table.points = (FLAC__StreamMetadata_SeekPoint*)safe_realloc_mul_2op_(decoder->private_->seek_table.data.seek_table.points, decoder->private_->seek_table.data.seek_table.num_points, /*times*/sizeof(FLAC__StreamMetadata_SeekPoint)))) {
1692 for(i = 0; i < decoder->private_->seek_table.data.seek_table.num_points; i++) {
1705 length -= (decoder->private_->seek_table.data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH);
3045 for(i = (int)seek_table->num_points - 1; i >= 0; i--) {
3060 for(i = 0; i < (int)seek_table->num_points; i++) {
3069 if(i < (int)seek_table->num_points) { /* i.e. we found a suitable seek point... */
H A Dstream_encoder_framing.c115 for(i = 0; i < metadata->data.seek_table.num_points; i++) {
H A Dstream_encoder.c2462 if(0 != encoder->private_->seek_table && encoder->protected_->audio_offset > 0 && encoder->private_->seek_table->num_points > 0) {
2468 for(i = encoder->private_->first_seekpoint_to_check; i < encoder->private_->seek_table->num_points; i++) {
2634 if(0 != encoder->private_->seek_table && encoder->private_->seek_table->num_points > 0 && encoder->protected_->seektable_offset > 0) {
2647 for(i = 0; i < encoder->private_->seek_table->num_points; i++) {
2814 if(0 != encoder->private_->seek_table && encoder->private_->seek_table->num_points > 0 && encoder->protected_->seektable_offset > 0) {
2828 if((FLAC__STREAM_METADATA_HEADER_LENGTH + 18*encoder->private_->seek_table->num_points) != (unsigned)page.body_len) {
2834 for(i = 0, p = page.body + FLAC__STREAM_METADATA_HEADER_LENGTH; i < encoder->private_->seek_table->num_points; i++, p += 18) {
H A Dmetadata_iterators.c2189 block->num_points = block_length / FLAC__STREAM_METADATA_SEEKPOINT_LENGTH;
2191 if(block->num_points == 0)
2193 else if(0 == (block->points = (FLAC__StreamMetadata_SeekPoint*)safe_malloc_mul_2op_(block->num_points, /*times*/sizeof(FLAC__StreamMetadata_SeekPoint))))
2196 for(i = 0; i < block->num_points; i++) {
2620 for(i = 0; i < block->num_points; i++) {
/external/freetype/src/autofit/
H A Dafwarp.c174 FT_UInt nn, num_points, num_segments; local
203 num_points = hints->num_points;
214 for ( nn = 1; nn < num_points; nn++ )
H A Dafhints.c174 AF_Point limit = points + hints->num_points;
548 hints->num_points = 0;
584 hints->num_points = 0;
622 hints->num_points = outline->n_points;
647 if ( hints->num_points == 0 )
652 AF_Point point_limit = points + hints->num_points;
783 AF_Point limit = point + hints->num_points;
893 AF_Point point_limit = points + hints->num_points;
1148 AF_Point point_limit = points + hints->num_points;
1281 AF_Point points_limit = points + hints->num_points;
[all...]
H A Dafloader.c283 FT_UInt num_points, num_new_points, num_base_points; local
315 num_points = gloader->base.outline.n_points;
316 num_new_points = num_points - num_base_points;
H A Dafhints.h342 FT_Int num_points; /* number of used points */ member in struct:AF_GlyphHintsRec_
H A Daflatin.c752 AF_Point limit = point + hints->num_points;
764 AF_Point limit = point + hints->num_points;
H A Daflatin2.c704 AF_Point limit = point + hints->num_points;
716 AF_Point limit = point + hints->num_points;
/external/freetype/src/pshinter/
H A Dpshalgo.c1150 glyph->num_points = 0;
1190 FT_UInt count = glyph->num_points;
1228 for ( n = 0; n < glyph->num_points; n++ )
1278 glyph->num_points = outline->n_points;
1328 for ( n = 0; n < glyph->num_points; n++, point++ )
1467 for ( n = 0; n < glyph->num_points; n++ )
1692 if ( num_masks > 1 && glyph->num_points > 0 )
1695 first = mask->end_point > glyph->num_points
1696 ? glyph->num_points
1705 next = mask->end_point > glyph->num_points
[all...]
H A Dpshalgo.h205 FT_UInt num_points; member in struct:PSH_GlyphRec_
/external/opencv/cvaux/src/
H A Dcv3dtracker.cpp80 const int num_points = etalon_size.width * etalon_size.height; local
127 CV_CALL(object_points = (CvPoint3D32f *)cvAlloc(num_points * sizeof(CvPoint3D32f)));
128 CV_CALL(points = (CvPoint2D32f *)cvAlloc(num_points * sizeof(CvPoint2D32f)));
170 int count = num_points;
176 // If found is true, it means all the points were found (count = num_points).
/external/freetype/src/psaux/
H A Dt1decode.c809 FT_UInt num_points, nn, mm; local
821 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 );
822 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) )
845 delta = top + num_points;
847 for ( nn = 0; nn < num_points; nn++ )
858 known_othersubr_result_cnt = num_points;
/external/freetype/src/truetype/
H A Dttgload.c941 FT_UInt num_points = gloader->base.outline.n_points; local
956 for ( i = num_base_points; i < num_points; i++ )
976 l >= num_points )
1073 translate_array( num_points - num_base_points,
1510 FT_UInt num_points = start_point; local
1555 num_points = gloader->base.outline.n_points;
1557 if ( num_points == num_base_points )
1583 num_points > start_point )
/external/flac/include/FLAC/
H A Dformat.h610 unsigned num_points; member in struct:__anon4883
/external/freetype/include/freetype/
H A Dt1tables.h252 FT_Byte num_points; member in struct:PS_DesignMap_
/external/opencv/cv/include/
H A Dcvcompat.h382 CV_INLINE void cvConvexHull( CvPoint* points, int num_points, argument
386 CvMat points1 = cvMat( 1, num_points, CV_32SC2, points );
387 CvMat hull1 = cvMat( 1, num_points, CV_32SC1, hull );
398 #define cvConvexHullApprox( points, num_points, bound_rect, bandwidth, \
400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize )

Completed in 2967 milliseconds