Home
last modified time | relevance | path

Searched refs:cmap (Results 1 – 25 of 27) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/psaux/
A Dt1cmap.c55 cmap->num_glyphs = 0; in t1_cmap_std_done()
56 cmap->glyph_names = NULL; in t1_cmap_std_done()
57 cmap->sid_to_string = NULL; in t1_cmap_std_done()
58 cmap->code_to_sid = NULL; in t1_cmap_std_done()
182 cmap->count = (FT_UInt)( encoding->code_last - cmap->first ); in t1_cmap_custom_init()
195 cmap->indices = NULL; in t1_cmap_custom_done()
196 cmap->first = 0; in t1_cmap_custom_done()
197 cmap->count = 0; in t1_cmap_custom_done()
209 ( char_code < ( cmap->first + cmap->count ) ) ) in t1_cmap_custom_char_index()
227 char_code = cmap->first; in t1_cmap_custom_char_next()
[all …]
A Dt1cmap.h42 FT_CMapRec cmap; member
72 FT_CMapRec cmap; member
/AliOS-Things-master/components/freetype/src/sfnt/
A Dttcmap.c681 cmap->cmap.data = table; in tt_cmap4_init()
696 FT_Byte* table = cmap->cmap.data; in tt_cmap4_set_range()
724 TT_Face face = (TT_Face)cmap->cmap.cmap.charmap.face; in tt_cmap4_set_range()
1169 TT_Face face = (TT_Face)cmap->cmap.charmap.face; in tt_cmap4_char_map_binary()
2052 cmap->cmap.data = table; in tt_cmap12_init()
2133 for ( n = cmap->cur_group; n < cmap->num_groups; n++ ) in tt_cmap12_next()
2135 p = cmap->cmap.data + 16 + 12 * n; in tt_cmap12_next()
2374 cmap->cmap.data = table; in tt_cmap13_init()
2455 for ( n = cmap->cur_group; n < cmap->num_groups; n++ ) in tt_cmap13_next()
2457 p = cmap->cmap.data + 16 + 12 * n; in tt_cmap13_next()
[all …]
A Dttcmap.h36 FT_CMapRec cmap; member
/AliOS-Things-master/components/freetype/src/pfr/
A Dpfrcmap.c28 pfr_cmap_init( PFR_CMap cmap ) in pfr_cmap_init() argument
45 if ( cmap->chars[n - 1].char_code >= cmap->chars[n].char_code ) in pfr_cmap_init()
59 pfr_cmap_done( PFR_CMap cmap ) in pfr_cmap_done() argument
61 cmap->chars = NULL; in pfr_cmap_done()
62 cmap->num_chars = 0; in pfr_cmap_done()
71 FT_UInt max = cmap->num_chars; in pfr_cmap_char_index()
81 gchar = cmap->chars + mid; in pfr_cmap_char_index()
106 FT_UInt max = cmap->num_chars; in pfr_cmap_char_next()
114 gchar = cmap->chars + mid; in pfr_cmap_char_next()
138 if ( min < cmap->num_chars ) in pfr_cmap_char_next()
[all …]
A Dpfrcmap.h31 FT_CMapRec cmap; member
/AliOS-Things-master/components/freetype/src/cff/
A Dcffcmap.c36 cff_cmap_encoding_init( CFF_CMapStd cmap ) in cff_cmap_encoding_init() argument
38 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); in cff_cmap_encoding_init()
43 cmap->gids = encoding->codes; in cff_cmap_encoding_init()
50 cff_cmap_encoding_done( CFF_CMapStd cmap ) in cff_cmap_encoding_done() argument
52 cmap->gids = NULL; in cff_cmap_encoding_done()
57 cff_cmap_encoding_char_index( CFF_CMapStd cmap, in cff_cmap_encoding_char_index() argument
64 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index()
71 cff_cmap_encoding_char_next( CFF_CMapStd cmap, in cff_cmap_encoding_char_next() argument
90 result = cmap->gids[code]; in cff_cmap_encoding_char_next()
A Dcffcmap.h40 FT_CMapRec cmap; member
A Dcffdrivr.c413 FT_CMap cmap = FT_CMAP( charmap ); in cff_get_cmap_info() local
416 FT_Face face = FT_CMAP_FACE( cmap ); in cff_get_cmap_info()
423 if ( cmap->clazz != &CFF_CMAP_ENCODING_CLASS_REC_GET && in cff_get_cmap_info()
424 cmap->clazz != &CFF_CMAP_UNICODE_CLASS_REC_GET ) in cff_get_cmap_info()
A Dcffobjs.c922 FT_CharMap cmap; in cff_face_init() local
929 cmap = cffface->charmaps[nn]; in cff_face_init()
932 if ( cmap->platform_id == TT_PLATFORM_MICROSOFT && in cff_face_init()
933 cmap->encoding_id == TT_MS_ID_UNICODE_CS ) in cff_face_init()
937 if ( cmap->platform_id == TT_PLATFORM_APPLE_UNICODE ) in cff_face_init()
/AliOS-Things-master/components/freetype/src/pcf/
A Dpcfdrivr.c77 PCF_CMap cmap = (PCF_CMap)pcfcmap; in pcf_cmap_init() local
84 cmap->encodings = face->encodings; in pcf_cmap_init()
93 PCF_CMap cmap = (PCF_CMap)pcfcmap; in pcf_cmap_done() local
96 cmap->encodings = NULL; in pcf_cmap_done()
97 cmap->num_encodings = 0; in pcf_cmap_done()
105 PCF_CMap cmap = (PCF_CMap)pcfcmap; in pcf_cmap_char_index() local
106 PCF_Encoding encodings = cmap->encodings; in pcf_cmap_char_index()
112 max = cmap->num_encodings; in pcf_cmap_char_index()
143 PCF_Encoding encodings = cmap->encodings; in pcf_cmap_char_next()
150 max = cmap->num_encodings; in pcf_cmap_char_next()
[all …]
/AliOS-Things-master/components/freetype/src/bdf/
A Dbdfdrivr.c56 FT_CMapRec cmap; member
67 BDF_CMap cmap = (BDF_CMap)bdfcmap; in bdf_cmap_init() local
73 cmap->encodings = face->en_table; in bdf_cmap_init()
82 BDF_CMap cmap = (BDF_CMap)bdfcmap; in bdf_cmap_done() local
85 cmap->encodings = NULL; in bdf_cmap_done()
86 cmap->num_encodings = 0; in bdf_cmap_done()
95 BDF_encoding_el* encodings = cmap->encodings; in bdf_cmap_char_index()
101 max = cmap->num_encodings; in bdf_cmap_char_index()
134 BDF_encoding_el* encodings = cmap->encodings; in bdf_cmap_char_next()
141 max = cmap->num_encodings; in bdf_cmap_char_next()
[all …]
/AliOS-Things-master/components/freetype/src/winfonts/
A Dwinfnt.c586 FT_CMapRec cmap; member
594 fnt_cmap_init( FNT_CMap cmap ) in fnt_cmap_init() argument
601 cmap->count = (FT_UInt32)( font->header.last_char - cmap->first + 1 ); in fnt_cmap_init()
608 fnt_cmap_char_index( FNT_CMap cmap, in fnt_cmap_char_index() argument
614 char_code -= cmap->first; in fnt_cmap_char_index()
615 if ( char_code < cmap->count ) in fnt_cmap_char_index()
624 fnt_cmap_char_next( FNT_CMap cmap, in fnt_cmap_char_next() argument
632 if ( char_code <= cmap->first ) in fnt_cmap_char_next()
634 result = cmap->first; in fnt_cmap_char_next()
639 char_code -= cmap->first; in fnt_cmap_char_next()
[all …]
/AliOS-Things-master/components/freetype/src/cache/
A Dftccmap.c312 FT_CharMap old, cmap = NULL; in FTC_CMapCache_Lookup() local
316 cmap = face->charmaps[cmap_index]; in FTC_CMapCache_Lookup()
318 if ( old != cmap && !no_cmap_change ) in FTC_CMapCache_Lookup()
319 FT_Set_Charmap( face, cmap ); in FTC_CMapCache_Lookup()
323 if ( old != cmap && !no_cmap_change ) in FTC_CMapCache_Lookup()
/AliOS-Things-master/components/freetype/include/internal/
A Dftobjs.h150 (*FT_CMap_InitFunc)( FT_CMap cmap,
154 (*FT_CMap_DoneFunc)( FT_CMap cmap );
157 (*FT_CMap_CharIndexFunc)( FT_CMap cmap,
161 (*FT_CMap_CharNextFunc)( FT_CMap cmap,
165 (*FT_CMap_CharVarIndexFunc)( FT_CMap cmap,
171 (*FT_CMap_CharVarIsDefaultFunc)( FT_CMap cmap,
176 (*FT_CMap_VariantListFunc)( FT_CMap cmap,
180 (*FT_CMap_CharVariantListFunc)( FT_CMap cmap,
185 (*FT_CMap_VariantCharListFunc)( FT_CMap cmap,
291 FT_CMap_Done( FT_CMap cmap );
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/examples/
A Dgifdec.c94 const ColorMapObject* const cmap = in Remap() local
96 if (cmap == NULL) return 1; in Remap()
97 if (cmap->Colors == NULL || cmap->ColorCount <= 0) return 0; in Remap()
98 colors = cmap->Colors; in Remap()
103 } else if (src[i] < cmap->ColorCount) { in Remap()
A Danim_util.c465 const ColorMapObject* const cmap, in RemapPixelsGIF() argument
472 const GifColorType c = cmap->Colors[src[i]]; in RemapPixelsGIF()
482 const ColorMapObject* cmap, int transparent_color, in ReadFrameGIF() argument
489 if (image_desc->ColorMap) cmap = image_desc->ColorMap; in ReadFrameGIF()
491 if (cmap == NULL || cmap->ColorCount != (1 << cmap->BitsPerPixel)) { in ReadFrameGIF()
500 RemapPixelsGIF(in, cmap, transparent_color, image_desc->Width, out); in ReadFrameGIF()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/
A Dpal2rgb.c81 int cmap = -1; in main() local
93 cmap = atoi(optarg); in main()
169 if (cmap == -1) in main()
170 cmap = checkcmap(1<<bitspersample, rmap, gmap, bmap); in main()
171 if (cmap == 16) { in main()
A Dthumbnail.c392 static uint8 cmap[256]; /* colormap indexes */ variable
452 cmap[i] = clamp(255*pct[(256-1)-i], 0, 255); in setupCmap()
456 cmap[i] = clamp(255*pct[i], 0, 255); in setupCmap()
543 *row++ = cmap[(255*acc)/area]; in setrow()
/AliOS-Things-master/components/freetype/src/base/
A Dftobjs.c3225 clazz->done( cmap ); in ft_cmap_done_internal()
3227 FT_FREE( cmap ); in ft_cmap_done_internal()
3232 FT_CMap_Done( FT_CMap cmap ) in FT_CMap_Done() argument
3234 if ( cmap ) in FT_CMap_Done()
3286 FT_CMap cmap = NULL; in FT_CMap_New() local
3297 cmap->charmap = *charmap; in FT_CMap_New()
3298 cmap->clazz = clazz; in FT_CMap_New()
3318 *acmap = cmap; in FT_CMap_New()
3324 cmap = NULL; in FT_CMap_New()
3348 result = cmap->clazz->char_index( cmap, (FT_UInt32)charcode ); in FT_Get_Char_Index()
[all …]
/AliOS-Things-master/components/SDL2/src/image/
A DIMG_gif.c161 unsigned char cmap[3][MAXCOLORMAPSIZE],
542 unsigned char cmap[3][MAXCOLORMAPSIZE], in ReadImage()
572 ImageSetCmap(image, i, cmap[CM_RED][i], in ReadImage()
573 cmap[CM_GREEN][i], cmap[CM_BLUE][i]); in ReadImage()
A DIMG_xcf.c108 char * cmap; member
273 prop->data.colormap.cmap = (char *) SDL_malloc (sizeof (char) * prop->data.colormap.num * 3); in xcf_read_property()
274 SDL_RWread (src, prop->data.colormap.cmap, prop->data.colormap.num*3, 1); in xcf_read_property()
358 SDL_memcpy (h->cm_map, prop.data.colormap.cmap, 3*sizeof (char)*h->cm_num); in read_xcf_header()
360 SDL_free (prop.data.colormap.cmap); in read_xcf_header()
402 SDL_free (prop.data.colormap.cmap); in read_xcf_layer()
/AliOS-Things-master/components/freetype/include/internal/services/
A Dsvpscmap.h66 FT_CMapRec cmap; member
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Drdrle.c213 colormap = source->header.cmap; in get_pseudocolor_row()
253 colormap = source->header.cmap; in load_image()
A Dwrrle.c200 header.cmap = dest->colormap; in finish_output_rle()

Completed in 52 milliseconds

12