video_ioctl.h 733 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * @Description:
  3. */
  4. /*
  5. * Copyright (C) 2021 Alibaba Group Holding Limited
  6. * Author: liuyitong <yitong.lyt@alibaba-inc.com>
  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 _THEAD_VIDEO_IOCTL_H_
  13. #define _THEAD_VIDEO_IOCTL_H_
  14. #include <linux/ioctl.h>
  15. enum {
  16. VIDEO_GET_PIPLANES = _IO('r', 0),
  17. VIDEO_GET_PIPLANES_NUM,
  18. VIDEO_GET_DEV_PARAM,
  19. VIDEO_SET_PATH_TYPE,
  20. VIDEO_GET_MEM_POOL_REGION_ID,
  21. VIDEO_SET_DEVICE_STATE,
  22. VIDEO_GET_DEVICE_STATE,
  23. };
  24. enum {
  25. DEVICE_OPERATION_ACTIVE,
  26. DEVICE_OPERATION_DEACTIVE,
  27. };
  28. #endif /* _THEAD_VIDEO_IOCTL_H_*/