Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/mpp/utils/
H A Dmpi_dec_utils.c49 FILE *fp_input; member
119 FILE *fp = impl->fp_input; in read_ivf_file()
157 FILE *fp = impl->fp_input; in read_jpeg_file()
185 FILE *fp = impl->fp_input; in read_normal_file()
220 fseek(impl->fp_input, impl->seek_base, SEEK_SET); in check_file_type()
328 FILE *fp_input = fopen(file_in, "rb"); in reader_init() local
331 if (!fp_input) { in reader_init()
340 impl->fp_input = fp_input; in reader_init()
341 fseek(fp_input, 0L, SEEK_END); in reader_init()
342 impl->file_size = ftell(fp_input); in reader_init()
[all …]
/OK3568_Linux_fs/external/mpp/test/
H A Dmpi_enc_test.c54 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()
[all …]
H A Dmpi_enc_mt_test.cpp55 FILE *fp_input; member
198 p->fp_input = fopen(cmd->file_input, "rb"); in mt_test_ctx_init()
199 if (NULL == p->fp_input) { in mt_test_ctx_init()
278 if (p->fp_input) { in mt_test_ctx_deinit()
279 fclose(p->fp_input); in mt_test_ctx_deinit()
280 p->fp_input = NULL; in mt_test_ctx_deinit()
701 if (p->fp_input) { in enc_test_input()
702 ret = read_image((RK_U8 *)buf, p->fp_input, p->width, p->height, in enc_test_input()
704 if (ret == MPP_NOK || feof(p->fp_input)) { in enc_test_input()
708 clearerr(p->fp_input); in enc_test_input()
[all …]
H A Dmpi_rc2_test.c46 FILE *fp_input; member
120 if (file->fp_input) { in mpi_rc_deinit()
121 fclose(file->fp_input); in mpi_rc_deinit()
122 file->fp_input = NULL; in mpi_rc_deinit()