MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / process_synthesis_subpackets

Function process_synthesis_subpackets

libavcodec/qdm2.c:1149–1174  ·  view source on GitHub ↗

* Process new subpackets for synthesis filter * * @param q context * @param list list with synthesis filter packets (list D) */

Source from the content-addressed store, hash-verified

1147 * @param list list with synthesis filter packets (list D)
1148 */
1149static void process_synthesis_subpackets (QDM2Context *q, QDM2SubPNode *list)
1150{
1151 QDM2SubPNode *nodes[4];
1152
1153 nodes[0] = qdm2_search_subpacket_type_in_list(list, 9);
1154 if (nodes[0] != NULL)
1155 process_subpacket_9(q, nodes[0]);
1156
1157 nodes[1] = qdm2_search_subpacket_type_in_list(list, 10);
1158 if (nodes[1] != NULL)
1159 process_subpacket_10(q, nodes[1], nodes[1]->packet->size << 3);
1160 else
1161 process_subpacket_10(q, NULL, 0);
1162
1163 nodes[2] = qdm2_search_subpacket_type_in_list(list, 11);
1164 if (nodes[0] != NULL && nodes[1] != NULL && nodes[2] != NULL)
1165 process_subpacket_11(q, nodes[2], (nodes[2]->packet->size << 3));
1166 else
1167 process_subpacket_11(q, NULL, 0);
1168
1169 nodes[3] = qdm2_search_subpacket_type_in_list(list, 12);
1170 if (nodes[0] != NULL && nodes[1] != NULL && nodes[3] != NULL)
1171 process_subpacket_12(q, nodes[3], (nodes[3]->packet->size << 3));
1172 else
1173 process_subpacket_12(q, NULL, 0);
1174}
1175
1176
1177/*

Callers 1

qdm2_decode_super_blockFunction · 0.85

Calls 5

process_subpacket_9Function · 0.85
process_subpacket_10Function · 0.85
process_subpacket_11Function · 0.85
process_subpacket_12Function · 0.85

Tested by

no test coverage detected