Lines Matching refs:cols_log2
22 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()
158 hsg_transpose(cols_log2,rows, in main()