Searched refs:CLAMPINDEX (Results 1 – 1 of 1) sorted by relevance
19 #define CLAMPINDEX(a, hi) ((a) < 0 ? 0 : ((a) >= (hi) ? ((hi)-1) : (a))) macro461 CLAMPINDEX(hh + l - filter_height_half, in_height); in av1_cnn_convolve_c()465 CLAMPINDEX(ww + m - filter_width_half, in_width); in av1_cnn_convolve_c()636 const int clamped_ii = CLAMPINDEX(ii, in_height); in av1_cnn_convolve_c()638 const int clamped_jj = CLAMPINDEX(jj, in_width); in av1_cnn_convolve_c()784 CLAMPINDEX(h / layer_config->skip_height, in_height); in av1_cnn_deconvolve_c()786 CLAMPINDEX(w / layer_config->skip_width, in_width); in av1_cnn_deconvolve_c()