Lines Matching refs:fp_input
54 FILE *fp_input; member
192 p->fp_input = fopen(cmd->file_input, "rb"); in test_ctx_init()
193 if (NULL == p->fp_input) { in test_ctx_init()
270 if (p->fp_input) { in test_ctx_deinit()
271 fclose(p->fp_input); in test_ctx_deinit()
272 p->fp_input = NULL; in test_ctx_deinit()
585 if (p->fp_input) { in test_mpp_run()
586 ret = read_image(buf, p->fp_input, p->width, p->height, in test_mpp_run()
588 if (ret == MPP_NOK || feof(p->fp_input)) { in test_mpp_run()
592 clearerr(p->fp_input); in test_mpp_run()
593 rewind(p->fp_input); in test_mpp_run()
598 mpp_log_q(quiet, "chn %d found last frame. feof %d\n", chn, feof(p->fp_input)); in test_mpp_run()
635 if (p->fp_input && feof(p->fp_input)) in test_mpp_run()