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

123

/external/chromium_org/third_party/skia/dm/
H A DDMSKPTask.cpp15 const SkPicture* pic,
18 , fPicture(SkRef(pic))
13 SKPTask(Reporter* r, TaskRunner* tr, const SkPicture* pic, SkString filename) argument
/external/skia/dm/
H A DDMSKPTask.cpp8 SKPTask::SKPTask(Reporter* r, TaskRunner* tr, SkPicture* pic, SkString filename) argument
9 : CpuTask(r, tr), fPicture(SkRef(pic)), fName(FileToTaskName(filename)) {}
H A DDMRecordTask.cpp22 RecordTask::RecordTask(const Task& parent, SkPicture* pic, SkBitmap reference, Mode mode) argument
26 , fPicture(SkRef(pic))
/external/chromium_org/third_party/skia/bench/
H A DRecordingBench.cpp15 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH) argument
16 : fSrc(SkRef(pic))
H A DSKPBench.cpp10 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale) argument
11 : fPic(SkRef(pic))
/external/chromium_org/third_party/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.cpp120 SkAutoTUnref<SkPicture> pic; local
130 pic.reset(recorder.endRecording());
134 pic.reset(SkPicture::CreateFromStream(&stream));
140 SkSurface* surf = SkSurface::NewRasterPMColor(SkScalarCeilToInt(pic->cullRect().width()),
141 SkScalarCeilToInt(pic->cullRect().height()));
142 surf->getCanvas()->drawPicture(pic);
147 pic->playback(recorder.beginRecording(pic->cullRect().width(),
148 pic->cullRect().height(),
159 if (NULL == pic) {
[all...]
/external/chromium_org/third_party/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...]
H A Dbbh_shootout.cpp58 * @param pic The picture to draw to the renderer.
64 SkPicture* pic,
69 renderer->init(pic, NULL, NULL, NULL, false);
62 do_benchmark_work(sk_tools::PictureRenderer* renderer, BBoxType bBoxType, SkPicture* pic, const int numRepeats, Timer* timer) argument
/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.cpp124 SkAutoTUnref<SkPicture> pic; local
132 pic.reset(recorder.endRecording());
136 pic.reset(SkPicture::CreateFromStream(&stream));
142 SkSurface* surf = SkSurface::NewRasterPMColor(pic->width(), pic->height());
143 surf->getCanvas()->drawPicture(pic);
148 pic->draw(recorder.beginRecording(pic->width(), pic->height(), NULL, 0));
158 if (NULL == pic) {
[all...]
/external/skia/tools/
H A Dpinspect.cpp38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); local
39 if (NULL == pic) {
43 printf("picture size:[%d %d]\n", pic->width(), pic->height());
44 return pic;
47 static void dumpOps(SkPicture* pic) { argument
51 canvas.drawPicture(pic);
74 SkAutoTUnref<SkPicture> pic(inspect(argv[index]));
76 dumpOps(pic);
H A Dbbh_shootout.cpp59 * @param pic The picture to draw to the renderer.
65 SkPicture* pic,
70 renderer->init(pic, NULL, NULL, NULL, false);
63 do_benchmark_work(sk_tools::PictureRenderer* renderer, BBoxType bBoxType, SkPicture* pic, const int numRepeats, Timer* timer) argument
/external/chromium_org/third_party/skia/tests/
H A DRecorderTest.cpp106 SkAutoTUnref<SkPicture> pic; local
112 pic.reset(pr.endRecording());
114 REPORTER_ASSERT(r, pic->unique());
119 recorder.drawPicture(pic);
121 REPORTER_ASSERT(r, !pic->unique());
124 REPORTER_ASSERT(r, pic->unique());
/external/chromium_org/content/common/gpu/media/
H A Dh264_dpb.cc46 void H264DPB::StorePic(H264Picture* pic) { argument
48 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref
49 << " longterm: " << (int)pic->long_term << " to DPB";
50 pics_.push_back(pic);
69 H264Picture* pic = pics_[i]; local
70 if (pic->ref && !pic->long_term && pic->pic_num == pic_num)
71 return pic;
80 H264Picture* pic = pics_[i]; local
92 H264Picture* pic = pics_[i]; local
102 H264Picture* pic = pics_[i]; local
110 H264Picture* pic = pics_[i]; local
118 H264Picture* pic = pics_[i]; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DGraphicsContextTest.cpp1184 SkPicture* pic = dl->picture(); local
1185 EXPECT_TRUE(pic);
1186 EXPECT_EQ(1, pic->getRefCnt());
/external/chromium_org/third_party/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/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/tools/lua/
H A Dlua_pictures.cpp43 SkPicture* pic = NULL; local
45 pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap);
47 return pic;
154 SkAutoTUnref<SkPicture> pic(load_picture(path));
155 if (pic.get()) {
157 new SkLuaCanvas(pic->width(), pic->height(),
161 canvas->drawPicture(pic);
/external/chromium_org/third_party/libwebp/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...]
/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...]

Completed in 1544 milliseconds

123