/external/skia/bench/ |
H A D | RecordingBench.cpp | 13 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH) argument 14 : fSrc(SkRef(pic))
|
H A D | SKPAnimationBench.cpp | 13 SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic, argument 15 : INHERITED(name, pic, clip, 1.0, false)
|
H A D | SKPBench.cpp | 16 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, argument 18 : fPic(SkRef(pic))
|
/external/skia/samplecode/ |
H A D | SampleClamp.cpp | 53 SkPicture pic; local 54 SkCanvas* c = pic.beginRecording(100, 100, 0);
|
H A D | SamplePdfFileViewer.cpp | 43 SkPicture* pic = SkNEW(SkPicture); local 44 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), 47 pic->endRecording(); 48 return pic;
|
H A D | SamplePictFile.cpp | 126 SkAutoTUnref<SkPicture> pic; local 136 pic.reset(recorder.endRecording()); 140 pic.reset(SkPicture::CreateFromStream(&stream)); 147 pic->playback(recorder.beginRecording(pic->cullRect().width(), 148 pic->cullRect().height(), 159 if (NULL == pic) { 167 return pic.detach(); 176 pic->playback(recorder.beginRecording(pic [all...] |
/external/skia/tools/ |
H A D | pinspect.cpp | 38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); local 39 if (NULL == pic) { 44 pic->cullRect().fLeft, pic->cullRect().fTop, 45 pic->cullRect().fRight, pic->cullRect().fBottom); 46 return pic; 49 static void dumpOps(SkPicture* pic) { argument 53 canvas.drawPicture(pic); 76 SkAutoTUnref<SkPicture> pic(inspec [all...] |
/external/clang/test/Analysis/engine/ |
H A D | replay-without-inlining.c | 37 static void readILBM(IB *st, Info *pic) { argument 39 pic->usedtobeundef.w = 5; 52 Info pic; local 56 readILBM(&st,&pic); 57 return pic.usedtobeundef.w; // No undefined value warning here.
|
/external/skia/tests/ |
H A D | RecordReplaceDrawTest.cpp | 36 SkAutoTUnref<const SkPicture> pic; local 46 pic.reset(recorder.endRecording()); 53 GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), &callback); 71 SkAutoTUnref<const SkPicture> pic; local 80 pic.reset(recorder.endRecording()); 86 GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), NULL/*callback*/); 94 SkAutoTUnref<const SkPicture> pic; local 108 pic.reset(recorder.endRecording()); 115 GrCachedLayer* layer = layerCache->findLayerOrCreate(pic->uniqueID(), 0, 2, 135 GrRecordReplaceDraw(pic, [all...] |
/external/skia/tools/lua/ |
H A D | lua_pictures.cpp | 43 SkPicture* pic = NULL; local 45 pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap); 47 return pic; 146 SkAutoTUnref<SkPicture> pic(load_picture(path)); 147 if (pic.get()) { 149 new SkLuaCanvas(SkScalarCeilToInt(pic->cullRect().width()), 150 SkScalarCeilToInt(pic->cullRect().height()), 154 canvas->drawPicture(pic);
|
/external/webp/src/enc/ |
H A D | picture_rescale.c | 45 static void SnapTopLeftPosition(const WebPPicture* const pic, argument 47 if (!pic->use_argb) { 54 static int AdjustAndCheckRectangle(const WebPPicture* const pic, argument 57 SnapTopLeftPosition(pic, left, top); 60 if ((*left) + width > pic->width) return 0; 61 if ((*top) + height > pic->height) return 0; 132 int WebPPictureCrop(WebPPicture* pic, argument 136 if (pic == NULL) return 0; 137 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; 139 PictureGrabSpecs(pic, 196 AlphaMultiplyARGB(WebPPicture* const pic, int inverse) argument 202 AlphaMultiplyY(WebPPicture* const pic, int inverse) argument 209 WebPPictureRescale(WebPPicture* pic, int width, int height) argument [all...] |
H A D | picture.c | 234 WebPPicture pic; local 240 !WebPPictureInit(&pic)) { 245 pic.use_argb = !!lossless; 246 pic.width = width; 247 pic.height = height; 248 pic.writer = WebPMemoryWrite; 249 pic.custom_ptr = &wrt; 252 ok = import(&pic, rgba, stride) && WebPEncode(&config, &pic); 253 WebPPictureFree(&pic); [all...] |
H A D | picture_tools.c | 68 void WebPCleanupTransparentArea(WebPPicture* pic) { argument 70 if (pic == NULL) return; 71 w = pic->width / SIZE; 72 h = pic->height / SIZE; 75 if (pic->use_argb) { 80 const int off = (y * pic->argb_stride + x) * SIZE; 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { 83 argb_value = pic->argb[off]; 86 flatten_argb(pic 131 WebPBlendAlpha(WebPPicture* pic, uint32_t background_rgb) argument [all...] |
H A D | syntax.c | 29 static int PutPaddingByte(const WebPPicture* const pic) { argument 31 return !!pic->writer(pad_byte, 1, pic); 39 const WebPPicture* const pic = enc->pic_; local 45 if (!pic->writer(riff, sizeof(riff), pic)) { 52 const WebPPicture* const pic = enc->pic_; local 59 assert(pic->width >= 1 && pic->height >= 1); 60 assert(pic 77 const WebPPicture* const pic = enc->pic_; local 102 PutVP8Header(const WebPPicture* const pic, size_t vp8_size) argument 115 PutVP8FrameHeader(const WebPPicture* const pic, int profile, size_t size0) argument 151 WebPPicture* const pic = enc->pic_; local 248 EmitPartitionsSize(const VP8Encoder* const enc, WebPPicture* const pic) argument 312 WebPPicture* const pic = enc->pic_; local [all...] |
H A D | webpenc.c | 288 int WebPEncodingSetError(const WebPPicture* const pic, argument 292 ((WebPPicture*)pic)->error_code = error; 296 int WebPReportProgress(const WebPPicture* const pic, argument 300 if (pic->progress_hook && !pic->progress_hook(percent, pic)) { 302 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT); 310 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { argument 313 if (pic == NULL) 315 WebPEncodingSetError(pic, VP8_ENC_O [all...] |
H A D | alpha.c | 290 const WebPPicture* const pic = enc->pic_; local 291 const int width = pic->width; 292 const int height = pic->height; 302 assert(enc != NULL && pic != NULL && pic->a != NULL); 305 assert(pic->a_stride >= width); 327 CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); 341 output_size, pic->stats); 342 if (pic [all...] |
H A D | iterator.c | 130 const WebPPicture* const pic = enc->pic_; local 131 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; 132 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8; 133 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8; 134 const int w = MinSize(pic->width - x * 16, 16); 135 const int h = MinSize(pic->height - y * 16, 16); 139 ImportBlock(ysrc, pic 191 const WebPPicture* const pic = enc->pic_; local [all...] |
/external/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 66 SkPicture* pic = SkPicture::CreateFromStream(&stream); local 71 return pic;
|
/external/skia/gm/ |
H A D | filterfastbounds.cpp | 238 SkAutoTUnref<SkPicture> pic; variable 245 pic.reset(rec.endRecording()); 248 SkAutoTUnref<SkPictureImageFilter> pif(SkPictureImageFilter::Create(pic));
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
H A D | FilterPostProcessor.java | 212 Picture pic = new Picture("debug");
field in class:FilterPostProcessor
|
/external/libpcap/ |
H A D | pcap1.h | 131 struct pcap1_info_container pic; member in struct:pcap1_info_timestamp 139 struct pcap1_info_container pic; member in struct:pcap1_info_packet 156 struct pcap1_info_container pic; member in struct:pcap1_info_probe 162 struct pcap1_info_container pic; member in struct:pcap1_info_comment
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
H A D | xa_composite.c | 207 xa_is_filter_accelerated(struct xa_picture *pic) argument 210 if (pic && !xa_filter_to_gallium(pic->filter, &filter))
|
/external/skia/src/core/ |
H A D | SkPicturePlayback.cpp | 262 const SkPicture* pic = fPictureData->getPicture(reader); local 263 canvas->drawPicture(pic, &matrix, paint);
|
/external/valgrind/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/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;
|