Lines Matching defs:list
54 #define QDM2_LIST_ADD(list, size, packet) \
57 list[size - 1].next = &list[size]; \
59 list[size].packet = packet; \
60 list[size].next = NULL; \
93 * A node in the subpacket list
97 struct QDM2SubPNode *next; ///< pointer to next packet in the list, NULL if leaf node
150 QDM2SubPNode sub_packet_list_A[16]; ///< list of all packets
151 QDM2SubPNode sub_packet_list_B[16]; ///< FFT packets B are on list
152 int sub_packets_B; ///< number of packets on 'B' list
294 * Return node pointer to first packet of requested type in list.
296 * @param list list of subpackets to be scanned
300 static QDM2SubPNode *qdm2_search_subpacket_type_in_list(QDM2SubPNode *list,
303 while (list && list->packet) {
304 if (list->packet->type == type)
305 return list;
306 list = list->next;
1087 * @param list list with synthesis filter packets (list D)
1089 static void process_synthesis_subpackets(QDM2Context *q, QDM2SubPNode *list)
1093 nodes[0] = qdm2_search_subpacket_type_in_list(list, 9);
1097 nodes[1] = qdm2_search_subpacket_type_in_list(list, 10);
1103 nodes[2] = qdm2_search_subpacket_type_in_list(list, 11);
1109 nodes[3] = qdm2_search_subpacket_type_in_list(list, 12);
1209 /* add subpacket to 'all subpackets' list */
1212 /* add subpacket to related list */
1815 SAMPLES_NEEDED_2("has errors, and C list is not empty")