Searched refs:dst_lod (Results 1 – 6 of 6) sorted by relevance
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 403 size_t dst_lod = 0; in test_copy_image_generic() local 411 dst_lod = destPos[1]; in test_copy_image_generic() 415 dst_lod = destPos[2]; in test_copy_image_generic() 419 dst_lod = destPos[3]; in test_copy_image_generic() 423 dstRegion[ 0 ] = (dstImageInfo->width >> dst_lod)?(dstImageInfo->width >> dst_lod) : 1; in test_copy_image_generic() 429 origin[ 1 ] = dst_lod; in test_copy_image_generic() 435 … dstRegion[ 1 ] = (dstImageInfo->height >> dst_lod) ?(dstImageInfo->height >> dst_lod): 1; in test_copy_image_generic() 436 origin[ 2 ] = dst_lod; in test_copy_image_generic() 444 … dstRegion[ 1 ] = (dstImageInfo->height >> dst_lod) ?(dstImageInfo->height >> dst_lod): 1; in test_copy_image_generic() 445 … dstRegion[ 2 ] = (dstImageInfo->depth >> dst_lod) ?(dstImageInfo->depth >> dst_lod): 1; in test_copy_image_generic() [all …]
|
D | test_copy_2D.cpp | 35 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_row_pitch_lod; in test_copy_image_size_2D() local 45 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_2D() 47 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_2D() 49 dst_height_lod = ( imageInfo->height >> dst_lod )? ( imageInfo->height >> dst_lod ) : 1; in test_copy_image_size_2D() 66 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D() 84 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_2D() 86 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_2D() 88 dst_height_lod = ( imageInfo->height >> dst_lod )? ( imageInfo->height >> dst_lod ) : 1; in test_copy_image_size_2D() 92 destPos[ 2 ] = dst_lod; in test_copy_image_size_2D()
|
D | test_copy_1D.cpp | 34 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_row_pitch_lod; in test_copy_image_size_1D() local 43 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_1D() 45 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D() 61 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D() 78 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_1D() 80 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D() 83 destPos[ 1 ] = dst_lod; in test_copy_image_size_1D()
|
D | test_copy_1D_array.cpp | 34 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_row_pitch_lod; in test_copy_image_size_1D_array() local 43 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_size_1D_array() 45 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D_array() 61 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array() 78 … 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() 80 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_size_1D_array() 83 destPos[ 2 ] = dst_lod; in test_copy_image_size_1D_array()
|
D | test_copy_2D_array.cpp | 35 size_t dst_lod = 0, dst_width_lod = imageInfo->width, dst_height_lod = imageInfo->height; in test_copy_image_2D_array() local 44 dst_lod = (size_t)random_in_range( 0, max_mip_level ? max_mip_level - 1 : 0, d ); in test_copy_image_2D_array() 46 dst_width_lod = ( imageInfo->width >> dst_lod )? ( imageInfo->width >> dst_lod ) : 1; in test_copy_image_2D_array() 48 dst_height_lod = ( imageInfo->height >> dst_lod )? ( imageInfo->height >> dst_lod ) : 1; in test_copy_image_2D_array() 55 dstPos[ 3 ] = dst_lod; in test_copy_image_2D_array()
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3436 size_t sourcePos_lod[3], destPos_lod[3], src_lod, dst_lod; in copy_image_data() local 3500 dst_lod = destPos[1]; in copy_image_data() 3502 dst_width_lod = (dstImageInfo->width >> dst_lod ) ? ( dstImageInfo->width >> dst_lod ): 1; in copy_image_data() 3506 dst_lod = destPos[2]; in copy_image_data() 3509 dst_width_lod = (dstImageInfo->width >> dst_lod ) ? ( dstImageInfo->width >> dst_lod ): 1; in copy_image_data() 3511 … dst_height_lod = (dstImageInfo->height >> dst_lod ) ? ( dstImageInfo->height >> dst_lod ): 1; in copy_image_data() 3515 dst_lod = destPos[3]; in copy_image_data() 3518 dst_width_lod = (dstImageInfo->width >> dst_lod ) ? ( dstImageInfo->width >> dst_lod ): 1; in copy_image_data() 3519 dst_height_lod = (dstImageInfo->height >> dst_lod ) ? ( dstImageInfo->height >> dst_lod ): 1; in copy_image_data() 3521 dst_depth_lod = (dstImageInfo->depth >> dst_lod ) ? ( dstImageInfo->depth >> dst_lod ): 1; in copy_image_data() [all …]
|