Lines Matching refs:input_width
69 fn transpose_tiled<T: Copy>(input: &[T], output: &mut [T], input_width: usize, input_height: usize)… in transpose_tiled()
71 let x_block_count = input_width / BLOCK_SIZE; in transpose_tiled()
74 let remainder_x = input_width - x_block_count * BLOCK_SIZE; in transpose_tiled()
82 input_width, input_height, in transpose_tiled()
94 input_width, input_height, in transpose_tiled()
95 input_width - remainder_x, y_block * BLOCK_SIZE, in transpose_tiled()
107 input_width, input_height, in transpose_tiled()
119 input_width, input_height, in transpose_tiled()
120 input_width - remainder_x, input_height - remainder_y, in transpose_tiled()
230 pub fn transpose<T: Copy>(input: &[T], output: &mut [T], input_width: usize, input_height: usize) { in transpose()
231 assert_eq!(input_width*input_height, input.len()); in transpose()
232 assert_eq!(input_width*input_height, output.len()); in transpose()
234 unsafe { transpose_small(input, output, input_width, input_height) }; in transpose()
237 transpose_tiled(input, output, input_width, input_height); in transpose()
240 … transpose_recursive(input, output, 0, input_height, 0, input_width, input_width, input_height); in transpose()