/external/webp/src/enc/ |
D | picture_rescale.c | 45 static void SnapTopLeftPosition(const WebPPicture* const pic, in SnapTopLeftPosition() argument 47 if (!pic->use_argb) { in SnapTopLeftPosition() 54 static int AdjustAndCheckRectangle(const WebPPicture* const pic, in AdjustAndCheckRectangle() argument 57 SnapTopLeftPosition(pic, left, top); in AdjustAndCheckRectangle() 60 if ((*left) + width > pic->width) return 0; in AdjustAndCheckRectangle() 61 if ((*top) + height > pic->height) return 0; in AdjustAndCheckRectangle() 132 int WebPPictureCrop(WebPPicture* pic, in WebPPictureCrop() argument 136 if (pic == NULL) return 0; in WebPPictureCrop() 137 if (!AdjustAndCheckRectangle(pic, &left, &top, width, height)) return 0; in WebPPictureCrop() 139 PictureGrabSpecs(pic, &tmp); in WebPPictureCrop() [all …]
|
D | picture_tools.c | 68 void WebPCleanupTransparentArea(WebPPicture* pic) { in WebPCleanupTransparentArea() argument 70 if (pic == NULL) return; in WebPCleanupTransparentArea() 71 w = pic->width / SIZE; in WebPCleanupTransparentArea() 72 h = pic->height / SIZE; in WebPCleanupTransparentArea() 75 if (pic->use_argb) { in WebPCleanupTransparentArea() 80 const int off = (y * pic->argb_stride + x) * SIZE; in WebPCleanupTransparentArea() 81 if (is_transparent_argb_area(pic->argb + off, pic->argb_stride, SIZE)) { in WebPCleanupTransparentArea() 83 argb_value = pic->argb[off]; in WebPCleanupTransparentArea() 86 flatten_argb(pic->argb + off, argb_value, pic->argb_stride, SIZE); in WebPCleanupTransparentArea() 93 const uint8_t* const a_ptr = pic->a; in WebPCleanupTransparentArea() [all …]
|
D | syntax.c | 29 static int PutPaddingByte(const WebPPicture* const pic) { in PutPaddingByte() argument 31 return !!pic->writer(pad_byte, 1, pic); in PutPaddingByte() 39 const WebPPicture* const pic = enc->pic_; in PutRIFFHeader() local 45 if (!pic->writer(riff, sizeof(riff), pic)) { in PutRIFFHeader() 52 const WebPPicture* const pic = enc->pic_; in PutVP8XHeader() local 59 assert(pic->width >= 1 && pic->height >= 1); in PutVP8XHeader() 60 assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE); in PutVP8XHeader() 68 PutLE24(vp8x + CHUNK_HEADER_SIZE + 4, pic->width - 1); in PutVP8XHeader() 69 PutLE24(vp8x + CHUNK_HEADER_SIZE + 7, pic->height - 1); in PutVP8XHeader() 70 if (!pic->writer(vp8x, sizeof(vp8x), pic)) { in PutVP8XHeader() [all …]
|
D | webpenc.c | 288 int WebPEncodingSetError(const WebPPicture* const pic, in WebPEncodingSetError() argument 292 ((WebPPicture*)pic)->error_code = error; in WebPEncodingSetError() 296 int WebPReportProgress(const WebPPicture* const pic, in WebPReportProgress() argument 300 if (pic->progress_hook && !pic->progress_hook(percent, pic)) { in WebPReportProgress() 302 WebPEncodingSetError(pic, VP8_ENC_ERROR_USER_ABORT); in WebPReportProgress() 310 int WebPEncode(const WebPConfig* config, WebPPicture* pic) { in WebPEncode() argument 313 if (pic == NULL) in WebPEncode() 315 WebPEncodingSetError(pic, VP8_ENC_OK); // all ok so far in WebPEncode() 317 return WebPEncodingSetError(pic, VP8_ENC_ERROR_NULL_PARAMETER); in WebPEncode() 319 return WebPEncodingSetError(pic, VP8_ENC_ERROR_INVALID_CONFIGURATION); in WebPEncode() [all …]
|
D | iterator.c | 130 const WebPPicture* const pic = enc->pic_; in VP8IteratorImport() local 131 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorImport() 132 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8; in VP8IteratorImport() 133 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8; in VP8IteratorImport() 134 const int w = MinSize(pic->width - x * 16, 16); in VP8IteratorImport() 135 const int h = MinSize(pic->height - y * 16, 16); in VP8IteratorImport() 139 ImportBlock(ysrc, pic->y_stride, it->yuv_in_ + Y_OFF, w, h, 16); in VP8IteratorImport() 140 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF, uv_w, uv_h, 8); in VP8IteratorImport() 141 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF, uv_w, uv_h, 8); in VP8IteratorImport() 152 it->y_left_[-1] = ysrc[- 1 - pic->y_stride]; in VP8IteratorImport() [all …]
|
D | picture.c | 234 WebPPicture pic; in Encode() local 240 !WebPPictureInit(&pic)) { in Encode() 245 pic.use_argb = !!lossless; in Encode() 246 pic.width = width; in Encode() 247 pic.height = height; in Encode() 248 pic.writer = WebPMemoryWrite; in Encode() 249 pic.custom_ptr = &wrt; in Encode() 252 ok = import(&pic, rgba, stride) && WebPEncode(&config, &pic); in Encode() 253 WebPPictureFree(&pic); in Encode()
|
D | vp8l.c | 44 static int AnalyzeAndCreatePalette(const WebPPicture* const pic, in AnalyzeAndCreatePalette() argument 52 const uint32_t* argb = pic->argb; in AnalyzeAndCreatePalette() 53 const int width = pic->width; in AnalyzeAndCreatePalette() 54 const int height = pic->height; in AnalyzeAndCreatePalette() 84 argb += pic->argb_stride; in AnalyzeAndCreatePalette() 139 const WebPPicture* const pic = enc->pic_; in AnalyzeAndInit() local 140 const int width = pic->width; in AnalyzeAndInit() 141 const int height = pic->height; in AnalyzeAndInit() 146 assert(pic != NULL && pic->argb != NULL); in AnalyzeAndInit() 149 AnalyzeAndCreatePalette(pic, enc->palette_, &enc->palette_size_); in AnalyzeAndInit() [all …]
|
D | alpha.c | 290 const WebPPicture* const pic = enc->pic_; in EncodeAlpha() local 291 const int width = pic->width; in EncodeAlpha() 292 const int height = pic->height; in EncodeAlpha() 302 assert(enc != NULL && pic != NULL && pic->a != NULL); in EncodeAlpha() 305 assert(pic->a_stride >= width); in EncodeAlpha() 327 CopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); in EncodeAlpha() 341 output_size, pic->stats); in EncodeAlpha() 342 if (pic->stats != NULL) { // need stats? in EncodeAlpha() 343 pic->stats->coded_size += (int)(*output_size); in EncodeAlpha()
|
/external/llvm/test/CodeGen/SPARC/ |
D | tls.ll | 3 ; RUN: llc <%s -march=sparc -relocation-model=pic | FileCheck %s --check-prefix=pic 4 ; RUN: llc <%s -march=sparcv9 -relocation-model=pic | FileCheck %s --check-prefix=pic 8 …lc <%s -march=sparc -relocation-model=pic -filetype=obj | llvm-readobj -r | FileCheck %s --ch… 9 …lc <%s -march=sparcv9 -relocation-model=pic -filetype=obj | llvm-readobj -r | FileCheck %s --ch… 24 ; pic-LABEL: test_tls_local 25 ; pic: or {{%[goli][0-7]}}, %lo(_GLOBAL_OFFSET_TABLE_+{{.+}}), [[PC:%[goli][0-7]]] 26 ; pic: add [[PC]], %o7, [[GOTBASE:%[goli][0-7]]] 27 ; pic-DAG: sethi %tldm_hi22(local_symbol), [[R0:%[goli][0-7]]] 28 ; pic-DAG: add [[R0]], %tldm_lo10(local_symbol), [[R1:%[goli][0-7]]] 29 ; pic-DAG: add [[GOTBASE]], [[R1]], %o0, %tldm_add(local_symbol) [all …]
|
/external/libvncserver/x11vnc/misc/ |
D | slide.pl | 40 foreach $pic (@jpegs) { 41 print STDERR "loading '$pic' please wait ...\n"; 42 open(JPEG, "jpegtopnm '$pic' 2>/dev/null|") || die "$!"; 46 $Jpeg{$pic}{w} = $1; 47 $Jpeg{$pic}{h} = $2; 64 $Jpeg{$pic}{data} = $new; 67 if ($pic eq $jpegs[0]) { 87 my $pic = $jpegs[$i]; 88 my $h = $Jpeg{$pic}{h}; 89 my $w = $Jpeg{$pic}{w}; [all …]
|
/external/skia/tools/ |
D | pinspect.cpp | 38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); in inspect() local 39 if (NULL == pic) { in inspect() 44 pic->cullRect().fLeft, pic->cullRect().fTop, in inspect() 45 pic->cullRect().fRight, pic->cullRect().fBottom); in inspect() 46 return pic; in inspect() 49 static void dumpOps(SkPicture* pic) { in dumpOps() argument 53 canvas.drawPicture(pic); in dumpOps() 76 SkAutoTUnref<SkPicture> pic(inspect(argv[index])); in tool_main() local 78 dumpOps(pic); in tool_main()
|
/external/llvm/test/CodeGen/Mips/ |
D | fp16instrinsmc.ll | 1 …el-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=pic 113 ;pic: lw ${{[0-9]+}}, %call16(sinf)(${{[0-9]+}}) 114 ;pic: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_1)(${{[0-9]+}}) 127 ;pic: lw ${{[0-9]+}}, %call16(sin)(${{[0-9]+}}) 128 ;pic: lw ${{[0-9]+}}, %got(__mips16_call_stub_df_2)(${{[0-9]+}}) 141 ;pic: lw ${{[0-9]+}}, %call16(cosf)(${{[0-9]+}}) 142 ;pic: lw ${{[0-9]+}}, %got(__mips16_call_stub_sf_1)(${{[0-9]+}}) 155 ;pic: lw ${{[0-9]+}}, %call16(cos)(${{[0-9]+}}) 156 ;pic: lw ${{[0-9]+}}, %got(__mips16_call_stub_df_2)(${{[0-9]+}}) 169 ;pic: lw ${{[0-9]+}}, %call16(sqrtf)(${{[0-9]+}}) [all …]
|
D | trap1.ll | 1 …el-linux-gnu -march=mipsel -mcpu=mips16 -relocation-model=pic < %s | FileCheck %s -check-prefix=pic 10 ; pic: break 0
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 126 SkAutoTUnref<SkPicture> pic; in LoadPicture() local 136 pic.reset(recorder.endRecording()); in LoadPicture() 140 pic.reset(SkPicture::CreateFromStream(&stream)); in LoadPicture() 147 pic->playback(recorder.beginRecording(pic->cullRect().width(), in LoadPicture() 148 pic->cullRect().height(), in LoadPicture() 159 if (NULL == pic) { in LoadPicture() 167 return pic.detach(); in LoadPicture() 176 pic->playback(recorder.beginRecording(pic->cullRect().width(), in LoadPicture() 177 pic->cullRect().height(), in LoadPicture()
|
D | SamplePdfFileViewer.cpp | 43 SkPicture* pic = SkNEW(SkPicture); in LoadPdf() local 44 SkCanvas* canvas = pic->beginRecording((int) renderer->MediaBox(0).width(), in LoadPdf() 47 pic->endRecording(); in LoadPdf() 48 return pic; in LoadPdf()
|
/external/skia/tests/ |
D | RecordReplaceDrawTest.cpp | 36 SkAutoTUnref<const SkPicture> pic; in DEF_TEST() local 46 pic.reset(recorder.endRecording()); in DEF_TEST() 53 GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), &callback); in DEF_TEST() 71 SkAutoTUnref<const SkPicture> pic; in DEF_TEST() local 80 pic.reset(recorder.endRecording()); in DEF_TEST() 86 GrRecordReplaceDraw(pic, &canvas, NULL, SkMatrix::I(), NULL/*callback*/); in DEF_TEST() 94 SkAutoTUnref<const SkPicture> pic; in test_replacements() local 108 pic.reset(recorder.endRecording()); in test_replacements() 115 GrCachedLayer* layer = layerCache->findLayerOrCreate(pic->uniqueID(), 0, 2, in test_replacements() 135 GrRecordReplaceDraw(pic, &canvas, layerCache, SkMatrix::I(), NULL/*callback*/); in test_replacements()
|
/external/skia/tools/lua/ |
D | lua_pictures.cpp | 43 SkPicture* pic = NULL; in load_picture() local 45 pic = SkPicture::CreateFromStream(stream.get(), &sk_tools::LazyDecodeBitmap); in load_picture() 47 return pic; in load_picture() 146 SkAutoTUnref<SkPicture> pic(load_picture(path)); in tool_main() local 147 if (pic.get()) { in tool_main() 149 new SkLuaCanvas(SkScalarCeilToInt(pic->cullRect().width()), in tool_main() 150 SkScalarCeilToInt(pic->cullRect().height()), in tool_main() 154 canvas->drawPicture(pic); in tool_main()
|
/external/llvm/test/CodeGen/ARM/ |
D | fast-isel-align.ll | 1 ; RUN: llc < %s -O0 -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios -v… 2 ; RUN: llc < %s -O0 -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios … 3 ; RUN: llc < %s -O0 -arm-strict-align -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios -ve… 4 ; RUN: llc < %s -O0 -arm-strict-align -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios -… 6 ; RUN: llc < %s -O0 -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueab… 7 ; RUN: llc < %s -O0 -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-linux-gnue… 8 ; RUN: llc < %s -O0 -arm-strict-align -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi… 9 ; RUN: llc < %s -O0 -arm-strict-align -relocation-model=dynamic-no-pic -mtriple=thumbv7-linux-gnuea… 11 ; RUN: llc < %s -O0 -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-unknown-nacl… 12 ; RUN: llc < %s -O0 -arm-strict-align -relocation-model=dynamic-no-pic -mtriple=armv7-unknown-nacl … [all …]
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 21 SkPicture* pic = NULL; 26 pic = SkNEW(SkPicture); 27 SkCanvas* can = pic->beginRecording(bm.width(), bm.height()); 29 pic->endRecording(); 33 pic = SkNEW_ARGS(SkPicture, 39 pic->draw(p2.beginRecording(pic->width(), pic->height())); 48 return pic; 248 SkPicture* pic = LoadPicture(path.c_str()); 249 pic->draw(&canvas); 250 SkDELETE(pic); [all …]
|
/external/libpng/contrib/gregbook/ |
D | Makefile.mingw32 | 68 ROBJSd = $(RPNG)$(O) readpng.pic$(O) 69 ROBJS2d = $(RPNG2)$(O) readpng2.pic$(O) 70 WOBJSd = $(WPNG)$(O) writepng.pic$(O) 91 %.pic$(O): %.c 121 readpng$(O) readpng.pic$(O): readpng.c readpng.h 122 readpng2$(O) readpng2.pic$(O): readpng2.c readpng2.h 123 writepng$(O) writepng.pic$(O): writepng.c writepng.h
|
/external/clang/test/Analysis/engine/ |
D | replay-without-inlining.c | 37 static void readILBM(IB *st, Info *pic) { in readILBM() argument 39 pic->usedtobeundef.w = 5; in readILBM() 52 Info pic; in bitmapImageRepFromIFF() local 56 readILBM(&st,&pic); in bitmapImageRepFromIFF() 57 return pic.usedtobeundef.w; // No undefined value warning here. in bitmapImageRepFromIFF()
|
/external/e2fsprogs/lib/ |
D | Makefile.bsd-lib | 17 @mkdir -p pic 25 (cd pic; ld -Bshareable -o $(BSD_LIB) $(LDFLAGS) $(OBJS)) 26 $(MV) pic/$(BSD_LIB) . 45 $(RM) -rf pic
|
D | Makefile.darwin-lib | 17 $(Q) mkdir -p pic 26 $(Q) (cd pic; $(CC) -dynamiclib -compatibility_version 1.0 -current_version $(BSDLIB_VERSION) \ 28 $(Q) $(MV) pic/$(BSD_LIB) . 48 $(RM) -rf pic
|
/external/skia/src/svg/ |
D | skp2svg.cpp | 40 SkAutoTUnref<SkPicture> pic(SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap)); in tool_main() local 41 if (!SkToBool(pic.get())) { in tool_main() 59 SkAutoTUnref<SkCanvas> svgCanvas(SkSVGCanvas::Create(pic->cullRect(), xmlWriter.get())); in tool_main() 61 pic->playback(svgCanvas); in tool_main()
|
/external/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 614 WebPPicture pic; in onEncode() local 615 WebPPictureInit(&pic); in onEncode() 616 pic.width = bm.width(); in onEncode() 617 pic.height = bm.height(); in onEncode() 618 pic.writer = stream_writer; in onEncode() 619 pic.custom_ptr = (void*)stream; in onEncode() 623 const int rgbStride = pic.width * bpp; in onEncode() 627 uint8_t* rgb = new uint8_t[rgbStride * pic.height]; in onEncode() 628 for (int y = 0; y < pic.height; ++y) { in onEncode() 630 pic.width, colors); in onEncode() [all …]
|