msm_vidc_iris33.h 716 B

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