vp9cx.mk 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. ##
  2. ## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
  3. ##
  4. ## Use of this source code is governed by a BSD-style license
  5. ## that can be found in the LICENSE file in the root of the source
  6. ## tree. An additional intellectual property rights grant can be found
  7. ## in the file PATENTS. All contributing project authors may
  8. ## be found in the AUTHORS file in the root of the source tree.
  9. ##
  10. VP9_CX_EXPORTS += exports_enc
  11. VP9_CX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
  12. VP9_CX_SRCS-no += $(VP9_COMMON_SRCS-no)
  13. VP9_CX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
  14. VP9_CX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no)
  15. VP9_CX_SRCS-yes += vp9_cx_iface.c
  16. VP9_CX_SRCS-yes += encoder/vp9_bitstream.c
  17. VP9_CX_SRCS-yes += encoder/vp9_context_tree.c
  18. VP9_CX_SRCS-yes += encoder/vp9_context_tree.h
  19. VP9_CX_SRCS-yes += encoder/vp9_cost.h
  20. VP9_CX_SRCS-yes += encoder/vp9_cost.c
  21. VP9_CX_SRCS-yes += encoder/vp9_dct.c
  22. VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.c
  23. VP9_CX_SRCS-$(CONFIG_VP9_TEMPORAL_DENOISING) += encoder/vp9_denoiser.h
  24. VP9_CX_SRCS-yes += encoder/vp9_encodeframe.c
  25. VP9_CX_SRCS-yes += encoder/vp9_encodeframe.h
  26. VP9_CX_SRCS-yes += encoder/vp9_encodemb.c
  27. VP9_CX_SRCS-yes += encoder/vp9_encodemv.c
  28. VP9_CX_SRCS-yes += encoder/vp9_ethread.h
  29. VP9_CX_SRCS-yes += encoder/vp9_ethread.c
  30. VP9_CX_SRCS-yes += encoder/vp9_extend.c
  31. VP9_CX_SRCS-yes += encoder/vp9_firstpass.c
  32. VP9_CX_SRCS-yes += encoder/vp9_block.h
  33. VP9_CX_SRCS-yes += encoder/vp9_bitstream.h
  34. VP9_CX_SRCS-yes += encoder/vp9_encodemb.h
  35. VP9_CX_SRCS-yes += encoder/vp9_encodemv.h
  36. VP9_CX_SRCS-yes += encoder/vp9_extend.h
  37. VP9_CX_SRCS-yes += encoder/vp9_firstpass.h
  38. VP9_CX_SRCS-yes += encoder/vp9_lookahead.c
  39. VP9_CX_SRCS-yes += encoder/vp9_lookahead.h
  40. VP9_CX_SRCS-yes += encoder/vp9_mcomp.h
  41. VP9_CX_SRCS-yes += encoder/vp9_encoder.h
  42. VP9_CX_SRCS-yes += encoder/vp9_quantize.h
  43. VP9_CX_SRCS-yes += encoder/vp9_ratectrl.h
  44. VP9_CX_SRCS-yes += encoder/vp9_rd.h
  45. VP9_CX_SRCS-yes += encoder/vp9_rdopt.h
  46. VP9_CX_SRCS-yes += encoder/vp9_pickmode.h
  47. VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.h
  48. VP9_CX_SRCS-yes += encoder/vp9_tokenize.h
  49. VP9_CX_SRCS-yes += encoder/vp9_treewriter.h
  50. VP9_CX_SRCS-yes += encoder/vp9_mcomp.c
  51. VP9_CX_SRCS-yes += encoder/vp9_encoder.c
  52. VP9_CX_SRCS-yes += encoder/vp9_picklpf.c
  53. VP9_CX_SRCS-yes += encoder/vp9_picklpf.h
  54. VP9_CX_SRCS-yes += encoder/vp9_quantize.c
  55. VP9_CX_SRCS-yes += encoder/vp9_ratectrl.c
  56. VP9_CX_SRCS-yes += encoder/vp9_rd.c
  57. VP9_CX_SRCS-yes += encoder/vp9_rdopt.c
  58. VP9_CX_SRCS-yes += encoder/vp9_pickmode.c
  59. VP9_CX_SRCS-yes += encoder/vp9_segmentation.c
  60. VP9_CX_SRCS-yes += encoder/vp9_segmentation.h
  61. VP9_CX_SRCS-yes += encoder/vp9_speed_features.c
  62. VP9_CX_SRCS-yes += encoder/vp9_speed_features.h
  63. VP9_CX_SRCS-yes += encoder/vp9_subexp.c
  64. VP9_CX_SRCS-yes += encoder/vp9_subexp.h
  65. VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.c
  66. VP9_CX_SRCS-yes += encoder/vp9_resize.c
  67. VP9_CX_SRCS-yes += encoder/vp9_resize.h
  68. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_blockiness.c
  69. VP9_CX_SRCS-yes += encoder/vp9_tokenize.c
  70. VP9_CX_SRCS-yes += encoder/vp9_treewriter.c
  71. VP9_CX_SRCS-yes += encoder/vp9_aq_variance.c
  72. VP9_CX_SRCS-yes += encoder/vp9_aq_variance.h
  73. VP9_CX_SRCS-yes += encoder/vp9_aq_360.c
  74. VP9_CX_SRCS-yes += encoder/vp9_aq_360.h
  75. VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.c
  76. VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.h
  77. VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.c
  78. VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.h
  79. VP9_CX_SRCS-yes += encoder/vp9_alt_ref_aq.h
  80. VP9_CX_SRCS-yes += encoder/vp9_alt_ref_aq.c
  81. VP9_CX_SRCS-yes += encoder/vp9_skin_detection.c
  82. VP9_CX_SRCS-yes += encoder/vp9_skin_detection.h
  83. VP9_CX_SRCS-yes += encoder/vp9_noise_estimate.c
  84. VP9_CX_SRCS-yes += encoder/vp9_noise_estimate.h
  85. ifeq ($(CONFIG_VP9_POSTPROC),yes)
  86. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.h
  87. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.c
  88. endif
  89. VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.c
  90. VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.h
  91. VP9_CX_SRCS-yes += encoder/vp9_mbgraph.c
  92. VP9_CX_SRCS-yes += encoder/vp9_mbgraph.h
  93. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_temporal_filter_apply_sse2.asm
  94. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_quantize_sse2.c
  95. VP9_CX_SRCS-$(HAVE_AVX) += encoder/x86/vp9_diamond_search_sad_avx.c
  96. ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  97. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_highbd_block_error_intrin_sse2.c
  98. endif
  99. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.asm
  100. ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  101. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_highbd_error_sse2.asm
  102. VP9_CX_SRCS-$(HAVE_AVX) += encoder/x86/vp9_highbd_error_avx.asm
  103. else
  104. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_error_sse2.asm
  105. endif
  106. ifeq ($(ARCH_X86_64),yes)
  107. VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_quantize_ssse3_x86_64.asm
  108. endif
  109. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_intrin_sse2.c
  110. VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_dct_ssse3.c
  111. ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  112. VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_frame_scale_ssse3.c
  113. endif
  114. ifeq ($(CONFIG_VP9_TEMPORAL_DENOISING),yes)
  115. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c
  116. endif
  117. VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_error_intrin_avx2.c
  118. ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  119. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_dct_neon.c
  120. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_error_neon.c
  121. endif
  122. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_quantize_neon.c
  123. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_error_msa.c
  124. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct4x4_msa.c
  125. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct8x8_msa.c
  126. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct16x16_msa.c
  127. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct_msa.h
  128. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_temporal_filter_msa.c
  129. VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes))