• Home
  • Raw
  • Download

Lines Matching refs:outHeight

22 …int    Action::IGetPreferredImageSize2D( cl_device_id device, size_t &outWidth, size_t &outHeight )  in IGetPreferredImageSize2D()  argument
44 outHeight = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / outWidth ); in IGetPreferredImageSize2D()
45 if( outHeight > maxHeight ) in IGetPreferredImageSize2D()
46 outHeight = maxHeight; in IGetPreferredImageSize2D()
51 outHeight = maxHeight; in IGetPreferredImageSize2D()
55 outHeight /=2; in IGetPreferredImageSize2D()
59 if (outHeight > 2048) in IGetPreferredImageSize2D()
60 outHeight = 2048; in IGetPreferredImageSize2D()
61 log_info("\tImage size: %d x %d (%gMB)\n", (int)outWidth, (int)outHeight, in IGetPreferredImageSize2D()
62 (double)((int)outWidth*(int)outHeight*4)/(1024.0*1024.0)); in IGetPreferredImageSize2D()
66 …GetPreferredImageSize3D( cl_device_id device, size_t &outWidth, size_t &outHeight, size_t &outDept… in IGetPreferredImageSize3D() argument
90 outHeight = maxHeight; in IGetPreferredImageSize3D()
92 outHeight = (size_t)rootSize; in IGetPreferredImageSize3D()
93 …epth = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / ( outWidth * outHeight ) ); in IGetPreferredImageSize3D()
100 outHeight = maxHeight; in IGetPreferredImageSize3D()
105 outHeight /=2; in IGetPreferredImageSize3D()
110 if (outHeight > 512) in IGetPreferredImageSize3D()
111 outHeight = 512; in IGetPreferredImageSize3D()
114 log_info("\tImage size: %d x %d x %d (%gMB)\n", (int)outWidth, (int)outHeight, (int)outDepth, in IGetPreferredImageSize3D()
115 (double)((int)outWidth*(int)outHeight*(int)outDepth*4)/(1024.0*1024.0)); in IGetPreferredImageSize3D()