/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/dods/ |
H A D | dodsdataset2.cpp | 1234 if( nBytesPerPixel == 1 ) in DODSRasterBand() 1239 else if( nBytesPerPixel == 2 ) in DODSRasterBand() 1244 else if( nBytesPerPixel == 4 ) in DODSRasterBand() 1436 int nBytesPerPixel = GDALGetDataTypeSize(eDataType) / 8; in IReadBlock() local 1546 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1574 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1581 eDataType, nBytesPerPixel, in IReadBlock() 1602 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1608 eDataType, nBytesPerPixel, in IReadBlock() 1610 eDataType, nBytesPerPixel, in IReadBlock() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/dods/ |
H A D | dodsdataset2.cpp | 1219 if( nBytesPerPixel == 1 ) in DODSRasterBand() 1224 else if( nBytesPerPixel == 2 ) in DODSRasterBand() 1229 else if( nBytesPerPixel == 4 ) in DODSRasterBand() 1419 int nBytesPerPixel = GDALGetDataTypeSize(eDataType) / 8; in IReadBlock() local 1538 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1565 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1572 eDataType, nBytesPerPixel, in IReadBlock() 1592 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1598 eDataType, nBytesPerPixel, in IReadBlock() 1600 eDataType, nBytesPerPixel, in IReadBlock() [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/dods/ |
H A D | dodsdataset2.cpp | 1219 if( nBytesPerPixel == 1 ) in DODSRasterBand() 1224 else if( nBytesPerPixel == 2 ) in DODSRasterBand() 1229 else if( nBytesPerPixel == 4 ) in DODSRasterBand() 1419 int nBytesPerPixel = GDALGetDataTypeSize(eDataType) / 8; in IReadBlock() local 1538 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1565 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1572 eDataType, nBytesPerPixel, in IReadBlock() 1592 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1598 eDataType, nBytesPerPixel, in IReadBlock() 1600 eDataType, nBytesPerPixel, in IReadBlock() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/dods/ |
H A D | dodsdataset2.cpp | 1219 if( nBytesPerPixel == 1 ) in DODSRasterBand() 1224 else if( nBytesPerPixel == 2 ) in DODSRasterBand() 1229 else if( nBytesPerPixel == 4 ) in DODSRasterBand() 1419 int nBytesPerPixel = GDALGetDataTypeSize(eDataType) / 8; in IReadBlock() local 1538 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1565 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1572 eDataType, nBytesPerPixel, in IReadBlock() 1592 CPLMalloc(nBytesPerPixel * nXSize * nYSize); in IReadBlock() 1598 eDataType, nBytesPerPixel, in IReadBlock() 1600 eDataType, nBytesPerPixel, in IReadBlock() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/raw/ |
H A D | doq2dataset.cpp | 172 int nBytesPerPixel = 0; in Open() local 259 nBytesPerPixel = atoi(papszTokens[1]) / 8; in Open() 341 || nBytesPerPixel < 0 ) in Open() 391 nBandCount = nBytesPerPixel; in Open() 400 if( nBytesPerPixel > INT_MAX / nBandCount ) in Open() 405 nBytesPerPixel *= nBandCount; in Open() 408 if( nBytesPerPixel > INT_MAX / nWidth ) in Open() 413 const int nBytesPerLine = nBytesPerPixel * nWidth; in Open() 423 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
H A D | doq1dataset.cpp | 269 int nBytesPerPixel = 0; in Open() local 272 nBytesPerPixel = 1; in Open() 274 nBytesPerPixel = 3; in Open() 276 const int nBytesPerLine = nBytesPerPixel * nWidth; in Open() 282 poDS->nBands = nBytesPerPixel; in Open() 287 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
/dports/graphics/gdal/gdal-3.3.3/frmts/raw/ |
H A D | doq2dataset.cpp | 172 int nBytesPerPixel = 0; in Open() local 259 nBytesPerPixel = atoi(papszTokens[1]) / 8; in Open() 341 || nBytesPerPixel < 0 ) in Open() 391 nBandCount = nBytesPerPixel; in Open() 400 if( nBytesPerPixel > INT_MAX / nBandCount ) in Open() 405 nBytesPerPixel *= nBandCount; in Open() 408 if( nBytesPerPixel > INT_MAX / nWidth ) in Open() 413 const int nBytesPerLine = nBytesPerPixel * nWidth; in Open() 423 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
H A D | doq1dataset.cpp | 269 int nBytesPerPixel = 0; in Open() local 272 nBytesPerPixel = 1; in Open() 274 nBytesPerPixel = 3; in Open() 276 const int nBytesPerLine = nBytesPerPixel * nWidth; in Open() 282 poDS->nBands = nBytesPerPixel; in Open() 287 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/raw/ |
H A D | doq2dataset.cpp | 172 int nBytesPerPixel = 0; in Open() local 259 nBytesPerPixel = atoi(papszTokens[1]) / 8; in Open() 341 || nBytesPerPixel < 0 ) in Open() 391 nBandCount = nBytesPerPixel; in Open() 400 if( nBytesPerPixel > INT_MAX / nBandCount ) in Open() 405 nBytesPerPixel *= nBandCount; in Open() 408 if( nBytesPerPixel > INT_MAX / nWidth ) in Open() 413 const int nBytesPerLine = nBytesPerPixel * nWidth; in Open() 423 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
H A D | doq1dataset.cpp | 269 int nBytesPerPixel = 0; in Open() local 272 nBytesPerPixel = 1; in Open() 274 nBytesPerPixel = 3; in Open() 276 const int nBytesPerLine = nBytesPerPixel * nWidth; in Open() 282 poDS->nBands = nBytesPerPixel; in Open() 287 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/raw/ |
H A D | doq1dataset.cpp | 213 int nSkipBytes, nBytesPerPixel=0, nBytesPerLine, i; in Open() local 216 nBytesPerPixel = 1; in Open() 218 nBytesPerPixel = 3; in Open() 220 nBytesPerLine = nBytesPerPixel * nWidth; in Open() 226 poDS->nBands = nBytesPerPixel; in Open() 231 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
H A D | doq2dataset.cpp | 148 int nBytesPerPixel=0; in Open() local 235 nBytesPerPixel = (atoi(papszTokens[1]) / 8); in Open() 369 nBandCount = nBytesPerPixel; in Open() 371 nBytesPerPixel *= nBandCount; in Open() 373 nBytesPerLine = nBytesPerPixel * nWidth; in Open() 382 nSkipBytes + i, nBytesPerPixel, nBytesPerLine, in Open()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/tga/ |
H A D | tgadataset.cpp | 295 const int nBytesPerPixel = in IReadBlock() local 307 VSIFSeekL(poGDS->m_fpImage, nBytesPerPixel, SEEK_CUR); in IReadBlock() 331 VSIFReadL(&abyData[0], 1, nBytesPerPixel, poGDS->m_fpImage); in IReadBlock() 351 VSIFSeekL(poGDS->m_fpImage, nPixelsToFill * nBytesPerPixel, SEEK_CUR); in IReadBlock() 364 abyData.resize( nBytesPerPixel * nPixelsToFill ); in IReadBlock() 382 abyData[3 - nBand + nBytesPerPixel * i]; in IReadBlock() 390 abyData[3 + nBytesPerPixel * i]; in IReadBlock() 441 abyData.resize( nBytesPerPixel * nRasterXSize ); in IReadBlock() 443 static_cast<vsi_l_offset>(nLine) * nRasterXSize * nBytesPerPixel; in IReadBlock() 445 VSIFReadL(&abyData[0], 1, nRasterXSize * nBytesPerPixel, poGDS->m_fpImage); in IReadBlock() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/tga/ |
H A D | tgadataset.cpp | 295 const int nBytesPerPixel = 307 VSIFSeekL(poGDS->m_fpImage, nBytesPerPixel, SEEK_CUR); 331 VSIFReadL(&abyData[0], 1, nBytesPerPixel, poGDS->m_fpImage); 351 VSIFSeekL(poGDS->m_fpImage, nPixelsToFill * nBytesPerPixel, SEEK_CUR); 364 abyData.resize( nBytesPerPixel * nPixelsToFill ); 382 abyData[3 - nBand + nBytesPerPixel * i]; 390 abyData[3 + nBytesPerPixel * i]; 441 abyData.resize( nBytesPerPixel * nRasterXSize ); 443 static_cast<vsi_l_offset>(nLine) * nRasterXSize * nBytesPerPixel; 445 VSIFReadL(&abyData[0], 1, nRasterXSize * nBytesPerPixel, poGDS->m_fpImage); [all …]
|
/dports/graphics/gdal/gdal-3.3.3/frmts/tga/ |
H A D | tgadataset.cpp | 295 const int nBytesPerPixel = in IReadBlock() local 307 VSIFSeekL(poGDS->m_fpImage, nBytesPerPixel, SEEK_CUR); in IReadBlock() 331 VSIFReadL(&abyData[0], 1, nBytesPerPixel, poGDS->m_fpImage); in IReadBlock() 351 VSIFSeekL(poGDS->m_fpImage, nPixelsToFill * nBytesPerPixel, SEEK_CUR); in IReadBlock() 364 abyData.resize( nBytesPerPixel * nPixelsToFill ); in IReadBlock() 382 abyData[3 - nBand + nBytesPerPixel * i]; in IReadBlock() 390 abyData[3 + nBytesPerPixel * i]; in IReadBlock() 441 abyData.resize( nBytesPerPixel * nRasterXSize ); in IReadBlock() 443 static_cast<vsi_l_offset>(nLine) * nRasterXSize * nBytesPerPixel; in IReadBlock() 445 VSIFReadL(&abyData[0], 1, nRasterXSize * nBytesPerPixel, poGDS->m_fpImage); in IReadBlock() [all …]
|
/dports/net/spiritvnc/spiritvnc-fltk-0.4.6/src/ |
H A D | vnc.cxx | 403 int nHeight, int nBytesPerPixel) in handleCursorShapeChange() argument 413 const int nSSize = nWidth * nHeight * nBytesPerPixel; in handleCursorShapeChange() 416 if (nBytesPerPixel == 2 || nBytesPerPixel == 4) in handleCursorShapeChange() 421 for (int i = (nBytesPerPixel - 1); i < nSSize; i += nBytesPerPixel) in handleCursorShapeChange() 435 Fl_RGB_Image * img = new Fl_RGB_Image(cl->rcSource, nWidth, nHeight, nBytesPerPixel); in handleCursorShapeChange() 890 int nBytesPerPixel = cl->format.bitsPerPixel / 8; in draw() local 906 nBytesPerPixel, in draw() 918 int isize = cl->width * cl->height * nBytesPerPixel; in draw() 921 if (nBytesPerPixel == 2 || nBytesPerPixel == 4) in draw() 923 for (int i = (nBytesPerPixel - 1); i < isize; i+= nBytesPerPixel) in draw() [all …]
|
/dports/graphics/py-gdal/gdal-3.3.3/apps/ |
H A D | gdalasyncread.cpp | 404 const int nBytesPerPixel = in main() local 406 void *pImage = VSIMalloc3(nOXSize, nOYSize, nBytesPerPixel); in main() 411 nOXSize, nOYSize, nBytesPerPixel ); in main() 418 int nPixelSpace = nBytesPerPixel; in main() 419 int nLineSpace = nBytesPerPixel * nOXSize; in main() 420 int nBandSpace = nBytesPerPixel / nBandCount; in main()
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/apps/ |
H A D | gdalasyncread.cpp | 404 const int nBytesPerPixel = in main() local 406 void *pImage = VSIMalloc3(nOXSize, nOYSize, nBytesPerPixel); in main() 411 nOXSize, nOYSize, nBytesPerPixel ); in main() 418 int nPixelSpace = nBytesPerPixel; in main() 419 int nLineSpace = nBytesPerPixel * nOXSize; in main() 420 int nBandSpace = nBytesPerPixel / nBandCount; in main()
|
/dports/graphics/gdal/gdal-3.3.3/apps/ |
H A D | gdalasyncread.cpp | 404 const int nBytesPerPixel = in main() local 406 void *pImage = VSIMalloc3(nOXSize, nOYSize, nBytesPerPixel); in main() 411 nOXSize, nOYSize, nBytesPerPixel ); in main() 418 int nPixelSpace = nBytesPerPixel; in main() 419 int nLineSpace = nBytesPerPixel * nOXSize; in main() 420 int nBandSpace = nBytesPerPixel / nBandCount; in main()
|
/dports/emulators/hatari/hatari-2.2.1/src/ |
H A D | screenConvert.c | 574 unsigned int nBytesPerPixel = sdlscrn->format->BytesPerPixel; in Screen_ConvertWithoutZoom() local 627 hvram += ((scrwidth-vw_clip)>>1) * nBytesPerPixel; in Screen_ConvertWithoutZoom() 635 switch (nBytesPerPixel) in Screen_ConvertWithoutZoom() 654 switch (nBytesPerPixel) in Screen_ConvertWithoutZoom() 688 unsigned int nBytesPerPixel = sdlscrn->format->BytesPerPixel; in ScreenConv_BitplaneTo16bppZoomed() local 711 memcpy(hvram_line, hvram_line - pitch, scrwidth * nBytesPerPixel); in ScreenConv_BitplaneTo16bppZoomed() 760 unsigned int nBytesPerPixel = sdlscrn->format->BytesPerPixel; in ScreenConv_BitplaneTo32bppZoomed() local 783 memcpy(hvram_line, hvram_line - pitch, scrwidth * nBytesPerPixel); in ScreenConv_BitplaneTo32bppZoomed() 831 unsigned int nBytesPerPixel = sdlscrn->format->BytesPerPixel; in ScreenConv_HiColorTo16bppZoomed() local 857 memcpy(hvram_line, hvram_line - pitch, scrwidth * nBytesPerPixel); in ScreenConv_HiColorTo16bppZoomed() [all …]
|
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/northwood/ |
H A D | grcdataset.cpp | 224 const int nBytesPerPixel = poGDS->pGrd->nBitsPerPixel / 8; in IReadBlock() local 225 if( nBytesPerPixel <= 0 || nBlockXSize > INT_MAX / nBytesPerPixel ) in IReadBlock() 227 const int nRecordSize = nBlockXSize * nBytesPerPixel; in IReadBlock()
|
/dports/graphics/gdal/gdal-3.3.3/frmts/northwood/ |
H A D | grcdataset.cpp | 224 const int nBytesPerPixel = poGDS->pGrd->nBitsPerPixel / 8; in IReadBlock() local 225 if( nBytesPerPixel <= 0 || nBlockXSize > INT_MAX / nBytesPerPixel ) in IReadBlock() 227 const int nRecordSize = nBlockXSize * nBytesPerPixel; in IReadBlock()
|
/dports/graphics/py-gdal/gdal-3.3.3/frmts/northwood/ |
H A D | grcdataset.cpp | 224 const int nBytesPerPixel = poGDS->pGrd->nBitsPerPixel / 8; in IReadBlock() local 225 if( nBytesPerPixel <= 0 || nBlockXSize > INT_MAX / nBytesPerPixel ) in IReadBlock() 227 const int nRecordSize = nBlockXSize * nBytesPerPixel; in IReadBlock()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/ |
H A D | canvasbitmaptest.cxx | 515 const sal_Int32 nBytesPerPixel(mnBitsPerPixel == 8 ? 1 : 4); in convertIntegerToARGB() local 517 0, static_cast<int>(nLen%nBytesPerPixel)); in convertIntegerToARGB() 519 uno::Sequence< rendering::ARGBColor > aRes( nLen / nBytesPerPixel ); in convertIntegerToARGB() 549 const sal_Int32 nBytesPerPixel(mnBitsPerPixel == 8 ? 1 : 4); in convertIntegerToPARGB() local 551 0, static_cast<int>(nLen%nBytesPerPixel)); in convertIntegerToPARGB() 553 uno::Sequence< rendering::ARGBColor > aRes( nLen / nBytesPerPixel ); in convertIntegerToPARGB()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/ |
H A D | canvasbitmaptest.cxx | 497 const sal_Int32 nBytesPerPixel(mnBitsPerPixel == 8 ? 1 : 4); in convertIntegerToARGB() local 499 0, static_cast<int>(nLen%nBytesPerPixel)); in convertIntegerToARGB() 501 uno::Sequence< rendering::ARGBColor > aRes( nLen / nBytesPerPixel ); in convertIntegerToARGB() 531 const sal_Int32 nBytesPerPixel(mnBitsPerPixel == 8 ? 1 : 4); in convertIntegerToPARGB() local 533 0, static_cast<int>(nLen%nBytesPerPixel)); in convertIntegerToPARGB() 535 uno::Sequence< rendering::ARGBColor > aRes( nLen / nBytesPerPixel ); in convertIntegerToPARGB()
|