/external/skia/samplecode/ |
SampleClamp.cpp | 53 SkPicture pic; local 54 SkCanvas* c = pic.beginRecording(100, 100, 0);
|
/external/webp/src/enc/ |
alpha.c | 93 const WebPPicture* pic = enc->pic_; local 94 assert(pic->a); 95 if (!CompressAlpha(pic->a, pic->width * pic->height,
|
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->y_stride 135 const WebPPicture* const pic = enc->pic_; local [all...] |
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->writer(buf, sizeof(buf), pic) 172 WebPPicture* const pic = enc->pic_; local 250 WebPPicture* const pic = enc->pic_; local [all...] |
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) {
|
picture.c | 169 int WebPPictureCrop(WebPPicture* const pic, 174 if (pic == NULL) return 0; 176 if (left < 0 || ((left + width + 1) & ~1) > pic->width) return 0; 177 if (top < 0 || ((top + height + 1) & ~1) > pic->height) return 0; 179 WebPPictureGrabSpecs(pic, &tmp); 186 pic->y + (top + y) * pic->y_stride + left, width); 189 const int offset = (y + top / 2) * pic->uv_stride + left / 2; 190 memcpy(tmp.u + y * tmp.uv_stride, pic->u + offset, (width + 1) / 2); 191 memcpy(tmp.v + y * tmp.uv_stride, pic->v + offset, (width + 1) / 2) 604 WebPPicture pic; local [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PictureTest.java | 63 Picture pic = new Picture(picture); local 66 pic.draw(canvas); 67 checkSize(pic);
|
/external/qemu/hw/ |
armv7m.c | 162 static qemu_irq pic[64]; local 208 pic[i] = qdev_get_gpio_in(nvic, i); 240 return pic;
|
/external/srec/tools/grxmlcompile/ |
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/ |
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/jmonkeyengine/engine/src/core-effects/com/jme3/water/ |
SimpleWaterProcessor.java | 249 protected void displayMap(Renderer r, Picture pic, int left) { 254 pic.setPosition(left, h / 20f); 256 pic.setWidth(128); 257 pic.setHeight(128); 258 pic.updateGeometricState(); 259 rm.renderGeometry(pic);
|
/external/libpcap/ |
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/quake/quake/src/QW/client/ |
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) [all...] |
sbar.c | 232 void Sbar_DrawPic (int x, int y, qpic_t *pic) 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) 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) 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/ |
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) [all...] |
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...] |
sbar.cpp | 66 void M_DrawPic (int x, int y, qpic_t *pic); 260 void Sbar_DrawPic (int x, int y, qpic_t *pic) 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) 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->width)/2, 8, pic) 1173 qpic_t *pic; local 1275 qpic_t *pic; local 1321 qpic_t *pic; local [all...] |
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/skia/src/images/ |
SkImageDecoder_libwebp.cpp | 537 WebPPicture pic; local 538 WebPPictureInit(&pic); 539 pic.width = bm.width(); 540 pic.height = bm.height(); 541 pic.writer = StreamWriter; 542 pic.custom_ptr = (void*)stream; 546 const int rgb_stride = pic.width * 3; 550 uint8_t* rgb = new uint8_t[rgb_stride * pic.height]; 551 for (int y = 0; y < pic.height; ++y) { 553 pic.width, colors) [all...] |
/external/valgrind/main/memcheck/tests/ |
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/ |
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;
|
/hardware/qcom/media/mm-video/vidc/vdec/inc/ |
h264_utils.h | 149 // H264ParamNaluSet pic; 200 H264ParamNaluSet pic; member in class:H264_Utils
|
/development/apps/WidgetPreview/src/com/android/widgetpreview/ |
WidgetPreviewActivity.java | 251 File pic = buildFile(mAppWidgetName); local 252 if (pic == null) { 257 pic.getParentFile().mkdirs(); 260 fout = new FileOutputStream(pic);
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
FilterPostProcessor.java | 212 Picture pic = new Picture("debug");
field in class:FilterPostProcessor
|
/gdk/samples/quake/jni/ |
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...] |