tidss_scale_coefs.h 469 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com/
  4. * Author: Jyri Sarha <jsarha@ti.com>
  5. */
  6. #ifndef __TIDSS_DISPC_COEF_H__
  7. #define __TIDSS_DISPC_COEF_H__
  8. #include <linux/types.h>
  9. struct device;
  10. struct tidss_scale_coefs {
  11. s16 c2[16];
  12. s16 c1[16];
  13. u16 c0[9];
  14. };
  15. const struct tidss_scale_coefs *tidss_get_scale_coefs(struct device *dev,
  16. u32 firinc,
  17. bool five_taps);
  18. #endif