Lines Matching refs:outWidth
22 cl_int Action::IGetPreferredImageSize2D( cl_device_id device, size_t &outWidth, size_t &outHeigh… in IGetPreferredImageSize2D() argument
41 outWidth = maxWidth; in IGetPreferredImageSize2D()
43 outWidth = (size_t)rootSize; in IGetPreferredImageSize2D()
44 outHeight = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / outWidth ); in IGetPreferredImageSize2D()
50 outWidth = maxWidth; in IGetPreferredImageSize2D()
54 outWidth /=2; in IGetPreferredImageSize2D()
57 if (outWidth > 2048) in IGetPreferredImageSize2D()
58 outWidth = 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 cl_int Action::IGetPreferredImageSize3D( cl_device_id device, size_t &outWidth, size_t &outHeigh… in IGetPreferredImageSize3D() argument
86 outWidth = maxWidth; in IGetPreferredImageSize3D()
88 outWidth = (size_t)rootSize; in IGetPreferredImageSize3D()
93 …outDepth = (size_t)( ( maxAllocSize / ( BufferSizeReductionFactor * 4 ) ) / ( outWidth * outHeight… in IGetPreferredImageSize3D()
99 outWidth = maxWidth; in IGetPreferredImageSize3D()
104 outWidth /=2; in IGetPreferredImageSize3D()
108 if (outWidth > 512) in IGetPreferredImageSize3D()
109 outWidth = 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()