vg_lite_options.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /****************************************************************************
  2. *
  3. * Copyright 2012 - 2023 Vivante Corporation, Santa Clara, California.
  4. * All Rights Reserved.
  5. *
  6. * Permission is hereby granted, free of charge, to any person obtaining
  7. * a copy of this software and associated documentation files (the
  8. * 'Software'), to deal in the Software without restriction, including
  9. * without limitation the rights to use, copy, modify, merge, publish,
  10. * distribute, sub license, and/or sell copies of the Software, and to
  11. * permit persons to whom the Software is furnished to do so, subject
  12. * to the following conditions:
  13. *
  14. * The above copyright notice and this permission notice (including the
  15. * next paragraph) shall be included in all copies or substantial
  16. * portions of the Software.
  17. *
  18. * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
  19. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  20. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
  21. * IN NO EVENT SHALL VIVANTE AND/OR ITS SUPPLIERS BE LIABLE FOR ANY
  22. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  23. * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  24. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  25. *
  26. *****************************************************************************/
  27. #ifndef _vg_lite_options_h_
  28. #define _vg_lite_options_h_
  29. #define CHIPID 0x265
  30. #define REVISION 0x2001
  31. #define CID 0x421
  32. #define ECOID 0x0
  33. #define gcFEATURE_VG_IM_INDEX_FORMAT 1
  34. #define gcFEATURE_VG_SCISSOR 1
  35. #define gcFEATURE_VG_BORDER_CULLING 1
  36. #define gcFEATURE_VG_RGBA2_FORMAT 1
  37. #define gcFEATURE_VG_QUALITY_8X 0
  38. #define gcFEATURE_VG_IM_FASTCLEAR 0
  39. #define gcFEATURE_VG_RADIAL_GRADIENT 0
  40. #define gcFEATURE_VG_GLOBAL_ALPHA 1
  41. #define gcFEATURE_VG_RGBA8_ETC2_EAC 1
  42. #define gcFEATURE_VG_COLOR_KEY 1
  43. #define gcFEATURE_VG_DOUBLE_IMAGE 0
  44. #define gcFEATURE_VG_YUV_OUTPUT 0
  45. #define gcFEATURE_VG_FLEXA 0
  46. #define gcFEATURE_VG_24BIT 1
  47. #define gcFEATURE_VG_DITHER 1
  48. #define gcFEATURE_VG_USE_DST 0
  49. #define gcFEATURE_VG_PE_CLEAR 1
  50. #define gcFEATURE_VG_IM_INPUT 1
  51. #define gcFEATURE_VG_DEC_COMPRESS 0
  52. #define gcFEATURE_VG_LINEAR_GRADIENT_EXT 0
  53. #define gcFEATURE_VG_MASK 0
  54. #define gcFEATURE_VG_MIRROR 0
  55. #define gcFEATURE_VG_GAMMA 0
  56. #define gcFEATURE_VG_NEW_BLEND_MODE 0
  57. #define gcFEATURE_VG_STENCIL 0
  58. #define gcFEATURE_VG_SRC_PREMULTIPLIED 0
  59. #define gcFEATURE_VG_HW_PREMULTIPLY 0
  60. #define gcFEATURE_VG_COLOR_TRANSFORMATION 0
  61. #define gcFEATURE_VG_LVGL_SUPPORT 0
  62. #define gcFEATURE_VG_INDEX_ENDIAN 0
  63. #define gcFEATURE_VG_24BIT_PLANAR 0
  64. #define gcFEATURE_VG_PIXEL_MATRIX 0
  65. #define gcFEATURE_VG_NEW_IMAGE_INDEX 1
  66. #define gcFEATURE_VG_IM_DEC_INPUT 0
  67. #define gcFEATURE_VG_GAUSSIAN_BLUR 0
  68. #define gcFEATURE_VG_RECTANGLE_TILED_OUT 1
  69. #define gcFEATURE_VG_TESSELLATION_TILED_OUT 0
  70. #define gcFEATURE_VG_IM_REPEAT_REFLECT 0
  71. #define gcFEATURE_VG_YUY2_INPUT 1
  72. #define gcFEATURE_VG_YUV_INPUT 0
  73. #define gcFEATURE_VG_NV24_INPUT 0
  74. #define gcFEATURE_VG_AYUV_INPUT 0
  75. #define gcFEATURE_VG_YUV_TILED_INPUT 0
  76. #define gcFEATURE_VG_16PIXELS_ALIGNED 0
  77. #define gcFEATURE_VG_TILED_MODE 1
  78. #define gcFEATURE_VG_MATH_PRECISION_FIX 0
  79. #define gcFEATURE_VG_DEC_COMPRESS_2_0 0
  80. #define gcFEATURE_VG_SPLIT_PATH 1
  81. #define gcFEATURE_VG_CLOCK_GATING_TS_MODULE 0
  82. #define gcFEATURE_VG_CLOCK_GATING_VG_MODULE 0
  83. #define gcFEATURE_VG_STRIPE_MODE 1
  84. #define gcFEATURE_VG_CMD_CALL_FIX 0
  85. #define gcFEATURE_VG_PARALLEL_PATHS 1
  86. #define gcFEATURE_VG_TILED_LIMIT 0
  87. #define gcFEATURE_VG_SRC_ADDRESS_16BYTES_ALIGNED 1
  88. #define gcFEATURE_VG_SRC_ADDRESS_64BYTES_ALIGNED 0
  89. #define gcFEATURE_VG_SRC_TILE_4PIXELS_ALIGNED 0
  90. #define gcFEATURE_VG_SRC_BUF_ALINGED 1
  91. #define gcFEATURE_VG_DST_ADDRESS_64BYTES_ALIGNED 0
  92. #define gcFEATURE_VG_DST_TILE_4PIXELS_ALIGNED 0
  93. #define gcFEATURE_VG_DST_BUF_ALIGNED 1
  94. #define gcFEATURE_VG_DST_24BIT_PLANAR_ALIGNED 0
  95. #define gcFEATURE_VG_DST_BUFLEN_ALIGNED 0
  96. #define gcFEATURE_VG_FORMAT_SUPPORT_CHECK 1
  97. #define gcFEATURE_VG_YUV_ALIGNED_CHECK 0
  98. #define gcFEATURE_VG_512_PARALLEL_PATHS 1
  99. /* SW Features */
  100. #define gcFEATURE_VG_STROKE_PATH 1
  101. #define gcFEATURE_VG_ARC_PATH 1
  102. #define gcFEATURE_VG_ERROR_CHECK 1
  103. #define gcFEATURE_VG_TRACE_API 0
  104. #define gcFEATURE_VG_POWER_MANAGEMENT 1
  105. #define gcFEATURE_VG_SINGLE_COMMAND_BUFFER 0
  106. #endif