Searched refs:dst_lod (Results 1 – 6 of 6) sorted by relevance
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 382 size_t dst_lod = 0; in test_copy_image_generic() local 390 dst_lod = destPos[1]; in test_copy_image_generic() 394 dst_lod = destPos[2]; in test_copy_image_generic() 398 dst_lod = destPos[3]; in test_copy_image_generic() 402 dstRegion[ 0 ] = (dstImageInfo->width >> dst_lod)?(dstImageInfo->width >> dst_lod) : 1; in test_copy_image_generic() 408 origin[ 1 ] = dst_lod; in test_copy_image_generic() 414 … dstRegion[ 1 ] = (dstImageInfo->height >> dst_lod) ?(dstImageInfo->height >> dst_lod): 1; in test_copy_image_generic() 415 origin[ 2 ] = dst_lod; in test_copy_image_generic() 423 … dstRegion[ 1 ] = (dstImageInfo->height >> dst_lod) ?(dstImageInfo->height >> dst_lod): 1; in test_copy_image_generic() 424 … dstRegion[ 2 ] = (dstImageInfo->depth >> dst_lod) ?(dstImageInfo->depth >> dst_lod): 1; in test_copy_image_generic() [all …]
|
D | test_copy_2D.cpp | 27 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_row_pitch_lod; in test_copy_image_size_2D() local 37 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_2D() 39 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_2D() 41 dst_height_lod = ( imageInfo->height >> dst_lod )? ( imageInfo->height >> dst_lod ) : 1; in test_copy_image_size_2D() 58 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D() 76 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_2D() 78 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_2D() 80 dst_height_lod = ( imageInfo->height >> dst_lod )? ( imageInfo->height >> dst_lod ) : 1; in test_copy_image_size_2D() 84 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D()
|
D | test_copy_1D.cpp | 26 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_row_pitch_lod; in test_copy_image_size_1D() local 35 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_1D() 37 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D() 53 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D() 70 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_1D() 72 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D() 75 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D()
|
D | test_copy_1D_array.cpp | 26 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_row_pitch_lod; in test_copy_image_size_1D_array() local 35 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_1D_array() 37 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D_array() 53 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array() 70 … dst_lod = (size_t) ( max_mip_level > 1 )? random_in_range( 0, max_mip_level - 1 , d ) : 0; in test_copy_image_size_1D_array() 72 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D_array() 75 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array()
|
D | test_copy_2D_array.cpp | 28 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_height_lod = imageInfo->height; in test_copy_image_2D_array() local 37 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_2D_array() 39 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_2D_array() 41 dst_height_lod = ( imageInfo->height >> dst_lod )? ( imageInfo->height >> dst_lod ) : 1; in test_copy_image_2D_array() 48 dstPos[ 3 ] = dst_lod; in test_copy_image_2D_array()
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3484 size_t sourcePos_lod[3], destPos_lod[3], src_lod, dst_lod; in copy_image_data() local 3560 dst_lod = destPos[1]; in copy_image_data() 3562 dst_width_lod = (dstImageInfo->width >> dst_lod) in copy_image_data() 3563 ? (dstImageInfo->width >> dst_lod) in copy_image_data() 3568 dst_lod = destPos[2]; in copy_image_data() 3571 dst_width_lod = (dstImageInfo->width >> dst_lod) in copy_image_data() 3572 ? (dstImageInfo->width >> dst_lod) in copy_image_data() 3575 dst_height_lod = (dstImageInfo->height >> dst_lod) in copy_image_data() 3576 ? (dstImageInfo->height >> dst_lod) in copy_image_data() 3581 dst_lod = destPos[3]; in copy_image_data() [all …]
|