Home
last modified time | relevance | path

Searched refs:srcHeight (Results 1 – 25 of 1868) sorted by relevance

12345678910>>...75

/dports/misc/mnn/MNN-1.2.0/source/backend/opencl/execution/cl/
H A DwinogradTransformSource2_5_1.cl70 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
77 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
84 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
91 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
98 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
105 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
112 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
119 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
126 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
133 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
[all …]
H A DwinogradTransformSource2_3_1.cl50 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
57 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
64 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
71 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
78 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
85 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
92 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
99 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
106 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
113 int imageSy = select(batchIndex * srcHeight + sy, -1, sy < 0 || sy >= srcHeight);
[all …]
/dports/misc/mnn/MNN-1.2.0/source/backend/vulkan/execution/glsl/
H A DwinogradTransformSource2_3_1.comp33 int srcHeight = (uConst.unitWidth*uConst.unitHeight+3)/4;
71 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*0), +m00-m20);
72 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*1), +0.5*m10+0.5*m20);
73 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*2), -0.5*m10+0.5*m20);
74 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*3), -m10+m30);
75 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*4), +m01-m21);
78 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*7), -m11+m31);
79 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*8), +m02-m22);
82 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*11), -m12+m32);
83 imageStore(uOutput, ivec2(dstX, dstY+srcHeight*12), +m03-m23);
[all …]
/dports/www/thirtybees/thirtybees-1.1.0/admin/filemanager/
H A Dupload.php112 $srcHeight = $imginfo[1]; variable
118 $image_resizing_height = $srcHeight;
120 … $image_resizing_width = $image_resizing_height * $srcWidth / $srcHeight;
123 $image_resizing_height = $image_resizing_width * $srcHeight / $srcWidth;
126 $srcHeight = $image_resizing_height; variable
133 $srcHeight = $image_max_width * $srcHeight / $srcWidth; variable
136 if ($image_max_height != 0 && $srcHeight > $image_max_height) {
138 $srcWidth = $image_max_height * $srcWidth / $srcHeight;
139 $srcHeight = $image_max_height; variable
142 create_img_gd($targetFile, $targetFile, $srcWidth, $srcHeight);
/dports/finance/prestashop/prestashop/admin/filemanager/
H A Dupload.php87 $srcHeight = $imginfo[1]; variable
93 $image_resizing_height = $srcHeight;
95 … $image_resizing_width = $image_resizing_height * $srcWidth / $srcHeight;
98 $image_resizing_height = $image_resizing_width * $srcHeight / $srcWidth;
101 $srcHeight = $image_resizing_height; variable
108 $srcHeight = $image_max_width * $srcHeight / $srcWidth; variable
111 if ($image_max_height != 0 && $srcHeight > $image_max_height) {
113 $srcWidth = $image_max_height * $srcWidth / $srcHeight;
114 $srcHeight = $image_max_height; variable
117 create_img_gd($targetFile, $targetFile, $srcWidth, $srcHeight);
/dports/devel/godot/godot-3.2.3-stable/thirdparty/etc2comp/
H A DEtcFilter.h41 int FilterTwoPass( RGBCOLOR *pSrcImage, int srcWidth, int srcHeight,
43 void FilterResample( RGBCOLOR *pSrcImage, int srcWidth, int srcHeight,
59 yScale = (float)srcHeight / dstHeight; in FilterResample()
77 if (iLastSampleRow >= srcHeight) in FilterResample()
79 iLastSampleRow = srcHeight - 1; in FilterResample()
140 int FilterTwoPass(T *pSrcImage, int srcWidth, int srcHeight, in FilterTwoPass() argument
153 int maxDim = (srcWidth>srcHeight) ? srcWidth : srcHeight; in FilterTwoPass()
159 pTempImage = new T[destWidth * srcHeight * numComponents]; in FilterTwoPass()
170 for (int iRow = 0; iRow < srcHeight; iRow++) in FilterTwoPass()
205 CalcContributions(srcHeight, destHeight, filterSize, bWrapVertical, FilterProc, contrib); in FilterTwoPass()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/etc2comp/
H A DEtcFilter.h41 int FilterTwoPass( RGBCOLOR *pSrcImage, int srcWidth, int srcHeight,
43 void FilterResample( RGBCOLOR *pSrcImage, int srcWidth, int srcHeight,
59 yScale = (float)srcHeight / dstHeight; in FilterResample()
77 if (iLastSampleRow >= srcHeight) in FilterResample()
79 iLastSampleRow = srcHeight - 1; in FilterResample()
140 int FilterTwoPass(T *pSrcImage, int srcWidth, int srcHeight, in FilterTwoPass() argument
153 int maxDim = (srcWidth>srcHeight) ? srcWidth : srcHeight; in FilterTwoPass()
159 pTempImage = new T[destWidth * srcHeight * numComponents]; in FilterTwoPass()
170 for (int iRow = 0; iRow < srcHeight; iRow++) in FilterTwoPass()
205 CalcContributions(srcHeight, destHeight, filterSize, bWrapVertical, FilterProc, contrib); in FilterTwoPass()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
149 srcHeight = h; in setDimensions()
153 destHeight = srcHeight; in setDimensions()
155 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
158 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
166 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
194 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
235 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.desktop/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
150 srcHeight = h; in setDimensions()
154 destHeight = srcHeight; in setDimensions()
156 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
159 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
167 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
195 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
236 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/java/awt/image/
H A DReplicateScaleFilter.java61 protected int srcHeight; field in ReplicateScaleFilter
149 srcHeight = h; in setDimensions()
153 destHeight = srcHeight; in setDimensions()
155 destWidth = srcWidth * destHeight / srcHeight; in setDimensions()
158 destHeight = srcHeight * destWidth / srcWidth; in setDimensions()
166 srcrows[y] = (2 * y * srcHeight + srcHeight) / (2 * destHeight); in calculateMaps()
194 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
235 int dy1 = (2 * y * destHeight + srcHeight - 1) / (2 * srcHeight); in setPixels()
/dports/www/coppermine/cpg1.6.x-1.6.12/include/
H A Dimageobject_gd.class.php257 $srcHeight = $this->height;
259 $ratio = max($srcWidth, $srcHeight) / $maxS;
262 $destHeight = (int)($srcHeight / $ratio);
326 $srcHeight = $imginfo[1];
337 if($srcHeight < $srcWidth) {
347 $cpyHeight = $srcHeight;
354 if ($cpyHeight > $srcHeight) {
356 $cpyHeight = $srcHeight;
369 $srcHeight = $cpyHeight;
379 $ratio = $srcHeight / $new_size;
[all …]
/dports/lang/clover/mesa-21.3.6/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]
/dports/graphics/libosmesa/mesa-21.3.6/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/mesa/main/
H A Dtexcompress_rgtc.c110 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_red_rgtc1()
111 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_red_rgtc1()
112 else numypixels = srcHeight - j; in _mesa_texstore_red_rgtc1()
163 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_signed_red_rgtc1()
164 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_signed_red_rgtc1()
165 else numypixels = srcHeight - j; in _mesa_texstore_signed_red_rgtc1()
222 for (j = 0; j < srcHeight; j+=4) { in _mesa_texstore_rg_rgtc2()
223 if (srcHeight > j + 3) numypixels = 4; in _mesa_texstore_rg_rgtc2()
224 else numypixels = srcHeight - j; in _mesa_texstore_rg_rgtc2()
287 for (j = 0; j < srcHeight; j += 4) { in _mesa_texstore_signed_rg_rgtc2()
[all …]

12345678910>>...75