Home
last modified time | relevance | path

Searched refs:finp (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libeffects/lvm/tests/
Dsnr.cpp25 std::pair<A, A> getSignalNoise(FILE *finp, FILE *fref) { in getSignalNoise() argument
33 size_t read_samples_in = fread(&in[0], sizeof(T), framesize, finp); in getSignalNoise()
75 FILE *finp = fopen(argv[2], "rb"); in main() local
83 if (finp == nullptr || fref == nullptr) { in main()
89 ? getSignalNoise<short>(finp, fref) in main()
90 : getSignalNoise<float>(finp, fref); in main()
101 fclose(finp); in main()
Dlvmtest.cpp631 FILE *finp, in lvmMainProcess() argument
660 while (fread(in.data(), ioFrameSize, frameLength, finp) == (size_t)frameLength) { in lvmMainProcess()
790 FILE *finp = fopen(infile, "rb"); in main() local
791 if (finp == nullptr) { in main()
799 fclose(finp); in main()
807 errCode = lvmMainProcess(&context, &params, &lvmConfigParams, finp, fout); in main()
814 fclose(finp); in main()
/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp113 int32_t DownmixExecute(downmix_cntxt_s *pDescriptor, FILE *finp, in DownmixExecute() argument
142 while (fread(inS16.data(), fileFrameSize, FRAME_LENGTH, finp) == in DownmixExecute()
169 int32_t DowmixMainProcess(downmix_cntxt_s *pDescriptor, FILE *finp, in DowmixMainProcess() argument
191 err = DownmixExecute(pDescriptor, finp, fout); in DowmixMainProcess()
285 FILE *finp = fopen(infile, "rb"); in main() local
286 if (finp == nullptr) { in main()
293 fclose(finp); in main()
297 const int err = DowmixMainProcess(&descriptor, finp, fout); in main()
299 fclose(finp); in main()