/external/webp/src/enc/ |
D | syntax.c | 42 WebPPicture* const pic) { in PutHeader() argument 50 return WebPEncodingSetError(pic, VP8_ENC_ERROR_PARTITION0_OVERFLOW); in PutHeader() 55 if (!pic->writer(RIFF, sizeof(RIFF), pic)) { in PutHeader() 56 return WebPEncodingSetError(pic, VP8_ENC_ERROR_BAD_WRITE); in PutHeader() 71 buf[6] = pic->width & 0xff; in PutHeader() 72 buf[7] = pic->width >> 8; in PutHeader() 73 buf[8] = pic->height & 0xff; in PutHeader() 74 buf[9] = pic->height >> 8; in PutHeader() 76 return pic->writer(buf, sizeof(buf), pic); in PutHeader() 142 WebPPicture* const pic) { in EmitPartitionsSize() argument [all …]
|
D | picture.c | 169 int WebPPictureCrop(WebPPicture* const pic, in WebPPictureCrop() argument 174 if (pic == NULL) return 0; in WebPPictureCrop() 176 if (left < 0 || ((left + width + 1) & ~1) > pic->width) return 0; in WebPPictureCrop() 177 if (top < 0 || ((top + height + 1) & ~1) > pic->height) return 0; in WebPPictureCrop() 179 WebPPictureGrabSpecs(pic, &tmp); in WebPPictureCrop() 186 pic->y + (top + y) * pic->y_stride + left, width); in WebPPictureCrop() 189 const int offset = (y + top / 2) * pic->uv_stride + left / 2; in WebPPictureCrop() 190 memcpy(tmp.u + y * tmp.uv_stride, pic->u + offset, (width + 1) / 2); in WebPPictureCrop() 191 memcpy(tmp.v + y * tmp.uv_stride, pic->v + offset, (width + 1) / 2); in WebPPictureCrop() 198 pic->a + (top + y) * pic->a_stride + left, width); in WebPPictureCrop() [all …]
|
D | webpenc.c | 304 int WebPEncodingSetError(WebPPicture* const pic, WebPEncodingError error) { in WebPEncodingSetError() argument 307 pic->error_code = error; in WebPEncodingSetError() 313 int WebPEncode(const WebPConfig* const config, WebPPicture* const pic) { in WebPEncode() argument 317 if (pic == NULL) in WebPEncode() 319 WebPEncodingSetError(pic, VP8_ENC_OK); // all ok so far in WebPEncode() 321 return WebPEncodingSetError(pic, VP8_ENC_ERROR_NULL_PARAMETER); in WebPEncode() 323 return WebPEncodingSetError(pic, VP8_ENC_ERROR_INVALID_CONFIGURATION); in WebPEncode() 324 if (pic->width <= 0 || pic->height <= 0) in WebPEncode() 325 return WebPEncodingSetError(pic, VP8_ENC_ERROR_BAD_DIMENSION); in WebPEncode() 326 if (pic->y == NULL || pic->u == NULL || pic->v == NULL) in WebPEncode() [all …]
|
D | iterator.c | 78 const WebPPicture* const pic = enc->pic_; in VP8IteratorImport() local 79 const uint8_t* ysrc = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorImport() 80 const uint8_t* usrc = pic->u + (y * pic->uv_stride + x) * 8; in VP8IteratorImport() 81 const uint8_t* vsrc = pic->v + (y * pic->uv_stride + x) * 8; in VP8IteratorImport() 85 int w = (pic->width - x * 16); in VP8IteratorImport() 86 int h = (pic->height - y * 16); in VP8IteratorImport() 96 ysrc += pic->y_stride; in VP8IteratorImport() 114 usrc += pic->uv_stride; in VP8IteratorImport() 115 vsrc += pic->uv_stride; in VP8IteratorImport() 135 const WebPPicture* const pic = enc->pic_; in VP8IteratorExport() local [all …]
|
D | alpha.c | 93 const WebPPicture* pic = enc->pic_; in VP8EncFinishAlpha() local 94 assert(pic->a); in VP8EncFinishAlpha() 95 if (!CompressAlpha(pic->a, pic->width * pic->height, in VP8EncFinishAlpha()
|
/external/quake/quake/src/WinQuake/ |
D | draw.cpp | 66 cachepic_t *pic; in Draw_CachePic() local 70 for (pic=menu_cachepics, i=0 ; i<menu_numcachepics ; pic++, i++) in Draw_CachePic() 71 if (!strcmp (path, pic->name)) in Draw_CachePic() 79 strcpy (pic->name, path); in Draw_CachePic() 82 dat = Cache_Check (&pic->cache); in Draw_CachePic() 90 COM_LoadCacheFile (path, &pic->cache); in Draw_CachePic() 92 dat = (qpic_t *)pic->cache.data; in Draw_CachePic() 289 void Draw_Pic (int x, int y, qpic_t *pic) in Draw_Pic() argument 296 (x + pic->width > vid.width) || in Draw_Pic() 298 (y + pic->height > vid.height)) in Draw_Pic() [all …]
|
D | wad.cpp | 28 void SwapPic (qpic_t *pic); 154 void SwapPic (qpic_t *pic) in SwapPic() argument 156 pic->width = LittleLong(pic->width); in SwapPic() 157 pic->height = LittleLong(pic->height); in SwapPic()
|
D | gl_draw.cpp | 495 qpic_t pic; member 514 int GL_LoadPicTexture (qpic_t *pic) in GL_LoadPicTexture() argument 516 return GL_LoadTexture ("", pic->width, pic->height, pic->data, false, true); in GL_LoadPicTexture() 571 cachepic_t *pic; in Draw_CachePic() local 576 for (pic=menu_cachepics, i=0 ; i<menu_numcachepics ; pic++, i++) in Draw_CachePic() 577 if (!strcmp (path, pic->name)) in Draw_CachePic() 578 return &pic->pic; in Draw_CachePic() 583 strcpy (pic->name, path); in Draw_CachePic() 599 pic->pic.width = dat->width; in Draw_CachePic() 600 pic->pic.height = dat->height; in Draw_CachePic() [all …]
|
D | draw.h | 29 void Draw_Pic (int x, int y, qpic_t *pic); 30 void Draw_TransPic (int x, int y, qpic_t *pic); 31 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation);
|
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) in Sbar_DrawPic() argument 263 Draw_Pic (x /* + ((vid.width - 320)>>1)*/, y + (vid.height-SBAR_HEIGHT), pic); in Sbar_DrawPic() 265 Draw_Pic (x + ((vid.width - 320)>>1), y + (vid.height-SBAR_HEIGHT), pic); in Sbar_DrawPic() 273 void Sbar_DrawTransPic (int x, int y, qpic_t *pic) in Sbar_DrawTransPic() argument 276 Draw_TransPic (x /*+ ((vid.width - 320)>>1)*/, y + (vid.height-SBAR_HEIGHT), pic); in Sbar_DrawTransPic() 278 Draw_TransPic (x + ((vid.width - 320)>>1), y + (vid.height-SBAR_HEIGHT), pic); in Sbar_DrawTransPic() 1092 qpic_t *pic; in Sbar_DeathmatchOverlay() local 1102 pic = Draw_CachePic ("gfx/ranking.lmp"); in Sbar_DeathmatchOverlay() 1103 M_DrawPic ((320-pic->width)/2, 8, pic); in Sbar_DeathmatchOverlay() [all …]
|
D | gl_screen.cpp | 462 qpic_t *pic; in SCR_DrawPause() local 470 pic = Draw_CachePic ("gfx/pause.lmp"); in SCR_DrawPause() 471 Draw_Pic ( (vid.width - pic->width)/2, in SCR_DrawPause() 472 (vid.height - 48 - pic->height)/2, pic); in SCR_DrawPause() 484 qpic_t *pic; in SCR_DrawLoading() local 489 pic = Draw_CachePic ("gfx/loading.lmp"); in SCR_DrawLoading() 490 Draw_Pic ( (vid.width - pic->width)/2, in SCR_DrawLoading() 491 (vid.height - 48 - pic->height)/2, pic); in SCR_DrawLoading()
|
/external/libpng/scripts/ |
D | makefile.os2 | 56 png.o png.pic.o: png.h pngconf.h 57 pngerror.o pngerror.pic.o: png.h pngconf.h 58 pngrio.o pngrio.pic.o: png.h pngconf.h 59 pngwio.o pngwio.pic.o: png.h pngconf.h 60 pngmem.o pngmem.pic.o: png.h pngconf.h 61 pngset.o pngset.pic.o: png.h pngconf.h 62 pngget.o pngget.pic.o: png.h pngconf.h 63 pngread.o pngread.pic.o: png.h pngconf.h 64 pngrtran.o pngrtran.pic.o: png.h pngconf.h 65 pngrutil.o pngrutil.pic.o: png.h pngconf.h [all …]
|
/external/quake/quake/src/QW/client/ |
D | draw.c | 66 cachepic_t *pic; in Draw_CachePic() local 70 for (pic=menu_cachepics, i=0 ; i<menu_numcachepics ; pic++, i++) in Draw_CachePic() 71 if (!strcmp (path, pic->name)) in Draw_CachePic() 79 strcpy (pic->name, path); in Draw_CachePic() 82 dat = Cache_Check (&pic->cache); in Draw_CachePic() 90 COM_LoadCacheFile (path, &pic->cache); in Draw_CachePic() 92 dat = (qpic_t *)pic->cache.data; in Draw_CachePic() 344 void Draw_Pic (int x, int y, qpic_t *pic) in Draw_Pic() argument 351 (x + pic->width > vid.width) || in Draw_Pic() 353 (y + pic->height > vid.height)) in Draw_Pic() [all …]
|
D | gl_draw.c | 177 qpic_t pic; member 240 cachepic_t *pic; in Draw_CachePic() local 245 for (pic=menu_cachepics, i=0 ; i<menu_numcachepics ; pic++, i++) in Draw_CachePic() 246 if (!strcmp (path, pic->name)) in Draw_CachePic() 247 return &pic->pic; in Draw_CachePic() 252 strcpy (pic->name, path); in Draw_CachePic() 268 pic->pic.width = dat->width; in Draw_CachePic() 269 pic->pic.height = dat->height; in Draw_CachePic() 271 gl = (glpic_t *)pic->pic.data; in Draw_CachePic() 278 return &pic->pic; in Draw_CachePic() [all …]
|
D | wad.c | 28 void SwapPic (qpic_t *pic); 154 void SwapPic (qpic_t *pic) in SwapPic() argument 156 pic->width = LittleLong(pic->width); in SwapPic() 157 pic->height = LittleLong(pic->height); in SwapPic()
|
D | draw.h | 29 void Draw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height); 30 void Draw_Pic (int x, int y, qpic_t *pic); 31 void Draw_TransPic (int x, int y, qpic_t *pic); 32 void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation);
|
/external/qemu/hw/ |
D | audiodev.h | 5 int SB16_init(qemu_irq *pic); 8 int Adlib_init(qemu_irq *pic); 11 int GUS_init(qemu_irq *pic); 17 int cs4231a_init(qemu_irq *pic);
|
/external/libpng/contrib/gregbook/ |
D | Makefile.mingw32 | 67 ROBJSd = $(RPNG)$(O) readpng.pic$(O) 68 ROBJS2d = $(RPNG2)$(O) readpng2.pic$(O) 69 WOBJSd = $(WPNG)$(O) writepng.pic$(O) 90 %.pic$(O): %.c 120 readpng$(O) readpng.pic$(O): readpng.c readpng.h 121 readpng2$(O) readpng2.pic$(O): readpng2.c readpng2.h 122 writepng$(O) writepng.pic$(O): writepng.c writepng.h
|
/external/e2fsprogs/lib/ |
D | Makefile.bsd-lib | 17 @mkdir -p pic 25 (cd pic; ld -Bshareable -o $(BSD_LIB) $(OBJS)) 26 $(MV) pic/$(BSD_LIB) . 44 $(RM) -rf pic
|
D | Makefile.darwin-lib | 17 $(Q) mkdir -p pic 26 $(Q) (cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \ 28 $(Q) $(MV) pic/$(BSD_LIB) . 47 $(RM) -rf pic
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 537 WebPPicture pic; in onEncode() local 538 WebPPictureInit(&pic); in onEncode() 539 pic.width = bm.width(); in onEncode() 540 pic.height = bm.height(); in onEncode() 541 pic.writer = StreamWriter; in onEncode() 542 pic.custom_ptr = (void*)stream; in onEncode() 546 const int rgb_stride = pic.width * 3; in onEncode() 550 uint8_t* rgb = new uint8_t[rgb_stride * pic.height]; in onEncode() 551 for (int y = 0; y < pic.height; ++y) { in onEncode() 553 pic.width, colors); in onEncode() [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | rodata-relocs.ll | 3 ; RUN: llc < %s -relocation-model=pic | grep rodata | count 2 4 ; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel.ro" | count 2 5 ; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel.ro.local" | count 1 6 ; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel" | count 4 7 ; RUN: llc < %s -relocation-model=pic | grep -F ".data.rel.local" | count 1
|
/external/llvm/test/CodeGen/ARM/ |
D | load-global.ll | 2 ; RUN: llc < %s -mtriple=armv6-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s -check-… 3 ; RUN: llc < %s -mtriple=armv6-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=PIC 4 ; RUN: llc < %s -mtriple=thumbv6-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=PI… 5 ; RUN: llc < %s -mtriple=armv7-apple-darwin -relocation-model=pic | FileCheck %s -check-prefix=PIC_… 6 ; RUN: llc < %s -mtriple=armv6-linux-gnueabi -relocation-model=pic | FileCheck %s -check-prefix=LIN…
|
/external/valgrind/main/memcheck/tests/ |
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/ |
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;
|