1 // SPDX-License-Identifier: MIT 2 // 3 // Copyright 2024 Advanced Micro Devices, Inc. 4 5 #include "dc_spl_filters.h" 6 convert_filter_s1_10_to_s1_12(const uint16_t * s1_10_filter,uint16_t * s1_12_filter,int num_taps)7void convert_filter_s1_10_to_s1_12(const uint16_t *s1_10_filter, 8 uint16_t *s1_12_filter, int num_taps) 9 { 10 int num_entries = NUM_PHASES_COEFF * num_taps; 11 int i; 12 13 for (i = 0; i < num_entries; i++) 14 *(s1_12_filter + i) = *(s1_10_filter + i) * 4; 15 } 16