/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; 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/skia/samplecode/ |
H A D | SampleClamp.cpp | 53 SkPicture pic; local 54 SkCanvas* c = pic.beginRecording(100, 100, 0);
|
/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/content/common/gpu/media/ |
H A D | vaapi_h264_decoder.cc | 129 void VaapiH264Decoder::FillVAPicture(VAPictureH264 *va_pic, H264Picture* pic) { argument 130 DCHECK(pic); 132 DecodeSurface* dec_surface = DecodeSurfaceByPoC(pic->pic_order_cnt); 141 va_pic->frame_idx = pic->frame_num; 144 switch (pic->field) { 155 if (pic->ref) { 156 va_pic->flags |= pic->long_term ? VA_PICTURE_H264_LONG_TERM_REFERENCE 160 va_pic->TopFieldOrderCnt = pic->top_field_order_cnt; 161 va_pic->BottomFieldOrderCnt = pic->bottom_field_order_cnt; 595 // TODO posciak: perhaps replace with pic 723 H264Picture* pic = *it; local 852 PicNumF(H264Picture *pic) argument 863 LongTermPicNumF(H264Picture *pic) argument 872 ShiftRightAndInsert(H264Picture::PtrVector *v, int from, int to, H264Picture* pic) argument 928 H264Picture* pic; local 1024 OutputPic(H264Picture* pic) argument 1186 H264Picture* pic = long_terms[i]; local 1209 H264Picture* pic = long_terms[i]; local [all...] |
H A D | vaapi_h264_decoder.h | 157 int PicNumF(H264Picture *pic); 158 int LongTermPicNumF(H264Picture *pic); 197 void FillVAPicture(VAPictureH264 *va_pic, H264Picture* pic); 204 bool OutputPic(H264Picture* pic);
|
/external/chromium_org/third_party/libwebp/enc/ |
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 | vp8l.c | 44 static int AnalyzeAndCreatePalette(const WebPPicture* const pic, argument 52 const uint32_t* argb = pic->argb; 53 const int width = pic->width; 54 const int height = pic->height; 84 argb += pic->argb_stride; 139 const WebPPicture* const pic = enc->pic_; local 140 const int width = pic->width; 141 const int height = pic->height; 146 assert(pic != NULL && pic 782 WriteRiffHeader(const WebPPicture* const pic, size_t riff_size, size_t vp8l_size) argument 796 WriteImageSize(const WebPPicture* const pic, VP8LBitWriter* const bw) argument 813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument 936 const WebPPicture* const pic = enc->pic_; local 1007 const WebPPicture* const pic = enc->pic_; local [all...] |
H A D | alpha.c | 271 const WebPPicture* const pic = enc->pic_; local 272 const int width = pic->width; 273 const int height = pic->height; 283 assert(enc != NULL && pic != NULL && pic->a != NULL); 286 assert(pic->a_stride >= width); 308 CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); 322 output_size, pic->stats); 323 if (pic [all...] |
/external/webp/src/enc/ |
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 | vp8l.c | 44 static int AnalyzeAndCreatePalette(const WebPPicture* const pic, argument 52 const uint32_t* argb = pic->argb; 53 const int width = pic->width; 54 const int height = pic->height; 84 argb += pic->argb_stride; 139 const WebPPicture* const pic = enc->pic_; local 140 const int width = pic->width; 141 const int height = pic->height; 146 assert(pic != NULL && pic 782 WriteRiffHeader(const WebPPicture* const pic, size_t riff_size, size_t vp8l_size) argument 796 WriteImageSize(const WebPPicture* const pic, VP8LBitWriter* const bw) argument 813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument 936 const WebPPicture* const pic = enc->pic_; local 1007 const WebPPicture* const pic = enc->pic_; local [all...] |
H A D | alpha.c | 271 const WebPPicture* const pic = enc->pic_; local 272 const int width = pic->width; 273 const int height = pic->height; 283 assert(enc != NULL && pic != NULL && pic->a != NULL); 286 assert(pic->a_stride >= width); 308 CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); 322 output_size, pic->stats); 323 if (pic [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | RecorderTest.cpp | 106 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());
|
H A D | PathOpsSkpClipTest.cpp | 390 static SkMSec timePict(SkPicture* pic, SkCanvas* canvas) { argument 392 SkScalar pWidth = pic->cullRect().width(); 393 SkScalar pHeight = pic->cullRect().height(); 403 pic->playback(canvas); 413 static void drawPict(SkPicture* pic, SkCanvas* canvas, int scale) { argument 419 pic->playback(canvas); 435 SkPicture* pic = NULL; local 465 pic = SkPicture::CreateFromStream(&stream, &SkImageDecoder::DecodeMemory); 466 if (!pic) { 470 SkScalar width = pic [all...] |
/external/chromium_org/third_party/skia/bench/ |
H A D | RecordingBench.cpp | 15 RecordingBench::RecordingBench(const char* name, const SkPicture* pic, bool useBBH) argument 16 : fSrc(SkRef(pic))
|
H A D | nanobench.cpp | 441 static bool ReadPicture(const char* path, SkAutoTUnref<SkPicture>* pic) { argument 454 pic->reset(SkPicture::CreateFromStream(stream.get())); 455 if (pic->get() == NULL) { 484 SkAutoTUnref<SkPicture> pic; local 485 if (!ReadPicture(path.c_str(), &pic)) { 491 return SkNEW_ARGS(RecordingBench, (name.c_str(), pic.get(), FLAGS_bbh)); 498 SkAutoTUnref<SkPicture> pic; local 499 if (!ReadPicture(path.c_str(), &pic)) { 512 pic->playback(recorder.beginRecording(pic [all...] |
/external/skia/dm/ |
H A D | DMRecordTask.cpp | 22 RecordTask::RecordTask(const Task& parent, SkPicture* pic, SkBitmap reference, Mode mode) argument 26 , fPicture(SkRef(pic))
|
/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/qemu/include/hw/mips/ |
H A D | mips.h | 6 PCIBus *pci_gt64120_init(qemu_irq *pic);
|
/external/valgrind/main/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/main/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;
|
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 623 WebPPicture pic; local 624 WebPPictureInit(&pic); 625 pic.width = bm.width(); 626 pic.height = bm.height(); 627 pic.writer = stream_writer; 628 pic.custom_ptr = (void*)stream; 632 const int rgbStride = pic.width * bpp; 636 uint8_t* rgb = new uint8_t[rgbStride * pic.height]; 637 for (int y = 0; y < pic.height; ++y) { 639 pic [all...] |
/external/skia/src/images/ |
H A D | SkImageDecoder_libwebp.cpp | 634 WebPPicture pic; local 635 WebPPictureInit(&pic); 636 pic.width = bm.width(); 637 pic.height = bm.height(); 638 pic.writer = stream_writer; 639 pic.custom_ptr = (void*)stream; 643 const int rgbStride = pic.width * bpp; 647 uint8_t* rgb = new uint8_t[rgbStride * pic.height]; 648 for (int y = 0; y < pic.height; ++y) { 650 pic [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testoverlay.c | 17 SDL_Surface *screen, *pic; variable 484 pic = SDL_LoadBMP(bmpfile); 485 if ( pic == NULL ) { 520 newsurf=SDL_ConvertSurface(pic, &format, SDL_SWSURFACE); 527 SDL_FreeSurface(pic); 528 pic=newsurf; 532 overlay = SDL_CreateYUVOverlay(pic->w, pic->h, overlay_format, screen); 557 ConvertRGBtoYV12(pic,overlay,monochrome,luminance); 560 ConvertRGBtoUYVY(pic,overla [all...] |
/external/qemu/include/hw/pci/ |
H A D | pci.h | 180 typedef void (*pci_set_irq_fn)(qemu_irq *pic, int irq_num, int level); 184 qemu_irq *pic, int devfn_min, int nirq); 288 PCIBus *pci_prep_init(qemu_irq *pic); 293 qemu_irq *pic, PCIBus **bus2, PCIBus **bus3); 297 qemu_irq *pic, int devfn_min, int nirq);
|
/external/qemu/distrib/sdl-1.2.15/acinclude/ |
H A D | ltoptions.m4 | 82 _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) 324 # implement the --with-pic flag, and support the `pic-only' and `no-pic' 328 [AC_ARG_WITH([pic], 329 [AS_HELP_STRING([--with-pic], 339 LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) 340 LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) 344 [_LT_SET_OPTION([LT_INIT], [pic [all...] |