HomeSort by relevance Sort by last modified time
    Searched refs:palette (Results 76 - 100 of 286) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/opencv/
cvjni.h 184 PaletteEntry palette[256]; local
214 FillGrayPalette( palette, 8 );
215 m_strm->PutBytes( palette, sizeof(palette));
  /external/opencv/otherlibs/highgui/
grfmt_pxm.cpp 201 PaletteEntry palette[256]; local
227 FillGrayPalette( palette, m_bpp==1 ? 1 : 8 , m_bpp == 1 );
246 FillColorRow8( data, src, m_width, palette );
258 FillColorRow1( data, src, m_width, palette );
grfmt_bmp.cpp 507 PaletteEntry palette[256]; local
532 FillGrayPalette( palette, 8 );
533 m_strm.PutBytes( palette, sizeof(palette));
  /frameworks/base/core/java/android/app/
WallpaperColors.java 31 import com.android.internal.graphics.palette.Palette;
32 import com.android.internal.graphics.palette.VariationalKMeansQuantizer;
160 final Palette palette = Palette local
169 final ArrayList<Palette.Swatch> swatches = new ArrayList<>(palette.getSwatches());
405 // This avoids unnecessary processing and allocation inside Palette.
  /hardware/intel/img/psb_video/src/
psb_surface_ext.h 112 PsbAYUVSample8 *palette_ptr; /* point to image palette */
114 uint32_t palette[16]; /* used to pass palette to server */ member in union:_PsbVASurface::__anon47917
115 PsbAYUVSample8 constant[16]; /* server convert palette into SGX constants */
  /external/skia/src/codec/
SkPngCodec.cpp 254 png_color* palette; local
255 if (!png_get_PLTE(fPng_ptr, fInfo_ptr, &palette, &numColors)) {
280 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue);
281 palette++;
290 SkASSERT(&palette->red < &palette->green);
291 SkASSERT(&palette->green < &palette->blue)
    [all...]
  /external/skqp/src/codec/
SkPngCodec.cpp 254 png_color* palette; local
255 if (!png_get_PLTE(fPng_ptr, fInfo_ptr, &palette, &numColors)) {
280 colorTable[i] = proc(alphas[i], palette->red, palette->green, palette->blue);
281 palette++;
290 SkASSERT(&palette->red < &palette->green);
291 SkASSERT(&palette->green < &palette->blue)
    [all...]
  /external/webp/src/utils/
utils.c 250 int WebPGetColorPalette(const WebPPicture* const pic, uint32_t* const palette) {
292 if (palette != NULL) { // Fill the colors into palette.
296 palette[num_colors] = colors[i];
utils.h 165 // If 'palette' is not NULL and number of unique colors is less than or equal to
166 // MAX_PALETTE_SIZE, also outputs the actual unique colors into 'palette'.
167 // Note: 'palette' is assumed to be an array already allocated with at least
170 uint32_t* const palette);
  /packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
ColorExtractionAlgorithm.java 47 // Used for tonal palette fitting
74 // palette and finds a best fit amongst a collection of pre-defined
76 // and replaces the original palette
103 // the Material Tonal Palette defines hues from 0 to 1.
106 // Find the palette that contains the closest color
107 TonalPalette palette = findTonalPalette(hsl[0], hsl[1]); local
108 if (palette == null) {
109 Log.w(TAG, "Could not find a tonal palette!");
113 // Figure out what's the main color index in the optimal palette
114 int fitIndex = bestFit(palette, hsl[0], hsl[1], hsl[2])
    [all...]
  /external/ImageMagick/coders/
sixel.c 230 /* convert sixel data into indexed pixel bytes and palette data */
235 unsigned char /* out */ **palette, /* ARGB palette */
236 size_t /* out */ *ncolors /* palette size (<= 256) */)
537 *palette = (unsigned char *) AcquireQuantumMemory(*ncolors,4);
539 (*palette)[n * 4 + 0] = sixel_palet[n] >> 16 & 0xff;
540 (*palette)[n * 4 + 1] = sixel_palet[n] >> 8 & 0xff;
541 (*palette)[n * 4 + 2] = sixel_palet[n] & 0xff;
542 (*palette)[n * 4 + 3] = 0xff;
655 /* designate palette index *
    [all...]
  /bionic/libc/kernel/uapi/linux/dvb/
video.h 125 __u8 __user * palette; member in struct:video_spu_palette
  /external/kernel-headers/original/uapi/linux/dvb/
video.h 189 typedef struct video_spu_palette { /* SPU Palette information */
191 __u8 __user *palette; member in struct:video_spu_palette
  /external/mesa3d/src/gallium/auxiliary/vl/
vl_compositor.h 219 struct pipe_sampler_view *palette,
  /frameworks/support/palette/src/androidTest/java/androidx/palette/graphics/
SwatchTests.java 17 package androidx.palette.graphics;
43 final Palette p = Palette.from(TestUtils.loadSampleBitmap()).generate();
45 for (Palette.Swatch swatch : p.getSwatches()) {
53 final Palette p = Palette.from(TestUtils.loadSampleBitmap()).generate();
55 for (Palette.Swatch swatch : p.getSwatches()) {
63 final Palette p = Palette.from(TestUtils.loadSampleBitmap()).generate();
65 for (Palette.Swatch swatch : p.getSwatches())
    [all...]
  /packages/apps/TV/
Android.mk 53 android-support-v7-palette \
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/dvb/
video.h 186 typedef struct video_spu_palette { /* SPU Palette information */
188 __u8 *palette; member in struct:video_spu_palette
  /external/libpng/contrib/libtests/
makepng.c 54 * The palette always has 2^bit-depth entries and the tRNS chunk one fewer. The
55 * image is the 1-channel diamond, but using palette index, not luminosity.
80 * will have exactly one palette entry and all image files with be 16x16 in
249 generate_palette(png_colorp palette, png_bytep trans, int bit_depth,
269 set_color(palette+0, trans+0, colors[1], colors[1], colors[1], 255,
274 set_color(palette+0, trans+0, colors[1], colors[1], colors[1],
279 set_color(palette+0, trans+0, colors[1], colors[2], colors[3], 255,
284 set_color(palette+0, trans+0, colors[1], colors[2], colors[3],
291 set_color(palette+0, trans+0, 255, 0, 0, 0, gamma_table);
292 set_color(palette+1, trans+1, 255, 255, 255, 255, gamma_table)
890 png_color palette[256]; local
    [all...]
  /external/zopfli/src/zopflipng/lodepng/
lodepng.cpp 3480 unsigned char* palette; \/*size 1024. Remember up to the first 256 RGBA colors*\/ member in struct:ColorProfile
    [all...]
  /external/libvncserver/libvncserver/
zrleencodetemplate.c 127 /* First find the palette and the number of runs */
163 zrleOutStreamWRITE_PIXEL(os, ph->palette[0]);
167 /* Try to work out whether to use RLE and/or a palette. We do this by
215 zrleOutStreamWRITE_PIXEL(os, ph->palette[i]);
  /frameworks/base/packages/SystemUI/
Android.mk 46 android-support-v7-palette \
  /packages/apps/Messaging/
Android.mk 32 android-support-v7-palette \
  /prebuilts/go/darwin-x86/src/image/draw/
bench_test.go 19 var palette = color.Palette{ var
59 // The == operator isn't defined on a color.Palette (a slice), so we
61 if reflect.DeepEqual(dcm, palette) {
62 dst1 := image.NewPaletted(image.Rect(0, 0, dstw, dsth), palette)
240 bench(b, palette, color.RGBAModel, nil, Src)
  /prebuilts/go/darwin-x86/src/image/png/
reader.go 110 palette color.Palette
118 // transparency, as opposed to palette transparency.
232 np := int(length / 3) // The number of palette entries.
243 d.palette = make(color.Palette, 256)
245 d.palette[i] = color.RGBA{d.tmp[3*i+0], d.tmp[3*i+1], d.tmp[3*i+2], 0xff}
248 // Initialize the rest of the palette to opaque black. The spec (section
253 d.palette[i] = color.RGBA{0x00, 0x00, 0x00, 0xff}
255 d.palette = d.palette[:np
    [all...]
  /prebuilts/go/linux-x86/src/image/draw/
bench_test.go 19 var palette = color.Palette{ var
59 // The == operator isn't defined on a color.Palette (a slice), so we
61 if reflect.DeepEqual(dcm, palette) {
62 dst1 := image.NewPaletted(image.Rect(0, 0, dstw, dsth), palette)
240 bench(b, palette, color.RGBAModel, nil, Src)

Completed in 805 milliseconds

1 2 34 5 6 7 8 91011>>