Lines Matching refs:channelNum
172 …r, size_t numPixels, ExplicitType inType, ExplicitType outType, size_t channelNum, GLenum glDataTy… in convert_to_expected() argument
181 …char *outData = new char[ numPixels * channelNum * get_explicit_type_size(outType) ] ; // sizeof( … in convert_to_expected()
188 … memcpy( outData, inputBuffer, numPixels * channelNum * get_explicit_type_size(inType) ); in convert_to_expected()
200 cl_int *outData = new cl_int[ numPixels * channelNum ]; in convert_to_expected()
201 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
210 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
211 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
230 cl_uint *outData = new cl_uint[ numPixels * channelNum ]; in convert_to_expected()
231 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
240 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
241 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
260 cl_int *outData = new cl_int[ numPixels * channelNum ]; in convert_to_expected()
261 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
270 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
271 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
290 cl_uint *outData = new cl_uint[ numPixels * channelNum ]; in convert_to_expected()
291 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
300 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
301 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
323 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
324 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
346 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
349 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
368 cl_float *outData = new cl_float[ numPixels * channelNum ]; in convert_to_expected()
369 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected()
440 …edResults, void *actualResults, size_t width, size_t height, size_t sampleNum, size_t channelNum ) in validate_float_results() argument
442 … validate_float_results( expectedResults, actualResults, width, height, sampleNum, 0, channelNum ); in validate_float_results()
445 …id *actualResults, size_t width, size_t height, size_t depth, size_t sampleNum, size_t channelNum ) in validate_float_results() argument
458 for( size_t i = 0; i < channelNum; i++ ) in validate_float_results()
472 if (channelNum == 4) in validate_float_results()
479 else if(channelNum == 1) in validate_float_results()
488 expected += channelNum; in validate_float_results()
489 actual += channelNum; in validate_float_results()