123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- set(MODULE_NAME "libvideoframework")
- set(MODULE_PREFIX "LIB_VIDEOFRAMEWORK_FUNC")
- add_definitions(-D__STDC_CONSTANT_MACROS)
- 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
- videocap.cpp
- videoplayer.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.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
- videoclock.c
- videortp.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
- ${${VIDEOPLATFORM}_SRCS}
- )
- add_library(${MODULE_NAME} STATIC ${${MODULE_PREFIX}_SRCS})
- target_include_directories(${MODULE_NAME} PRIVATE
- ${RVC_FRAMEWORK_INCLUDES_DIR}
- ${CONAN_INCLUDE_DIRS_FFMPEG}
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${OTHER_LIB_PLATFORM_BASE_DIR}/libvideohorflip
- ${OTHER_LIB_PLATFORM_BASE_DIR}/rvcmediacommon
- ${CONAN_INCLUDE_DIRS_LIBYUV}
- )
- target_link_directories(${MODULE_NAME} PRIVATE
- ${CONAN_LIB_DIRS_FFMPEG}
- ${CONAN_LIB_DIRS_LIBYUV}
- )
- target_link_libraries(${MODULE_NAME} PRIVATE
- ${CONAN_LIBS_FFMPEG}
- ${SPBASE_LIB}
- ${CONAN_PKG_LIBS_LIBYUV}
- )
- 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)
- set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "other/")
|