123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246 |
- set(MODULE_NAME "libvideoframework")
- set(MODULE_PREFIX "LIB_VIDEOFRAMEWORK_FUNC")
- add_compile_options(-fPIC)
- if(RVC_DEBUG_MODE)
- set(SPBASE_LIB spbased)
- else()
- set(SPBASE_LIB spbase)
- endif(RVC_DEBUG_MODE)
- if(MSVC)
- set(${VIDEONOUSE}_SRCS
- videorender.h
- videoview.h
- videorender.c
- videoview.c
- )
- else()
- set(${VIDEONOUSE}_SRCS
- )
- endif(MSVC)
- if(MSVC)
- set(${VIDEOPLATFORM}_SRCS
- videocap.h
- videoplayer.h
- #videorender.h
- #videoview.h
- videocap.c
- videoplayer.c
- #videorender.c
- #videoview.c
- congestion_control/common/platform/windows/mscc.c
- )
- else()
- set(${VIDEOPLATFORM}_SRCS
- congestion_control/common/platform/linux/posix.c
- )
- endif(MSVC)
- set(${MODULE_PREFIX}_SRCS
- adaptive_jitter_buffer/video_jbuff_api.h
- adaptive_jitter_buffer/video_jbuff_decoding_state.h
- adaptive_jitter_buffer/video_jbuff_defines.h
- adaptive_jitter_buffer/video_jbuff_frame.h
- adaptive_jitter_buffer/video_jbuff_framelist.h
- adaptive_jitter_buffer/video_jbuff_jitterbuffer.h
- adaptive_jitter_buffer/video_jbuff_log.h
- adaptive_jitter_buffer/video_jbuff_packet.h
- congestion_control/cc/razor_api.h
- congestion_control/cc/razor_callback.h
- congestion_control/cc/razor_log.h
- congestion_control/cc/receiver_congestion_controller.h
- congestion_control/cc/sender_congestion_controller.h
- congestion_control/common/cf_crc32.h
- congestion_control/common/cf_hex.h
- congestion_control/common/cf_list.h
- congestion_control/common/cf_platform.h
- congestion_control/common/cf_skiplist.h
- congestion_control/common/cf_stream.h
- congestion_control/common/cf_unwrapper.h
- congestion_control/estimator/ack_bitrate_estimator.h
- congestion_control/estimator/aimd_rate_control.h
- congestion_control/estimator/bitrate_controller.h
- congestion_control/estimator/cc_feedback_adapter.h
- congestion_control/estimator/cc_loss_stat.h
- congestion_control/estimator/delay_base_bwe.h
- congestion_control/estimator/estimator_common.h
- congestion_control/estimator/inter_arrival.h
- congestion_control/estimator/kalman_filter.h
- congestion_control/estimator/overuse_detector.h
- congestion_control/estimator/rate_stat.h
- congestion_control/estimator/remote_bitrate_estimator.h
- congestion_control/estimator/remote_estimator_proxy.h
- congestion_control/estimator/sender_bandwidth_estimator.h
- congestion_control/estimator/sender_history.h
- congestion_control/estimator/trendline.h
- congestion_control/pacing/alr_detector.h
- congestion_control/pacing/interval_budget.h
- congestion_control/pacing/pacer_queue.h
- congestion_control/pacing/pace_sender.h
- congestion_control/sim_transport/sim_external.h
- congestion_control/sim_transport/sim_internal.h
- congestion_control/sim_transport/sim_receiver.h
- congestion_control/sim_transport/sim_sender.h
- congestion_control/sim_transport/sim_session.h
- h264_packetizer/h264_packetizer.h
- rtp_header_extension/byte_io.h
- rtp_header_extension/rtp_header_extensions.h
- rtp_header_extension/rtp_header_extension_api.h
- rtp_header_extension/rtp_header_extension_defines.h
- rtp_header_extension/rtp_header_extension_map.h
- rtp_header_extension/rtp_header_extension_packet.h
- rtp_header_extension/rtp_header_extension_parser.h
- # videocap.h
- videoclock.h
- videocommon.h
- videoframework.h
- videoplayer.h
- # videorender.h
- videortp.h
- videoutil.h
- # videoview.h
- video_coding/base/exp_filter.h
- video_coding/base/rate_statistics.h
- video_coding/base/video_coding_clock.h
- video_coding/base/video_coding_log.h
- video_coding/base/video_coding_type_defines.h
- video_coding/base/video_frame_type.h
- video_coding/frame_dropper.h
- video_coding/h264/bit_buffer.h
- video_coding/h264/h264_bitstream_parser.h
- video_coding/h264/h264_common.h
- video_coding/h264/pps_parser.h
- video_coding/h264/sps_parser.h
- video_coding/video_decoder.h
- video_coding/video_encoder.h
- video_coding/video_encoder_api.h
- video_coding/video_encoder_defines.h
- video_coding/video_stream_encoder.h
- video_common/ffmpeg_api_adapter.h
- video_common/ffmpeg_api_cpp_adapter.h
- video_common/videodebugfile.h
- video_common/video_encoded_image.h
- video_statics/video_stats.h
- aligned_malloc.h
- adaptive_jitter_buffer/video_jbuff_api.cpp
- adaptive_jitter_buffer/video_jbuff_decoding_state.cpp
- adaptive_jitter_buffer/video_jbuff_frame.cpp
- adaptive_jitter_buffer/video_jbuff_framelist.cpp
- adaptive_jitter_buffer/video_jbuff_jitterbuffer.cpp
- adaptive_jitter_buffer/video_jbuff_log.c
- adaptive_jitter_buffer/video_jbuff_packet.cpp
- congestion_control/cc/razor_api.c
- congestion_control/cc/razor_log.c
- congestion_control/cc/receiver_congestion_controller.c
- congestion_control/cc/sender_congestion_controller.c
- congestion_control/common/cf_crc32.c
- congestion_control/common/cf_hex.c
- congestion_control/common/cf_list.c
- congestion_control/common/cf_skiplist.c
- congestion_control/common/cf_stream.c
- congestion_control/common/cf_unwrapper.c
- congestion_control/estimator/ack_bitrate_estimator.c
- congestion_control/estimator/aimd_rate_control.c
- congestion_control/estimator/bitrate_controller.c
- congestion_control/estimator/cc_feedback_adapter.c
- congestion_control/estimator/cc_loss_stat.c
- congestion_control/estimator/delay_base_bwe.c
- congestion_control/estimator/estimator_common.c
- congestion_control/estimator/inter_arrival.c
- congestion_control/estimator/kalman_filter.c
- congestion_control/estimator/overuse_detector.c
- congestion_control/estimator/rate_stat.c
- congestion_control/estimator/remote_bitrate_estimator.c
- congestion_control/estimator/remote_estimator_proxy.c
- congestion_control/estimator/sender_bandwidth_estimator.c
- congestion_control/estimator/sender_history.c
- congestion_control/estimator/trendline.c
- congestion_control/pacing/alr_detector.c
- congestion_control/pacing/interval_budget.c
- congestion_control/pacing/pacer_queue.c
- congestion_control/pacing/pace_sender.c
- congestion_control/sim_transport/sim_external.c
- congestion_control/sim_transport/sim_receiver.c
- congestion_control/sim_transport/sim_sender.c
- congestion_control/sim_transport/sim_session.c
- h264_packetizer/h264_packetizer.c
- rtp_header_extension/rtp_header_extensions.cpp
- rtp_header_extension/rtp_header_extension_api.cpp
- rtp_header_extension/rtp_header_extension_map.cpp
- rtp_header_extension/rtp_header_extension_packet.cpp
- rtp_header_extension/rtp_header_extension_parser.cpp
- # videocap.c
- videoclock.c
- # videoplayer.c
- # videorender.c
- videortp.c
- # videoview.c
- video_coding/base/exp_filter.cpp
- video_coding/base/rate_statistics.cpp
- video_coding/base/video_coding_log.c
- video_coding/frame_dropper.cpp
- video_coding/h264/bit_buffer.cpp
- video_coding/h264/h264_bitstream_parser.cpp
- video_coding/h264/h264_common.cpp
- video_coding/h264/pps_parser.cpp
- video_coding/h264/sps_parser.cpp
- video_coding/video_decoder.c
- video_coding/video_encoder.cpp
- video_coding/video_encoder_api.cpp
- video_coding/video_stream_encoder.cpp
- video_common/videocommon.c
- video_common/videodebugfile.c
- video_common/videoutil.c
- video_common/video_encoded_image.cpp
- video_statics/video_stats.c
- precompile.h
- precompile.c
- aligned_malloc.cc
- ${${VIDEOPLATFORM}_SRCS}
- )
- add_library(${MODULE_NAME} STATIC ${${MODULE_PREFIX}_SRCS})
- #add_precompiled_header(${MODULE_NAME} precompile.h SOURCE_CXX precompile.cpp FORCEINCLUDE)
- target_include_directories(${MODULE_NAME} PRIVATE
- ${RVC_COMMON_INCLUDE_DIR}
- ${CONAN_INCLUDE_DIRS_FFMPEG}
- ${CONAN_RVCFRAMEWORK_ROOT}/include
- ${RVC_TOOLKIT_INCLUDE_DIR}
- ${RVC_COMMON_INCLUDE_DIR}
- )
- message(STATUS "ffmpeg include dir is ${CONAN_INCLUDE_DIRS_FFMPEG}")
- message(STATUS "toolkit include dir is ${RVC_TOOLKIT_INCLUDE_DIR}")
- message(STATUS "framework root include dir is ${CONAN_RVCFRAMEWORK_ROOT}")
- message(STATUS "common include dir is ${RVC_COMMON_INCLUDE_DIR}")
- target_link_directories(${MODULE_NAME} PRIVATE
- ${CONAN_LIB_DIRS_FFMPEG}
- ${CONAN_LIB_DIRS_RVCFRAMEWORK}
- )
- target_link_libraries(${MODULE_NAME} PRIVATE ${${MODULE_PREFIX}_LIBS}
- ${CONAN_LIBS_FFMPEG}
- ${SPBASE_LIB}
- )
- target_compile_definitions(${MODULE_NAME} PUBLIC "_XKEYCHECK_H")
- if(MSVC)
- set(OTHER_CONAN_DEP_LIBS ${OTHER_CONAN_DEP_LIBS} ${CONAN_BIN_DIRS} PARENT_SCOPE)
- else()
- set(OTHER_CONAN_DEP_LIBS ${OTHER_CONAN_DEP_LIBS} ${CONAN_LIB_DIRS} PARENT_SCOPE)
- ENDIF(MSVC)
|