Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 1 | cc_library_static { |
| 2 | name: "libavcdec", |
Jiyong Park | 4bd04b1 | 2017-08-07 13:14:45 +0900 | [diff] [blame] | 3 | vendor_available: true, |
| 4 | shared_libs: ["liblog", "libcutils",], |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 5 | |
| 6 | cflags: [ |
| 7 | "-fPIC", |
| 8 | "-O3", |
Chih-Hung Hsieh | 4852fbb | 2017-09-28 13:30:53 -0700 | [diff] [blame] | 9 | "-Wall", |
| 10 | "-Werror", |
| 11 | "-Wno-unused-variable", |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 12 | ], |
| 13 | |
| 14 | export_include_dirs: [ |
| 15 | "decoder", |
| 16 | "common", |
| 17 | ], |
| 18 | |
| 19 | srcs: [ |
| 20 | "common/ih264_buf_mgr.c", |
| 21 | "common/ih264_disp_mgr.c", |
| 22 | "common/ih264_inter_pred_filters.c", |
| 23 | "common/ih264_luma_intra_pred_filters.c", |
| 24 | "common/ih264_chroma_intra_pred_filters.c", |
| 25 | "common/ih264_padding.c", |
| 26 | "common/ih264_mem_fns.c", |
| 27 | "common/ih264_deblk_edge_filters.c", |
| 28 | "common/ih264_iquant_itrans_recon.c", |
| 29 | "common/ih264_ihadamard_scaling.c", |
| 30 | "common/ih264_weighted_pred.c", |
| 31 | "common/ithread.c", |
| 32 | "decoder/ih264d_cabac.c", |
| 33 | "decoder/ih264d_parse_mb_header.c", |
| 34 | "decoder/ih264d_parse_cabac.c", |
| 35 | "decoder/ih264d_process_intra_mb.c", |
| 36 | "decoder/ih264d_inter_pred.c", |
| 37 | "decoder/ih264d_parse_bslice.c", |
| 38 | "decoder/ih264d_parse_pslice.c", |
| 39 | "decoder/ih264d_parse_islice.c", |
| 40 | "decoder/ih264d_cabac_init_tables.c", |
| 41 | "decoder/ih264d_bitstrm.c", |
| 42 | "decoder/ih264d_compute_bs.c", |
| 43 | "decoder/ih264d_deblocking.c", |
| 44 | "decoder/ih264d_parse_headers.c", |
| 45 | "decoder/ih264d_mb_utils.c", |
| 46 | "decoder/ih264d_mvpred.c", |
| 47 | "decoder/ih264d_utils.c", |
| 48 | "decoder/ih264d_process_bslice.c", |
| 49 | "decoder/ih264d_process_pslice.c", |
| 50 | "decoder/ih264d_parse_slice.c", |
| 51 | "decoder/ih264d_quant_scaling.c", |
| 52 | "decoder/ih264d_parse_cavlc.c", |
| 53 | "decoder/ih264d_dpb_mgr.c", |
| 54 | "decoder/ih264d_nal.c", |
| 55 | "decoder/ih264d_sei.c", |
| 56 | "decoder/ih264d_tables.c", |
| 57 | "decoder/ih264d_vui.c", |
| 58 | "decoder/ih264d_format_conv.c", |
| 59 | "decoder/ih264d_thread_parse_decode.c", |
| 60 | "decoder/ih264d_api.c", |
| 61 | "decoder/ih264d_thread_compute_bs.c", |
| 62 | "decoder/ih264d_function_selector_generic.c", |
| 63 | ], |
| 64 | |
| 65 | arch: { |
| 66 | arm: { |
| 67 | local_include_dirs: [ |
| 68 | "decoder/arm", |
| 69 | "common/arm", |
| 70 | ], |
| 71 | |
| 72 | srcs: [ |
| 73 | "decoder/arm/ih264d_function_selector.c", |
| 74 | "common/arm/ih264_arm_memory_barrier.s", |
| 75 | ], |
| 76 | |
| 77 | cflags: [ |
| 78 | "-DARM", |
| 79 | |
| 80 | // These will be overriden by armv7_a_neon |
| 81 | "-DDISABLE_NEON", |
| 82 | "-DDEFAULT_ARCH=D_ARCH_ARM_NONEON", |
| 83 | ], |
| 84 | |
Isaac Chen | 7800291 | 2017-09-12 16:57:35 +0800 | [diff] [blame] | 85 | neon: { |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 86 | srcs: [ |
| 87 | "decoder/arm/ih264d_function_selector_a9q.c", |
| 88 | "common/arm/ih264_intra_pred_chroma_a9q.s", |
| 89 | "common/arm/ih264_intra_pred_luma_16x16_a9q.s", |
| 90 | "common/arm/ih264_intra_pred_luma_4x4_a9q.s", |
| 91 | "common/arm/ih264_intra_pred_luma_8x8_a9q.s", |
| 92 | "common/arm/ih264_inter_pred_chroma_a9q.s", |
| 93 | "common/arm/ih264_inter_pred_filters_luma_horz_a9q.s", |
| 94 | "common/arm/ih264_inter_pred_filters_luma_vert_a9q.s", |
| 95 | "common/arm/ih264_inter_pred_luma_copy_a9q.s", |
| 96 | "common/arm/ih264_inter_pred_luma_horz_qpel_a9q.s", |
| 97 | "common/arm/ih264_inter_pred_luma_vert_qpel_a9q.s", |
| 98 | "common/arm/ih264_inter_pred_luma_horz_hpel_vert_hpel_a9q.s", |
| 99 | "common/arm/ih264_inter_pred_luma_horz_qpel_vert_qpel_a9q.s", |
| 100 | "common/arm/ih264_inter_pred_luma_horz_qpel_vert_hpel_a9q.s", |
| 101 | "common/arm/ih264_inter_pred_luma_horz_hpel_vert_qpel_a9q.s", |
| 102 | "common/arm/ih264_default_weighted_pred_a9q.s", |
| 103 | "common/arm/ih264_weighted_pred_a9q.s", |
| 104 | "common/arm/ih264_weighted_bi_pred_a9q.s", |
| 105 | "common/arm/ih264_deblk_chroma_a9.s", |
| 106 | "common/arm/ih264_deblk_luma_a9.s", |
| 107 | "common/arm/ih264_padding_neon.s", |
| 108 | "common/arm/ih264_iquant_itrans_recon_a9.s", |
| 109 | "common/arm/ih264_iquant_itrans_recon_dc_a9.s", |
| 110 | "common/arm/ih264_ihadamard_scaling_a9.s", |
| 111 | ], |
| 112 | cflags: [ |
| 113 | "-UDISABLE_NEON", |
| 114 | "-UDEFAULT_ARCH", |
| 115 | "-DDEFAULT_ARCH=D_ARCH_ARM_A9Q", |
| 116 | ], |
| 117 | }, |
| 118 | }, |
| 119 | |
| 120 | arm64: { |
| 121 | cflags: [ |
| 122 | "-DARMV8", |
| 123 | "-DARM", |
| 124 | "-DDEFAULT_ARCH=D_ARCH_ARMV8_GENERIC", |
| 125 | ], |
| 126 | local_include_dirs: [ |
| 127 | "decoder/arm", |
| 128 | "common/armv8", |
| 129 | ], |
| 130 | |
| 131 | srcs: [ |
| 132 | "decoder/arm/ih264d_function_selector.c", |
| 133 | "decoder/arm/ih264d_function_selector_av8.c", |
| 134 | "common/armv8/ih264_intra_pred_chroma_av8.s", |
| 135 | "common/armv8/ih264_intra_pred_luma_16x16_av8.s", |
| 136 | "common/armv8/ih264_intra_pred_luma_4x4_av8.s", |
| 137 | "common/armv8/ih264_inter_pred_chroma_av8.s", |
| 138 | "common/armv8/ih264_inter_pred_filters_luma_horz_av8.s", |
| 139 | "common/armv8/ih264_inter_pred_filters_luma_vert_av8.s", |
| 140 | "common/armv8/ih264_inter_pred_luma_copy_av8.s", |
| 141 | "common/armv8/ih264_inter_pred_luma_horz_qpel_av8.s", |
| 142 | "common/armv8/ih264_inter_pred_luma_vert_qpel_av8.s", |
| 143 | "common/armv8/ih264_inter_pred_luma_horz_hpel_vert_hpel_av8.s", |
| 144 | "common/armv8/ih264_inter_pred_luma_horz_qpel_vert_qpel_av8.s", |
| 145 | "common/armv8/ih264_inter_pred_luma_horz_qpel_vert_hpel_av8.s", |
| 146 | "common/armv8/ih264_inter_pred_luma_horz_hpel_vert_qpel_av8.s", |
| 147 | "common/armv8/ih264_default_weighted_pred_av8.s", |
| 148 | "common/armv8/ih264_weighted_pred_av8.s", |
| 149 | "common/armv8/ih264_weighted_bi_pred_av8.s", |
| 150 | "common/armv8/ih264_deblk_chroma_av8.s", |
| 151 | "common/armv8/ih264_deblk_luma_av8.s", |
| 152 | "common/armv8/ih264_padding_neon_av8.s", |
| 153 | "common/armv8/ih264_iquant_itrans_recon_av8.s", |
| 154 | "common/armv8/ih264_iquant_itrans_recon_dc_av8.s", |
| 155 | "common/armv8/ih264_ihadamard_scaling_av8.s", |
| 156 | "common/armv8/ih264_intra_pred_luma_8x8_av8.s", |
| 157 | ], |
| 158 | }, |
| 159 | |
| 160 | mips: { |
| 161 | local_include_dirs: ["common/mips"], |
| 162 | |
| 163 | srcs: ["decoder/mips/ih264d_function_selector.c"], |
| 164 | }, |
| 165 | |
| 166 | mips64: { |
| 167 | local_include_dirs: ["common/mips"], |
| 168 | |
| 169 | srcs: ["decoder/mips/ih264d_function_selector.c"], |
| 170 | }, |
| 171 | |
| 172 | x86: { |
| 173 | cflags: [ |
| 174 | "-DX86", |
| 175 | "-msse4.2", |
| 176 | "-DDEFAULT_ARCH=D_ARCH_X86_SSE42", |
| 177 | ], |
| 178 | |
| 179 | local_include_dirs: [ |
| 180 | "decoder/x86", |
| 181 | "common/x86", |
| 182 | ], |
| 183 | |
| 184 | srcs: [ |
| 185 | "decoder/x86/ih264d_function_selector.c", |
| 186 | "decoder/x86/ih264d_function_selector_sse42.c", |
| 187 | "decoder/x86/ih264d_function_selector_ssse3.c", |
| 188 | "common/x86/ih264_inter_pred_filters_ssse3.c", |
| 189 | "common/x86/ih264_deblk_luma_ssse3.c", |
| 190 | "common/x86/ih264_deblk_chroma_ssse3.c", |
| 191 | "common/x86/ih264_padding_ssse3.c", |
| 192 | "common/x86/ih264_mem_fns_ssse3.c", |
| 193 | "common/x86/ih264_iquant_itrans_recon_dc_ssse3.c", |
| 194 | "common/x86/ih264_iquant_itrans_recon_ssse3.c", |
| 195 | "common/x86/ih264_luma_intra_pred_filters_ssse3.c", |
| 196 | "common/x86/ih264_chroma_intra_pred_filters_ssse3.c", |
| 197 | "common/x86/ih264_iquant_itrans_recon_sse42.c", |
| 198 | "common/x86/ih264_weighted_pred_sse42.c", |
| 199 | "common/x86/ih264_ihadamard_scaling_sse42.c", |
| 200 | ], |
| 201 | }, |
| 202 | |
| 203 | x86_64: { |
| 204 | cflags: [ |
| 205 | "-DX86", |
| 206 | "-msse4.2", |
| 207 | "-DDEFAULT_ARCH=D_ARCH_X86_SSE42", |
| 208 | ], |
| 209 | |
| 210 | local_include_dirs: [ |
| 211 | "decoder/x86", |
| 212 | "common/x86", |
| 213 | ], |
| 214 | |
| 215 | srcs: [ |
| 216 | "decoder/x86/ih264d_function_selector.c", |
| 217 | "decoder/x86/ih264d_function_selector_sse42.c", |
| 218 | "decoder/x86/ih264d_function_selector_ssse3.c", |
| 219 | "common/x86/ih264_inter_pred_filters_ssse3.c", |
| 220 | "common/x86/ih264_deblk_luma_ssse3.c", |
| 221 | "common/x86/ih264_deblk_chroma_ssse3.c", |
| 222 | "common/x86/ih264_padding_ssse3.c", |
| 223 | "common/x86/ih264_mem_fns_ssse3.c", |
| 224 | "common/x86/ih264_iquant_itrans_recon_dc_ssse3.c", |
| 225 | "common/x86/ih264_iquant_itrans_recon_ssse3.c", |
| 226 | "common/x86/ih264_luma_intra_pred_filters_ssse3.c", |
| 227 | "common/x86/ih264_chroma_intra_pred_filters_ssse3.c", |
| 228 | "common/x86/ih264_iquant_itrans_recon_sse42.c", |
| 229 | "common/x86/ih264_weighted_pred_sse42.c", |
| 230 | "common/x86/ih264_ihadamard_scaling_sse42.c", |
| 231 | ], |
| 232 | }, |
| 233 | }, |
Wonsik Kim | 83355ea | 2018-01-22 11:33:09 -0800 | [diff] [blame] | 234 | |
| 235 | sanitize: { |
| 236 | cfi: true, |
| 237 | diag: { |
| 238 | cfi: true, |
| 239 | }, |
| 240 | blacklist: "cfi_blacklist.txt", |
| 241 | }, |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 242 | } |
| 243 | |
| 244 | cc_library_static { |
| 245 | name: "libavcenc", |
Jiyong Park | 4bd04b1 | 2017-08-07 13:14:45 +0900 | [diff] [blame] | 246 | vendor_available: true, |
| 247 | shared_libs: ["liblog", "libcutils",], |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 248 | |
| 249 | cflags: [ |
| 250 | "-DNDEBUG", |
| 251 | "-UHP_PL", |
| 252 | "-DN_MB_ENABLE", |
| 253 | "-fPIC", |
| 254 | |
| 255 | "-O3", |
Chih-Hung Hsieh | 4852fbb | 2017-09-28 13:30:53 -0700 | [diff] [blame] | 256 | "-Wall", |
| 257 | "-Werror", |
| 258 | "-Wno-error=constant-conversion", |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 259 | ], |
| 260 | |
| 261 | export_include_dirs: [ |
| 262 | "encoder", |
| 263 | "common", |
| 264 | ], |
| 265 | |
| 266 | srcs: [ //Rate Control |
| 267 | "common/ih264_resi_trans_quant.c", |
| 268 | "common/ih264_iquant_itrans_recon.c", |
| 269 | "common/ih264_ihadamard_scaling.c", |
| 270 | "common/ih264_inter_pred_filters.c", |
| 271 | "common/ih264_luma_intra_pred_filters.c", |
| 272 | "common/ih264_chroma_intra_pred_filters.c", |
| 273 | "common/ih264_padding.c", |
| 274 | "common/ih264_mem_fns.c", |
| 275 | "common/ih264_deblk_edge_filters.c", |
| 276 | "common/ih264_deblk_tables.c", |
| 277 | "common/ih264_cavlc_tables.c", |
| 278 | "common/ih264_cabac_tables.c", |
| 279 | "common/ih264_common_tables.c", |
| 280 | "common/ih264_trans_data.c", |
| 281 | "common/ih264_buf_mgr.c", |
| 282 | "common/ih264_dpb_mgr.c", |
| 283 | "common/ih264_list.c", |
| 284 | "common/ithread.c", |
| 285 | "encoder/ih264e_globals.c", |
| 286 | "encoder/ih264e_intra_modes_eval.c", |
| 287 | "encoder/ih264e_half_pel.c", |
| 288 | "encoder/ih264e_mc.c", |
| 289 | "encoder/ih264e_me.c", |
| 290 | "encoder/ih264e_rc_mem_interface.c", |
| 291 | "encoder/ih264e_time_stamp.c", |
| 292 | "encoder/ih264e_modify_frm_rate.c", |
| 293 | "encoder/ih264e_rate_control.c", |
| 294 | "encoder/ih264e_core_coding.c", |
| 295 | "encoder/ih264e_deblk.c", |
| 296 | "encoder/ih264e_api.c", |
| 297 | "encoder/ih264e_process.c", |
| 298 | "encoder/ih264e_encode.c", |
| 299 | "encoder/ih264e_utils.c", |
| 300 | "encoder/ih264e_version.c", |
| 301 | "encoder/ih264e_bitstream.c", |
| 302 | "encoder/ih264e_cavlc.c", |
| 303 | "encoder/ih264e_cabac_init.c", |
| 304 | "encoder/ih264e_cabac.c", |
| 305 | "encoder/ih264e_cabac_encode.c", |
| 306 | "encoder/ih264e_encode_header.c", |
| 307 | "encoder/ih264e_function_selector_generic.c", |
| 308 | "encoder/ih264e_fmt_conv.c", |
| 309 | "encoder/irc_rate_control_api.c", |
| 310 | "encoder/irc_bit_allocation.c", |
| 311 | "encoder/irc_cbr_buffer_control.c", |
| 312 | "encoder/irc_est_sad.c", |
| 313 | "encoder/irc_fixed_point_error_bits.c", |
| 314 | "encoder/irc_frame_info_collector.c", |
| 315 | "encoder/irc_mb_model_based.c", |
| 316 | "encoder/irc_picture_type.c", |
| 317 | "encoder/irc_rd_model.c", |
| 318 | "encoder/irc_vbr_storage_vbv.c", |
| 319 | "encoder/irc_vbr_str_prms.c", |
| 320 | "encoder/ime.c", |
| 321 | "encoder/ime_distortion_metrics.c", |
| 322 | ], |
| 323 | |
| 324 | arch: { |
| 325 | arm: { |
| 326 | local_include_dirs: [ |
| 327 | "encoder/arm", |
| 328 | "common/arm", |
| 329 | ], |
| 330 | |
| 331 | srcs: [ |
| 332 | "encoder/arm/ih264e_function_selector.c", |
| 333 | "common/arm/ih264_arm_memory_barrier.s", |
| 334 | ], |
| 335 | |
| 336 | cflags: [ |
| 337 | "-DARM", |
| 338 | |
| 339 | // This will be overriden by armv7_a_neon |
| 340 | "-DDISABLE_NEON", |
| 341 | ], |
| 342 | |
Isaac Chen | 7800291 | 2017-09-12 16:57:35 +0800 | [diff] [blame] | 343 | neon: { |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 344 | srcs: [ |
| 345 | "encoder/arm/ih264e_function_selector_a9q.c", |
| 346 | "common/arm/ih264_resi_trans_quant_a9.s", |
| 347 | "common/arm/ih264_iquant_itrans_recon_a9.s", |
| 348 | "common/arm/ih264_iquant_itrans_recon_dc_a9.s", |
| 349 | "common/arm/ih264_ihadamard_scaling_a9.s", |
| 350 | "common/arm/ih264_deblk_chroma_a9.s", |
| 351 | "common/arm/ih264_deblk_luma_a9.s", |
| 352 | "common/arm/ih264_intra_pred_chroma_a9q.s", |
| 353 | "common/arm/ih264_intra_pred_luma_16x16_a9q.s", |
| 354 | "common/arm/ih264_intra_pred_luma_4x4_a9q.s", |
| 355 | "common/arm/ih264_intra_pred_luma_8x8_a9q.s", |
| 356 | "common/arm/ih264_inter_pred_chroma_a9q.s", |
| 357 | "common/arm/ih264_inter_pred_filters_luma_horz_a9q.s", |
| 358 | "common/arm/ih264_inter_pred_filters_luma_vert_a9q.s", |
| 359 | "common/arm/ih264_inter_pred_luma_bilinear_a9q.s", |
| 360 | "common/arm/ih264_inter_pred_luma_copy_a9q.s", |
| 361 | "common/arm/ih264_padding_neon.s", |
| 362 | "common/arm/ih264_mem_fns_neon.s", |
| 363 | "encoder/arm/ih264e_evaluate_intra16x16_modes_a9q.s", |
| 364 | "encoder/arm/ih264e_evaluate_intra4x4_modes_a9q.s", |
| 365 | "encoder/arm/ih264e_evaluate_intra_chroma_modes_a9q.s", |
| 366 | "encoder/arm/ih264e_half_pel.s", |
| 367 | "encoder/arm/ih264e_fmt_conv.s", |
| 368 | "encoder/arm/ime_distortion_metrics_a9q.s", |
| 369 | ], |
| 370 | |
| 371 | cflags: [ |
| 372 | "-UDISABLE_NEON", |
| 373 | ], |
| 374 | }, |
| 375 | }, |
| 376 | |
| 377 | arm64: { |
| 378 | cflags: [ |
| 379 | "-DARMV8", |
| 380 | "-DARM", |
| 381 | ], |
| 382 | |
| 383 | local_include_dirs: [ |
| 384 | "encoder/arm", |
| 385 | "encoder/armv8", |
| 386 | "common/armv8", |
| 387 | ], |
| 388 | |
| 389 | srcs: [ |
| 390 | "encoder/arm/ih264e_function_selector.c", |
| 391 | "encoder/arm/ih264e_function_selector_av8.c", |
| 392 | "common/armv8/ih264_resi_trans_quant_av8.s", |
| 393 | "common/armv8/ih264_iquant_itrans_recon_av8.s", |
| 394 | "common/armv8/ih264_iquant_itrans_recon_dc_av8.s", |
| 395 | "common/armv8/ih264_ihadamard_scaling_av8.s", |
| 396 | "common/armv8/ih264_intra_pred_chroma_av8.s", |
| 397 | "common/armv8/ih264_intra_pred_luma_16x16_av8.s", |
| 398 | "common/armv8/ih264_intra_pred_luma_4x4_av8.s", |
| 399 | "common/armv8/ih264_intra_pred_luma_8x8_av8.s", |
| 400 | "common/armv8/ih264_inter_pred_luma_copy_av8.s", |
| 401 | "common/armv8/ih264_inter_pred_chroma_av8.s", |
| 402 | "common/armv8/ih264_inter_pred_filters_luma_horz_av8.s", |
| 403 | "common/armv8/ih264_inter_pred_filters_luma_vert_av8.s", |
| 404 | "common/armv8/ih264_padding_neon_av8.s", |
| 405 | "common/armv8/ih264_mem_fns_neon_av8.s", |
| 406 | "common/armv8/ih264_deblk_luma_av8.s", |
| 407 | "common/armv8/ih264_deblk_chroma_av8.s", |
| 408 | "encoder/armv8/ih264e_evaluate_intra16x16_modes_av8.s", |
| 409 | "encoder/armv8/ih264e_evaluate_intra_chroma_modes_av8.s", |
| 410 | "encoder/armv8/ih264e_half_pel_av8.s", |
| 411 | "encoder/armv8/ime_distortion_metrics_av8.s", |
| 412 | ], |
| 413 | }, |
| 414 | |
| 415 | mips: { |
| 416 | local_include_dirs: [ |
| 417 | "common/mips", |
| 418 | "encoder/mips", |
| 419 | ], |
| 420 | |
| 421 | srcs: ["encoder/mips/ih264e_function_selector.c"], |
| 422 | }, |
| 423 | |
| 424 | mips64: { |
| 425 | local_include_dirs: [ |
| 426 | "common/mips", |
| 427 | "encoder/mips", |
| 428 | ], |
| 429 | |
| 430 | srcs: ["encoder/mips/ih264e_function_selector.c"], |
| 431 | }, |
| 432 | |
| 433 | x86: { |
| 434 | cflags: [ |
| 435 | "-DX86", |
| 436 | "-msse4.2", |
| 437 | ], |
| 438 | |
| 439 | local_include_dirs: [ |
| 440 | "encoder/x86", |
| 441 | "common/x86", |
| 442 | ], |
| 443 | |
| 444 | srcs: [ |
| 445 | "encoder/x86/ih264e_function_selector.c", |
| 446 | "encoder/x86/ih264e_function_selector_sse42.c", |
| 447 | "encoder/x86/ih264e_function_selector_ssse3.c", |
| 448 | "common/x86/ih264_iquant_itrans_recon_ssse3.c", |
| 449 | "common/x86/ih264_iquant_itrans_recon_dc_ssse3.c", |
| 450 | "common/x86/ih264_ihadamard_scaling_ssse3.c", |
| 451 | "common/x86/ih264_inter_pred_filters_ssse3.c", |
| 452 | "common/x86/ih264_mem_fns_ssse3.c", |
| 453 | "common/x86/ih264_padding_ssse3.c", |
| 454 | "common/x86/ih264_luma_intra_pred_filters_ssse3.c", |
| 455 | "common/x86/ih264_chroma_intra_pred_filters_ssse3.c", |
| 456 | "common/x86/ih264_deblk_chroma_ssse3.c", |
| 457 | "common/x86/ih264_deblk_luma_ssse3.c", |
| 458 | "common/x86/ih264_iquant_itrans_recon_sse42.c", |
| 459 | "common/x86/ih264_ihadamard_scaling_sse42.c", |
| 460 | "common/x86/ih264_resi_trans_quant_sse42.c", |
| 461 | "common/x86/ih264_weighted_pred_sse42.c", |
| 462 | "encoder/x86/ih264e_half_pel_ssse3.c", |
| 463 | "encoder/x86/ih264e_intra_modes_eval_ssse3.c", |
| 464 | "encoder/x86/ime_distortion_metrics_sse42.c", |
| 465 | ], |
| 466 | }, |
| 467 | |
| 468 | x86_64: { |
| 469 | cflags: [ |
| 470 | "-DX86", |
| 471 | "-msse4.2", |
| 472 | ], |
| 473 | |
| 474 | local_include_dirs: [ |
| 475 | "encoder/x86", |
| 476 | "common/x86", |
| 477 | ], |
| 478 | |
| 479 | srcs: [ |
| 480 | "encoder/x86/ih264e_function_selector.c", |
| 481 | "encoder/x86/ih264e_function_selector_sse42.c", |
| 482 | "encoder/x86/ih264e_function_selector_ssse3.c", |
| 483 | "common/x86/ih264_iquant_itrans_recon_ssse3.c", |
| 484 | "common/x86/ih264_iquant_itrans_recon_dc_ssse3.c", |
| 485 | "common/x86/ih264_ihadamard_scaling_ssse3.c", |
| 486 | "common/x86/ih264_inter_pred_filters_ssse3.c", |
| 487 | "common/x86/ih264_mem_fns_ssse3.c", |
| 488 | "common/x86/ih264_padding_ssse3.c", |
| 489 | "common/x86/ih264_luma_intra_pred_filters_ssse3.c", |
| 490 | "common/x86/ih264_chroma_intra_pred_filters_ssse3.c", |
| 491 | "common/x86/ih264_deblk_chroma_ssse3.c", |
| 492 | "common/x86/ih264_deblk_luma_ssse3.c", |
| 493 | "common/x86/ih264_iquant_itrans_recon_sse42.c", |
| 494 | "common/x86/ih264_ihadamard_scaling_sse42.c", |
| 495 | "common/x86/ih264_resi_trans_quant_sse42.c", |
| 496 | "common/x86/ih264_weighted_pred_sse42.c", |
| 497 | "encoder/x86/ih264e_half_pel_ssse3.c", |
| 498 | "encoder/x86/ih264e_intra_modes_eval_ssse3.c", |
| 499 | "encoder/x86/ime_distortion_metrics_sse42.c", |
| 500 | ], |
| 501 | }, |
| 502 | }, |
Wonsik Kim | 83355ea | 2018-01-22 11:33:09 -0800 | [diff] [blame] | 503 | |
| 504 | sanitize: { |
| 505 | cfi: true, |
| 506 | diag: { |
| 507 | cfi: true, |
| 508 | }, |
| 509 | blacklist: "cfi_blacklist.txt", |
| 510 | }, |
Colin Cross | fc442e1 | 2017-04-20 14:31:47 -0700 | [diff] [blame] | 511 | } |
| 512 | |
| 513 | subdirs = ["test"] |