vp9cx.mk 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  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_frame_scale.c
  39. VP9_CX_SRCS-yes += encoder/vp9_job_queue.h
  40. VP9_CX_SRCS-yes += encoder/vp9_lookahead.c
  41. VP9_CX_SRCS-yes += encoder/vp9_lookahead.h
  42. VP9_CX_SRCS-yes += encoder/vp9_mcomp.h
  43. VP9_CX_SRCS-yes += encoder/vp9_multi_thread.c
  44. VP9_CX_SRCS-yes += encoder/vp9_multi_thread.h
  45. VP9_CX_SRCS-yes += encoder/vp9_encoder.h
  46. VP9_CX_SRCS-yes += encoder/vp9_quantize.h
  47. VP9_CX_SRCS-yes += encoder/vp9_ratectrl.h
  48. VP9_CX_SRCS-yes += encoder/vp9_rd.h
  49. VP9_CX_SRCS-yes += encoder/vp9_rdopt.h
  50. VP9_CX_SRCS-yes += encoder/vp9_pickmode.h
  51. VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.h
  52. VP9_CX_SRCS-yes += encoder/vp9_tokenize.h
  53. VP9_CX_SRCS-yes += encoder/vp9_treewriter.h
  54. VP9_CX_SRCS-yes += encoder/vp9_mcomp.c
  55. VP9_CX_SRCS-yes += encoder/vp9_encoder.c
  56. VP9_CX_SRCS-yes += encoder/vp9_picklpf.c
  57. VP9_CX_SRCS-yes += encoder/vp9_picklpf.h
  58. VP9_CX_SRCS-yes += encoder/vp9_quantize.c
  59. VP9_CX_SRCS-yes += encoder/vp9_ratectrl.c
  60. VP9_CX_SRCS-yes += encoder/vp9_rd.c
  61. VP9_CX_SRCS-yes += encoder/vp9_rdopt.c
  62. VP9_CX_SRCS-yes += encoder/vp9_pickmode.c
  63. VP9_CX_SRCS-yes += encoder/vp9_partition_models.h
  64. VP9_CX_SRCS-yes += encoder/vp9_segmentation.c
  65. VP9_CX_SRCS-yes += encoder/vp9_segmentation.h
  66. VP9_CX_SRCS-yes += encoder/vp9_speed_features.c
  67. VP9_CX_SRCS-yes += encoder/vp9_speed_features.h
  68. VP9_CX_SRCS-yes += encoder/vp9_subexp.c
  69. VP9_CX_SRCS-yes += encoder/vp9_subexp.h
  70. VP9_CX_SRCS-yes += encoder/vp9_svc_layercontext.c
  71. VP9_CX_SRCS-yes += encoder/vp9_resize.c
  72. VP9_CX_SRCS-yes += encoder/vp9_resize.h
  73. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_blockiness.c
  74. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += encoder/vp9_blockiness.h
  75. VP9_CX_SRCS-yes += encoder/vp9_tokenize.c
  76. VP9_CX_SRCS-yes += encoder/vp9_treewriter.c
  77. VP9_CX_SRCS-yes += encoder/vp9_aq_variance.c
  78. VP9_CX_SRCS-yes += encoder/vp9_aq_variance.h
  79. VP9_CX_SRCS-yes += encoder/vp9_aq_360.c
  80. VP9_CX_SRCS-yes += encoder/vp9_aq_360.h
  81. VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.c
  82. VP9_CX_SRCS-yes += encoder/vp9_aq_cyclicrefresh.h
  83. VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.c
  84. VP9_CX_SRCS-yes += encoder/vp9_aq_complexity.h
  85. VP9_CX_SRCS-yes += encoder/vp9_alt_ref_aq.h
  86. VP9_CX_SRCS-yes += encoder/vp9_alt_ref_aq.c
  87. VP9_CX_SRCS-yes += encoder/vp9_skin_detection.c
  88. VP9_CX_SRCS-yes += encoder/vp9_skin_detection.h
  89. VP9_CX_SRCS-yes += encoder/vp9_noise_estimate.c
  90. VP9_CX_SRCS-yes += encoder/vp9_noise_estimate.h
  91. ifeq ($(CONFIG_VP9_POSTPROC),yes)
  92. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.h
  93. VP9_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/vp9_postproc.c
  94. endif
  95. VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.c
  96. VP9_CX_SRCS-yes += encoder/vp9_temporal_filter.h
  97. VP9_CX_SRCS-yes += encoder/vp9_mbgraph.c
  98. VP9_CX_SRCS-yes += encoder/vp9_mbgraph.h
  99. VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/temporal_filter_sse4.c
  100. VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/temporal_filter_constants.h
  101. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_quantize_sse2.c
  102. VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_quantize_avx2.c
  103. VP9_CX_SRCS-$(HAVE_AVX) += encoder/x86/vp9_diamond_search_sad_avx.c
  104. ifeq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  105. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_highbd_block_error_intrin_sse2.c
  106. VP9_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/highbd_temporal_filter_sse4.c
  107. endif
  108. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_sse2.asm
  109. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_error_sse2.asm
  110. ifeq ($(ARCH_X86_64),yes)
  111. VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_quantize_ssse3_x86_64.asm
  112. endif
  113. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_dct_intrin_sse2.c
  114. VP9_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp9_frame_scale_ssse3.c
  115. ifeq ($(CONFIG_VP9_TEMPORAL_DENOISING),yes)
  116. VP9_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp9_denoiser_sse2.c
  117. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_denoiser_neon.c
  118. endif
  119. VP9_CX_SRCS-$(HAVE_AVX2) += encoder/x86/vp9_error_avx2.c
  120. ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  121. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_error_neon.c
  122. endif
  123. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_frame_scale_neon.c
  124. VP9_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp9_quantize_neon.c
  125. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_error_msa.c
  126. ifneq ($(CONFIG_VP9_HIGHBITDEPTH),yes)
  127. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct4x4_msa.c
  128. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct8x8_msa.c
  129. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct16x16_msa.c
  130. VP9_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/vp9_fdct_msa.h
  131. endif # !CONFIG_VP9_HIGHBITDEPTH
  132. VP9_CX_SRCS-$(HAVE_VSX) += encoder/ppc/vp9_quantize_vsx.c
  133. # Strip unnecessary files with CONFIG_REALTIME_ONLY
  134. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_firstpass.c
  135. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_mbgraph.c
  136. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_temporal_filter.c
  137. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/x86/temporal_filter_sse4.c
  138. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/x86/temporal_filter_constants.h
  139. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/x86/highbd_temporal_filter_sse4.c
  140. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_alt_ref_aq.h
  141. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_alt_ref_aq.c
  142. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_aq_variance.c
  143. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_aq_variance.h
  144. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_aq_360.c
  145. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_aq_360.h
  146. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_aq_complexity.c
  147. VP9_CX_SRCS_REMOVE-$(CONFIG_REALTIME_ONLY) += encoder/vp9_aq_complexity.h
  148. VP9_CX_SRCS-yes := $(filter-out $(VP9_CX_SRCS_REMOVE-yes),$(VP9_CX_SRCS-yes))