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 pcm_format == 0 ? getSignalNoise<short>(finp, fref) : getSignalNoise<float>(finp, fref); in main()
100 fclose(finp); in main()
Dlvmtest.cpp477 lvmConfigParams_t* plvmConfigParams, FILE* finp, FILE* fout) { in lvmMainProcess() argument
497 while (fread(in.data(), ioFrameSize, frameLength, finp) == (size_t)frameLength) { in lvmMainProcess()
634 FILE* finp = fopen(infile, "rb"); in main() local
635 if (finp == nullptr) { in main()
643 fclose(finp); in main()
651 errCode = lvmMainProcess(&context, &params, &lvmConfigParams, finp, fout); in main()
658 fclose(finp); in main()
/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp111 int32_t DownmixExecute(downmix_cntxt_s *pDescriptor, FILE *finp, in DownmixExecute() argument
139 while (fread(inS16.data(), fileFrameSize, FRAME_LENGTH, finp) == in DownmixExecute()
166 int32_t DowmixMainProcess(downmix_cntxt_s *pDescriptor, FILE *finp, in DowmixMainProcess() argument
188 err = DownmixExecute(pDescriptor, finp, fout); in DowmixMainProcess()
282 FILE *finp = fopen(infile, "rb"); in main() local
283 if (finp == nullptr) { in main()
290 fclose(finp); in main()
294 const int err = DowmixMainProcess(&descriptor, finp, fout); in main()
296 fclose(finp); in main()