Lines Matching refs:fp
560 p_Inp->fp = fopen(p_Inp->fname[global_file_fid], "ab"); { in open_stream_file()
561 if (p_Inp->fp == NULL) { in open_stream_file()
577 if (p_Inp->fp && (h264d_debug & H264D_DBG_WRITE_ES_EN)) { in fwrite_stream_to_file()
578 if (p_Inp->fp) { in fwrite_stream_to_file()
579 fwrite(pdata, sizeof(RK_U8), len, p_Inp->fp); in fwrite_stream_to_file()
580 fflush(p_Inp->fp); in fwrite_stream_to_file()
584 MPP_FCLOSE(p_Inp->fp); in fwrite_stream_to_file()
587 p_Inp->fp = fopen(p_Inp->fname[global_file_fid], "wb"); in fwrite_stream_to_file()
588 if (p_Inp->fp == NULL) { in fwrite_stream_to_file()
591 fwrite(p_Inp->spspps_buf, sizeof(RK_U8), p_Inp->spspps_len, p_Inp->fp); in fwrite_stream_to_file()
592 fflush(p_Inp->fp); in fwrite_stream_to_file()
608 if (p_Inp->fp) { in close_stream_file()
609 fflush(p_Inp->fp); in close_stream_file()
610 MPP_FCLOSE(p_Inp->fp); in close_stream_file()