• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# src files
2list(
3  APPEND
4  LIBAVC_COMMON_SRCS
5  "${AVC_ROOT}/common/ih264_buf_mgr.c"
6  "${AVC_ROOT}/common/ih264_cabac_tables.c"
7  "${AVC_ROOT}/common/ih264_cavlc_tables.c"
8  "${AVC_ROOT}/common/ih264_chroma_intra_pred_filters.c"
9  "${AVC_ROOT}/common/ih264_common_tables.c"
10  "${AVC_ROOT}/common/ih264_deblk_edge_filters.c"
11  "${AVC_ROOT}/common/ih264_deblk_tables.c"
12  "${AVC_ROOT}/common/ih264_disp_mgr.c"
13  "${AVC_ROOT}/common/ih264_dpb_mgr.c"
14  "${AVC_ROOT}/common/ih264_ihadamard_scaling.c"
15  "${AVC_ROOT}/common/ih264_inter_pred_filters.c"
16  "${AVC_ROOT}/common/ih264_iquant_itrans_recon.c"
17  "${AVC_ROOT}/common/ih264_list.c"
18  "${AVC_ROOT}/common/ih264_luma_intra_pred_filters.c"
19  "${AVC_ROOT}/common/ih264_mem_fns.c"
20  "${AVC_ROOT}/common/ih264_padding.c"
21  "${AVC_ROOT}/common/ih264_resi_trans_quant.c"
22  "${AVC_ROOT}/common/ih264_trans_data.c"
23  "${AVC_ROOT}/common/ih264_weighted_pred.c"
24  "${AVC_ROOT}/common/ithread.c")
25
26include_directories(${AVC_ROOT}/common)
27include_directories(${AVC_ROOT}/common/mvc)
28
29# arm/x86 sources
30if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch64")
31  list(
32    APPEND
33    LIBAVC_COMMON_ASMS
34    "${AVC_ROOT}/common/armv8/ih264_deblk_chroma_av8.s"
35    "${AVC_ROOT}/common/armv8/ih264_deblk_luma_av8.s"
36    "${AVC_ROOT}/common/armv8/ih264_default_weighted_pred_av8.s"
37    "${AVC_ROOT}/common/armv8/ih264_ihadamard_scaling_av8.s"
38    "${AVC_ROOT}/common/armv8/ih264_inter_pred_chroma_av8.s"
39    "${AVC_ROOT}/common/armv8/ih264_inter_pred_filters_luma_horz_av8.s"
40    "${AVC_ROOT}/common/armv8/ih264_inter_pred_filters_luma_vert_av8.s"
41    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_copy_av8.s"
42    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_horz_hpel_vert_hpel_av8.s"
43    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_horz_hpel_vert_qpel_av8.s"
44    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_horz_qpel_av8.s"
45    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_horz_qpel_vert_hpel_av8.s"
46    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_horz_qpel_vert_qpel_av8.s"
47    "${AVC_ROOT}/common/armv8/ih264_inter_pred_luma_vert_qpel_av8.s"
48    "${AVC_ROOT}/common/armv8/ih264_intra_pred_chroma_av8.s"
49    "${AVC_ROOT}/common/armv8/ih264_intra_pred_luma_16x16_av8.s"
50    "${AVC_ROOT}/common/armv8/ih264_intra_pred_luma_4x4_av8.s"
51    "${AVC_ROOT}/common/armv8/ih264_intra_pred_luma_8x8_av8.s"
52    "${AVC_ROOT}/common/armv8/ih264_iquant_itrans_recon_av8.s"
53    "${AVC_ROOT}/common/armv8/ih264_iquant_itrans_recon_dc_av8.s"
54    "${AVC_ROOT}/common/armv8/ih264_mem_fns_neon_av8.s"
55    "${AVC_ROOT}/common/armv8/ih264_padding_neon_av8.s"
56    "${AVC_ROOT}/common/armv8/ih264_resi_trans_quant_av8.s"
57    "${AVC_ROOT}/common/armv8/ih264_weighted_bi_pred_av8.s"
58    "${AVC_ROOT}/common/armv8/ih264_weighted_pred_av8.s")
59
60  include_directories(${AVC_ROOT}/common/arm)
61  include_directories(${AVC_ROOT}/common/armv8)
62elseif("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "aarch32")
63  list(
64    APPEND
65    LIBAVC_COMMON_ASMS
66    "${AVC_ROOT}/common/arm/ih264_deblk_chroma_a9.s"
67    "${AVC_ROOT}/common/arm/ih264_deblk_luma_a9.s"
68    "${AVC_ROOT}/common/arm/ih264_default_weighted_pred_a9q.s"
69    "${AVC_ROOT}/common/arm/ih264_ihadamard_scaling_a9.s"
70    "${AVC_ROOT}/common/arm/ih264_inter_pred_chroma_a9q.s"
71    "${AVC_ROOT}/common/arm/ih264_inter_pred_filters_luma_horz_a9q.s"
72    "${AVC_ROOT}/common/arm/ih264_inter_pred_filters_luma_vert_a9q.s"
73    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_bilinear_a9q.s"
74    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_copy_a9q.s"
75    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_horz_hpel_vert_hpel_a9q.s"
76    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_horz_hpel_vert_qpel_a9q.s"
77    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_horz_qpel_a9q.s"
78    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_horz_qpel_vert_hpel_a9q.s"
79    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_horz_qpel_vert_qpel_a9q.s"
80    "${AVC_ROOT}/common/arm/ih264_inter_pred_luma_vert_qpel_a9q.s"
81    "${AVC_ROOT}/common/arm/ih264_intra_pred_chroma_a9q.s"
82    "${AVC_ROOT}/common/arm/ih264_intra_pred_luma_16x16_a9q.s"
83    "${AVC_ROOT}/common/arm/ih264_intra_pred_luma_4x4_a9q.s"
84    "${AVC_ROOT}/common/arm/ih264_intra_pred_luma_8x8_a9q.s"
85    "${AVC_ROOT}/common/arm/ih264_iquant_itrans_recon_a9.s"
86    "${AVC_ROOT}/common/arm/ih264_iquant_itrans_recon_dc_a9.s"
87    "${AVC_ROOT}/common/arm/ih264_mem_fns_neon.s"
88    "${AVC_ROOT}/common/arm/ih264_padding_neon.s"
89    "${AVC_ROOT}/common/arm/ih264_resi_trans_quant_a9.s"
90    "${AVC_ROOT}/common/arm/ih264_weighted_bi_pred_a9q.s"
91    "${AVC_ROOT}/common/arm/ih264_weighted_pred_a9q.s")
92
93  include_directories(${AVC_ROOT}/common/arm)
94else()
95  list(
96    APPEND
97    LIBAVC_COMMON_SRCS
98    "${AVC_ROOT}/common/x86/ih264_chroma_intra_pred_filters_ssse3.c"
99    "${AVC_ROOT}/common/x86/ih264_deblk_chroma_ssse3.c"
100    "${AVC_ROOT}/common/x86/ih264_deblk_luma_ssse3.c"
101    "${AVC_ROOT}/common/x86/ih264_ihadamard_scaling_sse42.c"
102    "${AVC_ROOT}/common/x86/ih264_ihadamard_scaling_ssse3.c"
103    "${AVC_ROOT}/common/x86/ih264_inter_pred_filters_ssse3.c"
104    "${AVC_ROOT}/common/x86/ih264_iquant_itrans_recon_dc_ssse3.c"
105    "${AVC_ROOT}/common/x86/ih264_iquant_itrans_recon_sse42.c"
106    "${AVC_ROOT}/common/x86/ih264_iquant_itrans_recon_ssse3.c"
107    "${AVC_ROOT}/common/x86/ih264_luma_intra_pred_filters_ssse3.c"
108    "${AVC_ROOT}/common/x86/ih264_mem_fns_ssse3.c"
109    "${AVC_ROOT}/common/x86/ih264_padding_ssse3.c"
110    "${AVC_ROOT}/common/x86/ih264_resi_trans_quant_sse42.c"
111    "${AVC_ROOT}/common/x86/ih264_weighted_pred_sse42.c")
112
113  include_directories(${AVC_ROOT}/common/x86)
114endif()
115