blob: 8794407be2dcf86371c2761ea4f2823ad612fe54 [file] [log] [blame]
/*
* include/linux/amlogic/media/video_sink/video_keeper.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 VIDEO_KEEPER_HEADER___
#define VIDEO_KEEPER_HEADER___
#include <linux/amlogic/media/vfm/vframe.h>
void video_keeper_new_frame_notify(void);
void video_pip_keeper_new_frame_notify(void);
void try_free_keep_video(int flags);
void try_free_keep_videopip(int flags);
int __init video_keeper_init(void);
void __exit video_keeper_exit(void);
unsigned int vf_keep_current(
struct vframe_s *cur_dispbuf,
struct vframe_s *cur_dispbuf2);
unsigned int vf_keep_pip_current_locked(
struct vframe_s *cur_dispbuf,
struct vframe_s *cur_dispbuf_el);
#endif