vp8cx.mk 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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. VP8_CX_EXPORTS += exports_enc
  11. VP8_CX_SRCS-yes += $(VP8_COMMON_SRCS-yes)
  12. VP8_CX_SRCS-no += $(VP8_COMMON_SRCS-no)
  13. VP8_CX_SRCS_REMOVE-yes += $(VP8_COMMON_SRCS_REMOVE-yes)
  14. VP8_CX_SRCS_REMOVE-no += $(VP8_COMMON_SRCS_REMOVE-no)
  15. VP8_CX_SRCS-yes += vp8cx.mk
  16. VP8_CX_SRCS-yes += vp8_cx_iface.c
  17. VP8_CX_SRCS-yes += encoder/defaultcoefcounts.h
  18. VP8_CX_SRCS-yes += encoder/bitstream.c
  19. VP8_CX_SRCS-yes += encoder/boolhuff.c
  20. VP8_CX_SRCS-yes += encoder/copy_c.c
  21. VP8_CX_SRCS-yes += encoder/dct.c
  22. VP8_CX_SRCS-yes += encoder/encodeframe.c
  23. VP8_CX_SRCS-yes += encoder/encodeframe.h
  24. VP8_CX_SRCS-yes += encoder/encodeintra.c
  25. VP8_CX_SRCS-yes += encoder/encodemb.c
  26. VP8_CX_SRCS-yes += encoder/encodemv.c
  27. VP8_CX_SRCS-$(CONFIG_MULTITHREAD) += encoder/ethreading.c
  28. VP8_CX_SRCS-$(CONFIG_MULTITHREAD) += encoder/ethreading.h
  29. VP8_CX_SRCS-yes += encoder/firstpass.c
  30. VP8_CX_SRCS-yes += encoder/block.h
  31. VP8_CX_SRCS-yes += encoder/boolhuff.h
  32. VP8_CX_SRCS-yes += encoder/bitstream.h
  33. VP8_CX_SRCS-$(CONFIG_TEMPORAL_DENOISING) += encoder/denoising.h
  34. VP8_CX_SRCS-$(CONFIG_TEMPORAL_DENOISING) += encoder/denoising.c
  35. VP8_CX_SRCS-yes += encoder/encodeintra.h
  36. VP8_CX_SRCS-yes += encoder/encodemb.h
  37. VP8_CX_SRCS-yes += encoder/encodemv.h
  38. VP8_CX_SRCS-yes += encoder/firstpass.h
  39. VP8_CX_SRCS-yes += encoder/lookahead.c
  40. VP8_CX_SRCS-yes += encoder/lookahead.h
  41. VP8_CX_SRCS-yes += encoder/mcomp.h
  42. VP8_CX_SRCS-yes += encoder/modecosts.h
  43. VP8_CX_SRCS-yes += encoder/onyx_int.h
  44. VP8_CX_SRCS-yes += encoder/pickinter.h
  45. VP8_CX_SRCS-yes += encoder/quantize.h
  46. VP8_CX_SRCS-yes += encoder/ratectrl.h
  47. VP8_CX_SRCS-yes += encoder/rdopt.h
  48. VP8_CX_SRCS-yes += encoder/tokenize.h
  49. VP8_CX_SRCS-yes += encoder/treewriter.h
  50. VP8_CX_SRCS-yes += encoder/mcomp.c
  51. VP8_CX_SRCS-yes += encoder/modecosts.c
  52. VP8_CX_SRCS-yes += encoder/onyx_if.c
  53. VP8_CX_SRCS-yes += encoder/pickinter.c
  54. VP8_CX_SRCS-yes += encoder/picklpf.c
  55. VP8_CX_SRCS-yes += encoder/picklpf.h
  56. VP8_CX_SRCS-yes += encoder/vp8_quantize.c
  57. VP8_CX_SRCS-yes += encoder/ratectrl.c
  58. VP8_CX_SRCS-yes += encoder/rdopt.c
  59. VP8_CX_SRCS-yes += encoder/segmentation.c
  60. VP8_CX_SRCS-yes += encoder/segmentation.h
  61. VP8_CX_SRCS-yes += common/vp8_skin_detection.c
  62. VP8_CX_SRCS-yes += common/vp8_skin_detection.h
  63. VP8_CX_SRCS-yes += encoder/tokenize.c
  64. VP8_CX_SRCS-yes += encoder/dct_value_cost.h
  65. VP8_CX_SRCS-yes += encoder/dct_value_tokens.h
  66. VP8_CX_SRCS-yes += encoder/treewriter.c
  67. VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.h
  68. VP8_CX_SRCS-$(CONFIG_INTERNAL_STATS) += common/postproc.c
  69. VP8_CX_SRCS-yes += encoder/temporal_filter.c
  70. VP8_CX_SRCS-yes += encoder/temporal_filter.h
  71. VP8_CX_SRCS-$(CONFIG_MULTI_RES_ENCODING) += encoder/mr_dissim.c
  72. VP8_CX_SRCS-$(CONFIG_MULTI_RES_ENCODING) += encoder/mr_dissim.h
  73. ifeq ($(CONFIG_REALTIME_ONLY),yes)
  74. VP8_CX_SRCS_REMOVE-yes += encoder/firstpass.c
  75. VP8_CX_SRCS_REMOVE-yes += encoder/temporal_filter.c
  76. VP8_CX_SRCS_REMOVE-yes += encoder/temporal_filter.h
  77. endif
  78. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/copy_sse2.asm
  79. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/copy_sse3.asm
  80. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/dct_sse2.asm
  81. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/fwalsh_sse2.asm
  82. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp8_quantize_sse2.c
  83. VP8_CX_SRCS-$(HAVE_SSSE3) += encoder/x86/vp8_quantize_ssse3.c
  84. VP8_CX_SRCS-$(HAVE_SSE4_1) += encoder/x86/quantize_sse4.c
  85. ifeq ($(CONFIG_TEMPORAL_DENOISING),yes)
  86. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/denoising_sse2.c
  87. endif
  88. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/block_error_sse2.asm
  89. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
  90. VP8_CX_SRCS-$(HAVE_SSE2) += encoder/x86/vp8_enc_stubs_sse2.c
  91. ifeq ($(CONFIG_REALTIME_ONLY),yes)
  92. VP8_CX_SRCS_REMOVE-$(HAVE_SSE2) += encoder/x86/temporal_filter_apply_sse2.asm
  93. endif
  94. VP8_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/denoising_neon.c
  95. VP8_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/fastquantizeb_neon.c
  96. VP8_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/shortfdct_neon.c
  97. VP8_CX_SRCS-$(HAVE_NEON) += encoder/arm/neon/vp8_shortwalsh4x4_neon.c
  98. VP8_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/dct_msa.c
  99. VP8_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/encodeopt_msa.c
  100. VP8_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/quantize_msa.c
  101. VP8_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/temporal_filter_msa.c
  102. VP8_CX_SRCS-$(HAVE_MMI) += encoder/mips/mmi/vp8_quantize_mmi.c
  103. VP8_CX_SRCS-$(HAVE_MMI) += encoder/mips/mmi/dct_mmi.c
  104. ifeq ($(CONFIG_TEMPORAL_DENOISING),yes)
  105. VP8_CX_SRCS-$(HAVE_MSA) += encoder/mips/msa/denoising_msa.c
  106. endif
  107. ifeq ($(CONFIG_REALTIME_ONLY),yes)
  108. VP8_CX_SRCS_REMOVE-$(HAVE_MSA) += encoder/mips/msa/temporal_filter_msa.c
  109. endif
  110. VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes))