Home
last modified time | relevance | path

Searched refs:uWidth (Results 1 – 25 of 56) sorted by relevance

123

/dports/misc/mnn/MNN-1.2.0/source/backend/opengl/glsl/
H A Dimage_to_nchw_buffer.glsl7 layout(location = 2) uniform int uWidth;
15 if (pos.x < uWidth && pos.y < uHeight)
19 uOutBuffer.data[uWidth*pos.y+pos.x+(z+0)*uWidth*uHeight] = color.r;
20 uOutBuffer.data[uWidth*pos.y+pos.x+(z+1)*uWidth*uHeight] = color.g;
21 uOutBuffer.data[uWidth*pos.y+pos.x+(z+2)*uWidth*uHeight] = color.b;
22 uOutBuffer.data[uWidth*pos.y+pos.x+(z+3)*uWidth*uHeight] = color.a;
H A Dnchw_buffer_to_image.glsl7 layout(location = 2) uniform int uWidth;
15 if (pos.x < uWidth && pos.y < uHeight)
19 color.r = uInBuffer.data[uWidth*pos.y+pos.x+(z+0)*uWidth*uHeight];
20 color.g = uInBuffer.data[uWidth*pos.y+pos.x+(z+1)*uWidth*uHeight];
21 color.b = uInBuffer.data[uWidth*pos.y+pos.x+(z+2)*uWidth*uHeight];
22 color.a = uInBuffer.data[uWidth*pos.y+pos.x+(z+3)*uWidth*uHeight];
H A Dimage_to_nhwc_buffer.glsl7 layout(location = 2) uniform int uWidth;
16 if (pos.x < uWidth && pos.y < uHeight)
20 uOutBuffer.data[pos.y*uWidth*uChannel+pos.x*uChannel+(z+0)] = color.r;
21 uOutBuffer.data[pos.y*uWidth*uChannel+pos.x*uChannel+(z+1)] = color.g;
22 uOutBuffer.data[pos.y*uWidth*uChannel+pos.x*uChannel+(z+2)] = color.b;
23 uOutBuffer.data[pos.y*uWidth*uChannel+pos.x*uChannel+(z+3)] = color.a;
H A Dnhwc_buffer_to_image.glsl7 layout(location = 2) uniform int uWidth;
16 if (pos.x < uWidth && pos.y < uHeight)
21 color.r = uInBuffer.data[pos.y*uWidth*uChannel + pos.x*uChannel + (z+0)];
22 color.g = uInBuffer.data[pos.y*uWidth*uChannel + pos.x*uChannel + (z+1)];
23 color.b = uInBuffer.data[pos.y*uWidth*uChannel + pos.x*uChannel + (z+2)];
24 color.a = uInBuffer.data[pos.y*uWidth*uChannel + pos.x*uChannel + (z+3)];
H A Dimage_to_nc4hw4_buffer.glsl7 layout(location = 2) uniform int uWidth;
15 if (pos.x < uWidth && pos.y < uHeight)
18 uOutBuffer.data[uWidth*pos.y+pos.x+pos.z*uWidth*uHeight] = color;
H A Dnc4hw4_buffer_to_image.glsl7 layout(location = 2) uniform int uWidth;
15 if (pos.x < uWidth && pos.y < uHeight)
17 vec4 color = uInBuffer.data[uWidth*pos.y+pos.x+pos.z*uWidth*uHeight];
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/gm/
H A Dtexteffects.cpp31 SkScalar uPos, SkScalar uWidth, SkScalar textSize) { in create_underline() argument
35 SkScalar start = intersections[index] - uWidth; in create_underline()
36 end = intersections[index + 1] + uWidth; in create_underline()
119 const SkScalar uWidth = textSize / 15; variable
120 paint.setStrokeWidth(uWidth);
126 const SkScalar uPos = uWidth;
127 const SkScalar bounds[2] = { uPos - uWidth / 2, uPos + uWidth / 2 };
137 SkPath underline = create_underline(intercepts, start, end, uPos, uWidth, textSize);
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/gm/
H A Dtexteffects.cpp31 SkScalar uPos, SkScalar uWidth, SkScalar textSize) { in create_underline() argument
35 SkScalar start = intersections[index] - uWidth; in create_underline()
36 end = intersections[index + 1] + uWidth; in create_underline()
119 const SkScalar uWidth = textSize / 15; variable
120 paint.setStrokeWidth(uWidth);
126 const SkScalar uPos = uWidth;
127 const SkScalar bounds[2] = { uPos - uWidth / 2, uPos + uWidth / 2 };
137 SkPath underline = create_underline(intercepts, start, end, uPos, uWidth, textSize);
/dports/biology/muscle/muscle-3.8.1551/
H A Dmsa.cpp385 static void FmtChar(char c, unsigned uWidth) in FmtChar() argument
388 for (unsigned n = 0; n < uWidth - 1; ++n) in FmtChar()
392 static void FmtInt(unsigned u, unsigned uWidth) in FmtInt() argument
395 assert(uWidth < sizeof(szStr)); in FmtInt()
402 if (n < uWidth) in FmtInt()
403 for (unsigned i = 0; i < uWidth - n; ++i) in FmtInt()
407 static void FmtInt0(unsigned u, unsigned uWidth) in FmtInt0() argument
410 assert(uWidth < sizeof(szStr)); in FmtInt0()
414 if (n < uWidth) in FmtInt0()
415 for (unsigned i = 0; i < uWidth - n; ++i) in FmtInt0()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/kvilib/irc/
H A DKviAvatar.h164 …KviAnimatedPixmap * forSize(unsigned int uWidth, unsigned int uHeight) { return forSize(QSize(uWid… in forSize() argument
/dports/games/pioneer/pioneer-20210723/src/text/
H A DDistanceFieldFont.cpp85 const float uWidth = g.uvSize.x; in AddGlyph() local
90 va.Add(vector3f(pos.x + w, pos.y, 0.f), norm, vector2f(uv.x + uWidth, uv.y + vHeight)); in AddGlyph()
94 va.Add(vector3f(pos.x + w, pos.y, 0.f), norm, vector2f(uv.x + uWidth, uv.y + vHeight)); in AddGlyph()
95 va.Add(vector3f(pos.x + w, pos.y + h, 0.f), norm, vector2f(uv.x + uWidth, uv.y)); in AddGlyph()
/dports/graphics/ogre3d/ogre-1.11.6/OgreMain/src/
H A DOgreImage.cpp179 Image& Image::loadDynamicImage( uchar* pData, uint32 uWidth, uint32 uHeight, in loadDynamicImage() argument
187 mWidth = uWidth; in loadDynamicImage()
206 mBufSize = calculateSize(numMipMaps, numFaces, uWidth, uHeight, depth, eFormat); in loadDynamicImage()
217 uint32 uWidth, uint32 uHeight, uint32 uDepth, in loadRawData() argument
222 size_t size = calculateSize(numMipMaps, numFaces, uWidth, uHeight, uDepth, eFormat); in loadRawData()
234 uWidth, uHeight, uDepth, in loadRawData()
/dports/irc/kvirc/KVIrc-5.0.0-73-gbdeac0429/src/kvirc/ui/
H A DKviSelectors.h91 void setMinimumLabelWidth(unsigned int uWidth) { m_pLabel->setMinimumWidth(uWidth); }; in setMinimumLabelWidth() argument
119 void setMinimumLabelWidth(unsigned int uWidth) { m_pLabel->setMinimumWidth(uWidth); }; in setMinimumLabelWidth() argument
/dports/print/ghostscript9-agpl-base/ghostscript-9.52/devices/
H A Dgdevplib.h37 uint uWidth, /* Page Width (pixels) */
/dports/print/ghostscript9-agpl-x11/ghostscript-9.52/devices/
H A Dgdevplib.h37 uint uWidth, /* Page Width (pixels) */
/dports/print/ghostscript9-x11/ghostscript-9.06/base/
H A Dgdevplib.h35 uint uWidth, /* Page Width (pixels) */
/dports/print/ghostscript9-base/ghostscript-9.06/base/
H A Dgdevplib.h35 uint uWidth, /* Page Width (pixels) */
/dports/graphics/ogre3d19/sinbad-ogre-dd30349ea667/OgreMain/src/
H A DOgreImage.cpp235 Image& Image::loadDynamicImage( uchar* pData, uint32 uWidth, uint32 uHeight, in loadDynamicImage() argument
243 mWidth = uWidth; in loadDynamicImage()
262 mBufSize = calculateSize(numMipMaps, numFaces, uWidth, uHeight, depth, eFormat); in loadDynamicImage()
273 uint32 uWidth, uint32 uHeight, uint32 uDepth, in loadRawData() argument
278 size_t size = calculateSize(numMipMaps, numFaces, uWidth, uHeight, uDepth, eFormat); in loadRawData()
290 uWidth, uHeight, uDepth, in loadRawData()
H A DOgreTexture.cpp86 ushort uWidth, ushort uHeight, PixelFormat eFormat) in loadRawData() argument
89 img.loadRawData(stream, uWidth, uHeight, eFormat); in loadRawData()
/dports/graphics/freeimage/FreeImage/Source/LibJXR/jxrgluelib/
H A DJXRGlue.c535 pIE->uWidth = (U32)iWidth; in PKImageEncode_SetSize()
625 …= pPITo.bdBitDepth ? ((pPITo.cbitUnit * pIE->uWidth + 7) >> 3) : (((pPITo.cbitUnit + 7) >> 3) * pI… in PKImageEncode_WriteSource()
710 …= pPITo.bdBitDepth ? ((pPITo.cbitUnit * pIE->uWidth + 7) >> 3) : (((pPITo.cbitUnit + 7) >> 3) * pI… in PKImageEncode_Transcode()
833 *piWidth = (I32)pID->uWidth; in PKImageDecode_GetSize()
/dports/graphics/devil/devil-1.7.8/src-IL/src/
H A Dil_wdp.c132 cbLineM = pIE->cbPixel * pIE->uWidth; in ilPKImageEncode_WritePixels_DevIL()
397 if (!ilTexImage(pDecoder->uWidth, pDecoder->uHeight, 1, 4, IL_BGRA, IL_UNSIGNED_BYTE, NULL)) in iLoadWdpInternal()
408 Rect.X = 0; Rect.Y = 0; Rect.Height = pDecoder->uHeight; Rect.Width = pDecoder->uWidth; in iLoadWdpInternal()
/dports/multimedia/libva-intel-media-driver/media-driver-intel-media-22.1.1/media_softlet/agnostic/common/vp/hal/packet/
H A Dvp_render_common.h44 uint32_t uWidth; member
/dports/graphics/piddle/piddle-1.0.15/src/piddle/
H A Dpolyfunc.py188 def __init__(self,x0,y0, w, h, uX0, uY0, uWidth=1.0, uHeight=1.0, theta=0.0): argument
195 Sx = float(w)/uWidth
278 uWidth= my_uWidth,
/dports/games/redeclipse/base-2.0.0/src/steam/
H A Disteamps3overlayrenderer.h53 …teTexture( int32 iTextureID, bool bIsFullTexture, int x0, int y0, uint32 uWidth, uint32 uHeight, i…
/dports/multimedia/smpeg/smpeg-0.4.4/video/
H A Dvhar128.cpp90 image->overlay->uWidth = width; in vhar128_newimage()
115 ov->w = image->overlay->uWidth; in vhar128_lockimage()

123