/external/chromium_org/third_party/skia/dm/ |
H A D | DMSKPTask.cpp | 8 SKPTask::SKPTask(Reporter* r, TaskRunner* tr, SkPicture* pic, SkString filename) argument 9 : CpuTask(r, tr), fPicture(SkRef(pic)), fName(FileToTaskName(filename)) {}
|
H A D | DMRecordTask.cpp | 22 RecordTask::RecordTask(const Task& parent, SkPicture* pic, SkBitmap reference, Mode mode) argument 26 , fPicture(SkRef(pic))
|
/external/skia/dm/ |
H A D | DMSKPTask.cpp | 8 SKPTask::SKPTask(Reporter* r, TaskRunner* tr, SkPicture* pic, SkString filename) argument 9 : CpuTask(r, tr), fPicture(SkRef(pic)), fName(FileToTaskName(filename)) {}
|
H A D | DMRecordTask.cpp | 22 RecordTask::RecordTask(const Task& parent, SkPicture* pic, SkBitmap reference, Mode mode) argument 26 , fPicture(SkRef(pic))
|
/external/chromium_org/third_party/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 | 124 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/chromium_org/third_party/skia/tools/ |
H A D | pinspect.cpp | 38 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 D | bbh_shootout.cpp | 59 * @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, BenchTimer* timer) argument
|
/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 | 124 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 D | pinspect.cpp | 38 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 D | bbh_shootout.cpp | 59 * @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/content/common/gpu/media/ |
H A D | h264_dpb.cc | 46 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 D | GraphicsContextTest.cpp | 1088 SkPicture* pic = dl->picture(); local 1089 EXPECT_FALSE(pic); 1093 pic = dl->picture(); 1094 EXPECT_FALSE(pic); 1113 pic = dl->picture(); 1114 EXPECT_FALSE(pic); 1118 pic = dl->picture(); 1119 EXPECT_TRUE(pic); 1120 EXPECT_EQ(1, pic->getRefCnt());
|
/external/chromium_org/third_party/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; 154 SkAutoTUnref<SkPicture> pic(load_picture(path)); 155 if (pic.get()) { 157 new SkLuaCanvas(pic->width(), pic->height(), 161 canvas->drawPicture(pic);
|
/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/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; 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 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...] |
/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...] |