Lines Matching refs:step_x
90 static int compute_mask_matrix(cl_mem cl_mask_matrix, int step_x, int step_y)
94 size_t size_matrix = sizeof(uint32_t) * (2 * step_x + 1) * (2 * step_y + 1);
95 mask_x = av_mallocz_array(2 * step_x + 1, sizeof(uint32_t));
110 ret = compute_mask(step_x, mask_x);
117 for (i = 0; i < 2 * step_x + 1; i++) {
118 mask_matrix[i + j * (2 * step_x + 1)] = mask_y[j] * mask_x[i];
132 int i, ret = 0, step_x[2], step_y[2];
136 step_x[0] = unsharp->luma.steps_x;
137 step_x[1] = unsharp->chroma.steps_x;
142 if (step_x[0]>8 || step_x[1]>8 || step_y[0]>8 || step_y[1]>8)
152 ret = compute_mask_matrix(mask_matrix[i], step_x[i], step_y[i]);