Searched defs:pic (Results 1 - 25 of 39) sorted by relevance

12

/external/skia/bench/
H A DRecordingBench.cpp13 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH) argument
14 : fSrc(SkRef(pic))
H A DSKPAnimationBench.cpp13 SKPAnimationBench::SKPAnimationBench(const char* name, const SkPicture* pic, argument
15 : INHERITED(name, pic, clip, 1.0, false)
H A DSKPBench.cpp16 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale, argument
18 : fPic(SkRef(pic))
/external/skia/samplecode/
H A DSampleClamp.cpp53 SkPicture pic; local
54 SkCanvas* c = pic.beginRecording(100, 100, 0);
H A DSamplePdfFileViewer.cpp43 SkPicture* pic = SkNEW(SkPicture); local
44 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(),
47 pic->endRecording();
48 return pic;
H A DSamplePictFile.cpp126 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 Dpinspect.cpp38 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 Dreplay-without-inlining.c37 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 DRecordReplaceDrawTest.cpp36 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 Dlua_pictures.cpp43 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 Dpicture_rescale.c45 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 Dpicture.c234 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 Dpicture_tools.c68 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 Dsyntax.c29 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 Dwebpenc.c288 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 Dalpha.c290 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 Diterator.c130 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 Dpicture_demo.cpp66 SkPicture* pic = SkPicture::CreateFromStream(&stream); local
71 return pic;
/external/skia/gm/
H A Dfilterfastbounds.cpp238 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 DFilterPostProcessor.java212 Picture pic = new Picture("debug"); field in class:FilterPostProcessor
/external/libpcap/
H A Dpcap1.h131 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 Dxa_composite.c207 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 DSkPicturePlayback.cpp262 const SkPicture* pic = fPictureData->getPicture(reader); local
263 canvas->drawPicture(pic, &matrix, paint);
/external/valgrind/memcheck/tests/
H A Dvcpu_fbench.c357 #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 Dfbench.c353 #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;

Completed in 1267 milliseconds

12