Searched refs:pimg (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_image.c | 59 translate_image(struct fd6_image *img, const struct pipe_image_view *pimg) in translate_image() argument 61 enum pipe_format format = pimg->format; in translate_image() 62 struct pipe_resource *prsc = pimg->resource; in translate_image() 84 img->offset = pimg->u.buf.offset; in translate_image() 91 unsigned sz = pimg->u.buf.size / util_format_get_blocksize(format); in translate_image() 99 unsigned lvl = pimg->u.tex.level; in translate_image() 100 unsigned layers = pimg->u.tex.last_layer - pimg->u.tex.first_layer + 1; in translate_image() 103 fd_resource_ubwc_offset(rsc, lvl, pimg->u.tex.first_layer); in translate_image() 104 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); in translate_image() 138 translate_buf(struct fd6_image *img, const struct pipe_shader_buffer *pimg) in translate_buf() argument [all …]
|
D | fd6_image.h | 34 const struct pipe_image_view *pimg) assert_dt;
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_image.c | 61 translate_image(struct fd5_image *img, struct pipe_image_view *pimg) in translate_image() argument 63 enum pipe_format format = pimg->format; in translate_image() 64 struct pipe_resource *prsc = pimg->resource; in translate_image() 67 if (!pimg->resource) { in translate_image() 85 img->offset = pimg->u.buf.offset; in translate_image() 92 unsigned sz = pimg->u.buf.size / util_format_get_blocksize(format); in translate_image() 99 unsigned lvl = pimg->u.tex.level; in translate_image() 100 img->offset = fd_resource_offset(rsc, lvl, pimg->u.tex.first_layer); in translate_image() 106 unsigned layers = pimg->u.tex.last_layer - pimg->u.tex.first_layer + 1; in translate_image()
|
/third_party/flutter/skia/src/pdf/ |
D | SkPDFFont.cpp | 574 auto pimg = to_image(gID, cache.get()); in emit_subset_type3() local 575 if (!pimg.fImage) { in emit_subset_type3() 578 imageGlyphs.emplace_back(gID, SkPDFSerializeImage(pimg.fImage.get(), doc)); in emit_subset_type3() 581 content.writeDecAsText(pimg.fImage->width()); in emit_subset_type3() 583 content.writeDecAsText(-pimg.fImage->height()); in emit_subset_type3() 585 content.writeDecAsText(pimg.fOffset.x()); in emit_subset_type3() 587 content.writeDecAsText(pimg.fImage->height() + pimg.fOffset.y()); in emit_subset_type3()
|
/third_party/skia/src/pdf/ |
D | SkPDFFont.cpp | 600 auto pimg = to_image(gID, &smallGlyphs); in emit_subset_type3() local 601 if (!pimg.fImage) { in emit_subset_type3() 605 imageGlyphs.emplace_back(gID, SkPDFSerializeImage(pimg.fImage.get(), doc)); in emit_subset_type3() 608 AppendScalar(pimg.fImage->width() * bitmapScale, &content); in emit_subset_type3() 610 AppendScalar(-pimg.fImage->height() * bitmapScale, &content); in emit_subset_type3() 612 AppendScalar(pimg.fOffset.x() * bitmapScale, &content); in emit_subset_type3() 614 AppendScalar((pimg.fImage->height() + pimg.fOffset.y()) * bitmapScale, in emit_subset_type3()
|
/third_party/ffmpeg/libavcodec/ |
D | webp.c | 924 ImageContext *pimg = &s->image[IMAGE_ROLE_PREDICTOR]; in apply_predictor_transform() local 929 int tx = x >> pimg->size_reduction; in apply_predictor_transform() 930 int ty = y >> pimg->size_reduction; in apply_predictor_transform() 931 enum PredictionMode m = GET_PIXEL_COMP(pimg->frame, tx, ty, 2); in apply_predictor_transform()
|