/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 …]
|
/external/chromium_org/third_party/libwebp/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 …]
|
/external/chromium_org/content/common/gpu/media/ |
D | h264_dpb.cc | 46 void H264DPB::StorePic(H264Picture* pic) { in StorePic() argument 48 DVLOG(3) << "Adding PicNum: " << pic->pic_num << " ref: " << (int)pic->ref in StorePic() 49 << " longterm: " << (int)pic->long_term << " to DPB"; in StorePic() 50 pics_.push_back(pic); in StorePic() 69 H264Picture* pic = pics_[i]; in GetShortRefPicByPicNum() local 70 if (pic->ref && !pic->long_term && pic->pic_num == pic_num) in GetShortRefPicByPicNum() 71 return pic; in GetShortRefPicByPicNum() 80 H264Picture* pic = pics_[i]; in GetLongRefPicByLongTermPicNum() local 81 if (pic->ref && pic->long_term && pic->long_term_pic_num == pic_num) in GetLongRefPicByLongTermPicNum() 82 return pic; in GetLongRefPicByLongTermPicNum() [all …]
|
D | vaapi_h264_decoder.cc | 129 void VaapiH264Decoder::FillVAPicture(VAPictureH264 *va_pic, H264Picture* pic) { in FillVAPicture() argument 130 DCHECK(pic); in FillVAPicture() 132 DecodeSurface* dec_surface = DecodeSurfaceByPoC(pic->pic_order_cnt); in FillVAPicture() 141 va_pic->frame_idx = pic->frame_num; in FillVAPicture() 144 switch (pic->field) { in FillVAPicture() 155 if (pic->ref) { in FillVAPicture() 156 va_pic->flags |= pic->long_term ? VA_PICTURE_H264_LONG_TERM_REFERENCE in FillVAPicture() 160 va_pic->TopFieldOrderCnt = pic->top_field_order_cnt; in FillVAPicture() 161 va_pic->BottomFieldOrderCnt = pic->bottom_field_order_cnt; in FillVAPicture() 723 H264Picture* pic = *it; in UpdatePicNums() local [all …]
|
/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/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 …]
|
/external/skia/tools/ |
D | pinspect.cpp | 38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); in inspect() local 39 if (NULL == pic) { in inspect() 43 printf("picture size:[%d %d]\n", pic->width(), pic->height()); in inspect() 44 return pic; in inspect() 47 static void dumpOps(SkPicture* pic) { in dumpOps() argument 51 canvas.drawPicture(pic); in dumpOps() 74 SkAutoTUnref<SkPicture> pic(inspect(argv[index])); in tool_main() local 76 dumpOps(pic); in tool_main()
|
/external/chromium_org/third_party/skia/tools/ |
D | pinspect.cpp | 38 SkPicture* pic = SkPicture::CreateFromStream(&stream, &sk_tools::LazyDecodeBitmap); in inspect() local 39 if (NULL == pic) { in inspect() 43 printf("picture size:[%d %d]\n", pic->width(), pic->height()); in inspect() 44 return pic; in inspect() 47 static void dumpOps(SkPicture* pic) { in dumpOps() argument 51 canvas.drawPicture(pic); in dumpOps() 74 SkAutoTUnref<SkPicture> pic(inspect(argv[index])); in tool_main() local 76 dumpOps(pic); in tool_main()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SamplePictFile.cpp | 124 SkAutoTUnref<SkPicture> pic; in LoadPicture() local 132 pic.reset(recorder.endRecording()); in LoadPicture() 136 pic.reset(SkPicture::CreateFromStream(&stream)); in LoadPicture() 142 SkSurface* surf = SkSurface::NewRasterPMColor(pic->width(), pic->height()); in LoadPicture() 143 surf->getCanvas()->drawPicture(pic); in LoadPicture() 148 pic->draw(recorder.beginRecording(pic->width(), pic->height(), NULL, 0)); in LoadPicture() 158 if (NULL == pic) { in LoadPicture() 166 return pic.detach(); in LoadPicture() 187 pic->draw(recorder.beginRecording(pic->width(), pic->height(), factory.get(), 0)); in LoadPicture()
|
/external/skia/samplecode/ |
D | SamplePictFile.cpp | 124 SkAutoTUnref<SkPicture> pic; in LoadPicture() local 132 pic.reset(recorder.endRecording()); in LoadPicture() 136 pic.reset(SkPicture::CreateFromStream(&stream)); in LoadPicture() 142 SkSurface* surf = SkSurface::NewRasterPMColor(pic->width(), pic->height()); in LoadPicture() 143 surf->getCanvas()->drawPicture(pic); in LoadPicture() 148 pic->draw(recorder.beginRecording(pic->width(), pic->height(), NULL, 0)); in LoadPicture() 158 if (NULL == pic) { in LoadPicture() 166 return pic.detach(); in LoadPicture() 187 pic->draw(recorder.beginRecording(pic->width(), pic->height(), factory.get(), 0)); in LoadPicture()
|
/external/qemu/include/hw/ |
D | audiodev.h | 5 int SB16_init(qemu_irq *pic); 8 int Adlib_init(qemu_irq *pic); 11 int GUS_init(qemu_irq *pic); 17 int cs4231a_init(qemu_irq *pic);
|
/external/llvm/test/CodeGen/ARM/ |
D | fast-isel-align.ll | 1 ; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios -ver… 2 ; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios -v… 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 -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi … 7 ; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-linux-gnueab… 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 -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/chromium_org/third_party/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() 154 SkAutoTUnref<SkPicture> pic(load_picture(path)); in tool_main() local 155 if (pic.get()) { in tool_main() 157 new SkLuaCanvas(pic->width(), pic->height(), in tool_main() 161 canvas->drawPicture(pic); in tool_main()
|
/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() 154 SkAutoTUnref<SkPicture> pic(load_picture(path)); in tool_main() local 155 if (pic.get()) { in tool_main() 157 new SkLuaCanvas(pic->width(), pic->height(), in tool_main() 161 canvas->drawPicture(pic); in tool_main()
|
/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/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/chromium_org/third_party/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 …]
|