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

Function sws_dcVec

libswscale/utils.c:1316–1325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1314}
1315
1316static double sws_dcVec(SwsVector *a)
1317{
1318 int i;
1319 double sum=0;
1320
1321 for (i=0; i<a->length; i++)
1322 sum+= a->coeff[i];
1323
1324 return sum;
1325}
1326
1327void sws_scaleVec(SwsVector *a, double scalar)
1328{

Callers 1

sws_normalizeVecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected