Home
last modified time | relevance | path

Searched refs:palette_index (Results 1 – 25 of 41) sorted by relevance

12

/third_party/harfbuzz/src/
Dhb-ot-color-cpal-table.hh52 unsigned int palette_index, in get_palette_flags()
57 (base+paletteFlagsZ).as_array (palette_count)[palette_index]; in get_palette_flags()
61 unsigned int palette_index, in get_palette_name_id()
65 return (base+paletteLabelsZ).as_array (palette_count)[palette_index]; in get_palette_name_id()
120 hb_ot_color_palette_flags_t get_palette_flags (unsigned int palette_index) const in get_palette_flags()
121 { return v1 ().get_palette_flags (this, palette_index, numPalettes); } in get_palette_flags()
123 hb_ot_name_id_t get_palette_name_id (unsigned int palette_index) const in get_palette_name_id()
124 { return v1 ().get_palette_name_id (this, palette_index, numPalettes); } in get_palette_name_id()
129 unsigned int get_palette_colors (unsigned int palette_index, in get_palette_colors()
134 if (unlikely (palette_index >= numPalettes)) in get_palette_colors()
[all …]
Dhb-ot-color.cc108 unsigned int palette_index) in hb_ot_color_palette_get_name_id() argument
110 return face->table.CPAL->get_palette_name_id (palette_index); in hb_ot_color_palette_get_name_id()
148 unsigned int palette_index) in hb_ot_color_palette_get_flags() argument
150 return face->table.CPAL->get_palette_flags (palette_index); in hb_ot_color_palette_get_flags()
176 unsigned int palette_index, in hb_ot_color_palette_get_colors() argument
181 return face->table.CPAL->get_palette_colors (palette_index, start_offset, colors_count, colors); in hb_ot_color_palette_get_colors()
Dhb-ot-color.h54 unsigned int palette_index);
81 unsigned int palette_index);
85 unsigned int palette_index,
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cpal-table.hh52 unsigned int palette_index, in get_palette_flags()
57 (base+paletteFlagsZ).as_array (palette_count)[palette_index]; in get_palette_flags()
61 unsigned int palette_index, in get_palette_name_id()
65 return (base+paletteLabelsZ).as_array (palette_count)[palette_index]; in get_palette_name_id()
120 hb_ot_color_palette_flags_t get_palette_flags (unsigned int palette_index) const in get_palette_flags()
121 { return v1 ().get_palette_flags (this, palette_index, numPalettes); } in get_palette_flags()
123 hb_ot_name_id_t get_palette_name_id (unsigned int palette_index) const in get_palette_name_id()
124 { return v1 ().get_palette_name_id (this, palette_index, numPalettes); } in get_palette_name_id()
129 unsigned int get_palette_colors (unsigned int palette_index, in get_palette_colors()
134 if (unlikely (palette_index >= numPalettes)) in get_palette_colors()
[all …]
Dhb-ot-color.cc116 unsigned int palette_index) in hb_ot_color_palette_get_name_id() argument
121 return face->table.CPAL->get_palette_name_id (palette_index); in hb_ot_color_palette_get_name_id()
162 unsigned int palette_index) in hb_ot_color_palette_get_flags() argument
167 return face->table.CPAL->get_palette_flags (palette_index); in hb_ot_color_palette_get_flags()
193 unsigned int palette_index, in hb_ot_color_palette_get_colors() argument
203 return face->table.CPAL->get_palette_colors (palette_index, start_offset, colors_count, colors); in hb_ot_color_palette_get_colors()
Dhb-ot-color.h54 unsigned int palette_index);
79 unsigned int palette_index);
83 unsigned int palette_index,
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cpal-table.hh51 unsigned int palette_index, in get_palette_flags()
56 (base+paletteFlagsZ).as_array (palette_count)[palette_index]; in get_palette_flags()
60 unsigned int palette_index, in get_palette_name_id()
64 return (base+paletteLabelsZ).as_array (palette_count)[palette_index]; in get_palette_name_id()
159 hb_ot_color_palette_flags_t get_palette_flags (unsigned int palette_index) const in get_palette_flags()
160 { return v1 ().get_palette_flags (this, palette_index, numPalettes); } in get_palette_flags()
162 hb_ot_name_id_t get_palette_name_id (unsigned int palette_index) const in get_palette_name_id()
163 { return v1 ().get_palette_name_id (this, palette_index, numPalettes); } in get_palette_name_id()
168 unsigned int get_palette_colors (unsigned int palette_index, in get_palette_colors()
173 if (unlikely (palette_index >= numPalettes)) in get_palette_colors()
[all …]
Dhb-ot-color.cc108 unsigned int palette_index) in hb_ot_color_palette_get_name_id() argument
110 return face->table.CPAL->get_palette_name_id (palette_index); in hb_ot_color_palette_get_name_id()
148 unsigned int palette_index) in hb_ot_color_palette_get_flags() argument
150 return face->table.CPAL->get_palette_flags (palette_index); in hb_ot_color_palette_get_flags()
176 unsigned int palette_index, in hb_ot_color_palette_get_colors() argument
181 return face->table.CPAL->get_palette_colors (palette_index, start_offset, colors_count, colors); in hb_ot_color_palette_get_colors()
Dhb-ot-color.h54 unsigned int palette_index);
81 unsigned int palette_index);
85 unsigned int palette_index,
Dhb-subset-plan.cc65 for (unsigned palette_index : palette_indexes->iter ()) in _remap_palette_indexes() local
67 if (palette_index == 0xFFFF) in _remap_palette_indexes()
69 mapping->set (palette_index, palette_index); in _remap_palette_indexes()
72 mapping->set (palette_index, new_idx); in _remap_palette_indexes()
/third_party/freetype/src/base/
Dftcolor.c55 FT_UShort palette_index, in FT_Palette_Select() argument
78 error = sfnt->set_palette( ttface, palette_index ); in FT_Palette_Select()
82 ttface->palette_index = palette_index; in FT_Palette_Select()
130 FT_UShort palette_index, in FT_Palette_Select() argument
134 FT_UNUSED( palette_index ); in FT_Palette_Select()
/third_party/skia/third_party/externals/freetype/src/base/
Dftcolor.c55 FT_UShort palette_index, in FT_Palette_Select() argument
78 error = sfnt->set_palette( ttface, palette_index ); in FT_Palette_Select()
82 ttface->palette_index = palette_index; in FT_Palette_Select()
130 FT_UShort palette_index, in FT_Palette_Select() argument
134 FT_UNUSED( palette_index ); in FT_Palette_Select()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftcolor.c56 FT_UShort palette_index, in FT_Palette_Select() argument
79 error = sfnt->set_palette( ttface, palette_index ); in FT_Palette_Select()
83 ttface->palette_index = palette_index; in FT_Palette_Select()
131 FT_UShort palette_index, in FT_Palette_Select() argument
135 FT_UNUSED( palette_index ); in FT_Palette_Select()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcpal.c262 FT_UInt palette_index ) in tt_face_palette_set() argument
275 if ( !cpal || palette_index >= face->palette_data.num_palettes ) in tt_face_palette_set()
278 offset = cpal->color_indices + 2 * palette_index; in tt_face_palette_set()
Dttcpal.h40 FT_UInt palette_index );
/third_party/freetype/src/sfnt/
Dttcpal.c262 FT_UInt palette_index ) in tt_face_palette_set() argument
275 if ( !cpal || palette_index >= face->palette_data.num_palettes ) in tt_face_palette_set()
278 offset = cpal->color_indices + 2 * palette_index; in tt_face_palette_set()
Dttcpal.h40 FT_UInt palette_index );
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttcpal.c263 FT_UInt palette_index ) in tt_face_palette_set() argument
276 if ( !cpal || palette_index >= face->palette_data.num_palettes ) in tt_face_palette_set()
279 offset = cpal->color_indices + 2 * palette_index; in tt_face_palette_set()
Dttcpal.h41 FT_UInt palette_index );
/third_party/ffmpeg/libavcodec/
Dvmdvideo.c391 int palette_index = 0; in vmdvideo_decode_init() local
418 r = raw_palette[palette_index++] * 4; in vmdvideo_decode_init()
419 g = raw_palette[palette_index++] * 4; in vmdvideo_decode_init()
420 b = raw_palette[palette_index++] * 4; in vmdvideo_decode_init()
Djpeglsdec.c79 s->palette_index = 0; in ff_jpegls_decode_lse()
106 maxtab = FFMIN(maxtab, (len - 5) / wt + s->palette_index); in ff_jpegls_decode_lse()
108 if (s->palette_index > maxtab) in ff_jpegls_decode_lse()
123 for (i=s->palette_index; i<=maxtab; i++) { in ff_jpegls_decode_lse()
130 s->palette_index = i; in ff_jpegls_decode_lse()
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp519 FT_UInt16& palette_index = color_stop.color.palette_index; in colrv1_configure_skpaint() local
520 if (palette_index == kForegroundColorPaletteIndex) { in colrv1_configure_skpaint()
524 } else if (palette_index >= palette.size()) { in colrv1_configure_skpaint()
527 U8CPU newAlpha = palette[palette_index].alpha * in colrv1_configure_skpaint()
530 palette[palette_index].red, in colrv1_configure_skpaint()
531 palette[palette_index].green, in colrv1_configure_skpaint()
532 palette[palette_index].blue); in colrv1_configure_skpaint()
556 if (solid.color.palette_index == kForegroundColorPaletteIndex) { in colrv1_configure_skpaint()
560 } else if (solid.color.palette_index >= palette.size()) { in colrv1_configure_skpaint()
563 U8CPU newAlpha = palette[solid.color.palette_index].alpha * in colrv1_configure_skpaint()
[all …]
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcolor.h265 FT_UShort palette_index,
578 FT_UInt16 palette_index; member
/third_party/freetype/include/freetype/
Dftcolor.h265 FT_UShort palette_index,
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/
Dftcolor.h263 FT_UShort palette_index,

12