/external/skia/samplecode/ |
H A D | SampleClamp.cpp | 46 SkPicture pic; local 47 SkCanvas* c = pic.beginRecording(100, 100, 0);
|
H A D | SamplePicture.cpp | 59 SkPicture pic; local 62 SkCanvas* canvas = pic.beginRecording(100, 100); 83 c.drawPicture(pic);
|
/external/webp/src/enc/ |
H A D | alpha.c | 93 const WebPPicture* pic = enc->pic_; local 94 assert(pic->a); 95 if (!CompressAlpha(pic->a, pic->width * pic->height,
|
H A D | iterator.c | 78 const WebPPicture* const pic = enc->pic_; local 79 const uint8_t* ysrc = pic->y + (y * pic->y_stride + x) * 16; 80 const uint8_t* usrc = pic->u + (y * pic->uv_stride + x) * 8; 81 const uint8_t* vsrc = pic->v + (y * pic->uv_stride + x) * 8; 85 int w = (pic->width - x * 16); 86 int h = (pic->height - y * 16); 96 ysrc += pic 135 const WebPPicture* const pic = enc->pic_; local [all...] |
H A D | syntax.c | 42 WebPPicture* const pic) { 50 return WebPEncodingSetError(pic, VP8_ENC_ERROR_PARTITION0_OVERFLOW); 55 if (!pic->writer(RIFF, sizeof(RIFF), pic)) { 56 return WebPEncodingSetError(pic, VP8_ENC_ERROR_BAD_WRITE); 71 buf[6] = pic->width & 0xff; 72 buf[7] = pic->width >> 8; 73 buf[8] = pic->height & 0xff; 74 buf[9] = pic->height >> 8; 76 return pic 41 PutHeader(int profile, size_t size0, size_t total_size, WebPPicture* const pic) argument 141 EmitPartitionsSize(const VP8Encoder* const enc, WebPPicture* const pic) argument 172 WebPPicture* const pic = enc->pic_; local 250 WebPPicture* const pic = enc->pic_; local [all...] |
H A D | webpenc.c | 304 int WebPEncodingSetError(WebPPicture* const pic, WebPEncodingError error) { argument 307 pic->error_code = error; 313 int WebPEncode(const WebPConfig* const config, WebPPicture* const pic) { argument 317 if (pic == NULL) 319 WebPEncodingSetError(pic, VP8_ENC_OK); // all ok so far 321 return WebPEncodingSetError(pic, VP8_ENC_ERROR_NULL_PARAMETER); 323 return WebPEncodingSetError(pic, VP8_ENC_ERROR_INVALID_CONFIGURATION); 324 if (pic->width <= 0 || pic->height <= 0) 325 return WebPEncodingSetError(pic, VP8_ENC_ERROR_BAD_DIMENSIO [all...] |
H A D | frame.c | 516 WebPPicture* const pic = enc->pic_; local 518 if (pic->stats) { 525 if (pic->extra_info) { 526 uint8_t* const info = &pic->extra_info[it->x_ + it->y_ * enc->mb_w_]; 527 switch(pic->extra_info_type) {
|
/external/quake/quake/src/QW/client/ |
H A D | wad.c | 28 void SwapPic (qpic_t *pic); 154 void SwapPic (qpic_t *pic) argument 156 pic->width = LittleLong(pic->width); 157 pic->height = LittleLong(pic->height);
|
H A D | draw.c | 66 cachepic_t *pic; local 70 for (pic=menu_cachepics, i=0 ; i<menu_numcachepics ; pic++, i++) 71 if (!strcmp (path, pic->name)) 79 strcpy (pic->name, path); 82 dat = Cache_Check (&pic->cache); 88 // load the pic from disk 90 COM_LoadCacheFile (path, &pic->cache); 92 dat = (qpic_t *)pic->cache.data; 344 void Draw_Pic (int x, int y, qpic_t *pic) argument 395 Draw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height) argument 446 Draw_TransPic(int x, int y, qpic_t *pic) argument 533 Draw_TransPicTranslate(int x, int y, qpic_t *pic, byte *translation) argument [all...] |
H A D | sbar.c | 232 void Sbar_DrawPic (int x, int y, qpic_t *pic) argument 234 Draw_Pic (x /* + ((vid.width - 320)>>1) */, y + (vid.height-SBAR_HEIGHT), pic); 244 void Sbar_DrawSubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height) argument 246 Draw_SubPic (x, y+(vid.height-SBAR_HEIGHT), pic, srcx, srcy, width, height); 255 void Sbar_DrawTransPic (int x, int y, qpic_t *pic) argument 257 Draw_TransPic (x /*+ ((vid.width - 320)>>1) */, y + (vid.height-SBAR_HEIGHT), pic); 900 qpic_t *pic; local 920 pic = Draw_CachePic ("gfx/ranking.lmp"); 921 Draw_Pic (160-pic->width/2, 0, pic); 993 qpic_t *pic; local 1322 qpic_t *pic; local [all...] |
/external/quake/quake/src/WinQuake/ |
H A D | wad.cpp | 28 void SwapPic (qpic_t *pic); 154 void SwapPic (qpic_t *pic) argument 156 pic->width = LittleLong(pic->width); 157 pic->height = LittleLong(pic->height);
|
H A D | draw.cpp | 66 cachepic_t *pic; local 70 for (pic=menu_cachepics, i=0 ; i<menu_numcachepics ; pic++, i++) 71 if (!strcmp (path, pic->name)) 79 strcpy (pic->name, path); 82 dat = Cache_Check (&pic->cache); 88 // load the pic from disk 90 COM_LoadCacheFile (path, &pic->cache); 92 dat = (qpic_t *)pic->cache.data; 289 void Draw_Pic (int x, int y, qpic_t *pic) argument 340 Draw_TransPic(int x, int y, qpic_t *pic) argument 427 Draw_TransPicTranslate(int x, int y, qpic_t *pic, byte *translation) argument [all...] |
H A D | gl_screen.cpp | 462 qpic_t *pic; local 470 pic = Draw_CachePic ("gfx/pause.lmp"); 471 Draw_Pic ( (vid.width - pic->width)/2, 472 (vid.height - 48 - pic->height)/2, pic); 484 qpic_t *pic; local 489 pic = Draw_CachePic ("gfx/loading.lmp"); 490 Draw_Pic ( (vid.width - pic->width)/2, 491 (vid.height - 48 - pic->height)/2, pic); [all...] |
H A D | sbar.cpp | 66 void M_DrawPic (int x, int y, qpic_t *pic); 260 void Sbar_DrawPic (int x, int y, qpic_t *pic) argument 263 Draw_Pic (x /* + ((vid.width - 320)>>1)*/, y + (vid.height-SBAR_HEIGHT), pic); 265 Draw_Pic (x + ((vid.width - 320)>>1), y + (vid.height-SBAR_HEIGHT), pic); 273 void Sbar_DrawTransPic (int x, int y, qpic_t *pic) argument 276 Draw_TransPic (x /*+ ((vid.width - 320)>>1)*/, y + (vid.height-SBAR_HEIGHT), pic); 278 Draw_TransPic (x + ((vid.width - 320)>>1), y + (vid.height-SBAR_HEIGHT), pic); 1092 qpic_t *pic; local 1102 pic = Draw_CachePic ("gfx/ranking.lmp"); 1103 M_DrawPic ((320-pic 1173 qpic_t *pic; local 1275 qpic_t *pic; local 1321 qpic_t *pic; local [all...] |
H A D | screen.cpp | 404 qpic_t *pic; local 412 pic = Draw_CachePic ("gfx/pause.lmp"); 413 Draw_Pic ( (vid.width - pic->width)/2, 414 (vid.height - 48 - pic->height)/2, pic); 426 qpic_t *pic; local 431 pic = Draw_CachePic ("gfx/loading.lmp"); 432 Draw_Pic ( (vid.width - pic->width)/2, 433 (vid.height - 48 - pic->height)/2, pic); [all...] |
/external/qemu/hw/ |
H A D | armv7m.c | 162 static qemu_irq pic[64]; local 208 pic[i] = qdev_get_gpio_in(nvic, i); 240 return pic;
|
H A D | goldfish_device.c | 204 void goldfish_device_init(qemu_irq *pic, uint32_t base, uint32_t size, uint32_t irq, uint32_t irq_count) argument 206 goldfish_pic = pic;
|
H A D | piix_pci.c | 46 static void piix3_set_irq(qemu_irq *pic, int irq_num, int level); 172 PCIBus *i440fx_init(PCIDevice **pi440fx_state, qemu_irq *pic) argument 180 piix3_set_irq, pci_slot_get_pirq, pic, 0, 4); 214 static void piix3_set_irq(qemu_irq *pic, int irq_num, int level) argument 220 /* now we change the pic irq level according to the piix irq mappings */ 224 /* The pic level is the logical OR of all the PCI irqs mapped 231 qemu_set_irq(pic[pic_irq], pic_level);
|
H A D | pci.c | 39 /* low level pic */ 92 qemu_irq *pic, int devfn_min, int nirq) 102 bus->irq_opaque = pic; 90 pci_register_bus(DeviceState *parent, const char *name, pci_set_irq_fn set_irq, pci_map_irq_fn map_irq, qemu_irq *pic, int devfn_min, int nirq) argument
|
/external/srec/tools/grxmlcompile/ |
H A D | vocab.cpp | 185 bool Pronunciation::getPIC( int pronIndex, int picIndex, std::string &pic ) 214 pic = lphon + cphon + rphon; 242 std::string pic; local 243 getPIC(ii, jj, pic);
|
/external/webkit/Source/WebCore/platform/qt/ |
H A D | QtMobileWebStyle.cpp | 363 QPixmap pic = findComboButton(rect.size(), multiple, disabled); local 365 if (pic.isNull()) 368 int x = (rect.width() - pic.width()) >> 1; 369 int y = (rect.height() - pic.height()) >> 1; 370 painter->drawPixmap(rect.x() + x, rect.y() + y, pic);
|
/external/libpcap/ |
H A D | pcap1.h | 127 struct pcap1_info_container pic; member in struct:pcap1_info_timestamp 135 struct pcap1_info_container pic; member in struct:pcap1_info_packet 152 struct pcap1_info_container pic; member in struct:pcap1_info_probe 158 struct pcap1_info_container pic; member in struct:pcap1_info_comment
|
/external/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 478 WebPPicture pic; local 479 WebPPictureInit(&pic); 480 pic.width = bm.width(); 481 pic.height = bm.height(); 482 pic.writer = StreamWriter; 483 pic.custom_ptr = (void*)stream; 487 const int rgb_stride = pic.width * 3; 491 uint8_t* rgb = new uint8_t[rgb_stride * pic.height]; 492 for (int y = 0; y < pic.height; ++y) { 494 pic [all...] |
/external/valgrind/main/memcheck/tests/ |
H A D | vcpu_fbench.c | 357 #define pic 3.1415926535897932 macro 361 static double pi = pic, 362 twopi =pic * 2.0, 363 piover4 = pic / 4.0, 364 fouroverpi = 4.0 / pic, 365 piover2 = pic / 2.0; 549 temp += pic; 551 temp -= pic;
|
/external/valgrind/main/perf/ |
H A D | fbench.c | 353 #define pic 3.1415926535897932 macro 357 static double pi = pic, 358 twopi =pic * 2.0, 359 piover4 = pic / 4.0, 360 fouroverpi = 4.0 / pic, 361 piover2 = pic / 2.0; 545 temp += pic; 547 temp -= pic;
|