vdin_canvas.h 848 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * VDIN Canvas
  3. *
  4. * Author: Bobby Yang <bo.yang@amlogic.com>
  5. *
  6. * Copyright (C) 2010 Amlogic Inc.
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __VDIN_CANVAS_H
  13. #define __VDIN_CANVAS_H
  14. #include <asm/sizes.h>
  15. #include <linux/amports/canvas.h>
  16. #include <linux/amports/vframe.h>
  17. #define VDIN_CANVAS_MAX_WIDTH 1920
  18. #define VDIN_CANVAS_MAX_HEIGH 2228
  19. #define VDIN_CANVAS_MAX_CNT 40
  20. extern const unsigned int vdin_canvas_ids[2][48];
  21. extern void vdin_canvas_init(struct vdin_dev_s *devp);
  22. extern void vdin_canvas_start_config(struct vdin_dev_s *devp);
  23. extern void vdin_canvas_auto_config(struct vdin_dev_s *devp);
  24. #endif