Home
last modified time | relevance | path

Searched refs:cols_log2 (Results 1 – 5 of 5) sorted by relevance

/external/skqp/src/compute/hs/gen/
Dtranspose.c22 hsg_transpose(uint32_t const cols_log2, in hsg_transpose() argument
24 void (*pfn_blend)(uint32_t const cols_log2, in hsg_transpose() argument
43 for (uint32_t cc=1; cc<=cols_log2; cc++) in hsg_transpose()
77 pfn_remap(ii,map_curr[ii] >> cols_log2,remap); in hsg_transpose()
92 hsg_debug_blend(uint32_t const cols_log2, in hsg_debug_blend() argument
97 fprintf(stdout,"BLEND( %u, %3u, %3u )\n",cols_log2,row_ll,row_ur); in hsg_debug_blend()
106 b[row_ll*cols+ii] = ((ii >> cols_log2-1) & 1) ? ll[ii] : ur[ii^(1<<cols_log2-1)]; in hsg_debug_blend()
109 b[row_ur*cols+ii] = ((ii >> cols_log2-1) & 1) ? ll[ii^(1<<cols_log2-1)] : ur[ii]; in hsg_debug_blend()
139 uint32_t const cols_log2 = (argc <= 1) ? 3 : strtoul(argv[1],NULL,0); in main() local
145 cols = 1 << cols_log2; in main()
[all …]
Dtranspose.h24 hsg_transpose(uint32_t const cols_log2,
26 void (*pfn_blend)(uint32_t const cols_log2,
Dtarget_opencl.c34 hsg_transpose_reg_prefix(uint32_t const cols_log2) in hsg_transpose_reg_prefix() argument
36 return 'a' + (('r' + cols_log2 - 'a') % 26); in hsg_transpose_reg_prefix()
41 hsg_transpose_blend(uint32_t const cols_log2, in hsg_transpose_blend() argument
51 hsg_transpose_reg_prefix(cols_log2-1), in hsg_transpose_blend()
52 hsg_transpose_reg_prefix(cols_log2), in hsg_transpose_blend()
53 cols_log2,row_ll+1,row_ur+1); in hsg_transpose_blend()
Dtarget_cuda.c34 hsg_transpose_reg_prefix(uint32_t const cols_log2) in hsg_transpose_reg_prefix() argument
36 return 'a' + (('r' + cols_log2 - 'a') % 26); in hsg_transpose_reg_prefix()
41 hsg_transpose_blend(uint32_t const cols_log2, in hsg_transpose_blend() argument
51 hsg_transpose_reg_prefix(cols_log2-1), in hsg_transpose_blend()
52 hsg_transpose_reg_prefix(cols_log2), in hsg_transpose_blend()
53 cols_log2,row_ll+1,row_ur+1); in hsg_transpose_blend()
Dtarget_glsl.c34 hsg_transpose_reg_prefix(uint32_t const cols_log2) in hsg_transpose_reg_prefix() argument
36 return 'a' + (('r' + cols_log2 - 'a') % 26); in hsg_transpose_reg_prefix()
41 hsg_transpose_blend(uint32_t const cols_log2, in hsg_transpose_blend() argument
51 hsg_transpose_reg_prefix(cols_log2-1), in hsg_transpose_blend()
52 hsg_transpose_reg_prefix(cols_log2), in hsg_transpose_blend()
53 cols_log2,row_ll+1,row_ur+1); in hsg_transpose_blend()