msm_vidc_iris2.h 835 B

123456789101112131415161718192021222324252627282930313233
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020-2021,, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef _MSM_VIDC_IRIS2_H_
  7. #define _MSM_VIDC_IRIS2_H_
  8. #include "msm_vidc_core.h"
  9. #if defined(CONFIG_MSM_VIDC_IRIS2)
  10. int msm_vidc_init_iris2(struct msm_vidc_core *core);
  11. int msm_vidc_deinit_iris2(struct msm_vidc_core *core);
  12. int msm_vidc_adjust_blur_type_iris2(void *instance, struct v4l2_ctrl *ctrl);
  13. #else
  14. static inline int msm_vidc_init_iris2(struct msm_vidc_core *core)
  15. {
  16. return -EINVAL;
  17. }
  18. static inline int msm_vidc_deinit_iris2(struct msm_vidc_core *core)
  19. {
  20. return -EINVAL;
  21. }
  22. static inline int msm_vidc_adjust_blur_type_iris2(void *instance, struct v4l2_ctrl *ctrl)
  23. {
  24. return -EINVAL;
  25. }
  26. #endif
  27. #endif // _MSM_VIDC_IRIS2_H_