/dports/devel/upp/upp/bazaar/plugin/gdal/alg/ |
H A D | gdalsimplewarp.cpp | 80 int nBandCount, int *panBandList, in GDALSimpleImageWarp() argument 94 if( nBandCount == 0 ) in GDALSimpleImageWarp() 98 nBandCount = GDALGetRasterCount( hSrcDS ); in GDALSimpleImageWarp() 99 if (nBandCount == 0) in GDALSimpleImageWarp() 108 for( iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 136 for( iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 161 for( iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 196 for( iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 219 for( iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 270 for( iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() [all …]
|
H A D | gdalwarper.cpp | 139 if( psWOptions->nBandCount == 0 ) in GDALReprojectImage() 375 if( nBandCount != 1 || bMaskIsFloat ) in GDALWarpNoDataMasker() 574 CPL_UNUSED int nBandCount, in GDALWarpSrcAlphaMasker() argument 642 CPL_UNUSED int nBandCount, in GDALWarpSrcMaskMasker() argument 768 if( nBandCount >= 0 ) in GDALWarpDstAlphaMasker() 948 psOptions->nBandCount = 0; in GDALCreateWarpOptions() 1016 psSrcOptions->nBandCount ); in GDALCloneWarpOptions() 1165 if( psWO->nBandCount != 0 ) in GDALSerializeWarpOptions() 1168 for( i = 0; i < psWO->nBandCount; i++ ) in GDALSerializeWarpOptions() 1385 psWO->nBandCount = 0; in GDALDeserializeWarpOptions() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/alg/ |
H A D | gdalsimplewarp.cpp | 135 nTokens > nBandCount * 2 ) in GDALSimpleWarpRemapping() 231 int nBandCount, int *panBandList, in GDALSimpleImageWarp() argument 245 if( nBandCount == 0 ) in GDALSimpleImageWarp() 247 nBandCount = GDALGetRasterCount( hSrcDS ); in GDALSimpleImageWarp() 248 if( nBandCount == 0 ) in GDALSimpleImageWarp() 284 CPLCalloc(nBandCount, sizeof(GByte*)) ); in GDALSimpleImageWarp() 287 for( int iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 314 for( int i=0; i <= nBandCount; i++ ) in GDALSimpleImageWarp() 334 CPLCalloc(nBandCount, sizeof(GByte*)) ); in GDALSimpleImageWarp() 336 for( int iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/alg/ |
H A D | gdalsimplewarp.cpp | 135 nTokens > nBandCount * 2 ) in GDALSimpleWarpRemapping() 231 int nBandCount, int *panBandList, in GDALSimpleImageWarp() argument 245 if( nBandCount == 0 ) in GDALSimpleImageWarp() 247 nBandCount = GDALGetRasterCount( hSrcDS ); in GDALSimpleImageWarp() 248 if( nBandCount == 0 ) in GDALSimpleImageWarp() 284 CPLCalloc(nBandCount, sizeof(GByte*)) ); in GDALSimpleImageWarp() 287 for( int iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 314 for( int i=0; i <= nBandCount; i++ ) in GDALSimpleImageWarp() 334 CPLCalloc(nBandCount, sizeof(GByte*)) ); in GDALSimpleImageWarp() 336 for( int iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/alg/ |
H A D | gdalsimplewarp.cpp | 135 nTokens > nBandCount * 2 ) in GDALSimpleWarpRemapping() 231 int nBandCount, int *panBandList, in GDALSimpleImageWarp() argument 245 if( nBandCount == 0 ) in GDALSimpleImageWarp() 247 nBandCount = GDALGetRasterCount( hSrcDS ); in GDALSimpleImageWarp() 248 if( nBandCount == 0 ) in GDALSimpleImageWarp() 284 CPLCalloc(nBandCount, sizeof(GByte*)) ); in GDALSimpleImageWarp() 287 for( int iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() 314 for( int i=0; i <= nBandCount; i++ ) in GDALSimpleImageWarp() 334 CPLCalloc(nBandCount, sizeof(GByte*)) ); in GDALSimpleImageWarp() 336 for( int iBand = 0; iBand < nBandCount; iBand++ ) in GDALSimpleImageWarp() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/gcore/ |
H A D | gdalvirtualmem.cpp | 54 int nBandCount; member in GDALVirtualMem 122 nBandCount(nBandCount), nPixelSpace(nPixelSpace), nLineSpace(nLineSpace), in GDALVirtualMem() 142 nBandCount = 1; in GDALVirtualMem() 177 if( nBandCount == 1 ) in GetXYBand() 188 if( nBandCount == 1 ) in GetXYBand() 262 if( band >= nBandCount ) in DoIOPixelInterleaved() 595 if( nBandCount == 0 ) in GDALCheckBandParameters() 701 (nBandCount > 1 && in GDALGetVirtualMem() 1042 int nBandCount; member in GDALTiledVirtualMem 1084 nBandCount(nBandCount), eTileOrganization(eTileOrganization) in GDALTiledVirtualMem() [all …]
|
H A D | gdaldefaultasync.cpp | 41 int nBandCount, int* panBandMap, 200 int nBandCount, int* panBandMap, 223 int nBandCount, int* panBandMap, in GDALGetDefaultAsyncReader() argument 231 nBandCount, panBandMap, in GDALGetDefaultAsyncReader() 247 int nBandCount, int* panBandMap, in GDALDefaultAsyncReader() argument 261 this->nBandCount = nBandCount; in GDALDefaultAsyncReader() 262 this->panBandMap = (int *) CPLMalloc(sizeof(int)*nBandCount); in GDALDefaultAsyncReader() 265 memcpy( this->panBandMap, panBandMap, sizeof(int)*nBandCount ); in GDALDefaultAsyncReader() 268 for( int i = 0; i < nBandCount; i++ ) in GDALDefaultAsyncReader() 305 nBandCount, panBandMap, in GetNextUpdatedRegion()
|
/dports/graphics/py-gdal/gdal-3.3.3/gcore/ |
H A D | gdalvirtualmem.cpp | 62 int nBandCount = 0; member in GDALVirtualMem 150 nBandCount(nBandCountIn), in GDALVirtualMem() 171 nBandCount = 1; in GDALVirtualMem() 207 if( nBandCount == 1 ) in GetXYBand() 219 if( nBandCount == 1 ) in GetXYBand() 300 if( band >= nBandCount ) in DoIOPixelInterleaved() 302 band = nBandCount - 1; in DoIOPixelInterleaved() 660 if( nBandCount == 0 ) in GDALCheckBandParameters() 770 (nBandCount > 1 && in GDALGetVirtualMem() 1123 int nBandCount = 0; member in GDALTiledVirtualMem [all …]
|
H A D | gdaldefaultasync.cpp | 48 int nBandCount, int* panBandMap, 73 nBandCount(0), in GDALAsyncReader() 294 int nBandCount, int* panBandMap, 317 int nBandCount, int* panBandMap, in GDALGetDefaultAsyncReader() argument 325 nBandCount, panBandMap, in GDALGetDefaultAsyncReader() 355 nBandCount = nBandCountIn; in GDALDefaultAsyncReader() 359 memcpy( panBandMap, panBandMapIn, sizeof(int)*nBandCount ); in GDALDefaultAsyncReader() 362 for( int i = 0; i < nBandCount; i++ ) in GDALDefaultAsyncReader() 399 nBandCount, panBandMap, in GetNextUpdatedRegion()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/gcore/ |
H A D | gdalvirtualmem.cpp | 62 int nBandCount = 0; member in GDALVirtualMem 150 nBandCount(nBandCountIn), in GDALVirtualMem() 171 nBandCount = 1; in GDALVirtualMem() 207 if( nBandCount == 1 ) in GetXYBand() 219 if( nBandCount == 1 ) in GetXYBand() 300 if( band >= nBandCount ) in DoIOPixelInterleaved() 302 band = nBandCount - 1; in DoIOPixelInterleaved() 660 if( nBandCount == 0 ) in GDALCheckBandParameters() 770 (nBandCount > 1 && in GDALGetVirtualMem() 1123 int nBandCount = 0; member in GDALTiledVirtualMem [all …]
|
H A D | gdaldefaultasync.cpp | 48 int nBandCount, int* panBandMap, 73 nBandCount(0), in GDALAsyncReader() 294 int nBandCount, int* panBandMap, 317 int nBandCount, int* panBandMap, in GDALGetDefaultAsyncReader() argument 325 nBandCount, panBandMap, in GDALGetDefaultAsyncReader() 355 nBandCount = nBandCountIn; in GDALDefaultAsyncReader() 359 memcpy( panBandMap, panBandMapIn, sizeof(int)*nBandCount ); in GDALDefaultAsyncReader() 362 for( int i = 0; i < nBandCount; i++ ) in GDALDefaultAsyncReader() 399 nBandCount, panBandMap, in GetNextUpdatedRegion()
|
/dports/graphics/gdal/gdal-3.3.3/gcore/ |
H A D | gdalvirtualmem.cpp | 62 int nBandCount = 0; member in GDALVirtualMem 150 nBandCount(nBandCountIn), in GDALVirtualMem() 171 nBandCount = 1; in GDALVirtualMem() 207 if( nBandCount == 1 ) in GetXYBand() 219 if( nBandCount == 1 ) in GetXYBand() 300 if( band >= nBandCount ) in DoIOPixelInterleaved() 302 band = nBandCount - 1; in DoIOPixelInterleaved() 660 if( nBandCount == 0 ) in GDALCheckBandParameters() 770 (nBandCount > 1 && in GDALGetVirtualMem() 1123 int nBandCount = 0; member in GDALTiledVirtualMem [all …]
|
H A D | gdaldefaultasync.cpp | 48 int nBandCount, int* panBandMap, 73 nBandCount(0), in GDALAsyncReader() 294 int nBandCount, int* panBandMap, 317 int nBandCount, int* panBandMap, in GDALGetDefaultAsyncReader() argument 325 nBandCount, panBandMap, in GDALGetDefaultAsyncReader() 355 nBandCount = nBandCountIn; in GDALDefaultAsyncReader() 359 memcpy( panBandMap, panBandMapIn, sizeof(int)*nBandCount ); in GDALDefaultAsyncReader() 362 for( int i = 0; i < nBandCount; i++ ) in GDALDefaultAsyncReader() 399 nBandCount, panBandMap, in GetNextUpdatedRegion()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/ecw/ |
H A D | ecwasyncreader.cpp | 47 int nBandCount, int* panBandMap, in BeginAsyncReader() argument 88 if( nBandCount <= 0 || nBandCount > nBands ) in BeginAsyncReader() 96 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 124 poReader->nBandCount = nBandCount; in BeginAsyncReader() 125 poReader->panBandMap = (int *) CPLCalloc(sizeof(int),nBandCount); in BeginAsyncReader() 132 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 162 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 306 CPLMalloc(nBufXSize * nDataTypeSize * nBandCount); in ReadToBuffer() 309 for( i = 0; i < nBandCount; i++ ) in ReadToBuffer() 322 (UINT16) nBandCount, in ReadToBuffer() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/ecw/ |
H A D | ecwasyncreader.cpp | 47 int nBandCount, int* panBandMap, in BeginAsyncReader() argument 88 if( nBandCount <= 0 || nBandCount > nBands ) in BeginAsyncReader() 96 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 124 poReader->nBandCount = nBandCount; in BeginAsyncReader() 125 poReader->panBandMap = (int *) CPLCalloc(sizeof(int),nBandCount); in BeginAsyncReader() 132 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 162 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 306 CPLMalloc(nBufXSize * nDataTypeSize * nBandCount); in ReadToBuffer() 309 for( i = 0; i < nBandCount; i++ ) in ReadToBuffer() 322 (UINT16) nBandCount, in ReadToBuffer() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/ecw/ |
H A D | ecwasyncreader.cpp | 47 int nBandCount, int* panBandMap, in BeginAsyncReader() argument 88 if( nBandCount <= 0 || nBandCount > nBands ) in BeginAsyncReader() 96 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 124 poReader->nBandCount = nBandCount; in BeginAsyncReader() 125 poReader->panBandMap = (int *) CPLCalloc(sizeof(int),nBandCount); in BeginAsyncReader() 132 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 162 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 306 CPLMalloc(nBufXSize * nDataTypeSize * nBandCount); in ReadToBuffer() 309 for( i = 0; i < nBandCount; i++ ) in ReadToBuffer() 322 (UINT16) nBandCount, in ReadToBuffer() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/ecw/ |
H A D | ecwasyncreader.cpp | 45 int nBandCount, int* panBandMap, in BeginAsyncReader() argument 86 if( nBandCount <= 0 || nBandCount > nBands ) in BeginAsyncReader() 94 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 122 poReader->nBandCount = nBandCount; in BeginAsyncReader() 123 poReader->panBandMap = (int *) CPLCalloc(sizeof(int),nBandCount); in BeginAsyncReader() 130 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 160 for( i = 0; i < nBandCount; i++ ) in BeginAsyncReader() 308 CPLMalloc(nBufXSize * nDataTypeSize * nBandCount); in ReadToBuffer() 311 for( i = 0; i < nBandCount; i++ ) in ReadToBuffer() 324 (UINT16) nBandCount, in ReadToBuffer() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/apps/ |
H A D | gdalasyncread.cpp | 168 nBandCount++; in main() 171 panBandList[nBandCount-1] = atoi(argv[++i]); in main() 173 if( panBandList[nBandCount-1] != nBandCount ) in main() 301 if( nBandCount == 0 ) in main() 303 nBandCount = GDALGetRasterCount( hSrcDS ); in main() 304 if( nBandCount == 0 ) in main() 312 for( i = 0; i < nBandCount; i++ ) in main() 317 for( i = 0; i < nBandCount; i++ ) in main() 420 int nBandSpace = nBytesPerPixel / nBandCount; in main() 426 nBandCount, panBandList, in main() [all …]
|
H A D | gdalenhance.cpp | 236 int nBandCount = GDALGetRasterCount(hDataset); in MAIN_START() local 303 if( CSLCount(papszLines) != nBandCount ) in MAIN_START() 310 static_cast<double *>(CPLCalloc(nBandCount,sizeof(double))); in MAIN_START() 314 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 362 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 395 CPLCalloc(nBandCount, sizeof(EnhanceCBInfo))); in MAIN_START() 424 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 507 int nBandCount = GDALGetRasterCount(hDataset); in ComputeEqualizationLUTs() local 513 static_cast<double *>(CPLCalloc(sizeof(double), nBandCount)); in ComputeEqualizationLUTs() 515 static_cast<double *>(CPLCalloc(sizeof(double), nBandCount)); in ComputeEqualizationLUTs() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/apps/ |
H A D | gdalasyncread.cpp | 168 nBandCount++; in main() 171 panBandList[nBandCount-1] = atoi(argv[++i]); in main() 173 if( panBandList[nBandCount-1] != nBandCount ) in main() 301 if( nBandCount == 0 ) in main() 303 nBandCount = GDALGetRasterCount( hSrcDS ); in main() 304 if( nBandCount == 0 ) in main() 312 for( i = 0; i < nBandCount; i++ ) in main() 317 for( i = 0; i < nBandCount; i++ ) in main() 420 int nBandSpace = nBytesPerPixel / nBandCount; in main() 426 nBandCount, panBandList, in main() [all …]
|
H A D | gdalenhance.cpp | 236 int nBandCount = GDALGetRasterCount(hDataset); in MAIN_START() local 303 if( CSLCount(papszLines) != nBandCount ) in MAIN_START() 310 static_cast<double *>(CPLCalloc(nBandCount,sizeof(double))); in MAIN_START() 314 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 362 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 395 CPLCalloc(nBandCount, sizeof(EnhanceCBInfo))); in MAIN_START() 424 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 507 int nBandCount = GDALGetRasterCount(hDataset); in ComputeEqualizationLUTs() local 513 static_cast<double *>(CPLCalloc(sizeof(double), nBandCount)); in ComputeEqualizationLUTs() 515 static_cast<double *>(CPLCalloc(sizeof(double), nBandCount)); in ComputeEqualizationLUTs() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/apps/ |
H A D | gdalasyncread.cpp | 168 nBandCount++; in main() 171 panBandList[nBandCount-1] = atoi(argv[++i]); in main() 173 if( panBandList[nBandCount-1] != nBandCount ) in main() 301 if( nBandCount == 0 ) in main() 303 nBandCount = GDALGetRasterCount( hSrcDS ); in main() 304 if( nBandCount == 0 ) in main() 312 for( i = 0; i < nBandCount; i++ ) in main() 317 for( i = 0; i < nBandCount; i++ ) in main() 420 int nBandSpace = nBytesPerPixel / nBandCount; in main() 426 nBandCount, panBandList, in main() [all …]
|
H A D | gdalenhance.cpp | 236 int nBandCount = GDALGetRasterCount(hDataset); in MAIN_START() local 303 if( CSLCount(papszLines) != nBandCount ) in MAIN_START() 310 static_cast<double *>(CPLCalloc(nBandCount,sizeof(double))); in MAIN_START() 314 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 362 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 395 CPLCalloc(nBandCount, sizeof(EnhanceCBInfo))); in MAIN_START() 424 for( iBand = 0; iBand < nBandCount; iBand++ ) in MAIN_START() 507 int nBandCount = GDALGetRasterCount(hDataset); in ComputeEqualizationLUTs() local 513 static_cast<double *>(CPLCalloc(sizeof(double), nBandCount)); in ComputeEqualizationLUTs() 515 static_cast<double *>(CPLCalloc(sizeof(double), nBandCount)); in ComputeEqualizationLUTs() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/geotiff/libgeotiff/hfa/ |
H A D | img2tif.cpp | 100 int nBandCount=0, anBandList[512]; in main() local 148 nBandCount = 3; in main() 293 if( nBandCount > 0 ) in main() 309 for( i = 0; i < nBandCount; i++ ) in main() 821 if( nBandCount == 1 ) in ImagineToGeoTIFF() 847 if( nBandCount == 1 ) in ImagineToGeoTIFF() 873 else if( nBandCount < 3 ) in ImagineToGeoTIFF() 881 if( nBandCount == 1 ) in ImagineToGeoTIFF() 1030 for( iBand = 0; iBand < nBandCount; iBand++ ) in RGBComboValidate() 1047 for( iBand = 1; iBand < nBandCount; iBand++ ) in RGBComboValidate() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgsgdalutils.cpp | 154 psWarpOptions->nBandCount = 1; in resampleSingleBandRaster() 298 if ( psOptionsIn->nBandCount != 0 ) { return; } in GDALWarpInitDefaultBandMapping() 300 psOptionsIn->nBandCount = nBandCount; in GDALWarpInitDefaultBandMapping() 307 for ( int i = 0; i < psOptionsIn->nBandCount; i++ ) in GDALWarpInitDefaultBandMapping() 314 static void InitNoData( int nBandCount, double **ppdNoDataReal, double dDataReal ) in InitNoData() argument 316 if ( nBandCount <= 0 ) { return; } in InitNoData() 320 CPLMalloc( sizeof( double ) * nBandCount ) ); in InitNoData() 322 for ( int i = 0; i < nBandCount; ++i ) in InitNoData() 333 InitNoData( psOptionsIn->nBandCount, &psOptionsIn->padfDstNoDataImag, 0 ); in GDALWarpInitNoDataReal() 334 InitNoData( psOptionsIn->nBandCount, &psOptionsIn->padfSrcNoDataImag, 0 ); in GDALWarpInitNoDataReal() [all …]
|