ГОСТ Р 56047—2014
GetStereoFrame(fptest, (signed int ‘)ch1test.
(signed int *>ch2test. bitsamptetest/8. HANN):
fseek(fptest. -2-HANN’bitsamptetest/8. SEEK_CUR);
fseek(fpref. -2’HANN*bitsampleref/8. SEEK_CUR);
i++:
if(boundary(ch1ref. chltest, ch2ref. ch2test. HANN)) {
boundbe.end = totalframes-i+1;
break:
}
}
fseek(fptest. datatest SEEK_SET);
fseek(fpref. dataref. SEEK_SET):
}
#endif
white (GetStereoFrameffpref. (signed int *)ch1ref.
(signed int *)ch2ref, bitsampleref/8. HANN)
&& GetStereoFrame((ptest, (signed int *)ch1test.
(signed int *)ch2test. bitsamptetest/8. HANN)) {
count++;
#ifdef DATABOUND_BE
if(count >= boundbe.begin && count <= boundbe.end)
boundflag = 1:
else
boundflag = 0:
#e!se
boundflag = boundary(ch1ref. chltest. ch2ref. ch2lest. HANN):
tfifdef DATABOUND_ONE
{
static int flagl = 0. flag2 = 0;
if(boundflag && tflagl)
flagl = 1;
if(!boundflag && flagl)
flag2 = 1;
if(flag2)
boundflag = 0:
)
#endif
#endif
ProcessFrame((signed int ’)ch1ref.
(signed int ’ )ch2ref. Ipref.
(signed int *)ch1test.
(signed int *)ch2tesL
Iptest. rateref. boundflag. HANN);
oveRet = neural(processed):
fprintf(stdout.*\nframe: %d"
#ifdef DATABOUND_BE
7% d"
"vndata boundary: %d -> %d"
#endrf
’ViBandwidthRefb: %g*
*ViBandwidthTestb: %g*
"tnTotalNMRb %g*
•\nWmModDiff1b: %g*
•\nADBb: %g"
58