mtk_mdp_regs.h 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright (c) 2016 MediaTek Inc.
  3. * Author: Ming Hsiu Tsai <minghsiu.tsai@mediatek.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef __MTK_MDP_REGS_H__
  15. #define __MTK_MDP_REGS_H__
  16. void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx,
  17. struct mtk_mdp_addr *addr);
  18. void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx,
  19. struct mtk_mdp_addr *addr);
  20. void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx);
  21. void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx);
  22. void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx);
  23. void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx);
  24. void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx);
  25. void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx);
  26. #endif /* __MTK_MDP_REGS_H__ */