Lines Matching refs:mWidth
281 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup()
285 … mImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
289 mOutput = malloc( mWidth * mHeight * 4 ); in Setup()
301 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute()
314 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
318 …mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup()
321 mOutput = malloc( mWidth * mHeight * mDepth * 4 ); in Setup()
333 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute()
346 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup()
350 … mImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error ); in Setup()
353 mOutput = malloc( mWidth * mHeight * 4 ); in Setup()
365 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute()
378 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
382 …mImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NULL,… in Setup()
385 mOutput = malloc( mWidth * mHeight * mDepth * 4 ); in Setup()
397 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute()
409 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute()
422 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup()
425 mWidth /= 2; in Setup()
428 …mSrcImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error … in Setup()
431 …mDstImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error… in Setup()
443 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
449 …mSrcImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error … in Setup()
452 …mDstImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup()
464 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
470 …mSrcImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup()
473 …mDstImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error… in Setup()
485 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
491 …mSrcImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup()
494 …mDstImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup()
507 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup()
510 mWidth /= 2; in Setup()
513 …mSrcImage = create_image_2d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, 0, NULL, &error … in Setup()
516 mDstBuffer = clCreateBuffer( context, CL_MEM_WRITE_ONLY, mWidth * mHeight * 4, NULL, &error ); in Setup()
524 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute()
537 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
543 …mSrcImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup()
546 …mDstBuffer = clCreateBuffer( context, CL_MEM_WRITE_ONLY, mWidth * mHeight * mDepth * 4, NULL, &err… in Setup()
554 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute()
567 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup()
570 mWidth /= 2; in Setup()
574 mSrcBuffer = clCreateBuffer( context, CL_MEM_READ_ONLY, mWidth * mHeight * 4, NULL, &error ); in Setup()
577 …mDstImage = create_image_2d( context, CL_MEM_WRITE_ONLY, &format, mWidth, mHeight, 0, NULL, &error… in Setup()
585 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute()
598 if( ( error = IGetPreferredImageSize3D( device, mWidth, mHeight, mDepth ) ) ) in Setup()
603 …mSrcBuffer = clCreateBuffer( context, CL_MEM_READ_ONLY, mWidth * mHeight * mDepth * 4, NULL, &erro… in Setup()
607 …mDstImage = create_image_3d( context, CL_MEM_READ_ONLY, &format, mWidth, mHeight, mDepth, 0, 0, NU… in Setup()
615 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, mDepth }; in Execute()
636 if( ( error = IGetPreferredImageSize2D( device, mWidth, mHeight ) ) ) in Setup()
640 …mImage = create_image_2d( context, CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, &format, mWidth, mHei… in Setup()
650 size_t origin[ 3 ] = { 0, 0, 0 }, region[ 3 ] = { mWidth, mHeight, 1 }; in Execute()