Lines Matching refs:mask_matrix
93 uint32_t *mask_matrix, *mask_x, *mask_y;
105 mask_matrix = av_mallocz(size_matrix);
106 if (!mask_matrix) {
118 mask_matrix[i + j * (2 * step_x + 1)] = mask_y[j] * mask_x[i];
121 ret = av_opencl_buffer_write(cl_mask_matrix, (uint8_t *)mask_matrix, size_matrix);
125 av_freep(&mask_matrix);
133 cl_mem mask_matrix[2];
134 mask_matrix[0] = unsharp->opencl_ctx.cl_luma_mask;
135 mask_matrix[1] = unsharp->opencl_ctx.cl_chroma_mask;
147 if (!mask_matrix[0] || !mask_matrix[1]) {
152 ret = compute_mask_matrix(mask_matrix[i], step_x[i], step_y[i]);