/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/contrib/ipp/src/ |
H A D | pjencss0.c | 67 int srcWidth, 72 if(srcWidth & 0x01) { 73 srcWidth &= ~1; /* Make source width one byte less */ 77 IPP_BAD_SIZE_RET(srcWidth) 80 if(srcWidth < 512) 85 mfxownpj_SampleDownRowH2V1_Box_JPEG_8u_C1(pSrc,srcWidth,pDst); 92 for(i = 0; i < srcWidth; i += 2) 127 int srcWidth, 131 IPP_BAD_SIZE_RET(srcWidth) 134 if(srcWidth > 31) [all …]
|
/dports/lang/clover/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
H A D | texcompress_bptc.c | 138 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_bptc_rgba_unorm() 151 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm() 156 rowstride = srcWidth * 4; in _mesa_texstore_bptc_rgba_unorm() 160 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_texstore_bptc_rgba_unorm() 164 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 187 int rgbRowStride = 3 * srcWidth * sizeof(GLfloat); in texstore_bptc_rgb_float() 196 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float() 201 rowstride = srcWidth * sizeof(float) * 3; in texstore_bptc_rgb_float() 205 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in texstore_bptc_rgb_float() 209 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float() [all …]
|
/dports/graphics/libosmesa/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
H A D | texcompress_bptc.c | 138 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_bptc_rgba_unorm() 151 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm() 156 rowstride = srcWidth * 4; in _mesa_texstore_bptc_rgba_unorm() 160 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_texstore_bptc_rgba_unorm() 164 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 187 int rgbRowStride = 3 * srcWidth * sizeof(GLfloat); in texstore_bptc_rgb_float() 196 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float() 201 rowstride = srcWidth * sizeof(float) * 3; in texstore_bptc_rgb_float() 205 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in texstore_bptc_rgb_float() 209 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float() [all …]
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
H A D | texcompress_bptc.c | 138 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_bptc_rgba_unorm() 151 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm() 156 rowstride = srcWidth * 4; in _mesa_texstore_bptc_rgba_unorm() 160 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_texstore_bptc_rgba_unorm() 164 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 187 int rgbRowStride = 3 * srcWidth * sizeof(GLfloat); in texstore_bptc_rgb_float() 196 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float() 201 rowstride = srcWidth * sizeof(float) * 3; in texstore_bptc_rgb_float() 205 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in texstore_bptc_rgb_float() 209 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float() [all …]
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
H A D | texcompress_bptc.c | 138 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_bptc_rgba_unorm() 151 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm() 156 rowstride = srcWidth * 4; in _mesa_texstore_bptc_rgba_unorm() 160 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_texstore_bptc_rgba_unorm() 164 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 187 int rgbRowStride = 3 * srcWidth * sizeof(GLfloat); in texstore_bptc_rgb_float() 196 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float() 201 rowstride = srcWidth * sizeof(float) * 3; in texstore_bptc_rgb_float() 205 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in texstore_bptc_rgb_float() 209 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float() [all …]
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
H A D | texcompress_bptc.c | 138 int rgbaRowStride = 4 * srcWidth * sizeof(GLubyte); in _mesa_texstore_bptc_rgba_unorm() 151 srcWidth, srcHeight, srcDepth, in _mesa_texstore_bptc_rgba_unorm() 156 rowstride = srcWidth * 4; in _mesa_texstore_bptc_rgba_unorm() 160 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in _mesa_texstore_bptc_rgba_unorm() 164 compress_rgba_unorm(srcWidth, srcHeight, in _mesa_texstore_bptc_rgba_unorm() 187 int rgbRowStride = 3 * srcWidth * sizeof(GLfloat); in texstore_bptc_rgb_float() 196 srcWidth, srcHeight, srcDepth, in texstore_bptc_rgb_float() 201 rowstride = srcWidth * sizeof(float) * 3; in texstore_bptc_rgb_float() 205 rowstride = _mesa_image_row_stride(srcPacking, srcWidth, in texstore_bptc_rgb_float() 209 compress_rgb_float(srcWidth, srcHeight, in texstore_bptc_rgb_float() [all …]
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/mesa/main/ |
H A D | texcompress_rgtc.c | 109 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_red_rgtc1() 115 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_red_rgtc1() 116 else numxpixels = srcWidth - i; in _mesa_texstore_red_rgtc1() 162 dstRowDiff = dstRowStride >= (srcWidth * 2) ? dstRowStride - (((srcWidth + 3) & ~3) * 2) : 0; in _mesa_texstore_signed_red_rgtc1() 168 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_signed_red_rgtc1() 169 else numxpixels = srcWidth - i; in _mesa_texstore_signed_red_rgtc1() 221 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_rg_rgtc2() 227 if (srcWidth > i + 3) numxpixels = 4; in _mesa_texstore_rg_rgtc2() 228 else numxpixels = srcWidth - i; in _mesa_texstore_rg_rgtc2() 286 dstRowDiff = dstRowStride >= (srcWidth * 4) ? dstRowStride - (((srcWidth + 3) & ~3) * 4) : 0; in _mesa_texstore_signed_rg_rgtc2() [all …]
|
/dports/misc/mnn/MNN-1.2.0/source/backend/opencl/execution/cl/ |
H A D | winogradTransformDest2_5_1.cl | 17 int srcWidth = (unitWidth * unitHeight + 3) / 4; 29 FLOAT4 S00 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 0, dstY)); 30 FLOAT4 S10 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 1, dstY)); 31 FLOAT4 S20 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 2, dstY)); 32 FLOAT4 S30 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 3, dstY)); 33 FLOAT4 S40 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 4, dstY)); 34 FLOAT4 S50 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 5, dstY)); 35 FLOAT4 S01 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 6, dstY)); 36 FLOAT4 S11 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 7, dstY)); 37 FLOAT4 S21 = RI_F(uInput, SAMPLER, (int2)(dstX + srcWidth * 8, dstY)); [all …]
|
H A D | winogradTransformSource2_5_1.cl | 69 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 76 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 83 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 90 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 97 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 104 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 111 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 118 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 125 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 132 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); [all …]
|
H A D | winogradTransformSource2_3_1.cl | 49 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 56 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 63 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 70 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 77 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 84 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 91 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 98 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 105 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); 112 int imageSx = select(sx + srcZ * srcWidth, -1, sx < 0 || sx >= srcWidth); [all …]
|
/dports/misc/visp/visp-3.4.0/3rdparty/simdlib/Simd/ |
H A D | SimdNeonReduceGray3x3.cpp | 64 const uint8_t* src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 67 … assert(srcWidth >= A && (srcWidth + 1) / 2 == dstWidth && (srcHeight + 1) / 2 == dstHeight); in ReduceGray3x3() 71 size_t lastOddCol = srcWidth - AlignLo(srcWidth, 2); in ReduceGray3x3() 72 size_t bodyWidth = AlignLo(srcWidth, A); in ReduceGray3x3() 86 if (bodyWidth != srcWidth) in ReduceGray3x3() 88 size_t srcCol = srcWidth - A - lastOddCol; in ReduceGray3x3() 93 …dstWidth - 1] = Base::GaussianBlur3x3<compensation>(s0 + srcWidth, s1 + srcWidth, s2 + srcWidth, -… in ReduceGray3x3() 99 const uint8_t* src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 103 …ReduceGray3x3<align, true>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStrid… in ReduceGray3x3() 105 …ReduceGray3x3<align, false>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStri… in ReduceGray3x3() [all …]
|
H A D | SimdSse2ReduceGray3x3.cpp | 68 const uint8_t* src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 71 … assert(srcWidth >= A && (srcWidth + 1) / 2 == dstWidth && (srcHeight + 1) / 2 == dstHeight); in ReduceGray3x3() 75 size_t lastOddCol = srcWidth - AlignLo(srcWidth, 2); in ReduceGray3x3() 76 size_t bodyWidth = AlignLo(srcWidth, A); in ReduceGray3x3() 90 if (bodyWidth != srcWidth) in ReduceGray3x3() 92 size_t srcCol = srcWidth - A - lastOddCol; in ReduceGray3x3() 97 …dstWidth - 1] = Base::GaussianBlur3x3<compensation>(s0 + srcWidth, s1 + srcWidth, s2 + srcWidth, -… in ReduceGray3x3() 103 const uint8_t* src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 107 …ReduceGray3x3<align, true>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStrid… in ReduceGray3x3() 109 …ReduceGray3x3<align, false>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStri… in ReduceGray3x3() [all …]
|
H A D | SimdAvx2ReduceGray5x5.cpp | 137 … assert((srcWidth + 1) / 2 == dstWidth && (srcHeight + 1) / 2 == dstHeight && srcWidth >= DA); in ReduceGray5x5() 141 size_t alignedWidth = Simd::AlignLo(srcWidth, DA); in ReduceGray5x5() 142 size_t bufferDstTail = Simd::AlignHi(srcWidth - DA, 2); in ReduceGray5x5() 144 Buffer buffer(Simd::AlignHi(srcWidth, A)); in ReduceGray5x5() 148 if (alignedWidth != srcWidth) in ReduceGray5x5() 150 FirstRow5x5<false, false>(src, buffer, srcWidth - DA); in ReduceGray5x5() 151 FirstRow5x5<false, false>(src, buffer, srcWidth - A); in ReduceGray5x5() 162 if (alignedWidth != srcWidth) in ReduceGray5x5() 173 buffer.dst[srcWidth] = buffer.dst[srcWidth - 1]; in ReduceGray5x5() 174 buffer.dst[srcWidth + 1] = buffer.dst[srcWidth - 1]; in ReduceGray5x5() [all …]
|
H A D | SimdBaseReduceGray3x3.cpp | 30 …template <bool compensation> void ReduceGray3x3(const uint8_t *src, size_t srcWidth, size_t srcHei… in ReduceGray3x3() argument 33 assert((srcWidth + 1) / 2 == dstWidth && (srcHeight + 1) / 2 == dstHeight); in ReduceGray3x3() 50 for (row = 2; row < srcWidth - 1; row += 2) in ReduceGray3x3() 53 if (row == srcWidth - 1) in ReduceGray3x3() 54 …*pDst++ = GaussianBlur3x3<compensation>(src0, src1, src2, srcWidth - 2, srcWidth - 1, srcWidth - 1… in ReduceGray3x3() 58 void ReduceGray3x3(const uint8_t *src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 62 … ReduceGray3x3<true>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStride); in ReduceGray3x3() 64 … ReduceGray3x3<false>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStride); in ReduceGray3x3()
|
H A D | SimdAvx2ReduceGray3x3.cpp | 87 const uint8_t* src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 90 … assert(srcWidth >= DA && (srcWidth + 1) / 2 == dstWidth && (srcHeight + 1) / 2 == dstHeight); in ReduceGray3x3() 94 size_t lastOddCol = srcWidth - AlignLo(srcWidth, 2); in ReduceGray3x3() 95 size_t bodyWidth = AlignLo(srcWidth, DA); in ReduceGray3x3() 115 if (bodyWidth != srcWidth) in ReduceGray3x3() 117 size_t srcCol = srcWidth - DA - lastOddCol; in ReduceGray3x3() 123 …idth - 1] = Base::GaussianBlur3x3<compensation>(s[0] + srcWidth, s[1] + srcWidth, s[2] + srcWidth,… in ReduceGray3x3() 129 const uint8_t* src, size_t srcWidth, size_t srcHeight, size_t srcStride, in ReduceGray3x3() argument 133 …ReduceGray3x3<align, true>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStrid… in ReduceGray3x3() 135 …ReduceGray3x3<align, false>(src, srcWidth, srcHeight, srcStride, dst, dstWidth, dstHeight, dstStri… in ReduceGray3x3() [all …]
|