MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / III_overlap_z

Function III_overlap_z

modules/data/mp3/libmad/layer3.c:2346–2380  ·  view source on GitHub ↗

NAME: III_overlap_z() DESCRIPTION: perform "overlap-add" of zero IMDCT outputs */

Source from the content-addressed store, hash-verified

2344 DESCRIPTION: perform "overlap-add" of zero IMDCT outputs
2345*/
2346static inline
2347void III_overlap_z(mad_fixed_t overlap[18],
2348 mad_fixed_t sample[18][32], unsigned int sb)
2349{
2350 unsigned int i;
2351
2352# if defined(ASO_INTERLEAVE2)
2353 {
2354 register mad_fixed_t tmp1, tmp2;
2355
2356 tmp1 = overlap[0];
2357 tmp2 = overlap[1];
2358
2359 for (i = 0; i < 16; i += 2) {
2360 sample[i + 0][sb] = tmp1;
2361 overlap[i + 0] = 0;
2362 tmp1 = overlap[i + 2];
2363
2364 sample[i + 1][sb] = tmp2;
2365 overlap[i + 1] = 0;
2366 tmp2 = overlap[i + 3];
2367 }
2368
2369 sample[16][sb] = tmp1;
2370 overlap[16] = 0;
2371 sample[17][sb] = tmp2;
2372 overlap[17] = 0;
2373 }
2374# else
2375 for (i = 0; i < 18; ++i) {
2376 sample[i][sb] = overlap[i];
2377 overlap[i] = 0;
2378 }
2379# endif
2380}
2381
2382/*
2383 NAME: III_freqinver()

Callers 1

III_decodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected