Home
last modified time | relevance | path

Searched refs:xSize (Results 1 – 22 of 22) sorted by relevance

/third_party/flutter/skia/gm/
Dsamplerstress.cpp58 constexpr int xSize = 16; in createTexture() local
61 fTexture.allocN32Pixels(xSize, ySize); in createTexture()
65 for (int x = 0; x < xSize; ++x) { in createTexture()
66 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorBLACK); in createTexture()
69 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorRED); in createTexture()
72 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorGREEN); in createTexture()
Dbitmaprect.cpp99 const int xSize = 3; in make_3x3_bitmap() local
102 const SkColor textureData[xSize][ySize] = { in make_3x3_bitmap()
108 bitmap->allocN32Pixels(xSize, ySize, true); in make_3x3_bitmap()
113 for (int x = 0; x < xSize; x++) { in make_3x3_bitmap()
Danisotropic.cpp64 void draw(SkCanvas* canvas, int x, int y, int xSize, int ySize) { in draw() argument
66 SkIntToScalar(xSize), SkIntToScalar(ySize)); in draw()
/third_party/skia/gm/
Dsamplerstress.cpp58 constexpr int xSize = 16; in createTexture() local
61 fTexture.allocN32Pixels(xSize, ySize); in createTexture()
65 for (int x = 0; x < xSize; ++x) { in createTexture()
66 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorBLACK); in createTexture()
69 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorRED); in createTexture()
72 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorGREEN); in createTexture()
Dbitmaprect.cpp102 const int xSize = 3; in make_3x3_bitmap() local
105 const SkColor textureData[xSize][ySize] = { in make_3x3_bitmap()
111 bitmap->allocN32Pixels(xSize, ySize, true); in make_3x3_bitmap()
116 for (int x = 0; x < xSize; x++) { in make_3x3_bitmap()
Danisotropic.cpp64 void draw(SkCanvas* canvas, int x, int y, int xSize, int ySize) { in draw() argument
66 SkIntToScalar(xSize), SkIntToScalar(ySize)); in draw()
/third_party/flutter/skia/tools/
DDDLTileHelper.cpp112 int xSize = (x < fNumDivisions-1) ? xTileSize : viewport.width()-xOff; in DDLTileHelper() local
114 SkIRect clip = SkIRect::MakeXYWH(xOff, yOff, xSize, ySize); in DDLTileHelper()
118 SkImageInfo tileII = SkImageInfo::MakeN32Premul(xSize, ySize); in DDLTileHelper()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cSparseTexture2Tests.hpp54 GLint xSize; member
58 PageSizeStruct() : xSize(0), ySize(0), zSize(0) in PageSizeStruct()
61 PageSizeStruct(GLint x, GLint y, GLint z) : xSize(x), ySize(y), zSize(z) in PageSizeStruct()
Dgl4cSparseTexture2Tests.cpp423 if (pageSizeX != page.xSize || pageSizeY != page.ySize || pageSizeZ != page.zSize) in iterate()
427 << "/" << pageSizeZ << ", expected: " << page.xSize << "/" << page.ySize << "/" in iterate()
/third_party/ffmpeg/libavcodec/
Dexr.c105 int32_t xSize; member
1228 if (tile_x && s->tile_attr.xSize + (int64_t)FFMAX(s->xmin, 0) >= INT_MAX / tile_x ) in decode_block()
1234 col = s->tile_attr.xSize * tile_x; in decode_block()
1241 td->xsize = FFMIN(s->tile_attr.xSize, s->xdelta - tile_x * s->tile_attr.xSize); in decode_block()
1569 s->tile_attr.xSize = -1; in decode_header()
1887 s->tile_attr.xSize = bytestream2_get_le32(gb); in decode_header()
1999 if (s->tile_attr.xSize < 1 || s->tile_attr.ySize < 1) { in decode_header()
2142 nb_blocks = ((s->xdelta + s->tile_attr.xSize - 1) / s->tile_attr.xSize) * in decode_frame()
/third_party/skia/tools/
DDDLTileHelper.cpp243 int xSize = (x < fNumXDivisions-1) ? xTileSize : viewport.width()-xOff; in DDLTileHelper() local
245 SkIRect clip = SkIRect::MakeXYWH(xOff, yOff, xSize, ySize); in DDLTileHelper()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeZeroInitializeWorkgroupMemoryTests.cpp1152 RepeatedPipelineInstance(Context& context, deUint32 xSize, deUint32 repeat, deUint32 odd) in RepeatedPipelineInstance() argument
1154 m_xSize(xSize), in RepeatedPipelineInstance()
1172 deUint32 xSize, deUint32 repeat, deUint32 odd) in RepeatedPipelineTest() argument
1174 m_xSize(xSize), in RepeatedPipelineTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp620 std::vector<tcu::Vec4> createVertices (deUint32 width, deUint32 height, float& xSize, float& ySize) in createVertices() argument
629 xSize = xStep; in createVertices()
DvktDescriptorSetsIndexingTests.hpp141 float& xSize,
DvktDescriptorSetsIndexingTests.cpp641 float xSize = 0.0f; in createVertexAttributeBuffer() local
645 …ateVertices(m_testParams.frameResolution.width, m_testParams.frameResolution.height, xSize, ySize); in createVertexAttributeBuffer()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dhttp_curl.c314 ASN1_INTEGER *xSize; member
387 ASN1_SIMPLE(LogotypeImageInfo, xSize, ASN1_INTEGER),
665 val = ASN1_INTEGER_get(info->xSize); in i2r_LogotypeImageInfo()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dhttp_curl.c314 ASN1_INTEGER *xSize; member
387 ASN1_SIMPLE(LogotypeImageInfo, xSize, ASN1_INTEGER),
665 val = ASN1_INTEGER_get(info->xSize); in i2r_LogotypeImageInfo()
/third_party/vk-gl-cts/modules/egl/
DteglImageFormatTests.cpp1241 const int xSize = de::clamp(16, 0, reference.getWidth() - xOffset); in invokeGLES() local
1243 tcu::Texture2D src (glu::mapGLTransferFormat(m_format, m_type), xSize, ySize); in invokeGLES()
1256 …tcu::copy(tcu::getSubregion(reference.getLevel(0), xOffset, yOffset, 0, xSize, ySize, 1), src.getL… in invokeGLES()
/third_party/sqlite/include/
Dsqlite3.h1728 int (*xSize)(void*); /* Return the size of an allocation */ member
/third_party/sqlite/src/
Dshell.c4405 fprintf(memtraceOut, "MEMTRACE: free %d bytes\n", memtraceBase.xSize(p)); in memtraceFree()
4417 memtraceBase.xSize(p), memtraceBase.xRoundup(n)); in memtraceRealloc()
4422 return memtraceBase.xSize(p); in memtraceSize()
Dsqlite3.c2038 int (*xSize)(void*); /* Return the size of an allocation */ member
28510 return sqlite3GlobalConfig.m.xSize((void*)p);
28546 return sqlite3GlobalConfig.m.xSize((void*)p);
28551 return p ? sqlite3GlobalConfig.m.xSize(p) : 0;
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch79681 + fprintf(memtraceOut, "MEMTRACE: free %d bytes\n", memtraceBase.xSize(p));
79693 + memtraceBase.xSize(p), memtraceBase.xRoundup(n));
79698 + return memtraceBase.xSize(p);
83945 - fprintf(memtraceOut, "MEMTRACE: free %d bytes\n", memtraceBase.xSize(p));
83957 - memtraceBase.xSize(p), memtraceBase.xRoundup(n));
83962 - return memtraceBase.xSize(p);
117316 + fprintf(memtraceOut, "MEMTRACE: free %d bytes\n", memtraceBase.xSize(p));
117328 + memtraceBase.xSize(p), memtraceBase.xRoundup(n));
117333 + return memtraceBase.xSize(p);
121580 - fprintf(memtraceOut, "MEMTRACE: free %d bytes\n", memtraceBase.xSize(p));
[all …]