Home
last modified time | relevance | path

Searched refs:ImageSize (Results 1 – 25 of 38) sorted by relevance

12

/third_party/mindspore/mindspore/lite/src/runtime/gpu/opencl/
Dopencl_allocator.h43 struct ImageSize { struct
47 bool operator==(const struct ImageSize &other) const { argument
65 …void *Malloc(const ImageSize &img_size, void *data = nullptr) { return _Malloc(MemType::IMG, data,…
79 int GetImageSize(void *host_ptr, ImageSize *img_size);
90 void *MinimumFit(MemType mem_type, size_t size, const ImageSize &img_size);
91 …d *_Malloc(MemType mem_type, void *data, size_t size = 0, const ImageSize &img_size = ImageSize());
93 …int CreateImage2D(size_t size, const ImageSize &img_size, void *data, size_t flags, bool is_map, c…
95 int GetImgDtypeSize(const ImageSize &img_size);
109 ImageSize img_size_;
Dopencl_allocator.cc49 void *OpenCLAllocator::MinimumFit(MemType mem_type, size_t size, const ImageSize &img_size) { in MinimumFit()
97 int OpenCLAllocator::CreateImage2D(size_t size, const ImageSize &img_size, void *data, size_t flags… in CreateImage2D()
149 int OpenCLAllocator::GetImgDtypeSize(const ImageSize &img_size) { in GetImgDtypeSize()
169 ImageSize img_size = {weight, height}; in Malloc()
196 void *OpenCLAllocator::_Malloc(MemType mem_type, void *data, size_t size, const ImageSize &img_size… in _Malloc()
546 int OpenCLAllocator::GetImageSize(void *host_ptr, ImageSize *img_size) { in GetImageSize()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format5.cc47 return loca * ImageSize(); in GlyphStartOffset()
58 int32_t IndexSubTableFormat5::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat5
99 return ImageSize(); in GlyphLength()
114 return (it - glyph_array->begin()) * ImageSize(); in GlyphStartOffset()
213 ImageSize()); in SubSerialize()
226 int32_t IndexSubTableFormat5::Builder::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat5::Builder
340 offset_index_ * container()->ImageSize(), in Next()
341 container()->ImageSize(), in Next()
Dindex_sub_table_format2.cc28 int32_t IndexSubTableFormat2::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat2
83 return loca * ImageSize(); in GlyphStartOffset()
91 return ImageSize(); in GlyphLength()
101 int32_t IndexSubTableFormat2::Builder::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat2::Builder
204 ImageSize()); in SubSerialize()
Dindex_sub_table_format2.h56 int32_t ImageSize();
88 int32_t ImageSize();
Dindex_sub_table_format5.h55 int32_t ImageSize();
99 int32_t ImageSize();
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
Dindex_sub_table_format5.cc47 return loca * ImageSize(); in GlyphStartOffset()
58 int32_t IndexSubTableFormat5::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat5
99 return ImageSize(); in GlyphLength()
114 return (it - glyph_array->begin()) * ImageSize(); in GlyphStartOffset()
213 ImageSize()); in SubSerialize()
226 int32_t IndexSubTableFormat5::Builder::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat5::Builder
340 offset_index_ * container()->ImageSize(), in Next()
341 container()->ImageSize(), in Next()
Dindex_sub_table_format2.cc28 int32_t IndexSubTableFormat2::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat2
83 return loca * ImageSize(); in GlyphStartOffset()
91 return ImageSize(); in GlyphLength()
101 int32_t IndexSubTableFormat2::Builder::ImageSize() { in ImageSize() function in sfntly::IndexSubTableFormat2::Builder
204 ImageSize()); in SubSerialize()
Dindex_sub_table_format2.h56 int32_t ImageSize();
88 int32_t ImageSize();
Dindex_sub_table_format5.h55 int32_t ImageSize();
99 int32_t ImageSize();
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/
Dscale.cc31 using mindspore::lite::opencl::ImageSize;
95 ImageSize img_size; in InitWeights()
127 ImageSize scale_img_size{scale_shape.width, scale_shape.height, FLT_type}; in InitWeights()
138 ImageSize offset_img_size{offset_shape.width, offset_shape.height, FLT_type}; in InitWeights()
Dfill.cc25 using mindspore::lite::opencl::ImageSize;
35 ImageSize img_size; in RunFill()
Dconcat.cc29 using mindspore::lite::opencl::ImageSize;
35 ImageSize img_size; in RunAxis0()
217 ImageSize img_size{in_shape.width, in_shape.height, dtype}; in ConvertWeightToTensor()
Dsplit.cc28 using mindspore::lite::opencl::ImageSize;
45 ImageSize img_size; in RunAxis0()
Dstack.cc27 using mindspore::lite::opencl::ImageSize;
33 ImageSize img_size; in RunAxis0()
Dsparse_to_dense.cc30 using mindspore::lite::opencl::ImageSize;
36 ImageSize img_size; in InitOutputToDefault()
Dfullconnection.cc30 using mindspore::lite::opencl::ImageSize;
218 ImageSize img_size{im_dst_x, im_dst_y, img_dtype}; in InitBias()
Darithmetic.cc29 using mindspore::lite::opencl::ImageSize;
99 ImageSize img_size{in_shape.width, in_shape.height, dtype}; in InitWeights()
Dconv2d_transpose.cc29 using mindspore::lite::opencl::ImageSize;
250 ImageSize img_size{im_dst_x, im_dst_y, img_dtype}; in InitBias()
Ddepthwise_conv2d.cc34 using mindspore::lite::opencl::ImageSize;
158 ImageSize img_size{(size_t)plane_out / C4NUM, (size_t)out_info.N * CO4, img_dtype}; in InitWeights()
Dstrassen.cc26 using mindspore::lite::opencl::ImageSize;
65ImageSize img_size{static_cast<size_t>(UP_DIV(NumA, C4NUM)), static_cast<size_t>(NumA), img_dtype}; in AllocatorMemoryForStrassen()
/third_party/gstreamer/gstplugins_bad/gst/jp2kdecimator/
Djp2kcodestream.h65 } ImageSize; typedef
140 ImageSize siz;
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/
Dopencl_kernel.cc24 using mindspore::lite::opencl::ImageSize;
61 int OpenCLKernel::GetImageSize(size_t idx, lite::opencl::ImageSize *img_size) { in GetImageSize()
166 ImageSize img_size; in PreProcess()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/int8/
Darithmetic_int8.cc29 using mindspore::lite::opencl::ImageSize;
100 ImageSize img_size{in_shape.width, in_shape.height, dtype}; in InitWeights()
/third_party/giflib/
Ddgif_lib.c1129 size_t ImageSize; in DGifSlurp() local
1153 ImageSize = sp->ImageDesc.Width * sp->ImageDesc.Height; in DGifSlurp()
1155 if (ImageSize > (SIZE_MAX / sizeof(GifPixelType))) { in DGifSlurp()
1158 sp->RasterBits = (unsigned char *)reallocarray(NULL, ImageSize, in DGifSlurp()
1185 if (DGifGetLine(GifFile,sp->RasterBits,ImageSize)==GIF_ERROR) in DGifSlurp()

12