Home
last modified time | relevance | path

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

/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()
Dhb-ot-color-colr-table.hh90 void add_palette_index (unsigned palette_index) in add_palette_index()
91 { palette_indices->add (palette_index); } in add_palette_index()
/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/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 );
Dttcolr.c480 apaint->u.solid.color.palette_index = FT_NEXT_USHORT( p ); in read_paint()
1028 color_stop->color.palette_index = FT_NEXT_USHORT( p ); in tt_face_get_colorline_stops()
1225 ( face->palette_data.palette_flags[face->palette_index] & in tt_face_colr_blend_layer()
/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()
Dmjpegdec.h117 int palette_index; member
Dmjpegdec.c683 } else if (s->palette_index && s->bits <= 8) in ff_mjpeg_decode_sof()
/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/skia/third_party/externals/freetype/include/freetype/internal/
Dtttypes.h1540 FT_UShort palette_index; member
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngvalid.c6016 unsigned int palette_index; /* For a palette image. */ member
6092 this->palette_index = this->red = this->green = this->blue = in image_pixel_init()
6104 unsigned int i = this->palette_index; in image_pixel_init()
6121 this->palette_index = this->red = this->green = this->blue = in image_pixel_init()
6877 if (in_pixel.palette_index != out_pixel.palette_index) in transform_image_validate()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.2107247 `palette_index', `palette', `have_foreground_color' and
7255 s/palette_index/palette_entry_index/ for consistency.
/third_party/chromium/patch/
D0001-cve.patch22961 color_stop->color.palette_index = FT_NEXT_USHORT( p );
72345 + 0/*palette_index*/,