blob: 0f9b77bcc7680c97b3e61e307a2cab01b1706677 [file] [log] [blame]
# Common
openh264_common_include_dirs = [
"//third_party/openh264/src/codec/api/svc",
"//third_party/openh264/src/codec/common/arm",
"//third_party/openh264/src/codec/common/inc",
"//third_party/openh264/src/codec/common/src",
]
openh264_common_sources = [
"//third_party/openh264/src/codec/common/inc/WelsList.h",
"//third_party/openh264/src/codec/common/inc/WelsLock.h",
"//third_party/openh264/src/codec/common/inc/WelsTask.h",
"//third_party/openh264/src/codec/common/inc/WelsTaskThread.h",
"//third_party/openh264/src/codec/common/inc/WelsThread.h",
"//third_party/openh264/src/codec/common/inc/WelsThreadLib.h",
"//third_party/openh264/src/codec/common/inc/WelsThreadPool.h",
"//third_party/openh264/src/codec/common/inc/copy_mb.h",
"//third_party/openh264/src/codec/common/inc/cpu.h",
"//third_party/openh264/src/codec/common/inc/cpu_core.h",
"//third_party/openh264/src/codec/common/inc/crt_util_safe_x.h",
"//third_party/openh264/src/codec/common/inc/deblocking_common.h",
"//third_party/openh264/src/codec/common/inc/expand_pic.h",
"//third_party/openh264/src/codec/common/inc/golomb_common.h",
"//third_party/openh264/src/codec/common/inc/intra_pred_common.h",
"//third_party/openh264/src/codec/common/inc/ls_defines.h",
"//third_party/openh264/src/codec/common/inc/macros.h",
"//third_party/openh264/src/codec/common/inc/mc.h",
"//third_party/openh264/src/codec/common/inc/measure_time.h",
"//third_party/openh264/src/codec/common/inc/memory_align.h",
"//third_party/openh264/src/codec/common/inc/sad_common.h",
"//third_party/openh264/src/codec/common/inc/typedefs.h",
"//third_party/openh264/src/codec/common/inc/utils.h",
"//third_party/openh264/src/codec/common/inc/version.h",
"//third_party/openh264/src/codec/common/inc/welsCodecTrace.h",
"//third_party/openh264/src/codec/common/inc/wels_common_defs.h",
"//third_party/openh264/src/codec/common/inc/wels_const_common.h",
"//third_party/openh264/src/codec/common/src/WelsTaskThread.cpp",
"//third_party/openh264/src/codec/common/src/WelsThread.cpp",
"//third_party/openh264/src/codec/common/src/WelsThreadLib.cpp",
"//third_party/openh264/src/codec/common/src/WelsThreadPool.cpp",
"//third_party/openh264/src/codec/common/src/common_tables.cpp",
"//third_party/openh264/src/codec/common/src/copy_mb.cpp",
"//third_party/openh264/src/codec/common/src/cpu.cpp",
"//third_party/openh264/src/codec/common/src/crt_util_safe_x.cpp",
"//third_party/openh264/src/codec/common/src/deblocking_common.cpp",
"//third_party/openh264/src/codec/common/src/expand_pic.cpp",
"//third_party/openh264/src/codec/common/src/intra_pred_common.cpp",
"//third_party/openh264/src/codec/common/src/mc.cpp",
"//third_party/openh264/src/codec/common/src/memory_align.cpp",
"//third_party/openh264/src/codec/common/src/sad_common.cpp",
"//third_party/openh264/src/codec/common/src/utils.cpp",
"//third_party/openh264/src/codec/common/src/welsCodecTrace.cpp",
]
openh264_common_sources_asm_x86 = [
"//third_party/openh264/src/codec/common/x86/asm_inc.asm",
"//third_party/openh264/src/codec/common/x86/cpuid.asm",
"//third_party/openh264/src/codec/common/x86/dct.asm",
"//third_party/openh264/src/codec/common/x86/deblock.asm",
"//third_party/openh264/src/codec/common/x86/expand_picture.asm",
"//third_party/openh264/src/codec/common/x86/intra_pred_com.asm",
"//third_party/openh264/src/codec/common/x86/mb_copy.asm",
"//third_party/openh264/src/codec/common/x86/mc_chroma.asm",
"//third_party/openh264/src/codec/common/x86/mc_luma.asm",
"//third_party/openh264/src/codec/common/x86/satd_sad.asm",
"//third_party/openh264/src/codec/common/x86/vaa.asm",
]
openh264_common_sources_asm_arm = [
"//third_party/openh264/src/codec/common/arm/arm_arch_common_macro.S",
"//third_party/openh264/src/codec/common/arm/copy_mb_neon.S",
"//third_party/openh264/src/codec/common/arm/deblocking_neon.S",
"//third_party/openh264/src/codec/common/arm/expand_picture_neon.S",
"//third_party/openh264/src/codec/common/arm/intra_pred_common_neon.S",
"//third_party/openh264/src/codec/common/arm/mc_neon.S",
]
openh264_common_sources_asm_arm64 = [
"//third_party/openh264/src/codec/common/arm64/arm_arch64_common_macro.S",
"//third_party/openh264/src/codec/common/arm64/copy_mb_aarch64_neon.S",
"//third_party/openh264/src/codec/common/arm64/deblocking_aarch64_neon.S",
"//third_party/openh264/src/codec/common/arm64/expand_picture_aarch64_neon.S",
"//third_party/openh264/src/codec/common/arm64/intra_pred_common_aarch64_neon.S",
"//third_party/openh264/src/codec/common/arm64/mc_aarch64_neon.S",
]
# Processing
openh264_processing_include_dirs = [
"//third_party/openh264/src/codec/api/svc",
"//third_party/openh264/src/codec/common/arm",
"//third_party/openh264/src/codec/common/inc",
"//third_party/openh264/src/codec/common/src",
"//third_party/openh264/src/codec/common/x86",
"//third_party/openh264/src/codec/processing/interface",
"//third_party/openh264/src/codec/processing/src/adaptivequantization",
"//third_party/openh264/src/codec/processing/src/backgrounddetection",
"//third_party/openh264/src/codec/processing/src/common",
"//third_party/openh264/src/codec/processing/src/complexityanalysis",
"//third_party/openh264/src/codec/processing/src/denoise",
"//third_party/openh264/src/codec/processing/src/downsample",
"//third_party/openh264/src/codec/processing/src/imagerotate",
"//third_party/openh264/src/codec/processing/src/scenechangedetection",
"//third_party/openh264/src/codec/processing/src/scrolldetection",
"//third_party/openh264/src/codec/processing/src/vaacalc",
]
openh264_processing_sources = [
"//third_party/openh264/src/codec/processing/interface/IWelsVP.h",
"//third_party/openh264/src/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp",
"//third_party/openh264/src/codec/processing/src/adaptivequantization/AdaptiveQuantization.h",
"//third_party/openh264/src/codec/processing/src/backgrounddetection/BackgroundDetection.cpp",
"//third_party/openh264/src/codec/processing/src/backgrounddetection/BackgroundDetection.h",
"//third_party/openh264/src/codec/processing/src/common/WelsFrameWork.cpp",
"//third_party/openh264/src/codec/processing/src/common/WelsFrameWork.h",
"//third_party/openh264/src/codec/processing/src/common/WelsFrameWorkEx.cpp",
"//third_party/openh264/src/codec/processing/src/common/common.h",
"//third_party/openh264/src/codec/processing/src/common/memory.cpp",
"//third_party/openh264/src/codec/processing/src/common/memory.h",
"//third_party/openh264/src/codec/processing/src/common/resource.h",
"//third_party/openh264/src/codec/processing/src/common/typedef.h",
"//third_party/openh264/src/codec/processing/src/common/util.h",
"//third_party/openh264/src/codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp",
"//third_party/openh264/src/codec/processing/src/complexityanalysis/ComplexityAnalysis.h",
"//third_party/openh264/src/codec/processing/src/denoise/denoise.cpp",
"//third_party/openh264/src/codec/processing/src/denoise/denoise.h",
"//third_party/openh264/src/codec/processing/src/denoise/denoise_filter.cpp",
"//third_party/openh264/src/codec/processing/src/downsample/downsample.cpp",
"//third_party/openh264/src/codec/processing/src/downsample/downsample.h",
"//third_party/openh264/src/codec/processing/src/downsample/downsamplefuncs.cpp",
"//third_party/openh264/src/codec/processing/src/imagerotate/imagerotate.cpp",
"//third_party/openh264/src/codec/processing/src/imagerotate/imagerotate.h",
"//third_party/openh264/src/codec/processing/src/imagerotate/imagerotatefuncs.cpp",
"//third_party/openh264/src/codec/processing/src/scenechangedetection/SceneChangeDetection.cpp",
"//third_party/openh264/src/codec/processing/src/scenechangedetection/SceneChangeDetection.h",
"//third_party/openh264/src/codec/processing/src/scrolldetection/ScrollDetection.cpp",
"//third_party/openh264/src/codec/processing/src/scrolldetection/ScrollDetection.h",
"//third_party/openh264/src/codec/processing/src/scrolldetection/ScrollDetectionFuncs.cpp",
"//third_party/openh264/src/codec/processing/src/scrolldetection/ScrollDetectionFuncs.h",
"//third_party/openh264/src/codec/processing/src/vaacalc/vaacalcfuncs.cpp",
"//third_party/openh264/src/codec/processing/src/vaacalc/vaacalculation.cpp",
"//third_party/openh264/src/codec/processing/src/vaacalc/vaacalculation.h",
]
openh264_processing_sources_asm_x86 = [
"//third_party/openh264/src/codec/processing/src/x86/denoisefilter.asm",
"//third_party/openh264/src/codec/processing/src/x86/downsample_bilinear.asm",
"//third_party/openh264/src/codec/processing/src/x86/vaa.asm",
]
openh264_processing_sources_asm_arm = [
"//third_party/openh264/src/codec/processing/src/arm/adaptive_quantization.S",
"//third_party/openh264/src/codec/processing/src/arm/down_sample_neon.S",
"//third_party/openh264/src/codec/processing/src/arm/pixel_sad_neon.S",
"//third_party/openh264/src/codec/processing/src/arm/vaa_calc_neon.S",
]
openh264_processing_sources_asm_arm64 = [
"//third_party/openh264/src/codec/processing/src/arm64/adaptive_quantization_aarch64_neon.S",
"//third_party/openh264/src/codec/processing/src/arm64/down_sample_aarch64_neon.S",
"//third_party/openh264/src/codec/processing/src/arm64/pixel_sad_aarch64_neon.S",
"//third_party/openh264/src/codec/processing/src/arm64/vaa_calc_aarch64_neon.S",
]
# Encoder
openh264_encoder_include_dirs = [
"//third_party/openh264/src/codec/api/svc",
"//third_party/openh264/src/codec/common/arm/",
"//third_party/openh264/src/codec/common/inc",
"//third_party/openh264/src/codec/common/src",
"//third_party/openh264/src/codec/common/x86",
"//third_party/openh264/src/codec/encoder/core/inc",
"//third_party/openh264/src/codec/encoder/core/src",
"//third_party/openh264/src/codec/encoder/plus/inc",
"//third_party/openh264/src/codec/encoder/plus/src",
"//third_party/openh264/src/codec/processing/interface",
]
openh264_encoder_sources = [
"//third_party/openh264/src/codec/encoder/core/inc/as264_common.h",
"//third_party/openh264/src/codec/encoder/core/inc/au_set.h",
"//third_party/openh264/src/codec/encoder/core/inc/deblocking.h",
"//third_party/openh264/src/codec/encoder/core/inc/decode_mb_aux.h",
"//third_party/openh264/src/codec/encoder/core/inc/dq_map.h",
"//third_party/openh264/src/codec/encoder/core/inc/encode_mb_aux.h",
"//third_party/openh264/src/codec/encoder/core/inc/encoder.h",
"//third_party/openh264/src/codec/encoder/core/inc/encoder_context.h",
"//third_party/openh264/src/codec/encoder/core/inc/extern.h",
"//third_party/openh264/src/codec/encoder/core/inc/get_intra_predictor.h",
"//third_party/openh264/src/codec/encoder/core/inc/mb_cache.h",
"//third_party/openh264/src/codec/encoder/core/inc/md.h",
"//third_party/openh264/src/codec/encoder/core/inc/mt_defs.h",
"//third_party/openh264/src/codec/encoder/core/inc/mv_pred.h",
"//third_party/openh264/src/codec/encoder/core/inc/nal_encap.h",
"//third_party/openh264/src/codec/encoder/core/inc/param_svc.h",
"//third_party/openh264/src/codec/encoder/core/inc/parameter_sets.h",
"//third_party/openh264/src/codec/encoder/core/inc/paraset_strategy.h",
"//third_party/openh264/src/codec/encoder/core/inc/picture.h",
"//third_party/openh264/src/codec/encoder/core/inc/picture_handle.h",
"//third_party/openh264/src/codec/encoder/core/inc/rc.h",
"//third_party/openh264/src/codec/encoder/core/inc/ref_list_mgr_svc.h",
"//third_party/openh264/src/codec/encoder/core/inc/sample.h",
"//third_party/openh264/src/codec/encoder/core/inc/set_mb_syn_cabac.h",
"//third_party/openh264/src/codec/encoder/core/inc/set_mb_syn_cavlc.h",
"//third_party/openh264/src/codec/encoder/core/inc/slice.h",
"//third_party/openh264/src/codec/encoder/core/inc/slice_multi_threading.h",
"//third_party/openh264/src/codec/encoder/core/inc/stat.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_base_layer_md.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_enc_frame.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_enc_golomb.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_enc_macroblock.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_enc_slice_segment.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_encode_mb.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_encode_slice.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_mode_decision.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_motion_estimate.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_set_mb_syn.h",
"//third_party/openh264/src/codec/encoder/core/inc/svc_set_mb_syn_cavlc.h",
"//third_party/openh264/src/codec/encoder/core/inc/vlc_encoder.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_common_basis.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_const.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_func_ptr_def.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_preprocess.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_task_base.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_task_encoder.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_task_management.h",
"//third_party/openh264/src/codec/encoder/core/inc/wels_transpose_matrix.h",
"//third_party/openh264/src/codec/encoder/core/src/au_set.cpp",
"//third_party/openh264/src/codec/encoder/core/src/deblocking.cpp",
"//third_party/openh264/src/codec/encoder/core/src/decode_mb_aux.cpp",
"//third_party/openh264/src/codec/encoder/core/src/encode_mb_aux.cpp",
"//third_party/openh264/src/codec/encoder/core/src/encoder.cpp",
"//third_party/openh264/src/codec/encoder/core/src/encoder_data_tables.cpp",
"//third_party/openh264/src/codec/encoder/core/src/encoder_ext.cpp",
"//third_party/openh264/src/codec/encoder/core/src/get_intra_predictor.cpp",
"//third_party/openh264/src/codec/encoder/core/src/md.cpp",
"//third_party/openh264/src/codec/encoder/core/src/mv_pred.cpp",
"//third_party/openh264/src/codec/encoder/core/src/nal_encap.cpp",
"//third_party/openh264/src/codec/encoder/core/src/paraset_strategy.cpp",
"//third_party/openh264/src/codec/encoder/core/src/picture_handle.cpp",
"//third_party/openh264/src/codec/encoder/core/src/ratectl.cpp",
"//third_party/openh264/src/codec/encoder/core/src/ref_list_mgr_svc.cpp",
"//third_party/openh264/src/codec/encoder/core/src/sample.cpp",
"//third_party/openh264/src/codec/encoder/core/src/set_mb_syn_cabac.cpp",
"//third_party/openh264/src/codec/encoder/core/src/set_mb_syn_cavlc.cpp",
"//third_party/openh264/src/codec/encoder/core/src/slice_multi_threading.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_base_layer_md.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_enc_slice_segment.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_encode_mb.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_encode_slice.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_mode_decision.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_motion_estimate.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_set_mb_syn_cabac.cpp",
"//third_party/openh264/src/codec/encoder/core/src/svc_set_mb_syn_cavlc.cpp",
"//third_party/openh264/src/codec/encoder/core/src/wels_preprocess.cpp",
"//third_party/openh264/src/codec/encoder/core/src/wels_task_base.cpp",
"//third_party/openh264/src/codec/encoder/core/src/wels_task_encoder.cpp",
"//third_party/openh264/src/codec/encoder/core/src/wels_task_management.cpp",
"//third_party/openh264/src/codec/encoder/plus/inc/welsEncoderExt.h",
"//third_party/openh264/src/codec/encoder/plus/src/welsEncoderExt.cpp",
# Note: Purposefully excluded: 'src/codec/encoder/plus/src/DllEntry.cpp',
# This file is not built by the OpenH264 original build files.
]
openh264_encoder_sources_asm_x86 = [
"//third_party/openh264/src/codec/encoder/core/x86/coeff.asm",
"//third_party/openh264/src/codec/encoder/core/x86/dct.asm",
"//third_party/openh264/src/codec/encoder/core/x86/intra_pred.asm",
"//third_party/openh264/src/codec/encoder/core/x86/matrix_transpose.asm",
"//third_party/openh264/src/codec/encoder/core/x86/memzero.asm",
"//third_party/openh264/src/codec/encoder/core/x86/quant.asm",
"//third_party/openh264/src/codec/encoder/core/x86/sample_sc.asm",
"//third_party/openh264/src/codec/encoder/core/x86/score.asm",
]
openh264_encoder_sources_asm_arm = [
"//third_party/openh264/src/codec/encoder/core/arm/intra_pred_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm/intra_pred_sad_3_opt_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm/memory_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm/pixel_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm/reconstruct_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm/svc_motion_estimation.S",
]
openh264_encoder_sources_asm_arm64 = [
"//third_party/openh264/src/codec/encoder/core/arm64/intra_pred_aarch64_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm64/intra_pred_sad_3_opt_aarch64_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm64/memory_aarch64_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm64/pixel_aarch64_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm64/reconstruct_aarch64_neon.S",
"//third_party/openh264/src/codec/encoder/core/arm64/svc_motion_estimation_aarch64_neon.S",
]