/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
/*
 * drivers/amlogic/media/video_processor/di_process/di_proc_file.h
 *
 * Copyright (C) 2017 Amlogic, Inc. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
 * more details.
 *
 */

#ifndef _DI_PROC_FILE_H
#define _DI_PROC_FILE_H

#include <linux/amlogic/media/vfm/vframe.h>
#include <linux/amlogic/media/video_sink/v4lvideo_ext.h>
#include <linux/amlogic/media/di/di_interface.h>
#include <linux/amlogic/meson_uvm_core.h>

extern u32 dp_buf_mgr_print_flag;
extern u32 total_fill_count;

struct file_private_data *di_proc_get_file_private_data(struct file *file_vf, bool alloc_if_null);
void dp_put_file_ext(struct file *file_vf);

#endif /* _DI_PROC_FILE_H */
