Searched refs:palette (Results 76 - 100 of 318) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Ddsicinvideo.c41 uint32_t palette[256]; member in struct:CinVideoContext
207 /* handle palette */
214 cin->palette[i] = 0xFFU << 24 | bytestream_get_le24(&buf);
219 cin->palette[buf[0]] = 0xFFU << 24 | AV_RL24(buf + 1);
278 memcpy(cin->frame->data[1], cin->palette, sizeof(cin->palette));
H A Dcdxl.c47 const uint8_t *palette; member in struct:__anon3104
70 unsigned rgb = AV_RB16(&c->palette[i * 2]);
233 c->palette = buf + 32;
234 c->video = c->palette + c->palette_size;
H A Deacmv.c42 unsigned int palette[AVPALETTE_COUNT]; member in struct:CmvContext
164 s->palette[i] = 0xFFU << 24 | AV_RB24(buf);
204 memcpy(frame->data[1], s->palette, AVPALETTE_SIZE);
H A Djvdec.c38 uint32_t palette[AVPALETTE_COUNT]; member in struct:JvContext
188 s->palette[i] = 0xFFU << 24 | pal << 2 | ((pal >> 4) & 0x30303);
199 memcpy(s->frame->data[1], s->palette, AVPALETTE_SIZE);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dimagbmp.cpp28 #include "wx/palette.h"
226 wxPalette *palette = NULL; // entries for quantized images local
234 // make a new palette and quantize the image
242 wxQuantize::Quantize( *image, *q_image, &palette, quantize, 0,
248 palette = new wxPalette(image->GetPalette());
259 if ( !palette->GetRGB(i, &r, &g, &b) )
298 delete palette;
336 buffer[x] = (wxUint8)palette->GetPixel( data[pixel],
340 // FIXME: what should this be? use some std palette maybe?
371 ((wxUint8)palette
[all...]
H A Dimagtga.cpp28 #include "wx/palette.h"
206 // Load a palette if we have one.
225 // Set the palette of the image.
243 const wxPalette& palette = image->GetPalette(); local
270 palette.GetRGB(imageData[index], &r, &g, &b);
285 palette.GetRGB(imageData[index], &r, &g, &b);
438 const wxPalette& palette = image->GetPalette(); local
465 palette.GetRGB(imageData[index], &r, &g, &b);
480 palette.GetRGB(imageData[index], &r, &g, &b);
H A Dquantize.cpp45 #include "wx/palette.h"
1454 unsigned char *palette, int desiredNoColours)
1476 palette[3 * i + 0] = dec.colormap[0][i];
1477 palette[3 * i + 1] = dec.colormap[1][i];
1478 palette[3 * i + 2] = dec.colormap[2][i];
1512 // Shift the palette up by the number of Windows system colours,
1531 unsigned char palette[3*256]; local
1533 // This is the image as represented by palette indexes.
1539 //RGB->palette
1540 DoQuantize(w, h, rows, outrows, palette, desiredNoColour
1453 DoQuantize(unsigned w, unsigned h, unsigned char **in_rows, unsigned char **out_rows, unsigned char *palette, int desiredNoColours) argument
1638 wxPalette* palette = NULL; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mgl/
H A Dbitmap.cpp164 // 8bpp ones. We do that by using a special palette with color 0
355 wxCHECK_RET( mono != NULL, wxT("bitmap w/o palette") );
393 wxFAIL_MSG( wxT("bitmap with this depth cannot have palette") );
441 bool wxBitmap::SaveFile(const wxString& filename, wxBitmapType type, const wxPalette *palette) const
450 if ( palette )
451 image.SetPalette(*palette);
462 return handler->SaveFile(this, filename, type, palette);
472 void wxBitmap::SetPalette(const wxPalette& palette) argument
475 wxCHECK_RET( GetDepth() > 1 && GetDepth() <= 8, wxT("cannot set palette for bitmap of this depth") );
481 if ( !palette
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libswscale/
H A Dswscale.h329 * The output frame will have the same packed format as the palette.
334 * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
336 void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
341 * With the palette format "ABCD", the destination frame ends up with the format "ABC".
346 * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
348 void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/video/omap/
H A Dlcdc.c273 * LOADED_PALETTE can be cleared this way only in palette only
385 * Configure the LCD DMA for a palette load operation and do the palette
386 * downloading synchronously. We don't use the frame+palette load mode of
387 * the controller, since the palette can always be downloaded separately.
391 u16 *palette; local
393 palette = (u16 *)lcdc.palette_virt;
395 *(u16 *)palette &= 0x0fff;
396 *(u16 *)palette |= lcdc.palette_code;
422 u16 *palette; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/qt/
H A Dtorrent-delegate.cc380 painter->fillRect(option.rect, option.palette.brush(cg, QPalette::Highlight));
424 painter->setPen( option.palette.color( cg, cr ) );
434 myProgressBarStyle->palette.setBrush( QPalette::Highlight, blueBrush );
435 myProgressBarStyle->palette.setColor( QPalette::Base, blueBack );
436 myProgressBarStyle->palette.setColor( QPalette::Background, blueBack );
439 myProgressBarStyle->palette.setBrush( QPalette::Highlight, greenBrush );
440 myProgressBarStyle->palette.setColor( QPalette::Base, greenBack );
441 myProgressBarStyle->palette.setColor( QPalette::Background, greenBack );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dgif.c30 * - uses only a global standard palette
62 uint8_t **bytestream, uint32_t *palette)
76 /* the global palette */
78 v = palette[i];
61 gif_image_write_header(AVCodecContext *avctx, uint8_t **bytestream, uint32_t *palette) argument
H A Dtxd.c52 const uint32_t *palette = (const uint32_t *)(cur + 88); local
100 v = AV_RB32(palette+y);
H A Dgifdec.c69 uint8_t *ptr, *spal, *palette, *ptr1; local
84 palette = s->local_palette;
86 palette = s->global_palette;
95 /* build the palette */
97 spal = palette;
H A Deacmv.c41 unsigned int palette[AVPALETTE_COUNT]; member in struct:CmvContext
139 s->palette[i] = AV_RB24(buf);
180 memcpy(s->frame.data[1], s->palette, AVPALETTE_SIZE);
H A Djvdec.c36 uint32_t palette[AVPALETTE_COUNT]; member in struct:JvContext
175 s->palette[i] = AV_RB24(buf) << 2;
186 memcpy(s->frame.data[1], s->palette, AVPALETTE_SIZE);
H A Drawdec.c34 uint32_t palette[AVPALETTE_COUNT]; member in struct:RawVideoContext
89 ff_set_systematic_pal2(context->palette, avctx->pix_fmt);
166 frame->data[1]= context->palette;
H A Dtiertexseqv.c170 uint32_t *palette; local
175 palette = (uint32_t *)seq->frame.data[1];
181 palette[i] = AV_RB24(c);
H A Dyop.c101 "YOP: palette parameters invalid, header probably corrupt\n");
196 uint32_t *palette; local
217 palette = (uint32_t *)s->frame.data[1];
220 palette[i + firstcolor] = (s->srcptr[0] << 18) |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libswscale/
H A Dswscale.h331 * The output frame will have the same packed format as the palette.
336 * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
338 void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
343 * With the palette format "ABCD", the destination frame ends up with the format "ABC".
348 * @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src
350 void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/contrib/samples/ogl/ogledit/
H A Dmakefile.dmc52 $(OBJS)\ogledit_palette.obj : .\palette.cpp
53 $(CXX) -mn -c -cpp -o$@ $(OGLEDIT_CXXFLAGS) .\palette.cpp
H A Dview.cpp32 #include "palette.h"
257 EditorToolPalette *palette = wxGetApp().frame->palette; local
259 switch (palette->currentlySelected)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dsmush.c53 uint32_t sample_rate, channels, palette[256]; local
75 palette[i] = avio_rb24(pb);
166 AV_WL32(vst->codec->extradata + 2 + i * 4, palette[i]);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/palmos/
H A Dbitmap.cpp35 #include "wx/palette.h"
294 const wxPalette *palette)
357 void wxBitmap::SetPalette(const wxPalette& palette) argument
398 // Construct a mask from a bitmap and a palette index indicating
419 // Create a mask from a bitmap and a palette index indicating
482 const wxPalette *WXUNUSED(palette))
292 SaveFile(const wxString& filename, int type, const wxPalette *palette) argument
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Didcin.c57 * color palette, apparently. Some creation tools specify red, green, and
58 * blue palette components in terms of 6-bit VGA color DAC values which
63 * - load the 768 palette bytes from disk
66 * - scan through all 768 palette bytes
226 uint32_t palette[256]; local
236 /* trigger a palette change */
239 /* scale the palette as necessary */
251 palette[i] = (r << 16) | (g << 8) | (b);
269 memcpy(pal, palette, AVPALETTE_SIZE);

Completed in 295 milliseconds

1234567891011>>