Home
last modified time | relevance | path

Searched refs:fp_input (Results 1 – 4 of 4) sorted by relevance

/rockchip-linux_mpp/utils/
H A Dmpi_dec_utils.c49 FILE *fp_input; member
111 FILE *fp = impl->fp_input; in read_ivf_file()
149 FILE *fp = impl->fp_input; in read_jpeg_file()
177 FILE *fp = impl->fp_input; in read_normal_file()
212 fseek(impl->fp_input, impl->seek_base, SEEK_SET); in check_file_type()
320 FILE *fp_input = fopen(file_in, "rb"); in reader_init() local
323 if (!fp_input) { in reader_init()
332 impl->fp_input = fp_input; in reader_init()
333 fseek(fp_input, 0L, SEEK_END); in reader_init()
334 impl->file_size = ftell(fp_input); in reader_init()
[all …]
/rockchip-linux_mpp/test/
H A Dmpi_enc_mt_test.c45 FILE *fp_input; member
189 p->fp_input = fopen(cmd->file_input, "rb"); in mt_test_ctx_init()
190 if (NULL == p->fp_input) { in mt_test_ctx_init()
270 if (p->fp_input) { in mt_test_ctx_deinit()
271 fclose(p->fp_input); in mt_test_ctx_deinit()
272 p->fp_input = NULL; in mt_test_ctx_deinit()
696 if (p->fp_input) { in enc_test_input()
697 ret = read_image((RK_U8 *)buf, p->fp_input, p->width, p->height, in enc_test_input()
699 if (ret == MPP_NOK || feof(p->fp_input)) { in enc_test_input()
703 clearerr(p->fp_input); in enc_test_input()
[all …]
H A Dmpi_enc_test.c76 FILE *fp_input; member
320 p->fp_input = fopen(cmd->file_input, "rb"); in test_ctx_init()
321 if (NULL == p->fp_input) { in test_ctx_init()
399 if (p->fp_input) { in test_ctx_deinit()
400 fclose(p->fp_input); in test_ctx_deinit()
401 p->fp_input = NULL; in test_ctx_deinit()
799 if (p->fp_input) { in test_mpp_run()
801 ret = read_image(buf, p->fp_input, p->width, p->height, in test_mpp_run()
803 if (ret == MPP_NOK || feof(p->fp_input)) { in test_mpp_run()
807 clearerr(p->fp_input); in test_mpp_run()
[all …]
H A Dmpi_rc2_test.c35 FILE *fp_input; member
108 if (file->fp_input) { in mpi_rc_deinit()
109 fclose(file->fp_input); in mpi_rc_deinit()
110 file->fp_input = NULL; in mpi_rc_deinit()