Showing preview only (3,773K chars total). Download the full file or copy to clipboard to get everything.
Repository: CasparCG/Server
Branch: master
Commit: 7964b57a52fb
Files: 492
Total size: 3.5 MB
Directory structure:
gitextract_p4etv4dp/
├── .clang-format
├── .dockerignore
├── .editorconfig
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yaml
│ │ ├── config.yml
│ │ └── feature_request.yaml
│ ├── dependabot.yml
│ └── workflows/
│ ├── linux-system.yml
│ ├── linux.yml
│ └── windows.yml
├── .gitignore
├── BUILDING.md
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── _typos.toml
├── src/
│ ├── CMakeLists.txt
│ ├── CMakeModules/
│ │ ├── Bootstrap_Linux.cmake
│ │ ├── Bootstrap_Windows.cmake
│ │ ├── CasparCG_Util.cmake
│ │ └── FindFFmpeg.cmake
│ ├── CMakeSettings.json
│ ├── accelerator/
│ │ ├── CMakeLists.txt
│ │ ├── StdAfx.h
│ │ ├── accelerator.cpp
│ │ ├── accelerator.h
│ │ ├── d3d/
│ │ │ ├── d3d_device.cpp
│ │ │ ├── d3d_device.h
│ │ │ ├── d3d_device_context.cpp
│ │ │ ├── d3d_device_context.h
│ │ │ ├── d3d_texture2d.cpp
│ │ │ └── d3d_texture2d.h
│ │ ├── ogl/
│ │ │ ├── image/
│ │ │ │ ├── image_kernel.cpp
│ │ │ │ ├── image_kernel.h
│ │ │ │ ├── image_mixer.cpp
│ │ │ │ ├── image_mixer.h
│ │ │ │ ├── image_shader.cpp
│ │ │ │ ├── image_shader.h
│ │ │ │ ├── shader.frag
│ │ │ │ └── shader.vert
│ │ │ └── util/
│ │ │ ├── buffer.cpp
│ │ │ ├── buffer.h
│ │ │ ├── context.cpp
│ │ │ ├── context.h
│ │ │ ├── device.cpp
│ │ │ ├── device.h
│ │ │ ├── matrix.cpp
│ │ │ ├── matrix.h
│ │ │ ├── shader.cpp
│ │ │ ├── shader.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ ├── transforms.cpp
│ │ │ └── transforms.h
│ │ └── vulkan/
│ │ ├── image/
│ │ │ ├── fragment_shader.frag
│ │ │ ├── image_kernel.cpp
│ │ │ ├── image_kernel.h
│ │ │ ├── image_mixer.cpp
│ │ │ ├── image_mixer.h
│ │ │ └── vertex_shader.vert
│ │ └── util/
│ │ ├── buffer.cpp
│ │ ├── buffer.h
│ │ ├── device.cpp
│ │ ├── device.h
│ │ ├── draw_params.h
│ │ ├── matrix.cpp
│ │ ├── matrix.h
│ │ ├── pipeline.cpp
│ │ ├── pipeline.h
│ │ ├── renderpass.cpp
│ │ ├── renderpass.h
│ │ ├── texture.cpp
│ │ ├── texture.h
│ │ ├── transforms.cpp
│ │ ├── transforms.h
│ │ └── uniform_block.h
│ ├── common/
│ │ ├── CMakeLists.txt
│ │ ├── array.h
│ │ ├── assert.h
│ │ ├── base64.cpp
│ │ ├── base64.h
│ │ ├── bit_depth.h
│ │ ├── compiler/
│ │ │ └── vs/
│ │ │ └── disable_silly_warnings.h
│ │ ├── diagnostics/
│ │ │ ├── graph.cpp
│ │ │ └── graph.h
│ │ ├── endian.h
│ │ ├── enum_class.h
│ │ ├── env.cpp
│ │ ├── env.h
│ │ ├── except.h
│ │ ├── executor.h
│ │ ├── filesystem.cpp
│ │ ├── filesystem.h
│ │ ├── future.h
│ │ ├── gl/
│ │ │ ├── gl_check.cpp
│ │ │ └── gl_check.h
│ │ ├── log.cpp
│ │ ├── log.h
│ │ ├── memory.h
│ │ ├── memshfl.h
│ │ ├── os/
│ │ │ ├── filesystem.h
│ │ │ ├── linux/
│ │ │ │ ├── filesystem.cpp
│ │ │ │ ├── prec_timer.cpp
│ │ │ │ └── thread.cpp
│ │ │ ├── thread.h
│ │ │ └── windows/
│ │ │ ├── filesystem.cpp
│ │ │ ├── prec_timer.cpp
│ │ │ ├── thread.cpp
│ │ │ └── windows.h
│ │ ├── param.h
│ │ ├── prec_timer.h
│ │ ├── ptree.h
│ │ ├── scope_exit.h
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ ├── timer.h
│ │ ├── tweener.cpp
│ │ ├── tweener.h
│ │ ├── utf.cpp
│ │ └── utf.h
│ ├── core/
│ │ ├── CMakeLists.txt
│ │ ├── StdAfx.h
│ │ ├── consumer/
│ │ │ ├── channel_info.h
│ │ │ ├── frame_consumer.cpp
│ │ │ ├── frame_consumer.h
│ │ │ ├── frame_consumer_registry.cpp
│ │ │ ├── frame_consumer_registry.h
│ │ │ ├── output.cpp
│ │ │ └── output.h
│ │ ├── diagnostics/
│ │ │ ├── call_context.cpp
│ │ │ ├── call_context.h
│ │ │ ├── osd_graph.cpp
│ │ │ └── osd_graph.h
│ │ ├── frame/
│ │ │ ├── draw_frame.cpp
│ │ │ ├── draw_frame.h
│ │ │ ├── frame.cpp
│ │ │ ├── frame.h
│ │ │ ├── frame_factory.h
│ │ │ ├── frame_transform.cpp
│ │ │ ├── frame_transform.h
│ │ │ ├── frame_visitor.h
│ │ │ ├── geometry.cpp
│ │ │ ├── geometry.h
│ │ │ └── pixel_format.h
│ │ ├── fwd.h
│ │ ├── mixer/
│ │ │ ├── audio/
│ │ │ │ ├── audio_mixer.cpp
│ │ │ │ ├── audio_mixer.h
│ │ │ │ └── audio_util.h
│ │ │ ├── image/
│ │ │ │ ├── blend_modes.cpp
│ │ │ │ ├── blend_modes.h
│ │ │ │ └── image_mixer.h
│ │ │ ├── mixer.cpp
│ │ │ └── mixer.h
│ │ ├── module_dependencies.h
│ │ ├── monitor/
│ │ │ └── monitor.h
│ │ ├── producer/
│ │ │ ├── cg_proxy.cpp
│ │ │ ├── cg_proxy.h
│ │ │ ├── color/
│ │ │ │ ├── color_producer.cpp
│ │ │ │ └── color_producer.h
│ │ │ ├── frame_producer.cpp
│ │ │ ├── frame_producer.h
│ │ │ ├── frame_producer_registry.cpp
│ │ │ ├── frame_producer_registry.h
│ │ │ ├── layer.cpp
│ │ │ ├── layer.h
│ │ │ ├── route/
│ │ │ │ ├── route_producer.cpp
│ │ │ │ └── route_producer.h
│ │ │ ├── separated/
│ │ │ │ ├── separated_producer.cpp
│ │ │ │ └── separated_producer.h
│ │ │ ├── stage.cpp
│ │ │ ├── stage.h
│ │ │ └── transition/
│ │ │ ├── sting_producer.cpp
│ │ │ ├── sting_producer.h
│ │ │ ├── transition_producer.cpp
│ │ │ └── transition_producer.h
│ │ ├── video_channel.cpp
│ │ ├── video_channel.h
│ │ ├── video_format.cpp
│ │ └── video_format.h
│ ├── modules/
│ │ ├── CMakeLists.txt
│ │ ├── artnet/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── artnet.cpp
│ │ │ ├── artnet.h
│ │ │ ├── consumer/
│ │ │ │ ├── artnet_consumer.cpp
│ │ │ │ └── artnet_consumer.h
│ │ │ └── util/
│ │ │ ├── fixture_calculation.cpp
│ │ │ └── fixture_calculation.h
│ │ ├── bluefish/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── bluefish.cpp
│ │ │ ├── bluefish.h
│ │ │ ├── consumer/
│ │ │ │ ├── bluefish_consumer.cpp
│ │ │ │ └── bluefish_consumer.h
│ │ │ ├── interop/
│ │ │ │ ├── BlueDriver_p.h
│ │ │ │ ├── BlueTypes.h
│ │ │ │ └── BlueVelvetCFuncPtr.h
│ │ │ ├── producer/
│ │ │ │ ├── bluefish_producer.cpp
│ │ │ │ └── bluefish_producer.h
│ │ │ └── util/
│ │ │ ├── blue_velvet.cpp
│ │ │ ├── blue_velvet.h
│ │ │ └── memory.h
│ │ ├── decklink/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── consumer/
│ │ │ │ ├── config.cpp
│ │ │ │ ├── config.h
│ │ │ │ ├── decklink_consumer.cpp
│ │ │ │ ├── decklink_consumer.h
│ │ │ │ ├── format_strategy.h
│ │ │ │ ├── monitor.cpp
│ │ │ │ ├── monitor.h
│ │ │ │ ├── sdr_bgra_strategy.cpp
│ │ │ │ ├── v210_strategies.cpp
│ │ │ │ ├── vanc.cpp
│ │ │ │ ├── vanc.h
│ │ │ │ ├── vanc_op47_strategy.cpp
│ │ │ │ └── vanc_scte104_strategy.cpp
│ │ │ ├── decklink.cpp
│ │ │ ├── decklink.h
│ │ │ ├── decklink_api.h
│ │ │ ├── interop/
│ │ │ │ ├── DeckLinkAPIVersion.h
│ │ │ │ ├── DeckLinkAPI_i.c
│ │ │ │ └── DecklinkAPI.h
│ │ │ ├── linux_interop/
│ │ │ │ ├── DeckLinkAPI.h
│ │ │ │ ├── DeckLinkAPIConfiguration.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_11.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_2.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_4.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_5.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_9.h
│ │ │ │ ├── DeckLinkAPIDeckControl.h
│ │ │ │ ├── DeckLinkAPIDiscovery.h
│ │ │ │ ├── DeckLinkAPIDispatch.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v10_11.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v10_8.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v7_6.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v8_0.cpp
│ │ │ │ ├── DeckLinkAPIModes.h
│ │ │ │ ├── DeckLinkAPITypes.h
│ │ │ │ ├── DeckLinkAPIVersion.h
│ │ │ │ ├── DeckLinkAPIVideoEncoderInput_v10_11.h
│ │ │ │ ├── DeckLinkAPIVideoInput_v10_11.h
│ │ │ │ ├── DeckLinkAPIVideoInput_v11_4.h
│ │ │ │ ├── DeckLinkAPIVideoInput_v11_5_1.h
│ │ │ │ ├── DeckLinkAPIVideoOutput_v10_11.h
│ │ │ │ ├── DeckLinkAPIVideoOutput_v11_4.h
│ │ │ │ ├── DeckLinkAPI_v10_11.h
│ │ │ │ ├── DeckLinkAPI_v10_2.h
│ │ │ │ ├── DeckLinkAPI_v10_4.h
│ │ │ │ ├── DeckLinkAPI_v10_5.h
│ │ │ │ ├── DeckLinkAPI_v10_6.h
│ │ │ │ ├── DeckLinkAPI_v10_9.h
│ │ │ │ ├── DeckLinkAPI_v11_5.h
│ │ │ │ ├── DeckLinkAPI_v11_5_1.h
│ │ │ │ ├── DeckLinkAPI_v7_1.h
│ │ │ │ ├── DeckLinkAPI_v7_3.h
│ │ │ │ ├── DeckLinkAPI_v7_6.h
│ │ │ │ ├── DeckLinkAPI_v7_9.h
│ │ │ │ ├── DeckLinkAPI_v8_0.h
│ │ │ │ ├── DeckLinkAPI_v8_1.h
│ │ │ │ ├── DeckLinkAPI_v9_2.h
│ │ │ │ ├── DeckLinkAPI_v9_9.h
│ │ │ │ └── LinuxCOM.h
│ │ │ ├── producer/
│ │ │ │ ├── decklink_producer.cpp
│ │ │ │ └── decklink_producer.h
│ │ │ └── util/
│ │ │ └── util.h
│ │ ├── ffmpeg/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── consumer/
│ │ │ │ ├── ffmpeg_consumer.cpp
│ │ │ │ └── ffmpeg_consumer.h
│ │ │ ├── ffmpeg.cpp
│ │ │ ├── ffmpeg.h
│ │ │ ├── producer/
│ │ │ │ ├── av_input.cpp
│ │ │ │ ├── av_input.h
│ │ │ │ ├── av_producer.cpp
│ │ │ │ ├── av_producer.h
│ │ │ │ ├── ffmpeg_producer.cpp
│ │ │ │ └── ffmpeg_producer.h
│ │ │ └── util/
│ │ │ ├── audio_resampler.cpp
│ │ │ ├── audio_resampler.h
│ │ │ ├── av_assert.h
│ │ │ ├── av_util.cpp
│ │ │ └── av_util.h
│ │ ├── flash/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── flash.cpp
│ │ │ ├── flash.h
│ │ │ ├── interop/
│ │ │ │ ├── Flash9e.IDL
│ │ │ │ ├── Flash9e_i.c
│ │ │ │ ├── TimerHelper.h
│ │ │ │ └── axflash.h
│ │ │ ├── producer/
│ │ │ │ ├── FlashAxContainer.cpp
│ │ │ │ ├── FlashAxContainer.h
│ │ │ │ ├── flash_producer.cpp
│ │ │ │ └── flash_producer.h
│ │ │ └── util/
│ │ │ ├── swf.cpp
│ │ │ └── swf.h
│ │ ├── html/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── html.cpp
│ │ │ ├── html.h
│ │ │ ├── producer/
│ │ │ │ ├── html_cg_proxy.cpp
│ │ │ │ ├── html_cg_proxy.h
│ │ │ │ ├── html_producer.cpp
│ │ │ │ └── html_producer.h
│ │ │ └── util.h
│ │ ├── image/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── consumer/
│ │ │ │ ├── image_consumer.cpp
│ │ │ │ └── image_consumer.h
│ │ │ ├── image.cpp
│ │ │ ├── image.h
│ │ │ ├── producer/
│ │ │ │ ├── image_producer.cpp
│ │ │ │ ├── image_producer.h
│ │ │ │ ├── image_scroll_producer.cpp
│ │ │ │ └── image_scroll_producer.h
│ │ │ └── util/
│ │ │ ├── image_algorithms.cpp
│ │ │ ├── image_algorithms.h
│ │ │ ├── image_converter.cpp
│ │ │ ├── image_converter.h
│ │ │ ├── image_loader.cpp
│ │ │ ├── image_loader.h
│ │ │ └── image_view.h
│ │ ├── newtek/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── consumer/
│ │ │ │ ├── newtek_ndi_consumer.cpp
│ │ │ │ └── newtek_ndi_consumer.h
│ │ │ ├── interop/
│ │ │ │ ├── Processing.NDI.DynamicLoad.h
│ │ │ │ ├── Processing.NDI.Find.h
│ │ │ │ ├── Processing.NDI.FrameSync.h
│ │ │ │ ├── Processing.NDI.Lib.cplusplus.h
│ │ │ │ ├── Processing.NDI.Lib.h
│ │ │ │ ├── Processing.NDI.Recv.ex.h
│ │ │ │ ├── Processing.NDI.Recv.h
│ │ │ │ ├── Processing.NDI.RecvAdvertiser.h
│ │ │ │ ├── Processing.NDI.RecvListener.h
│ │ │ │ ├── Processing.NDI.Routing.h
│ │ │ │ ├── Processing.NDI.Send.h
│ │ │ │ ├── Processing.NDI.SendAdvertiser.h
│ │ │ │ ├── Processing.NDI.SendListener.h
│ │ │ │ ├── Processing.NDI.compat.h
│ │ │ │ ├── Processing.NDI.deprecated.h
│ │ │ │ ├── Processing.NDI.structs.h
│ │ │ │ └── Processing.NDI.utilities.h
│ │ │ ├── newtek.cpp
│ │ │ ├── newtek.h
│ │ │ ├── producer/
│ │ │ │ ├── newtek_ndi_producer.cpp
│ │ │ │ └── newtek_ndi_producer.h
│ │ │ └── util/
│ │ │ ├── ndi.cpp
│ │ │ └── ndi.h
│ │ ├── oal/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── consumer/
│ │ │ │ ├── oal_consumer.cpp
│ │ │ │ └── oal_consumer.h
│ │ │ ├── oal.cpp
│ │ │ └── oal.h
│ │ └── screen/
│ │ ├── CMakeLists.txt
│ │ ├── consumer/
│ │ │ ├── screen.frag
│ │ │ ├── screen.vert
│ │ │ ├── screen_consumer.cpp
│ │ │ └── screen_consumer.h
│ │ ├── screen.cpp
│ │ ├── screen.h
│ │ └── util/
│ │ ├── x11_util.cpp
│ │ └── x11_util.h
│ ├── protocol/
│ │ ├── CMakeLists.txt
│ │ ├── StdAfx.h
│ │ ├── amcp/
│ │ │ ├── AMCPCommand.cpp
│ │ │ ├── AMCPCommand.h
│ │ │ ├── AMCPCommandQueue.cpp
│ │ │ ├── AMCPCommandQueue.h
│ │ │ ├── AMCPCommandsImpl.cpp
│ │ │ ├── AMCPCommandsImpl.h
│ │ │ ├── AMCPProtocolStrategy.cpp
│ │ │ ├── AMCPProtocolStrategy.h
│ │ │ ├── amcp_args.cpp
│ │ │ ├── amcp_args.h
│ │ │ ├── amcp_command_context.h
│ │ │ ├── amcp_command_repository.cpp
│ │ │ ├── amcp_command_repository.h
│ │ │ ├── amcp_command_repository_wrapper.cpp
│ │ │ ├── amcp_command_repository_wrapper.h
│ │ │ └── amcp_shared.h
│ │ ├── osc/
│ │ │ ├── client.cpp
│ │ │ ├── client.h
│ │ │ └── oscpack/
│ │ │ ├── MessageMappingOscPacketListener.h
│ │ │ ├── OscException.h
│ │ │ ├── OscHostEndianness.h
│ │ │ ├── OscOutboundPacketStream.cpp
│ │ │ ├── OscOutboundPacketStream.h
│ │ │ ├── OscPacketListener.h
│ │ │ ├── OscPrintReceivedElements.cpp
│ │ │ ├── OscPrintReceivedElements.h
│ │ │ ├── OscReceivedElements.cpp
│ │ │ ├── OscReceivedElements.h
│ │ │ ├── OscTypes.cpp
│ │ │ └── OscTypes.h
│ │ └── util/
│ │ ├── AsyncEventServer.cpp
│ │ ├── AsyncEventServer.h
│ │ ├── ClientInfo.h
│ │ ├── ProtocolStrategy.h
│ │ ├── http_request.cpp
│ │ ├── http_request.h
│ │ ├── lock_container.cpp
│ │ ├── lock_container.h
│ │ ├── protocol_strategy.h
│ │ ├── strategy_adapters.cpp
│ │ ├── strategy_adapters.h
│ │ ├── tokenize.cpp
│ │ └── tokenize.h
│ ├── shell/
│ │ ├── CMakeLists.txt
│ │ ├── casparcg.config
│ │ ├── casparcg_auto_restart.bat
│ │ ├── copy_deps.sh
│ │ ├── included_modules.tmpl
│ │ ├── liberation-fonts/
│ │ │ ├── AUTHORS
│ │ │ ├── ChangeLog
│ │ │ ├── LICENSE
│ │ │ ├── README
│ │ │ └── TODO
│ │ ├── linux_specific.cpp
│ │ ├── main.cpp
│ │ ├── platform_specific.h
│ │ ├── resource.h
│ │ ├── run.sh
│ │ ├── server.cpp
│ │ ├── server.h
│ │ ├── shell.rc
│ │ └── windows_specific.cpp
│ ├── tools/
│ │ ├── CMakeLists.txt
│ │ └── bin2c.cpp
│ └── version.tmpl
└── tools/
├── linux/
│ ├── Dockerfile
│ ├── build-in-docker
│ ├── deb/
│ │ ├── INSTALLING
│ │ ├── debian-sid/
│ │ │ └── debian/
│ │ │ ├── .gitignore
│ │ │ ├── casparcg-server-beta.docs
│ │ │ ├── casparcg-server-beta.manpages
│ │ │ ├── casparcg.txt2man
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── gbp.conf
│ │ │ ├── patches/
│ │ │ │ ├── README
│ │ │ │ └── series
│ │ │ ├── rules
│ │ │ ├── source/
│ │ │ │ └── format
│ │ │ ├── upstream/
│ │ │ │ └── metadata
│ │ │ └── watch
│ │ ├── debian-trixie/
│ │ │ └── debian/
│ │ │ ├── .gitignore
│ │ │ ├── casparcg-server-beta.docs
│ │ │ ├── casparcg-server-beta.manpages
│ │ │ ├── casparcg.txt2man
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── gbp.conf
│ │ │ ├── patches/
│ │ │ │ ├── README
│ │ │ │ └── series
│ │ │ ├── rules
│ │ │ ├── source/
│ │ │ │ └── format
│ │ │ ├── upstream/
│ │ │ │ └── metadata
│ │ │ └── watch
│ │ ├── ubuntu-noble/
│ │ │ └── debian/
│ │ │ ├── .gitignore
│ │ │ ├── casparcg-server-beta.docs
│ │ │ ├── casparcg-server-beta.manpages
│ │ │ ├── casparcg.txt2man
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── gbp.conf
│ │ │ ├── patches/
│ │ │ │ ├── README
│ │ │ │ └── series
│ │ │ ├── rules
│ │ │ ├── source/
│ │ │ │ └── format
│ │ │ ├── upstream/
│ │ │ │ └── metadata
│ │ │ └── watch
│ │ └── ubuntu-resolute/
│ │ └── debian/
│ │ ├── .gitignore
│ │ ├── casparcg-server-beta.docs
│ │ ├── casparcg-server-beta.manpages
│ │ ├── casparcg.txt2man
│ │ ├── control
│ │ ├── copyright
│ │ ├── gbp.conf
│ │ ├── patches/
│ │ │ ├── README
│ │ │ └── series
│ │ ├── rules
│ │ ├── source/
│ │ │ └── format
│ │ ├── upstream/
│ │ │ └── metadata
│ │ └── watch
│ ├── extract-from-docker
│ ├── install-dependencies
│ ├── run_docker.sh
│ └── start_docker.sh
├── update-format.sh
├── verify-format.sh
└── windows/
├── build.bat
└── package.bat
================================================
FILE CONTENTS
================================================
================================================
FILE: .clang-format
================================================
---
# TODO BreakBeforeLambdaBody
# TODO IncludeBlocks
Language: Cpp
AccessModifierOffset: -2
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: true
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: false
AfterStruct: true
AfterUnion: true
#AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: None
BreakBeforeInheritanceComma: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true
BreakConstructorInitializers: BeforeColon
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true
ColumnLimit: 120
CommentPragmas: '^ IWYU pragma:'
CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 2
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
Priority: 3
- Regex: '.*'
Priority: 1
IncludeIsMainRegex: '(Test)?$'
IndentCaseLabels: true
#IndentPPDirectives: None
IndentWidth: 4
IndentWrappedFunctionNames: false
KeepEmptyLinesAtTheStartOfBlocks: false
MacroBlockBegin: ''
MacroBlockEnd: ''
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
PenaltyBreakAssignment: 2
PenaltyBreakBeforeFirstCallParameter: 19
PenaltyBreakComment: 300
PenaltyBreakFirstLessLess: 120
PenaltyBreakString: 1000
PenaltyExcessCharacter: 1000000
PenaltyReturnTypeOnItsOwnLine: 60
PointerAlignment: Left
#RawStringFormats:
# - Delimiter: pb
# Language: TextProto
# BasedOnStyle: google
ReflowComments: true
SortIncludes: true
SortUsingDeclarations: true
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
SpacesInContainerLiterals: true
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
UseTab: Never
...
================================================
FILE: .dockerignore
================================================
src/packages
src/cmake-build-*
build-scripts
build
resources
.git
.vscode
CMakeFiles
casparcg_server
dist
build
src/cmake-build-*
================================================
FILE: .editorconfig
================================================
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.diff]
trim_trailing_whitespace = false
[*.patch]
trim_trailing_whitespace = false
[debian/rules]
indent_style = tab
================================================
FILE: .github/ISSUE_TEMPLATE/bug_report.yaml
================================================
name: Bug report 🐛
description: Use this if you've found a bug
title: "Bug: [Short description of the bug]"
labels:
- type/bug
body:
- type: markdown
attributes:
value: |
Before you post, make sure to check for existing bug reports of the issue:
https://github.com/CasparCG/server/issues?q=+is%3Aissue+label%3Atype%2Fbug
- type: textarea
attributes:
label: Observed Behavior
description: What happened?
validations:
required: true
- type: textarea
attributes:
label: Expected behaviour
description: What did you expect to happen?
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: How can we reproduce the issue?
value: |
1.
2.
3. ...
validations:
required: true
- type: textarea
attributes:
label: Environment
description: What version of CasparCG and OS are you using?
value: |
* Commit: [e.g. ab1234c]
* Server version: [e.g. v2.2]
* Operating system: [e.g. Windows 10]
validations:
required: true
================================================
FILE: .github/ISSUE_TEMPLATE/config.yml
================================================
blank_issues_enabled: false
contact_links:
- name: Question or need help?
url: https://casparcgforum.org/
about: Ask the community here.
================================================
FILE: .github/ISSUE_TEMPLATE/feature_request.yaml
================================================
name: Feature request
description: Suggest an idea for this project
labels:
- type/enhancement
body:
- type: markdown
attributes:
value: |
Before you post, make sure to check for existing matching feature requests:
https://github.com/CasparCG/server/issues?q=+is%3Aissue+label%3Atype%2Fbug
- type: textarea
attributes:
label: Description
description: How should the feature/enhancement work?
validations:
required: true
- type: textarea
attributes:
label: Solution suggestion
description: If you have any suggestions on how the solution should work, add that here.
================================================
FILE: .github/dependabot.yml
================================================
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
================================================
FILE: .github/workflows/linux-system.yml
================================================
name: Build Linux with system dependencies
on:
push:
# branches: [ "master" ]
pull_request:
branches: ["master"]
jobs:
build:
name: ${{ matrix.container || matrix.os }} ${{ matrix.arch }} (${{matrix.family}}:${{ matrix.distribution }})
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
family: ubuntu
distribution: noble
arch: amd64
container: ""
apt_prefix: sudo
upload_artifacts: true
- os: ubuntu-latest
family: ubuntu
distribution: resolute
arch: amd64
container: ubuntu:26.04
apt_prefix: ""
upload_artifacts: false
- os: ubuntu-24.04-arm
family: ubuntu
distribution: resolute
arch: arm64
container: ubuntu:26.04
apt_prefix: ""
upload_artifacts: false
- os: ubuntu-latest
family: debian
distribution: trixie
arch: amd64
container: debian:trixie # Debian 13
apt_prefix: ""
upload_artifacts: false # Because of CEF, this is not built correctly
- os: ubuntu-latest
family: debian
distribution: sid
arch: amd64
container: debian:sid # Debian Testing
apt_prefix: ""
upload_artifacts: false # Because of CEF, this is not built correctly
- os: ubuntu-latest
family: debian
distribution: trixie
arch: amd64
container: debian:trixie
apt_prefix: ""
upload_artifacts: false # Because of CEF, this is not built correctly
- os: ubuntu-latest
family: archlinux
distribution: latest
arch: amd64
container: archlinux:latest
apt_prefix: ""
upload_artifacts: false # Not supported
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
defaults:
run:
shell: bash
steps:
- name: Install git (archlinux)
if: ${{ matrix.family == 'archlinux' }}
run: pacman -Sy --noconfirm git
- uses: actions/checkout@v6
- name: Setup environment
id: setup-env
if: ${{ matrix.family == 'ubuntu' || matrix.family == 'debian' }}
run: |
ln -s tools/linux/deb/${{ matrix.family }}-${{ matrix.distribution }}/debian ./
# Build a version number for this build
GH_REF="${GITHUB_REF##*/}"
GH_REF=$(echo "$GH_REF" | sed 's/[\/]/_/g' | sed 's/ /_/g')
VERSION_MAJOR=$(grep -oPi 'set\(CONFIG_VERSION_MAJOR \K\d+' src/CMakeLists.txt)
VERSION_MINOR=$(grep -oPi 'set\(CONFIG_VERSION_MINOR \K\d+' src/CMakeLists.txt)
VERSION_PATCH=$(grep -oPi 'set\(CONFIG_VERSION_BUG \K\d+' src/CMakeLists.txt)
BUILD_VERSION="${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}~${GH_REF}-${{ matrix.distribution }}+${GITHUB_SHA:0:7}"
echo "BUILD_VERSION=$BUILD_VERSION" >> $GITHUB_OUTPUT
echo "Building as $BUILD_VERSION"
BUILD_FILENAME="casparcg-server-${BUILD_VERSION}"
echo "BUILD_FILENAME=$BUILD_FILENAME" >> $GITHUB_OUTPUT
# install some needed tooling
$APT_PREFIX apt-get update
$APT_PREFIX apt-get -y install build-essential dpkg-dev debhelper devscripts
if [[ "${{ matrix.family }}" == "ubuntu" ]]; then
$APT_PREFIX apt-get -y install software-properties-common
$APT_PREFIX add-apt-repository ppa:casparcg/ppa
fi
# Put something in the changelog
export DEBEMAIL="builds@casparcg.com"
export DEBFULLNAME="CasparCG Builds"
dch -v "$BUILD_VERSION" --create -D ${{ matrix.distribution }} --package casparcg-server-beta "Build"
# Install build dependencies
$APT_PREFIX apt-get -y build-dep .
if [[ "${{ matrix.family }}" == "ubuntu" ]]; then
# update the control file to reference the current cef version
CASPARCG_CEF_VER=$(dpkg-query -W -f='${Version}' casparcg-cef-142)
sed -i "s/@CASPARCG_CEF_VER@/${CASPARCG_CEF_VER}/" debian/control
# Download required packages
cd ..
apt-get download casparcg-cef-142=$CASPARCG_CEF_VER
apt-get download casparcg-scanner
fi
env:
CI: 1
DEBIAN_FRONTEND: noninteractive
APT_PREFIX: ${{ matrix.apt_prefix }}
- name: Run build
if: ${{ matrix.family == 'ubuntu' || matrix.family == 'debian' }}
run: |
# Perform build
debuild -b -uc -us
env:
CI: 1
- name: Collect artifacts
id: artifacts
if: ${{ (matrix.family == 'ubuntu' || matrix.family == 'debian') && matrix.upload_artifacts }}
run: |
mkdir -p dist
mv ../*.deb dist/
# collect some docs for the zip
cp README.md dist/
cp tools/linux/deb/INSTALLING dist/
# check if a release branch, or master, or a tag
if [[ "${{ github.ref_name }}" == "master" || "${{ github.ref_name }}" == "2.3.x-lts" ]]
then
# Only proceed if we have an sftp password
if [ -n "${{ secrets.SFTP_PASSWORD }}" ]
then
zip -r "${{ steps.setup-env.outputs.BUILD_FILENAME }}.zip" dist
set -x
eval $(ssh-agent -s)
mkdir -v -m 700 $HOME/.ssh
ssh-keyscan -H ${{ secrets.SFTP_HOST }} > $HOME/.ssh/known_hosts
sshpass -p '${{ secrets.SFTP_PASSWORD }}' rsync -avvz --mkpath "${{ steps.setup-env.outputs.BUILD_FILENAME }}.zip" "${{ secrets.SFTP_USERNAME }}@${{ secrets.SFTP_HOST }}:${{ secrets.SFTP_ROOT }}/${{ github.ref_name }}/${{ steps.setup-env.outputs.BUILD_FILENAME }}.zip"
fi
fi
env:
CI: 1
- uses: actions/upload-artifact@v7
if: ${{ (matrix.family == 'ubuntu' || matrix.family == 'debian') && matrix.upload_artifacts }}
with:
name: ${{ steps.setup-env.outputs.BUILD_FILENAME }}
path: dist
- name: Setup environment (archlinux)
if: ${{ matrix.family == 'archlinux' }}
run: |
pacman -Syu --noconfirm
pacman -S --noconfirm --needed \
base-devel cmake ninja pkg-config \
boost boost-libs ffmpeg glew libglvnd \
onetbb openal sfml \
libxrandr simde
env:
CI: 1
- name: Run build (archlinux)
if: ${{ matrix.family == 'archlinux' }}
run: |
cmake -B build -S src \
-DCMAKE_BUILD_TYPE=Release \
-DDIAG_FONT_PATH="/usr/share/fonts/liberation/LiberationMono-Regular.ttf" \
-DENABLE_HTML=OFF \
-G Ninja
cmake --build build
env:
CI: 1
================================================
FILE: .github/workflows/linux.yml
================================================
name: Build Linux
on:
push:
# branches: [ "master" ]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v6
- name: Run build
run: |
./tools/linux/build-in-docker
env:
CI: 1
================================================
FILE: .github/workflows/windows.yml
================================================
name: Build Windows
on:
push:
# branches: [ "master" ]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v6
- name: Download media-scanner
uses: robinraju/release-downloader@v1.12
with:
repository: "casparcg/media-scanner"
latest: true
fileName: "*-win32-x64.zip"
tarBall: false
zipBall: false
out-file-path: "media-scanner"
extract: true
- name: Tidy media-scanner download
shell: bash
run: |
rm media-scanner/*.zip
- name: Run build
run: |
./tools/windows/build.bat
env:
CI: 1
MEDIA_SCANNER_FOLDER: "..\\media-scanner"
- name: Rename build
id: "rename-build"
shell: bash
run: |
TARGET=casparcg-server-${{ github.sha }}-windows.zip
mv dist/casparcg_server.zip "$TARGET"
echo "artifactname=$TARGET" >> $GITHUB_OUTPUT
# check if a release branch, or master, or a tag
if [[ "${{ github.ref_name }}" == "master" || "${{ github.ref_name }}" == "2.3.x-lts" ]]
then
# Only report if we have an sftp password
if [ -n "${{ secrets.SFTP_PASSWORD }}" ]
then
echo "uploadname=$TARGET" >> $GITHUB_OUTPUT
fi
fi
- uses: actions/upload-artifact@v7
with:
path: ${{ steps.rename-build.outputs.artifactname }}
archive: false
- name: Copy single file to remote
uses: garygrossgarten/github-action-scp@0.10.0
if: ${{ steps.rename-build.outputs.uploadname }}
timeout-minutes: 5
with:
local: "${{ steps.rename-build.outputs.uploadname }}"
remote: "${{ secrets.SFTP_ROOT }}/${{ github.ref_name }}/${{ steps.rename-build.outputs.uploadname }}"
host: ${{ secrets.SFTP_HOST }}
username: ${{ secrets.SFTP_USERNAME }}
password: ${{ secrets.SFTP_PASSWORD }}
================================================
FILE: .gitignore
================================================
*.dir
*.vcxproj
*.vcxproj.filters
*.tlog
*.sln
.settings
.vscode
.idea
.vs
build
dist
CMakeFiles
casparcg_server
*.spv
src/cmake-build-*
src/.idea
# debian build artifacts
/debian
/obj-*
================================================
FILE: BUILDING.md
================================================
# Building the CasparCG Server
The CasparCG Server source code uses the CMake build system in order to easily
generate build systems for multiple platforms. CMake is basically a build
system for generating build systems.
On Windows we can use CMake to generate a .sln file and .vcproj files. On
Linux CMake can generate make files or ninja files. Qt Creator has support for
loading CMakeLists.txt files directly.
# Dependency caching
CMake will automatically download some dependencies as part of the build process.
These are taken from https://github.com/CasparCG/dependencies/releases (make sure to expand the 'Assets' group under each release to see the files), most of which are direct copies of distributions from upstream.
During the build, you can specify the CMake option `CASPARCG_DOWNLOAD_MIRROR` to download from an alternate HTTP server (such as an internally hosted mirror), or `CASPARCG_DOWNLOAD_CACHE` to use a specific path on disk for the local cache of these files, by default a folder called `external` will be created inside the build directory to cache these files.
If you want to be able to build CasparCG offline, you may need to manually seed this cache. You can do so by placing the correct tar.gz or zip into a folder and using `CASPARCG_DOWNLOAD_CACHE` to tell CMake where to find it.
You can figure out which files you need by looking at each of the `ExternalProject_Add` function calls inside of [Bootstrap_Linux.cmake](./src/CMakeModules/Bootstrap_Linux.cmake) or [Bootstrap_Windows.cmake](./src/CMakeModules/Bootstrap_Windows.cmake). Some of the ones listed are optional, depending on other CMake flags.
# Windows
## Building distributable
1. Install Visual Studio 2022.
2. Install 7-zip (https://www.7-zip.org/).
3. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`
4. `cd casparcg-server-master`
5. `.\tools\windows\build.bat`
6. Copy the `dist\casparcg_server.zip` file for distribution
## Development using Visual Studio
1. Install Visual Studio 2022.
2. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`
3. Open the cloned folder in Visual Studio.
4. Build All and ensure it builds successfully
# Linux
## Building on your system
We only officially support Ubuntu LTS releases, other distros may work but often run into build issues. We are happy to accept PRs to resolve these issues, but are unlikely to write fixes ourselves.
We currently document two approaches to building CasparCG. The recommended way is to use the `deb` packaging we have in the repository, but we only provide that for Ubuntu LTS releases.
Other deb based distros can work with some tweaks to one of those, other distros will need something else which is not documented here.
We also provide a script to produce a build in docker, but this is not recommended unless absolutely necessary. The resulting builds are often rather brittle depending on where they are used.
To perform a custom build, follow the Development steps below, and you may need to do some extra packaging steps, or install steps on the target systems.
### Building inside Docker
1. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`
2. `cd casparcg-server-master`
3. `./tools/linux/build-in-docker`
If all goes to plan, a docker image `casparcg/server` has been created containing CasparCG Server.
### Extracting CasparCG Server from Docker
1. `./tools/linux/extract-from-docker`
You will then find a folder called `casparcg_server` which should contain everything you need to run CasparCG Server.
_Note: if you ran docker with sudo, CasparCG server will not be able to run without sudo out of the box. For security reasons we do not recommend to run CasparCG with sudo. Instead you can use chown to change the ownership of the CasparCG Server folder._
## Development
Before beginning, check the build options section below, to decide if you want to use any to simplify or customise your build.
1. `git clone --single-branch --branch master https://github.com/CasparCG/server casparcg-server-master`
2. `cd casparcg-server-master`
3. Install dependencies, this can be done with `sudo ./tools/linux/install-dependencies`
4. If using system CEF (default & recommended), `sudo add-apt-repository ppa:casparcg/ppa` and `sudo apt-get install casparcg-cef-142-dev`
5. `mkdir build && cd build`
6. `cmake ../src` You can add any of the build options from below to this command
7. `cmake --build . --parallel`
8. `cmake --install . --prefix staging`
If all goes to plan, a folder called 'staging' has been created with everything you need to run CasparCG server.
## Build options
-DENABLE_HTML=OFF - useful if you lack CEF, and would like to build without that module.
-DUSE_STATIC_BOOST=ON - (Linux only, default OFF) statically link against Boost.
-DUSE_SYSTEM_CEF=OFF - (Linux only, default ON) use the version of CEF from your OS. This expects to be using builds from https://launchpad.net/~casparcg/+archive/ubuntu/ppa
-DENABLE_AVX2=ON (Linux only, default OFF) Enable the AVX and AVX2 instruction sets (requires a CPU that supports it)
-DDIAG_FONT_PATH - Specify an alternate path/font to use for the DIAG window. On linux, this will often want to be set to an absolute path of a font
-DCASPARCG_BINARY_NAME=casparcg-server - (Linux only) generate the executable with the specified name. This also reconfigures the install target to be a bit more friendly with system package managers.
================================================
FILE: CHANGELOG.md
================================================
CasparCG 2.5.0 Stable
==========================================
### Core
##### Improvements
* Initial support for HDR. This is limited to a subset of producers and consumers at this stage.
* Build for Windows with VS2022
* Rework linux builds to produce ubuntu deb files
* Update ffmpeg to 7.0
* Reimplement mixer transforms, to handle routes correctly
* Support more pixel formats from ffmpeg, to preserve colour accuracy better
* Support running on headless linux
* Transitions: Additional behaviours
##### Fixes
* Build with boost 1.85/1.86/1.87/1.88
* Build with ffmpeg 7.1
* Only produce mixed frames on channels which have consumers
* Routed channels not compositing correctly when channel used a MIXER KEY
* Handle audio for fractional framerates properly
* Gracefully exit on SIGINT and SIGTERM
### Producers
##### Improvements
* FFmpeg: Support loading with a scaling-mode, to configure how clips get fit into the channel
* FFmpeg: Support more pixel formats without cpu conversion
* FFmpeg: Enable alpha for webm videos
* Image: Support loading with a scaling-mode, to configure how images get fit into the channel
* Image: Replace freeimage with ffmpeg
* HTML: Update CEF to 142
* HTML: Support audio
##### Fixes
* Route: Use full field rate when performing i->p channel route
* HTML: Gracefully handle page load errors
* HTML: Always set cache path
### Consumers
##### Improvements
* Screen: Set size and position from AMCP
* Screen: Improve performance
* Image: Propagate AMCP parameters from PRINT command
* FFmpeg: Remove unnecessary forced conversion to YUVA422
* Decklink: Support explicit yuv output (requires AVX2)
* Decklink: Allow selecting device by hardware persistent id
##### Fixes
* FFmpeg: Correctly handle PTS on frame drop
CasparCG 2.4.3 Stable
==========================================
### Core
##### Fixes
* Improve error handling for invalid config files #1571
* Flush logs before exit #1571
* Check audio cadence values look sane before accepting format #1588
* Cross-channel routes from progressive to interlaced showing lots of black #1576
* Transition: ignoring some transforms of input frames #1602
### Producers
##### Fixes
* FFmpeg: fix crash on invalid frame header
* Decklink: Crash with ffmpeg 7 #1582
* HTML: Fix crash during uninit on exit
* Image: update state during init #1601
### Consumers
##### Fixes
* FFmpeg: set frame_rate for rtmp streams #1462
CasparCG 2.4.2 Stable
==========================================
### Consumers
##### Fixes
* Decklink: fix support for driver 14.3 and later
CasparCG 2.4.1 Stable
==========================================
### Core
##### Fixes
* Fix bad config file examples
* Fix `casparcg_auto_restart.bat` not starting scanner
* Revert removal of tbbmalloc, due to notable performance loss on windows
* Suppress some cmake build warnings
* Build failure when doxygen installed on system
* Build failures with ffmpeg 7.0
* Revert RPATH linking changes
### Producers
##### Fixes
* FFmpeg: Ignore ndi:// urls
* FFmpeg: Using both in and seek could result in incorrect duration
* Route: Race condition during destruction
* Image: Update freeimage on windows with some CVE fixes and failures with certain pngs
* Image: Respect EXIF rotate flag
* NDI: list local sources
### Consumers
##### Fixes
* Decklink: subregion copy not respecting frame height
* Decklink: subregion vertical offset
* Decklink: subregion height limited with some formats
CasparCG 2.4.0 Stable
==========================================
### Core
##### Improvements
* Custom resolutions can be specified in casparcg.config
* Interlaced mixer pipeline to ensure field accuracy
* Preserve unicode characters in console input/output
* Producers to be run at startup can be defined in casparcg.config
* Support 8K frames
* Support 4K DCI frames
* Remove undocumented CII and CLK protocol implementations
* Config parameter can be an absolute system path, not just relative to the working directory
* AMCP: Add CLEAR ALL command
* AMCP: Command batching syntax
* AMCP: LOAD/LOADBG/PLAY commands accept a CLEAR_ON_404 parameter, to instruct the layer to be cleared when the requested file was not found
* AMCP: Add commands to subscribe and unsubscribe to OSC on any port number
* AMCP: Add CALLBG command to perform CALL on background producer
* Build: Require C++17 for building
* Build: Support newer versions of Boost
* Build: Support newer versions of TBB
* Build: Disable precompiled headers for linux
* Build: Support VS2022
* Build: Replace nuget and locally committed dependencies with direct http downloads
* Build: Allow configuring diag font path at build time
* Linux: Support setting thread priorities
* Linux: Initial ARM64 compatibility
* Linux: Rework build to always use system boost
* Linux: Rework build process to better support being build as a system package
* Logging: add config option to disable logging to file and to disable column alignment
* Transitions: Support additional audio fade properties for STING transition
##### Fixes
* Crash upon exiting if HTML producer was running
* AMCP: Ensure all consumers and producers are reported in `INFO` commands
* AMCP: Deferred mixer operations were not being cleared after being applied
* AMCP: `LOAD` command would show a frame or two of black while new producer was loading
* OpenGL: Fix support for recent Linux drivers
* Linux: Fix endless looping on stdin
* Route: Fix error when clearing layer
* Transitions: Fix wipe duration
### Producers
##### Improvements
* Decklink: Require driver 11.0 or later
* Decklink: Scale received frames on GPU
* FFmpeg: Update to v5.1
* FFmpeg: Improve performance
* FFmpeg: Allow specifying both SEEK and IN for PLAY commands
* HTML: Update to CEF 117
* HTML: `CALL 1-10 RELOAD` to reload a renderer
* HTML: Expose `cache-path` setting
* NDI: Upgrade to NDI5
* System Audio: Allow specifying output device to use
##### Fixes
* Decklink: Log spamming when using some input formats
* FFmpeg: Prevent loading unreadable files
* FFmpeg: Unable to play files with unicode filenames
* FFmpeg: Don't lowercase filter parameters
* FFmpeg: Support parameters with name containing a dash
* HTML: media-stream permission denied
* HTML: Expose angle backend config field, the best backend varies depending on the templates and machine
* HTML: Crash when multiple iframes were loaded within a renderer
* Image: Improve file loading algorithm to match the case insensitive and absolute path support already used by ffmpeg
### Consumers
##### Improvements
* Artnet: New artnet consumer
* Decklink: Configure device duplex modes in casparcg.config
* Decklink: Output a subregion of the channel
* Decklink: Add secondary outputs in a consumer, to ensure sync when used within a single card
* iVGA: Remove consumer
* NDI: Upgrade to NDI5
##### Fixes
* Decklink: Fix stutter when loading clips
* FFmpeg: Fix RTMP streaming missing headers
* NDI: dejitter
CasparCG 2.3.3 LTS Stable
==========================================
### Producers
##### Improvements
* Image Scroll Producer: Ported from 2.1
CasparCG 2.3.2 LTS Stable
==========================================
### Producers
##### Fixes
* Packages: Update TBB library to v2021.1.1 - fixes CPU and memory growth when deleting threads
* FFmpeg: Fix possible deadlock leading to producer not being cleaned up correctly
CasparCG 2.3.2 Beta
==========================================
### Producers
##### Fixes
* Packages: Update TBB library to v2021.1.1 - fixes CPU and memory growth when deleting threads
* FFmpeg: Fix possible deadlock leading to producer not being cleaned up correctly
CasparCG 2.3.1 Stable
==========================================
### Producers
##### Fixes
* Flash: Use proper file urls when loading templates, to allow it to work after Flash Player EOL
* FFmpeg: Various HTTP playback improvements
CasparCG 2.3.0 Stable
==========================================
### Producers
##### Features
* FFmpeg: Add more common file extensions to the supported list
* NDI: Require minimum of NDI v4.0
##### Fixes
* HTML: Minimise performance impact on other producers
CasparCG 2.3.0 RC
==========================================
### Producers
##### Features
* Flash: Disable by default, requires enabling in the config file
* FFmpeg: Remove fixed thread limit to better auto select a number
##### Fixes
* Decklink: Downgrade severity of video-format not supported
* FFmpeg: Correctly handle error codes. Ignore exit errors during initialisation
* Route: Detect circular routes and break the loop
### Consumers
##### Features
* Bluefish: Various improvmements including support for Kronos K8
### General
##### Fixes
* Diag not reflecting channel videoformat changes
CasparCG 2.3.0 Beta 1
==========================================
### Producers
##### Features
* Decklink: Detect and update input format when no format is specified in AMCP
* Decklink: Improve performance (gpu colour conversion & less heavy deinterlacing when possible)
* Decklink: `LOAD DECKLINK` will display live frames instead of black
* FFmpeg: Update to 4.2.2
* HTML: Better performance for gpu-enabled mode
* HTML: `window.remove()` has been partially reimplemented
* NDI: Native NDI producer
* Route: Allow routing first frame of background producer
* Route: zero delay routes when within a channel, with 1 frame when cross-channel
* Transition: Add sting transitions
* Add frames_left field to osc/info for progress towards autonext
##### Fixes
* Colour: parsing too much of amcp string as list of colours
* FFmpeg: Always resample clips to 48khz
* FFmpeg: Ensure frame time reaches the end of the clip
* FFmpeg: RTMP stream playback
* FFmpeg: SEEK and LENGTH parameters causing issues with AUTONEXT
* FFmpeg: Ensure packets/frames after the decided end of the clip are not displayed
* FFmpeg: Incorrect seek for audio when not 48khz
* FFmpeg: Some cases where it would not be destroyed if playing a bad stream
* HTML: unlikely but possible exception when handling frames
* HTML: set autoplay-policy
* HTML: animations being ticked too much
* Route: Sending empty frame into a route would cause the destination to reuse the last frame
### Consumers
##### Features
* Audio: Fix audio crackling
* Audio: Fix memory leak
* Bluefish: Various improvmements including supporting more channels and UHD.
* NDI: Native NDI consumer
* Screen: Add side by side key output
* Screen: Add support for Datavideo TC-100/TC-200
##### Fixes
* Decklink: Tick channel at roughly consistent rate when running interlaced output
* Possible crash when adding/removing consumers
### General
##### Features
* Add mixer colour invert property
* Restore `INFO CONFIG` and `INFO PATHS` commands
* Linux: Update docker images to support running in docker (not recommended for production use)
##### Fixes
* NTSC audio cadence
* Ignore empty lines in console input
* Fix building with clang on linux
* Fix building with vs2019
* Better error when startup fails due to AMCP port being in use
* Backslash is a valid trailing slash for windows
CasparCG 2.2.0
==========================================
General
-------
* C++14
* Major refactoring, cleanup, optimization
and stability improvements.
* Removed unmaintained documentation API.
* Removed unmaintained program options API.
* Removed unused frame age API.
* Removed misc unused and/or unmaintained APIs.
* Removed TCP logger.
* Fixed memory leak in transition producer.
* Removed PSD Producer (moved to 3.0.0).
* Removed Text Producer (moved to 3.0.0).
* Removed SyncTo consumer.
* Removed channel layout in favor of 8 channel passthrough
and FFMPEG audio filters.
* Major stability and performance improvements of GPU code.
* Requires OpenGL 4.5.
* Repo cleanup (>2GB => <100MB when cloning).
* Misc cleanup and fixes.
Build
-----
* Linux build re done with Docker.
* Windows build re done with Nuget.
HTML
----
* Updated to Chromium 63 (Julusian).
* Allow running templates from arbitrary urls (Julusian).
DECKLINK
--------
* Fixed broken Linux.
* Misc cleanup and fixes.
* Complex FFMPEG filters (VF, AF).
MIXER
-----
* Performance improvements.
* Removed straight output (moved to 3.0.0).
* Proper OpenGL pipelining.
* Blend modes are always enabled.
* Misc cleanup and fixes.
* Removed CPU mixer.
* Mixer always runs in progressive mode. Consumers are expected to convert to interlaced if required.
IMAGE
-----
* Correctly apply alpha to base64 encoded pngs from AMCP (Julusian).
* Unmultiply frame before writing to png (Julusian).
* Removed scroll producer (moved to 3.0.0)
ROUTE
-----
* Reimplemented, simplified.
* Cross channel routing will render full stage instead of simply copying channel output.
* Reduced overhead and latency.
FFMPEG
------
* Rewritten from scratch for better accuracy, stability and
performance.
* Update freezed frame during seeking.
* FFMPEG 3.4.1.
* Reduce blocking during initialization.
* Fixed timestamp handling.
* Fixed V/A sync.
* Fixed interlacing.
* Fixed framerate handling.
* Fixed looping.
* Fixed seeking.
* Fixed duration.
* Audio resampling to match timestamps.
* Fixed invalid interlaced YUV (411, 420) handling.
* Added YUV(A)444.
* Added IO timeout.
* Added HTTP reconnect.
* FFMPEG video filter support.
* FFMPEG audio filter support.
* Complex FFMPEG filters (VF, AF).
* CALL SEEK return actually sought value.
* All AMCP options are based on channel format.
* Misc improvements, cleanup and fixes.
Bluefish
--------
* Misc cleanup and fixes.
OAL
------------
* Added audio sample compensation to avoid audio distortions
during time drift.
* Misc cleanup and fixes.
Screen
---------------
* Proper OpenGL pipelining.
* Misc cleanup and fixes.
AMCP
----
* Added PING command (Julusian).
* Removed INFO commands in favor of OSC.
* Moved CLS, CINF, TLS, FLS, TLS, THUMBNAIL implementations into
a separate NodeJS service which is proxied through
an HTTP API.
* Misc cleanup and fixes.
CasparCG 2.1.0 Next (w.r.t 2.1.0 Beta 2)
==========================================
General
-------
* Removed asmlib dependency in favor of using standard library std::memcpy and
std::memset, because of better performance.
CasparCG 2.1.0 Beta 2 (w.r.t 2.1.0 Beta 1)
==========================================
General
-------
* Fail early with clear error message if configured paths are not
creatable/writable.
* Added backwards compatibility (with deprecation warning) for using
thumbnails-path instead of thumbnail-path in casparcg.config.
* Suppress the logging of full path names in stack traces so that only the
relative path within the source tree is visible.
* General stability improvements.
* Native thread id is now logged in Linux as well. Finally they are mappable
against INFO THREADS, ps and top.
* Created automatically generated build number, so that it is easier to see
whether a build is newer or older than an other.
* Changed configuration element mipmapping_default_on to mipmapping-default-on
for consistency with the rest of the configuration (Jesper Stærkær).
* Handle stdin EOF as EXIT.
* Added support for RESTART in Linux startup script run.sh.
* Copy casparcg_auto_restart.bat into Windows releases.
* Fixed bug with thumbnail generation when there are .-files in the media
folder.
* Removed CMake platform specification in Linux build script
(Krzysztof Pyrkosz).
* Build script for building FFmpeg for Linux now part of the repository.
Contributions during development (not w.r.t 2.1.0 Beta 1):
* Fix ffmpeg build dependencies on clean Ubuntu desktop amd64 14.04.3 or
higher (Walter Sonius).
* Added support for video modes 2160p5000, 2160p5994 and 2160p6000
(Antonio Ruano Cuesta).
* Fixed serious buffer overrun in FFmpeg logging code.
Consumers
---------
* FFmpeg consumer:
* Fixed long overdue bug where HD material was always recorded using the
BT.601 color matrix instead of the BT.709 color matrix. RGB codecs like
qtrle was never affected but all the YCbCr based codecs were.
* Fixed bug in parsing of paths containing -.
* Fixed bugs where previously effective arguments like -pix_fmt were
ignored.
* Fixed bug where interlaced channels where not recorded correctly for
some codecs.
* DeckLink consumer:
* Rewrote the frame hand-off between send() and ScheduledFrameCompleted() in
a way that hopefully resolves all dead-lock scenarios previously possible.
* Bluefish consumer:
* Largely rewritten against newest SDK Driver 5.11.0.47 (Satchit Nambiar and
James Wise sponsored by Bluefish444):
* Added support for Epoch Neutron and Supernova CG. All current Epoch
cards are now supported.
* Added support for for multiple SDI channels per card. 1 to 4 channels
per Bluefish444 card depending on model and firmware.
* Added support for single SDI output, complementing existing external key
output support.
* Added support for internal key using the Bluefish444 hardware keyer.
* Screen consumer:
* Fixed full screen mode.
Producers
---------
* FFmpeg producer:
* Increased the max number of frames that audio/video can be badly
interleaved with (Dimitry Ishenko).
* Fixed bug where decoders sometimes requires more than one video packet to
decode the first frame.
* Added support for IN and OUT parameters (Dimitry Ishenko).
* Added DV/HDV video device support under Linux (Walter Sonius).
* Remove unused flags variable in queued_seek (Dimitry Ishenko).
* Now recognizes .ts files without probing contents (Ovidijus Striaukas).
* Fixed uninitialized value causing initial log printout to usually say that
clips are interlaced when they are not.
* Destroy producer proxy:
* Created workaround for bug in FFmpeg where every new thread used to
cleanup caused handles to leak (not sure why). Reduced the effect by using
only one thread for all producer destructions.
* Framerate producer:
* Fixed bug when INFO was used on a not yet playing framerate producer.
* HTML producer:
* Fixed bug where only URL:s with . in them where recognized.
* Image producer:
* Added LENGTH parameter to allow for queueing with LOADBG AUTO.
* Fixed inconsistency in what file extensions are supported vs listed in
CLS/CINF.
* Layer producer:
* Fixed serious bug where a circular reference of layer producers caused a
stack overflow and server crash.
* Can now route from layer on a channel with an incompatible framerate.
* Channel producer:
* Can now route from channel with an incompatible framerate.
* Deinterlaces interlaced content from source channel.
* Added optional NO_AUTO_DEINTERLACE parameter to opt out of the mentioned
deinterlacing.
* Scene producer:
* Added abs(), floor(), to_lower(), to_upper() and length() functions to the
expression language.
* Created XML Schema for the *.scene XML format. Allows for IDE-like auto-
completion, API documentation and validation.
* Added possibility to specify the width and height of a layer instead of
letting the producer on the layer decide.
* Added global variables scene_width, scene_height and fps.
* Made it possible to use expressions in keyframe values.
* Fixed serious bug where uninitialized values were used.
* Created more example scenes.
* Can now forward CALL, CG PLAY, CG STOP, CG NEXT and CG INVOKE to the
producer on a layer.
* CG proxy wrapper producer:
* New in 2.1.0.
* Allows all CG producers to be used as an ordinary producer inside a layer
in a scene.
* Allows the Scene producer to know what variables are available in a
template.
* Color producer:
* Now has support for gradients.
* PSD producer:
* Added support for centered and right justified text.
* Text producer:
* Fixed bug where tracking contributed to the overall text width on the
last character.
Mixer
-----
* Fixed bug in the contrast/saturation/brightness code where the wrong luma
coefficients was used.
* Rewrote the chroma key code to support variable hue, instead of fixed green
or blue. Threshold setting was removed in favour of separate hue width,
minimum saturation and minimum brightness constraints. Also a much more
effective spill suppression method was implemented.
* Fixed bug where glReadPixels() was done from the last drawn to texture
instead of always from the target texture. This means that for example a
MIXER KEYER layer without a layer above to key, as well as a separate alpha
file with MIXER OPACITY 0 now works as expected.
* Fixed bug where already drawn GL_QUADS were not composited against, causing
for example italic texts to be rendered incorrectly in the text_producer.
AMCP
----
* INFO PATHS now adds all the path elements even if they are using the default
values.
* MIXER CHROMA syntax deprecated (still supported) in favour of the more
advanced syntax required by the rewritten chroma key code.
* Added special command REQ that can be prepended before any command to
identify the response with a client specified request id, allowing a client
to know exactly what asynchronous response matched a specific request.
* Added support for listing contents of a specific directory for CLS, TLS,
DATA LIST and THUMBNAIL LIST.
* Fixed bug where CINF only returned the first match.
* Fixed bug where a client closing the connection after BYE instead of
letting the server close the connection caused an exception to be logged.
CasparCG 2.1.0 Beta 1 (w.r.t 2.0.7 Stable)
==========================================
General
-------
* 64 bit!
* Linux support!
* Moved to CMake build system for better platform independence.
* Contributions before build system switch (not w.r.t 2.0.7 Stable):
* gitrev.bat adaptions for 2.1 (Thomas Kaltz III).
* Thanks to our already heavy use of the pimpl idiom, abstracting platform
specifics was easily done by having different versions of the .cpp files
included in the build depending on target platform. No #ifdef necessary,
except for in header only platform specific code.
* Flash, Bluefish and NewTek modules are not ported to the Linux build.
* Contributions during development (not w.r.t 2.0.7 Stable):
* Fixed compilation problems in Linux build (Dimitry Ishenko).
* Fixed compilation problem in GCC 5 (Krzysztof Pyrkosz).
* Fixed thumbnail image saving on Linux (Krzysztof Pyrkosz).
* Fixed compilation problem in PSD module (Krzysztof Pyrkosz).
* Major code refactoring:
* Mixer abstraction so different implementations can be created. Currently
CPU mixer and GPU mixer (previously the usage of the GPU was mandatory)
exists.
* Flattened folder structure for easier inclusion of header files.
* Many classes renamed to better describe the abstractions they provide.
* Sink parameters usually taken by value and moved into place instead of
taken by const reference as previously done.
* Old Windows specific AsyncEventServer class has been replaced by platform
independent implementation based on Boost.Asio.
* Pimpl classes are now stack allocated with internal shared_ptr to
implementation, instead of both handle and body being dynamically
allocated. This means that objects are now often passed by value instead
of via safe_ptr/shared_ptr, because they are internally reference counted.
* Protocol strategies are now easier to implement correctly, because of
separation of state between different client connections.
* Complete AMCP command refactoring.
* On-line help system that forces the developer to document AMCP commands,
producer syntaxes and consumer syntaxes making the documentation coupled
to the code, which is great.
* Added missing help for VERSION command (Jesper Stærkær).
* Upgraded Windows build to target Visual Studio 2015 making it possible to
use the C++11 features also supported by GCC 4.8 which is targeted on
Linux.
* Fixed compilation problems in Visual Studio 2015 Update 1
(Roman Tarasov)
* Created abstraction of the different forms of templates (flash, html, psd
and scene). Each module registers itself as a CG producer provides. All CG
commands transparently works with all of them.
* Audio mixer now uses double samples instead of float samples to fully
accommodate all int32 samples.
* Reduced coupling between core and modules (and modules and modules):
* Modules can register system info providers to contribute to INFO SYSTEM.
* XML configuration factories for adding support for new consumer elements
in casparcg.config.
* Server startup hooks can be registered (used by HTML producer to fork
its sub process).
* Version providers can contribute content to the VERSION command.
* Refactored multichannel audio support to use FFmpeg's PAN filter and
simplified the configuration a lot.
* Upgraded most third party libraries we depend on.
* Some unit tests have been created.
* Renamed README.txt to README, CHANGES.txt to CHANGELOG and LICENSE.txt to
LICENSE
* Created README.md for github front page in addition to README which is
distributed with builds.
* README file updates (Jonas Hummelstrand).
* Created BUILDING file describing how to build the server on Windows and
Linux.
* Diagnostics:
* Now also sent over OSC.
* Diag window is now scrollable and without squeezing of graphs.
* Contextual information such as video channel and video layer now included
in graphs.
* Logging:
* Implemented a TCP server, simply sending every log line to each connected
client. Default port is 3250.
* Changed default log level to info and moved debug statements that are
interesting in a production system to info.
* Try to not log full stack traces when user error is the cause. Stacktraces
should ideally only be logged when a system error or a programming error
has occurred.
* More contextual information about an error added to exceptions. An example
of this is that XML configuration errors now cause the XPath of the error
is logged.
* Improved the readability of the log format.
* Added optional calltrace.log for logging method calls. Allows for trace
logging to be enabled while calltracing is disabled etc.
OSC
---
* Improved message formatting performance.
* Added possibility to disable sending OSC to connected AMCP clients.
* Fixed inconsistent element name predefined_client to predefined-client in
casparcg.config (Krzysztof Pyrkosz).
Consumers
---------
* System audio consumer:
* Pushes data to openal instead of being callbacked by SFML when data is
needed.
* Added possibility to specify the expected delay in the sound card. Might
help get better consumer synchronization.
* Screen consumer:
* Added mouse interaction support, usable by the producers running on the
video channel.
* FFmpeg consumer:
* Replaced by Streaming Consumer after it was adapted to support everything
that FFmpeg Consumer did.
* Added support for recording all audio channels into separate mono audio
streams.
* Now sends recording progress via OSC.
* SyncTo consumer:
* New in 2.1.0.
* Allows the pace of a channel to follow another channel. This is useful for
virtual "precomp" channels without a DeckLink consumer to pace it.
* DeckLink consumer:
* Added workaround for timescale bug found in Decklink SDK 10.7.
* Now ScheduledFrameCompleted is no longer only used for video scheduling
but for audio as well, simplifying the code a lot.
* iVGA consumer:
* No longer provides sync to the video channel.
* Supports NewTek NDI out of the box just by upgrading the
Processing.AirSend library.
Producers
---------
* Scene producer:
* New in 2.1.0.
* Utilizes CasparCG concepts such as producers, mixer transforms and uses
them in a nested way to form infinite number of sub layers. Think movie
clip in Flash.
* A scene consists of variables, layers, timelines and marks (intro and
outro for example).
* Mostly for use by other producers but comes with a XML based producer that
is a registered CG producer and shows up in TLS.
* Enables frame accurate compositions and animations.
* Has a powerful variable binding system (think expressions in After Effects
or JavaFX Bindings).
* PSD producer:
* New in 2.1.0.
* Parses PSD files and sets up a scene for the Scene producer to display.
* Text layers based on CG parameters.
* Supports Photoshop timeline.
* Uses Photoshop comment key-frames to describe where intro and outro (CG
PLAY and CG STOP) should be in the timeline.
* Shows up as regular templates in TLS.
* Text producer:
* New in 2.1.0.
* Renders text using FreeType library.
* Is used by the PSD producer for dynamic text layers.
* Image scroll producer:
* Speed can be changed while running using a CALL. The speed change can be
tweened.
* Added support for an absolute end time so that the duration is calculated
based on when PLAY is called for shows when an exact end time is
important.
* Image producer:
* Fixed bug where too large (OpenGL limit) images were accepted, causing
problems during thumbnail generation.
* Framerate producer:
* New in 2.1.0.
* Wraps a producer with one framerate and converts it to another. It is not
usable on its own but is utilized in the FFmpeg producer and the DeckLink
consumer.
* Supports different interpolation algorithms. Currently a no-op
drop-and-repeat mode and a two different frame blending modes.
* It also supports changing the speed on demand with tweening support.
* FFmpeg producer:
* Supports decoding all audio streams from a clip. Useful with .mxf files
which usually have separate mono streams for every audio channel.
* No longer do framerate conversion (half or double), but delegates that
task to the Framerate producer.
* Added support for v4l2 devices.
* Added relative and "from end" seeking (Dimitry Ishenko).
* Contributions during development (not w.r.t 2.0.7 Stable):
* Fixed 100% CPU problem on clip EOF (Peter Keuter, Robert Nagy).
* Constrained SEEK within the length of a clip (Dimitry Ishenko).
* Fixed a regular expression (Dimitry Ishenko).
* DeckLink producer:
* No longer do framerate conversion (half or double), but delegates that
task to the Framerate producer.
* Route producer:
* Added possibility to delay frames routed from a layer or a channel.
* HTML Producer:
* Disabled web security in HTML Producer (Robert Nagy).
* Reimplemented requestAnimationFrame handling in Javascript instead of C++.
* Implemented cancelAnimationFrame.
* Increased animation smoothness in HTML Producer with interlaced video
modes.
* Added remote debugging support.
* Added mouse interaction support by utilizing the Screen consumer's new
interaction support.
* Flash Producer:
* Contributions during development (not w.r.t 2.0.7 Stable):
* Workaround for flickering with high CPU usage and CPU accelerator
(Robert Nagy)
AMCP
----
* TLS has a new column for "template type" for clients that want to
differentiate between html and flash for example.
* SET CHANNEL_LAYOUT added to be able to change the audio channel layout of a
video channel at runtime.
* HELP command added for accessing the new on-line help system.
* FLS added to list the fonts usable by the Text producer.
* LOCK command added for controlling/gaining exclusive access to a video
channel.
* LOG CATEGORY command added to enable/disable the new log categories.
* SWAP command now optionally supports swapping the transforms as well as the
layers.
* VERSION command can now provide CEF version.
CasparCG Server 2.0.7 Stable (as compared to CasparCG Server 2.0.7 Beta 2)
==========================================================================
General
-------
* Added support for using a different configuration file at startup than the
default casparcg.config by simply adding the name of the file to use as the
first command line argument to casparcg.exe.
* Upgraded FFmpeg to latest stable.
* Created build script.
* Fixed bug where both layer_producer and channel_producer display:s and
empty/late first frame when the producer is called before the consumer in
the other end has received the first frame.
* Added rudimentary support for audio for layer_producer and channel_producer.
* Upgraded DeckLink SDK to 10.1.4, bringing new 2K and 4K DCI video modes. New
template hosts also available for those modes.
* General bug fixes (mostly memory and resource leaks, some serious).
* Updated Boost to version 1.57
* Frontend no longer maintained and therefore not included in the release.
Mixer
-----
* Added support for rotation.
* Added support for changing the anchor point around which fill_translation,
fill_scale and rotation will be done from.
* Added support for perspective correct corner pinning.
* Added support for mipmapped textures with anisotropic filtering for
increased downscaling quality. Whether to enable by default can be
configured in casparcg.config.
* Added support for cropping a layer. Not the same as clipping.
AMCP
----
* Added RESUME command to complement PAUSE. (Peter Keuter)
* To support the new mixer features the following commands has been added:
* MIXER ANCHOR -- will return or modify the anchor point for a layer
(default is 0 0 for backwards compatibility). Example:
MIXER 1-10 ANCHOR 0.5 0.5
...for changing the anchor to the middle of the layer
(a MIXER 1-10 FILL 0.5 0.5 1 1 will be necessary to place the layer at the
same place on screen as it was before).
* MIXER ROTATION -- will return or modify the angle of which a layer is
rotated by (clockwise degrees) around the point specified by ANCHOR.
* MIXER PERSPECTIVE -- will return or modify the corners of the perspective
transformation of a layer. One X Y pair for each corner (order upper left,
upper right, lower right and lower left). Example:
MIXER 1-10 PERSPECTIVE 0.4 0.4 0.6 0.4 1 1 0 1
* MIXER MIPMAP -- will return or modify whether to enable mipmapping of
textures produced on a layer. Only frames produced after a change will be
affected. So for example image_producer will not be affected while the
image is displayed.
* MIXER CROP -- will return or modify how textures on a layer will be
cropped. One X Y pair each for the upper left corner and for the lower
right corner.
* Added INFO QUEUES command for debugging AMCP command queues. Useful for
debugging command queue overflows, where a command is deadlocked. Hopefully
always accessible via console, even though the TCP command queue may be
full.
* Added GL command:
- GL INFO prints information about device buffers and host buffers.
- GL GC garbage collects pooled but unused GL resources.
* Added INFO THREADS command listing the known threads and their descriptive
names. Can be matched against the thread id column of log entries.
Consumers
---------
* Removed blocking_decklink_consumer. It was more like an experiment at best
and its usefulness was questionable.
* Added a 10 second time-out for consumer sends, to detect/recover from
blocked consumers.
* Some consumers which are usually added and removed during playout (for
example ffmpeg_consumer, streaming_consumer and channel_consumer) no longer
affect the presentation time on other consumers. Previously a lag on the SDI
output could be seen when adding such consumers.
HTML producer
-------------
* No longer tries to play all files with a . in their name.
(Georgi Chorbadzhiyski)
* Reimplemented using CEF3 instead of Berkelium, which enables use of WebGL
and more. CEF3 is actively maintained, which Berkelium is not. (Robert Nagy)
* Implements a custom version of window.requestAnimationFrame which will
follow the pace of the channel, for perfectly smooth animations.
* No longer manually interlaces frames, to allow for mixer fill transforms
without artifacts.
* Now uses CEF3 event loop to avoid 100% CPU core usage.
CasparCG Server 2.0.7 Beta 2 (as compared to CasparCG Server 2.0.7 Beta 1)
==========================================================================
General
-------
* Added sending of OSC messages for channel_grid channel in addition to
regular channels.
Producers
---------
* FFmpeg: Reports correct nb_frames() when using SEEK (Thomas Kaltz III)
* Flash: Fixed bug where CG PLAY, CG INVOKE did not work.
Consumers
---------
* channel_consumer: Added support for more than one channel_consumer per
channel.
* decklink_consumer: Added support for a single instance of the consumer to
manage a separate key output for use with DeckLink Duo/Quad cards:
<decklink>
<device>1</device>
<key-device>2</key-device>
<keyer>external_separate_device</keyer>
</decklink>
...in the configuration will enable the feature. The value of <key-device />
defaults to the value of <device /> + 1.
* synchronizing_consumer: Removed in favour of a single decklink_consumer
managing both fill and key device.
* streaming_consumer: A new implementation of ffmpeg_consumer with added
support for streaming and other PTS dependent protocols. Examples:
<stream>
<path>udp://localhost:5004</path>
<args>-vcodec libx264 -tune zerolatency -preset ultrafast -crf 25 -format mpegts -vf scale=240:180</args>
</stream>
...in configuration or:
ADD 1 STREAM udp://localhost:5004 -vcodec libx264 -tune zerolatency -preset ultrafast -crf 25 -format mpegts -vf scale=240:180
...via AMCP. (Robert Nagy sponsored by Ericsson Broadcasting Services)
* newtek_ivga_consumer: Added support for iVGA consumer to not provide channel
sync even though connected. Useful for iVGA clients that downloads as fast
as possible instead of in frame-rate pace, like Wirecast. To enable:
<newtek-ivga>
<provide-sync>false</provide-sync>
</newtek-ivga>
...in config to not provide channel sync when connected. The default is
true.
AMCP
----
* Added support in ADD and REMOVE for a placeholder <CLIENT_IP_ADDRESS> which
will resolve to the connected AMCP client's IPV4 address.
* Fixed bug where AMCP commands split into multiple TCP packets where not
correctly parsed (http://casparcg.com/forum/viewtopic.php?f=3&t=2480)
CasparCG Server 2.0.7 Beta 1 (as compared to 2.0.6 Stable)
==========================================================
General
-------
* FFmpeg: Upgraded to master and adapted CasparCG to FFmpeg API changes
(Robert Nagy sponsored by SVT)
* FFmpeg: Fixed problem with frame count calculation (Thomas Kaltz III)
* Fixed broken CG UPDATE.
Producers
---------
* New HTML producer has been created (Robert Nagy sponsored by Flemish Radio
and Television Broadcasting Organization, VRT)
CasparCG Server 2.0.6 Stable (as compared to 2.0.4 Stable)
==========================================================
General
-------
* iVGA: Allow for the server to work without Processing.AirSend.x86.dll to
prevent a possible GPL violation. It is available as a separate optional
download.
* iVGA: Only provide sync to channel while connected, to prevent channel
ticking too fast.
* FFmpeg: Fixed bug during deinterlace-bob-reinterlace where output fields
were offset by one field in relation to input fields.
* FFmpeg: Fixed bug in ffmpeg_consumer where an access violation occurred
during destruction.
* FFmpeg: Improved seeking. (Robert Nagy and Thomas Kaltz III)
* Frontend: Only writes elements to casparcg.config which overrides a default
value to keep the file as compact as possible.
* System audio: Patched sfml-audio to work better with oal-consumer and
therefore removed PortAudio as the system audio implementation and went back
to oal.
* Flash: Changed so that the initial buffer fill of frames is rendered at a
frame-duration pace instead of as fast as possible. Otherwise time based
animations render incorrectly. During buffer recovery, a higher paced
rendering takes place, but still not as fast as possible, which can cause
animations to be somewhat incorrectly rendered. This is the only way though
if we want the buffer to be able to recover after depletion.
* Fixed race condition during server shutdown.
* OSC: outgoing audio levels from the audio mixer for each audio channel is
now transmitted (pFS and dBFS). (Thomas Kaltz III)
* Stage: Fixed bug where tweened transforms were only ticked when a
corresponding layer existed.
* Screen consumer: Added borderless option and correct handling of name
option. (Thomas Kaltz III)
* AMCP: CLS now reports duration and framerate for MOVIE files were
information is possible to extract. (Robert Nagy)
* Version bump to keep up with CasparCG Client version.
CasparCG Server 2.0.4 Stable (as compared to 2.0.4 Beta 1)
==========================================================
General
-------
* Can now open media with file names that only consist of digits.
(Cambell Prince)
* Miscellaneous stability and performance improvements.
Video mixer
-----------
* Conditional compilation of chroma key support and straight alpha output
support in shader (just like with blend-modes) because of performance impact
even when not in use on a layer or on a channel. New <mixer /> element added
to configuration for turning on mixer features that not everybody would want
to pay for (performance-wise.) blend-modes also moved into this element.
* Fixed bug where MIXER LEVELS interpreted arguments in the wrong order, so
that gamma was interpreted as max_input and vice versa.
Consumers
---------
* Added support for NewTek iVGA, which enables the use of CasparCG Server
fill+key output(s) as input source(s) to a NewTek TriCaster without
requiring video card(s) in the CasparCG Server machine, or taking up inputs
in the TriCaster. <newtek-ivga /> element in config enables iVGA on a
channel. (Robert Nagy sponsored by NewTek)
* DeckLink: Created custom decklink allocator to reduce the memory footprint.
* Replaced usage of SFML for <system-audio /> with PortAudio, because of
problems with SFML since change to static linkage. Also PortAudio seems to
give lower latency.
Producers
---------
* FFmpeg: Added support for arbitrary FFmpeg options/parameters
in ffmpeg_producer. (Cambell Prince)
* Flash: Flash Player 11.8 now tested and fully supported.
* Flash: No longer starts a Flash Player to service CG commands that mean
nothing without an already running Flash Player.
* Flash: globally serialize initialization and destruction of Flash Players,
to avoid race conditions in Flash.
* Flash: changed so that the Flash buffer is filled with Flash Player
generated content at initialization instead of empty frames.
OSC
---
* Performance improvements. (Robert Nagy sponsored by Boffins Technologies)
* Never sends old values to OSC receivers. Collects the latest value of each
path logged since last UDP send, and sends the new UDP packet (to each
subscribing OSC receiver) with the values collected. (Robert Nagy sponsored
by Boffins Technologies)
* Batches as many OSC messages as possible in an OSC bundle to reduce the
number of UDP packets sent. Breakup into separate packages if necessary to
avoid fragmentation. (Robert Nagy sponsored by Boffins Technologies)
* Removed usage of Microsoft Agents library (Server ran out of memory after a
while) in favour of direct synchronous invocations.
CasparCG Server 2.0.4 Beta 1 (as compared to 2.0.3 Stable)
==========================================================
General
-------
* Front-end GUI for simplified configuration and easy access to common tasks.
(Thomas Kaltz III and Jeff Lafforgue)
* Added support for video and images file thumbnail generation. By default the
media directory is scanned every 5 seconds for new/modified/removed files
and thumbnails are generated/regenerated/removed accordingly.
* Support for new video modes: 1556p2398, 1556p2400, 1556p2500, 2160p2398,
2160p2400, 2160p2500, 2160p2997 and 2160p3000.
* Experimental ATI graphics card support by using static linking against SFML
instead of dynamic. Should improve ATI GPU support, but needs testing.
* Added support for playback and pass-through of up to 16 audio channels. See
http://casparcg.com/forum/viewtopic.php?f=3&t=1453 for more information.
* Optimizations in AMCP protocol implementations for large incoming messages,
for example base64 encoded PNG images.
* Logging output now includes milliseconds and has modified format:
YYYY-MM-DD hh:mm:ss.zzz
* Improved audio playback with 720p5994 and 720p6000 channels.
* An attempt to improve output synchronization of consumers has been made. Use
for example:
<consumers>
<synchronizing>
<decklink>
<device>1</device>
<embedded-audio>true</embedded-audio>
</decklink>
<decklink>
<device>2</device>
<key-only>true</key-only>
</decklink>
</synchronizing>
</consumers>
...to instruct the server to keep both DeckLink consumers in sync with each
other. Consider this experimental, so don't wrap everything in
<synchronizing /> unless synchronization of consumer outputs is needed. For
synchronization to be effective all synchronized cards must have genlock
reference signal connected.
* Transfer of source code and issue tracker to github. (Thomas Kaltz III)
Layer
-----
* Fixed a problem where the first frame was not always shown on LOAD.
(Robert Nagy)
Stage
-----
* Support for layer consumers for listening to frames coming out of producers.
(Cambell Prince)
Audio mixer
-----------
* Added support for a master volume mixer setting for each channel.
Video mixer
-----------
* Added support for chroma keying. (Cambell Prince)
* Fixed bug where MIXER CONTRAST set to < 1 can cause transparency issues.
* Experimental support for straight alpha output.
Consumers
---------
* Avoid that the FFmpeg consumer blocks the channel output when it can't keep
up with the frame rate (drops frames instead).
* Added support for to create a separate key and fill file when recording with
the FFmpeg consumer. Add the SEPARATE_KEY parameter to the FFmpeg consumer
parameter list. The key file will get the _A file name suffix to be picked
up by the separated_producer when doing playback.
* The Image consumer now writes to the media folder instead of the data
folder.
* Fixed bug in DeckLink consumer where we submit too few audio samples to the
driver when the video format has a frame rate > 50.
* Added another experimental DeckLink consumer implementation where scheduled
playback is not used, but a similar approach as in the bluefish consumer
where we wait for a frame to be displayed and then display the next frame.
It is configured via a <blocking-decklink> consumer element. The benefits of
this consumer is lower latency and more deterministic synchronization
between multiple instances (should not need to be wrapped in a
<synchronizing> element when separated key/fill is used).
Producers
---------
* Added support for playing .swf files using the Flash producer. (Robert Nagy)
* Image producer premultiplies PNG images with their alpha.
* Image producer can load a PNG image encoded as base64 via:
PLAY 1-0 [PNG_BASE64] <base64 string>
* FFmpeg producer can now use a directshow input filters:
PLAY 1-10 "dshow://video=Some Camera"
(Cambell Prince, Julian Waller and Robert Nagy)
* New layer producer which directs the output of a layer to another layer via
a layer consumer. (Cambell Prince)
AMCP
----
* The master volume feature is controlled via the MASTERVOLUME MIXER
parameter. Example: MIXER 1 MASTERVOLUME 0.5
* THUMBNAIL LIST/RETRIEVE/GENERATE/GENERATE_ALL command was added to support
the thumbnail feature.
* ADD 1 FILE output.mov SEPARATE_KEY activates the separate key feature of the
FFmpeg consumer creating an additional output_a.mov containing only the key.
* Added KILL command for shutting down the server without console access.
* Added RESTART command for shutting down the server in the same way as KILL
except that the return code from CasparCG Server is 5 instead of 0, which
can be used by parent process to take other actions. The
'casparcg_auto_restart.bat' script restarts the server if the return code is
5.
* DATA RETRIEVE now returns linefeeds encoded as an actual linefeed (the
single character 0x0a) instead of the previous two characters:
\ followed by n.
* MIXER CHROMA command added to control the chroma keying. Example:
MIXER 1-1 CHROMA GREEN|BLUE 0.10 0.04
(Cambell Prince)
* Fixed bug where MIXER FILL overrides any previous MIXER CLIP on the same
layer. The bug-fix also has the side effect of supporting negative scale on
MIXER FILL, causing the image to be flipped.
* MIXER <ch> STRAIGHT_ALPHA_OUTPUT added to control whether to output straight
alpha or not.
* Added INFO <ch> DELAY and INFO <ch>-<layer> DELAY commands for showing some
delay measurements.
* PLAY 1-1 2-10 creates a layer producer on 1-1 redirecting the output of
2-10. (Cambell Prince)
OSC
---
* Support for sending OSC messages over UDP to either a predefined set of
clients (servers in the OSC sense) or dynamically to the ip addresses of the
currently connected AMCP clients.
(Robert Nagy sponsored by Boffins Technologies)
* /channel/[1-9]/stage/layer/[0-9]
* always /paused [paused or not]
* color producer /color [color string]
* ffmpeg producer /profiler/time [render time] [frame duration]
* ffmpeg producer /file/time [elapsed seconds] [total seconds]
* ffmpeg producer /file/frame [frame] [total frames]
* ffmpeg producer /file/fps [fps]
* ffmpeg producer /file/path [file path]
* ffmpeg producer /loop [looping or not]
* during transitions /transition/frame [current frame] [total frames]
* during transitions /transition/type [transition type]
* flash producer /host/path [filename]
* flash producer /host/width [width]
* flash producer /host/height [height]
* flash producer /host/fps [fps]
* flash producer /buffer [buffered] [buffer size]
* image producer /file/path [file path]
CasparCG Server 2.0.3 Stable (as compared to 2.0.3 Alpha)
=========================================================
Stage
-----
* Fixed dead-lock that can occur with multiple mixer tweens. (Robert Nagy)
AMCP
----
* DATA STORE now supports creating folders of path specified if they does not
exist. (Jeff Lafforgue)
* DATA REMOVE command was added. (Jeff Lafforgue)
CasparCG Server 2.0.3 Alpha (as compared to 2.0 Stable)
=======================================================
General
-------
* Data files are now stored in UTF-8 with BOM. Latin1 files are still
supported for backwards compatibility.
* Commands written in UTF-8 to log file but only ASCII characters to console.
* Added supported video formats:
* 720p2398 (not supported by DeckLink)
* 720p2400 (not supported by DeckLink)
* 1080p5994
* 1080p6000
* 720p30 (not supported by DeckLink)
* 720p29.976 (not supported by DeckLink)
CLK
---
* CLK protocol implementation can now serve more than one connection at a time
safely.
* Added timeline support to the CLK protocol.
* Refactored parts of the CLK parser implementation.
Consumers
---------
* Consumers on same channel now invoked asynchronously to allow for proper
sync of multiple consumers.
* System audio consumer:
* no longer provides sync to the video channel.
* Screen consumer:
* Support for multiple screen consumers on the same channel
* No longer spin-waits for vsync.
* Now deinterlaces to two separate frames so for example 50i will no longer
be converted to 25p but instead to 50p for smooth playback of interlaced
content.
* DeckLink consumer now logs whether a reference signal is detected or not.
Producers
---------
* Image scroll producer:
* Field-rate motion instead of frame-rate motion with interlaced video
formats. This can be overridden by giving the PROGRESSIVE parameter.
* SPEED parameter now defines pixels per frame/field instead of half pixels
per frame. The scrolling direction is also reversed so SPEED 0.5 is the
previous equivalent of SPEED -1. Movements are done with sub-pixel
accuracy.
* Fixed incorrect starting position of image.
* Rounding error fixes to allow for more exact scrolling.
* Added support for motion blur via a new BLUR parameter
* Added PREMULTIPLY parameter to support images stored with straight alpha.
CasparCG Server 2.0 Stable (as compared to Beta 3)
==================================================
General
-------
* Misc stability and performance fixes.
Consumers
---------
* File Consumer
* Changed semantics to more closely follow FFmpeg (see forums).
* Added options, -r, -acodec, -s, -pix_fmt, -f and more.
* Screen Consumer
* Added vsync support.
CasparCG Server 2.0 Beta 3 (as compared to Beta 1)
==================================================
Formats
-------
* ProRes Support
* Both encoding and decoding.
* NTSC Support
* Updated audio-pipeline for native NTSC support. Previous implementation
did not fully support NTSC audio and could cause incorrect behaviour or
even crashes.
Consumers
---------
* File Consumer added
* See updated wiki or ask in forum for more information.
* Should support anything FFmpeg supports. However, we will work mainly with
DNxHD, PRORES and H264.
- Key-only is not supported.
* Bluefish Consumer
* 24 bit audio support.
- Embedded-audio does not work with Epoch cards.
* DeckLink Consumer
* Low latency enabled by default.
* Added graphs for driver buffers.
* Screen Consumer
* Changed screen consumer square PAL to the more common wide-square PAL.
* Can now be closed.
* Fixed interpolation artifacts when running non-square video-modes.
* Automatically deinterlace interlaced input.
Producers
---------
* DeckLink Producer
* Improved color quality be avoiding unnecessary conversion to BGRA.
* FFMPEG Producer
* Fixed missing alpha for (RGB)A formats when deinterlacing.
* Updated buffering to work better with files with long audio/video
interleaving.
* Seekable while running and after reaching EOF. CALL 1-1 SEEK 200.
* Enable/disable/query looping while running. CALL 1-1 LOOP 1.
* Fixed bug with duration calculation.
* Fixed bug with fps calculation.
* Improved auto-transcode accuracy.
* Improved seeking accuracy.
* Fixed bug with looping and LENGTH.
* Updated to newer FFmpeg version.
* Fixed incorrect scaling of NTSC DV files.
* Optimized color conversion when using YADIF filters.
* Flash Producer
* Release Flash Player when empty.
* Use native resolution TemplateHost.
* TemplateHosts are now chosen automatically if not configured. The
TemplateHost with the corresponding video-mode name is now chosen.
* Use square pixel dimensions.
AMCP
----
* When possible, commands will no longer wait for rendering pipeline. This
reduces command execution latencies, especially when sending a lot of
commands in a short timespan.
* Fixed CINF command.
* ADD/REMOVE no longer require subindex,
e.g. "ADD 1 SCREEN" / "REMOVE 1 SCREEN" instead of "ADD 1-1 SCREEN" / ...
* PARAM is renamed to CALL.
* STATUS command is replaced by INFO.
* INFO command has been extended:
* INFO (lists channels).
* INFO 1 (channel info).
* INFO 1-1 (layer info).
* INFO 1-1 F (foreground producer info).
* INFO 1-1 B (background producer info).
* INFO TEMPLATE mytemplate (template meta-data info, e.g. field names).
* CG INFO command has been extended.
* CG INFO 1 (template-host information, e.g. what layers are occupied).
Mixer
-----
* Fixed alpha with blend modes.
* Automatically deinterlace for MIXER FILL commands.
Channel
-------
* SET MODE now reverts back to old video-mode on failure.
Diagnostics
-----------
* Improved graphs and added more status information.
* Print configuration into log at startup.
* Use the same log file for the entire day, instead of one per startup as
previously.
* Diagnostics window is now closable.
CasparCG Server 2.0 Beta 1 (as compared to Alpha)
=================================================
* Blending Modes (needs to be explicitly enabled)
* overlay
* screen
* multiply
* and many more.
* Added additive keyer in addition to linear keyer.
* Image adjustments
* saturation
* brightness
* contrast
* min input-level
* max input-level
* min output-level
* max output-level
* gamma
* Support for FFmpeg-filters such as (ee http://ffmpeg.org/libavfilter.html)
* yadif deinterlacer (optimized in CasparCG for full multi-core support)
* de-noising
* dithering
* box blur
* and many more
* 32-bit SSE optimized audio pipeline.
* DeckLink-Consumer uses external-key by default.
* DeckLink-Consumer has 24 bit embedded-audio support.
* DeckLink-Producer has 24 bit embedded-audio support.
* LOADBG with AUTO feature which automatically plays queued clip when
foreground clip has ended.
* STATUS command for layers.
* LOG LEVEL command for log filtering.
* MIX transition works with transparent clips.
* Freeze on last frame.
* Producer buffering is now configurable.
* Consumer buffering is now configurable.
* Now possible to configure template-hosts for different video-modes.
* Added auto transcoder for FFmpeg producer which automatically transcodes
input video into compatible video format for the channel.
* interlacing (50p -> 50i)
* deinterlacing (50i -> 25p)
* bob-deinterlacing (50i -> 50p)
* bob-deinterlacing and reinterlacing (w1xh150i -> w2xh250i)
* doubling (25p -> 50p)
* halfing (50p -> 25p)
* field-order swap (upper <-> lower)
* Screen consumer now automatically deinterlaces when receiving interlaced
content.
* Optimized renderer.
* Renderer can now be run asynchronously with producer by using a
producer-buffer size greater than 0.
* Improved error and crash recovery.
* Improved logging.
* Added Image-Scroll-Producer.
* Key-only has now near zero performance overhead.
* Reduced memory requirements.
* Removed "warm up lag" which occurred when playing the first media clip after
the server has started.
* Added read-back fence for OpenGL device for improved multi-channel
performance.
* Memory support increased from standard 2 GB to 4 GB on 64 bit Win 7 OS.
* Added support for 2* DeckLink cards in Full HD.
* Misc bugs fixes and performance improvements.
* Color producer now support some color codes in addition to color codes, e.g.
EMPTY, BLACK, RED etc...
* Alpha value in color codes is now optional.
* More than 2 DeckLink cards might be possible but have not yet been tested.
CasparCG Server 2.0 Alpha (as compared to 1.8)
==============================================
General
-------
* Mayor refactoring for improved readability and maintainability.
* Some work towards platform-independence. Currently the greatest challenge
for full platform-independence is flash-producer.
* Misc improved scalability.
* XML-configuration.
* DeckLink
* Support for multiple DeckLink cards.
Core
----
* Multiple producers per video_channel.
* Multiple consumers per video_channel.
* Swap producers between layers and channels during run-time.
* Support for upper-field and lower-field interlacing.
* Add and remove consumers during run-time.
* Preliminary support for NTSC.
AMCP
----
* Query flash and template-host version.
* Recursive media-folder listing.
* Misc changes.
Mixer
-----
* Animated tween transforms.
* Image-Mixer
* Fully GPU accelerated (all features listed below are done on the GPU),
* Layer composition.
* Color spaces (rgba, bgra, argb, yuv, yuva, yuv-hd, yuva-hd).
* Interlacing.
* Per-layer image transforms:
* Opacity
* Gain
* Scaling
* Clipping
* Translation
* Audio Mixer
* Per-layer and per-sample audio transforms:
* Gain
* Fully internal audio mixing. Single output video_channel.
Consumers
---------
* DeckLink Consumer
* Embedded audio.
* HD support.
* Hardware clock.
* Bluefish Consumer
* Drivers are loaded on-demand (server now runs on computers without
installed Bluefish drivers).
* Embedded audio.
* Allocated frames are no longer leaked.
Producers
---------
* Decklink Producer
* Embedded audio.
* HD support.
* Color Producer
* GPU accelerated.
* FFMPEG Producer
* Asynchronous file IO.
* Parallel decoding of audio and video.
* Color space transform are moved to GPU.
* Transition Producer
* Fully interlaced transition (previously only progressive, even when
running in interlaced mode).
* Per-sample mixing between source and destination clips.
* Tween transitions.
* Flash Producer
* DirectDraw access (slightly improved performance).
* Improved time-sync. Smoother animations and proper interlacing.
* Image Producer
* Support for various image formats through FreeImage library.
Diagnostics
-----------
* Graphs for monitoring performance and events.
* Misc logging improvements.
* Separate log file for every run of the server.
* Error logging provides full exception details, instead of only printing that
an error has occurred.
* Console with real-time logging output.
* Console with AMCP input.
Removed
-------
* Registry configuration (replaced by XML Configuration).
* TGA Producer (replaced by Image Producer).
* TGA Scroll Producer
================================================
FILE: CODE_OF_CONDUCT.md
================================================
# CasparCG Code of Conduct
> CasparCG is all about showing respect and professionalism one to another.
## Community
We want a positive and inspiring community that welcomes and embraces new ideas with respect and professionalism. CasparCG community has arisen through hard work and tremendous enthusiasm of hundreds of people around the world.
This Code of Conduct is about how we behave, act and cooperate in this positive and inspiring community. Contributors and users who engage in the CasparCG project in one way or another share this Code of Conduct.
## We strive to:
### Be considerate
CasparCG is used by other people and in various environments such as production. Your actions will affect other community members and therefore we expect you to take those consequences into account when making decisions.
### Be respectful
In a community there will always be some form of disagreement, but that is no excuse for poor behavior and poor manners. Treat one another with respect and professionalism to make community members feel comfortable. We work together, as a union, to resolve conflicts and to maintain the positive and inspiring atmosphere in our community.
We do not tolerate personal attacks, racism, sexism or any other form of discrimination or abuses. Maintainers of the project have right to suspend the person who persistently breaks to our Code of Conduct.
### Be collaborative
Collaboration helps to reduce redundancy while improving the quality of the project and the software produced. To avoid misunderstanding, try to be clear when requesting for help, giving help or asking for feedback. If something is unclear ask for clarification.
### Be supportive
CasparCG community is made up by mutual respect, collaboration and professional behavior. If you witness others being discriminated or abused, think about how you can be supportive. If the identified situation is beyond your ability, ask the victim privately if some form of official intervention is needed to solve the uncomfortable situation.
### Ask for help
By asking questions early we can avoid many problems that can arise later on. We encourage you to ask questions. Those who are asked should be helpful and answer with professionalism in mind.
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
CasparCG Server
===============
Thank you for your interest in CasparCG Server, a professional software used to
play out and record professional graphics, audio and video to multiple outputs.
CasparCG Server has been in 24/7 broadcast production since 2006.
The CasparCG Server works on Windows and Linux.
System Requirements
-------------------
- A graphics card (GPU) capable of OpenGL 4.5 is required.
- An Nvidia GPU is recommended, but other GPU's will likely work fine.
- Intel and AMD CPU's have been tested and are known to work
- PCIE bandwidth is important between your GPU and CPU, as well as Decklink and CPU. Avoid chipset lanes when possible.
### Windows
- Windows 11 is recommended
- Windows 10 is supported as best effort
### Linux
- Ubuntu 24.04 is recommended
- Other distributions and releases will work but you will need to compile it yourself and have not been tested
Getting Started
---------------
1. Download a release from (http://casparcg.com/downloads).
Alternatively, newer testing versions can be downloaded from (http://builds.casparcg.com) or [built from source](BUILDING.md)
2. Install any optional non-GPL modules
- Flash template support (Windows only):
1. Uninstall any previous version of the Adobe Flash Player using this file:
(http://download.macromedia.com/get/flashplayer/current/support/uninstall_flash_player.exe)
2. Download and unpack
(http://download.macromedia.com/pub/flashplayer/installers/archive/fp_11.8.800.94_archive.zip)
3. Install Adobe Flash Player 11.8.800.94 from the unpacked archive:
fp_11.8.800.94_archive\11_8_r800_94\flashplayer11_8r800_94_winax.exe
3. Configure the server by editing the self-documented "casparcg.config" file in
a text editor.
4.
1. Windows: start `casparcg_auto_restart.bat`, or `casparcg.exe` and `scanner.exe` separately.
1. Linux: start the `run.sh` program or use tools/linux/start_docker.sh to run within docker (documentation is at the top of the file).
5. Connect to the Server from a client software, such as the "CasparCG Client"
which is available as a separate download.
Documentation
-------------
The most up-to-date documentation is always available at
https://github.com/CasparCG/help/wiki
Ask questions in the forum: https://casparcgforum.org/
Development
-----------
See [BUILDING](BUILDING.md) for instructions on how to build the CasparCG Server from source manually.
License
---------
CasparCG Server is distributed under the GNU General Public License GPLv3 or
higher, see [LICENSE](LICENSE) for details.
CasparCG Server uses the following third party libraries:
- FFmpeg (http://ffmpeg.org/) under the GPLv2 Licence.
FFmpeg is a trademark of Fabrice Bellard, originator of the FFmpeg project.
- Threading Building Blocks (http://www.threadingbuildingblocks.org/) library under the GPLv2 Licence.
- SFML (http://www.sfml-dev.org/) under the zlib/libpng License.
- GLEW (http://glew.sourceforge.net) under the modified BSD License.
- boost (http://www.boost.org/) under the Boost Software License, version 1.0.
================================================
FILE: _typos.toml
================================================
[default]
# Ignore lines following the commment `// typos: ignore-next
extend-ignore-re = [".*// typos: ignore-next\\n[^\\n]*\\n"]
[default.extend-words]
# NDI is a common acronym in the context of video and audio over IP
ndi = "ndi"
# it was seeoing NDIfoo as ND-Ifoo and turning it into ANDIfoo
nd = "nd"
# ANC is short for "ancillary" and is used in the bluefish drivers
anc = "anc"
================================================
FILE: src/CMakeLists.txt
================================================
cmake_minimum_required(VERSION 3.16)
# Project settings
project("CasparCG Server")
set(CONFIG_VERSION_MAJOR 2)
set(CONFIG_VERSION_MINOR 6)
set(CONFIG_VERSION_BUG 0)
set(CONFIG_VERSION_TAG "Dev")
# support for language servers (eg, clangd or ccls)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CASPARCG_DOWNLOAD_MIRROR https://github.com/CasparCG/dependencies/releases/download/ CACHE STRING "Source/mirror to use for external dependencies")
set(CASPARCG_DOWNLOAD_CACHE ${CMAKE_CURRENT_BINARY_DIR}/external CACHE STRING "Download cache directory for cmake ExternalProjects")
option(ENABLE_HTML "Enable HTML module, require CEF" ON)
set(DIAG_FONT_PATH "LiberationMono-Regular.ttf" CACHE STRING
"Path to font that will be used to load diag font at runtime. By default
this loads the font distributed with the application from the working
directory. It can be set to an absolute path to instead load a font from
the system."
)
add_compile_definitions("DIAG_FONT_PATH=\"${DIAG_FONT_PATH}\"")
# Add custom cmake modules path
set(CASPARCG_PATCH_DIR ${CMAKE_SOURCE_DIR}/CMakeModules/patches)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules)
# Determine the git hash
find_package(Git)
set(CONFIG_VERSION_GIT_HASH "N/A")
if(DEFINED ENV{GIT_HASH} AND NOT $ENV{GIT_HASH} STREQUAL "")
set(CONFIG_VERSION_GIT_HASH "$ENV{GIT_HASH}")
elseif(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/../.git")
execute_process(
COMMAND "${GIT_EXECUTABLE}" rev-parse --verify --short HEAD
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/../"
OUTPUT_VARIABLE CONFIG_VERSION_GIT_HASH
OUTPUT_STRIP_TRAILING_WHITESPACE
)
endif()
cmake_host_system_information(RESULT CONFIG_CPU_COUNT QUERY NUMBER_OF_PHYSICAL_CORES)
include(CasparCG_Util)
configure_file("${PROJECT_SOURCE_DIR}/version.tmpl" "${CMAKE_BINARY_DIR}/generated/version.h")
if(MSVC)
include(Bootstrap_Windows)
else ()
include(Bootstrap_Linux)
# Output build settings
message(STATUS "Target architecture: ${CMAKE_SYSTEM_PROCESSOR}")
message(STATUS "CPU Count: ${CONFIG_CPU_COUNT}")
message(STATUS "Target build type: ${CMAKE_BUILD_TYPE}")
message(STATUS "Build Version: ${CONFIG_VERSION_MAJOR}.${CONFIG_VERSION_MINOR}.${CONFIG_VERSION_BUG} ${CONFIG_VERSION_TAG} (Revision: ${CONFIG_VERSION_GIT_HASH})")
endif ()
IF(ENABLE_VULKAN)
add_definitions(-DENABLE_VULKAN)
ENDIF()
include_directories("${CMAKE_BINARY_DIR}/generated")
add_subdirectory(tools)
add_subdirectory(accelerator)
add_subdirectory(common)
add_subdirectory(core)
add_subdirectory(modules)
add_subdirectory(protocol)
add_subdirectory(shell)
================================================
FILE: src/CMakeModules/Bootstrap_Linux.cmake
================================================
cmake_minimum_required (VERSION 3.28)
include(ExternalProject)
include(FetchContent)
if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()
# Prefer the new boost helper
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
set(ENABLE_HTML ON CACHE BOOL "Enable CEF and HTML producer")
set(USE_STATIC_BOOST OFF CACHE BOOL "Use shared library version of Boost")
set(USE_SYSTEM_CEF ON CACHE BOOL "Use the version of cef from your OS (only tested with Ubuntu)")
set(CASPARCG_BINARY_NAME "casparcg" CACHE STRING "Custom name of the binary to build (this disables some install files)")
set(ENABLE_AVX2 OFF CACHE BOOL "Enable the AVX2 instruction set (requires a CPU that supports it)")
set(ENABLE_VULKAN OFF CACHE BOOL "Enable Vulkan support")
# Determine build (target) platform
SET (PLATFORM_FOLDER_NAME "linux")
IF (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
MESSAGE (STATUS "Setting build type to 'Release' as none was specified.")
SET (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
SET_PROPERTY (CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo")
ENDIF ()
MARK_AS_ADVANCED (CMAKE_INSTALL_PREFIX)
if (USE_STATIC_BOOST)
SET (Boost_USE_STATIC_LIBS ON)
endif()
find_package(Boost 1.83.0 COMPONENTS thread filesystem log_setup log locale regex date_time coroutine REQUIRED)
find_package(FFmpeg REQUIRED)
find_package(OpenGL REQUIRED COMPONENTS OpenGL GLX EGL)
find_package(GLEW REQUIRED)
find_package(TBB REQUIRED)
find_package(OpenAL REQUIRED)
find_package(SFML 3 COMPONENTS Graphics System Window QUIET)
if(NOT SFML_FOUND)
find_package(SFML 2 COMPONENTS graphics system window REQUIRED)
endif()
IF (ENABLE_VULKAN)
find_package(Vulkan REQUIRED)
FetchContent_Declare(vk_bootstrap
URL ${CASPARCG_DOWNLOAD_MIRROR}/vk-bootstrap/vk-bootstrap-1.4.328.tar.gz
URL_HASH SHA256=3be0220de218dc3e692aeac552b2953860a0e0a48257f4a61c3f1c1472674744
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(vk_bootstrap)
FetchContent_Declare(vma
URL ${CASPARCG_DOWNLOAD_MIRROR}/VulkanMemoryAllocator/VulkanMemoryAllocator-3.3.0.tar.gz
URL_HASH SHA256=c4f6bbe6b5a45c2eb610ca9d231158e313086d5b1a40c9922cb42b597419b14e
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(vma)
endif()
find_package(X11 REQUIRED)
if (ENABLE_HTML)
if (USE_SYSTEM_CEF)
set(CEF_LIB_PATH "/usr/lib/casparcg-cef-142")
add_library(CEF::CEF INTERFACE IMPORTED)
target_include_directories(CEF::CEF INTERFACE
"/usr/include/casparcg-cef-142"
)
target_link_libraries(CEF::CEF INTERFACE
"-Wl,-rpath,${CEF_LIB_PATH} ${CEF_LIB_PATH}/libcef.so"
"${CEF_LIB_PATH}/libcef_dll_wrapper.a"
)
else()
casparcg_add_external_project(cef)
ExternalProject_Add(cef
URL ${CASPARCG_DOWNLOAD_MIRROR}/cef/cef_binary_142.0.17+g60aac24+chromium-142.0.7444.176_linux64_minimal.tar.bz2
URL_HASH SHA256=1d89e19b2f446105f9a1fe6fdc96bced86249b5884241dcc4013b7c94dabf424
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
CMAKE_ARGS -DUSE_SANDBOX=Off
INSTALL_COMMAND ""
BUILD_BYPRODUCTS
"<SOURCE_DIR>/Release/libcef.so"
"<BINARY_DIR>/libcef_dll_wrapper/libcef_dll_wrapper.a"
)
ExternalProject_Get_Property(cef SOURCE_DIR)
ExternalProject_Get_Property(cef BINARY_DIR)
add_library(CEF::CEF INTERFACE IMPORTED)
target_include_directories(CEF::CEF INTERFACE
"${SOURCE_DIR}"
)
target_link_libraries(CEF::CEF INTERFACE
# Note: All of these must be referenced in the BUILD_BYPRODUCTS above, to satisfy ninja
"${SOURCE_DIR}/Release/libcef.so"
"${BINARY_DIR}/libcef_dll_wrapper/libcef_dll_wrapper.a"
)
install(DIRECTORY ${SOURCE_DIR}/Resources/locales TYPE LIB)
install(FILES ${SOURCE_DIR}/Resources/chrome_100_percent.pak TYPE LIB)
install(FILES ${SOURCE_DIR}/Resources/chrome_200_percent.pak TYPE LIB)
install(FILES ${SOURCE_DIR}/Resources/icudtl.dat TYPE LIB)
install(FILES ${SOURCE_DIR}/Resources/resources.pak TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/chrome-sandbox TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/libcef.so TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/libEGL.so TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/libGLESv2.so TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/libvk_swiftshader.so TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/libvulkan.so.1 TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/v8_context_snapshot.bin TYPE LIB)
install(FILES ${SOURCE_DIR}/Release/vk_swiftshader_icd.json TYPE LIB)
endif()
endif ()
SET (BOOST_INCLUDE_PATH "${Boost_INCLUDE_DIRS}")
SET (FFMPEG_INCLUDE_PATH "${FFMPEG_INCLUDE_DIRS}")
LINK_DIRECTORIES("${FFMPEG_LIBRARY_DIRS}")
SET_PROPERTY (GLOBAL PROPERTY USE_FOLDERS ON)
ADD_DEFINITIONS (-DSFML_STATIC)
ADD_DEFINITIONS (-DUNICODE)
ADD_DEFINITIONS (-D_UNICODE)
ADD_DEFINITIONS (-DGLEW_NO_GLU)
ADD_DEFINITIONS (-DGLEW_EGL)
ADD_DEFINITIONS (-D__NO_INLINE__) # Needed for precompiled headers to work
ADD_DEFINITIONS (-DBOOST_NO_SWPRINTF) # swprintf on Linux seems to always use , as decimal point regardless of C-locale or C++-locale
ADD_DEFINITIONS (-DTBB_USE_CAPTURED_EXCEPTION=1)
ADD_DEFINITIONS (-DNDEBUG) # Needed for precompiled headers to work
ADD_DEFINITIONS (-DBOOST_LOCALE_HIDE_AUTO_PTR) # Needed for C++17 in boost 1.67+
if (NOT USE_STATIC_BOOST)
ADD_DEFINITIONS (-DBOOST_ALL_DYN_LINK)
endif()
IF (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
ADD_COMPILE_OPTIONS (-O3) # Needed for precompiled headers to work
endif()
IF (CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x64|x86_64|amd64|e2k)")
ADD_COMPILE_OPTIONS (-msse3)
ADD_COMPILE_OPTIONS (-mssse3)
ADD_COMPILE_OPTIONS (-msse4.1)
IF (ENABLE_AVX2)
ADD_COMPILE_OPTIONS (-mfma)
ADD_COMPILE_OPTIONS (-mavx)
ADD_COMPILE_OPTIONS (-mavx2)
ENDIF ()
ELSE ()
ADD_COMPILE_DEFINITIONS (USE_SIMDE) # Enable OpenMP support in simde
ADD_COMPILE_DEFINITIONS (SIMDE_ENABLE_OPENMP) # Enable OpenMP support in simde
ADD_COMPILE_OPTIONS (-fopenmp-simd) # Enable OpenMP SIMD support
ENDIF ()
ADD_COMPILE_OPTIONS (-fnon-call-exceptions) # Allow signal handler to throw exception
ADD_COMPILE_OPTIONS (-Wno-deprecated-declarations -Wno-write-strings -Wno-multichar -Wno-cpp -Werror)
IF (ENABLE_VULKAN)
ADD_COMPILE_OPTIONS (-Wno-nonnull -Wno-nullability-completeness)
ENDIF()
IF (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
ADD_COMPILE_OPTIONS (-Wno-terminate)
ELSEIF (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# Help TBB figure out what compiler support for c++11 features
# https://github.com/01org/tbb/issues/22
string(REPLACE "." "0" TBB_USE_GLIBCXX_VERSION ${CMAKE_CXX_COMPILER_VERSION})
message(STATUS "ADDING: -DTBB_USE_GLIBCXX_VERSION=${TBB_USE_GLIBCXX_VERSION}")
add_definitions(-DTBB_USE_GLIBCXX_VERSION=${TBB_USE_GLIBCXX_VERSION})
ENDIF ()
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
================================================
FILE: src/CMakeModules/Bootstrap_Windows.cmake
================================================
cmake_minimum_required (VERSION 3.28)
include(ExternalProject)
include(FetchContent)
if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()
# Prefer the new boost helper
if(POLICY CMP0167)
cmake_policy(SET CMP0167 NEW)
endif()
set(BOOST_USE_PRECOMPILED ON CACHE BOOL "Use precompiled boost")
set(ENABLE_VULKAN OFF CACHE BOOL "Enable Vulkan support")
set(CASPARCG_RUNTIME_DEPENDENCIES_RELEASE "" CACHE INTERNAL "")
set(CASPARCG_RUNTIME_DEPENDENCIES_DEBUG "" CACHE INTERNAL "")
set(CASPARCG_RUNTIME_DEPENDENCIES_RELEASE_DIRS "" CACHE INTERNAL "")
set(CASPARCG_RUNTIME_DEPENDENCIES_DEBUG_DIRS "" CACHE INTERNAL "")
function(casparcg_add_runtime_dependency FILE_TO_COPY)
if ("${ARGV1}" STREQUAL "Release" OR NOT ARGV1)
set(CASPARCG_RUNTIME_DEPENDENCIES_RELEASE "${CASPARCG_RUNTIME_DEPENDENCIES_RELEASE}" "${FILE_TO_COPY}" CACHE INTERNAL "")
endif()
if ("${ARGV1}" STREQUAL "Debug" OR NOT ARGV1)
set(CASPARCG_RUNTIME_DEPENDENCIES_DEBUG "${CASPARCG_RUNTIME_DEPENDENCIES_DEBUG}" "${FILE_TO_COPY}" CACHE INTERNAL "")
endif()
endfunction()
function(casparcg_add_runtime_dependency_dir FILE_TO_COPY)
if ("${ARGV1}" STREQUAL "Release" OR NOT ARGV1)
set(CASPARCG_RUNTIME_DEPENDENCIES_RELEASE_DIRS "${CASPARCG_RUNTIME_DEPENDENCIES_RELEASE_DIRS}" "${FILE_TO_COPY}" CACHE INTERNAL "")
endif()
if ("${ARGV1}" STREQUAL "Debug" OR NOT ARGV1)
set(CASPARCG_RUNTIME_DEPENDENCIES_DEBUG_DIRS "${CASPARCG_RUNTIME_DEPENDENCIES_DEBUG_DIRS}" "${FILE_TO_COPY}" CACHE INTERNAL "")
endif()
endfunction()
function(casparcg_add_runtime_dependency_from_target TARGET)
get_target_property(_runtime_lib_name ${TARGET} IMPORTED_LOCATION_RELEASE)
if (NOT "${_runtime_lib_name}" STREQUAL "")
set(CASPARCG_RUNTIME_DEPENDENCIES_RELEASE "${CASPARCG_RUNTIME_DEPENDENCIES_RELEASE}" "${_runtime_lib_name}" CACHE INTERNAL "")
endif()
get_target_property(_runtime_lib_name ${TARGET} IMPORTED_LOCATION_DEBUG)
if (NOT "${_runtime_lib_name}" STREQUAL "")
set(CASPARCG_RUNTIME_DEPENDENCIES_DEBUG "${CASPARCG_RUNTIME_DEPENDENCIES_DEBUG}" "${_runtime_lib_name}" CACHE INTERNAL "")
endif()
endfunction()
casparcg_add_runtime_dependency("${PROJECT_SOURCE_DIR}/shell/casparcg.config")
# BOOST
casparcg_add_external_project(boost)
if (BOOST_USE_PRECOMPILED)
ExternalProject_Add(boost
URL ${CASPARCG_DOWNLOAD_MIRROR}/boost/boost_1_83_0-win32-x64-debug-release.zip
URL_HASH MD5=0b9990a24259867c8c04ae30c423f86b
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(boost SOURCE_DIR)
set(BOOST_INCLUDE_PATH "${SOURCE_DIR}/include/boost-1_83")
link_directories("${SOURCE_DIR}/lib")
else ()
set(BOOST_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/boost-install)
ExternalProject_Add(boost
URL ${CASPARCG_DOWNLOAD_MIRROR}/boost/boost_1_83_0.zip
URL_HASH MD5=03d5aea72401ffed848cb5daf8cd2b9b
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND ./bootstrap.bat
--with-libraries=filesystem
--with-libraries=locale
--with-libraries=log
--with-libraries=log_setup
--with-libraries=regex
--with-libraries=system
--with-libraries=thread
BUILD_COMMAND ./b2 install debug release --prefix=${BOOST_INSTALL_DIR} link=static threading=multi runtime-link=shared -j ${CONFIG_CPU_COUNT}
INSTALL_COMMAND ""
)
set(BOOST_INCLUDE_PATH "${BOOST_INSTALL_DIR}/include/boost-1_83")
link_directories("${BOOST_INSTALL_DIR}/lib")
endif ()
add_definitions( -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE )
add_definitions( -DBOOST_COROUTINES_NO_DEPRECATION_WARNING )
add_definitions( -DBOOST_LOCALE_HIDE_AUTO_PTR )
# FFMPEG
casparcg_add_external_project(ffmpeg-lib)
ExternalProject_Add(ffmpeg-lib
URL ${CASPARCG_DOWNLOAD_MIRROR}/ffmpeg/ffmpeg-7.0.2-full_build-shared.7z
URL_HASH MD5=c5127aeed36a9a86dd3b84346be182f8
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(ffmpeg-lib SOURCE_DIR)
set(FFMPEG_INCLUDE_PATH "${SOURCE_DIR}/include")
set(FFMPEG_BIN_PATH "${SOURCE_DIR}/bin")
link_directories("${SOURCE_DIR}/lib")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/avcodec-61.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/avdevice-61.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/avfilter-10.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/avformat-61.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/avutil-59.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/postproc-58.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/swresample-5.dll")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/swscale-8.dll")
# for scanner:
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/ffmpeg.exe")
casparcg_add_runtime_dependency("${FFMPEG_BIN_PATH}/ffprobe.exe")
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
set(EXTERNAL_CMAKE_ARGS "")
if (is_multi_config)
set(EXTERNAL_CMAKE_ARGS "-DCMAKE_BUILD_TYPE:STRING=$<CONFIG>")
else()
set(EXTERNAL_CMAKE_ARGS "-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}")
endif ()
# TBB
FetchContent_Declare(tbb
URL ${CASPARCG_DOWNLOAD_MIRROR}/tbb/oneapi-tbb-2022.3.0-win.zip
URL_HASH SHA256=e1b2373f25558bf47d16b4c89cf0a31e6689aaf7221400d209e8527afc7c9eee
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(tbb)
list(APPEND CMAKE_PREFIX_PATH ${tbb_SOURCE_DIR}/lib/cmake/tbb)
find_package(tbb REQUIRED)
casparcg_add_runtime_dependency_from_target(TBB::tbb)
casparcg_add_runtime_dependency_from_target(TBB::tbbmalloc)
casparcg_add_runtime_dependency_from_target(TBB::tbbmalloc_proxy)
# GLEW
FetchContent_Declare(glew
URL ${CASPARCG_DOWNLOAD_MIRROR}/glew/glew-2.2.0-win32.zip
URL_HASH MD5=1feddfe8696c192fa46a0df8eac7d4bf
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(glew)
add_library(GLEW::glew INTERFACE IMPORTED)
target_include_directories(GLEW::glew INTERFACE ${glew_SOURCE_DIR}/include)
target_link_directories(GLEW::glew INTERFACE ${glew_SOURCE_DIR}/lib/Release/x64)
target_link_libraries(GLEW::glew INTERFACE glew32)
casparcg_add_runtime_dependency("${glew_SOURCE_DIR}/bin/Release/x64/glew32.dll")
IF(ENABLE_VULKAN)
find_package(Vulkan REQUIRED)
FetchContent_Declare(vk_bootstrap
URL ${CASPARCG_DOWNLOAD_MIRROR}/vk-bootstrap/vk-bootstrap-1.4.328.zip
URL_HASH SHA256=10f257c30a0a49d30b28a72cf3a7942d93a61f977adaa04bee29304c6506dc12
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(vk_bootstrap)
FetchContent_Declare(vma
URL ${CASPARCG_DOWNLOAD_MIRROR}/VulkanMemoryAllocator/VulkanMemoryAllocator-3.3.0.zip
URL_HASH SHA256=81755d8fcb411b97292c6682e828501315db319374c7c34ba6e1226452c6c392
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(vma)
ENDIF()
# SFML
FetchContent_Declare(sfml
URL ${CASPARCG_DOWNLOAD_MIRROR}/sfml/SFML-2.6.2-windows-vc17-64-bit.zip
URL_HASH MD5=dee0602d6f94d1843eef4d7568d2c23d
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(sfml)
list(APPEND CMAKE_PREFIX_PATH ${sfml_SOURCE_DIR}/lib/cmake/SFML)
# set(SFML_STATIC_LIBRARIES TRUE)
find_package(SFML 2 COMPONENTS graphics system window REQUIRED)
casparcg_add_runtime_dependency_from_target(sfml-graphics)
casparcg_add_runtime_dependency_from_target(sfml-system)
casparcg_add_runtime_dependency_from_target(sfml-window)
#ZLIB
casparcg_add_external_project(zlib)
ExternalProject_Add(zlib
URL ${CASPARCG_DOWNLOAD_MIRROR}/zlib/zlib-1.3.tar.gz
URL_HASH MD5=60373b133d630f74f4a1f94c1185a53f
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
CMAKE_ARGS ${EXTERNAL_CMAKE_ARGS}
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(zlib SOURCE_DIR)
ExternalProject_Get_Property(zlib BINARY_DIR)
set(ZLIB_INCLUDE_PATH "${SOURCE_DIR};${BINARY_DIR}")
link_directories(${BINARY_DIR})
# OpenAL
FetchContent_Declare(openal
URL ${CASPARCG_DOWNLOAD_MIRROR}/openal/openal-soft-1.19.1-bin.zip
URL_HASH MD5=b78ef1ba26f7108e763f92df6bbc3fa5
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
)
FetchContent_MakeAvailable(openal)
file(COPY_FILE ${openal_SOURCE_DIR}/bin/Win64/soft_oal.dll ${openal_SOURCE_DIR}/bin/Win64/OpenAL32.dll)
add_library(OpenAL::OpenAL INTERFACE IMPORTED)
target_include_directories(OpenAL::OpenAL INTERFACE ${openal_SOURCE_DIR}/include)
target_link_directories(OpenAL::OpenAL INTERFACE ${openal_SOURCE_DIR}/libs/Win64)
target_link_libraries(OpenAL::OpenAL INTERFACE OpenAL32)
casparcg_add_runtime_dependency("${openal_SOURCE_DIR}/bin/Win64/OpenAL32.dll")
# flash template host
casparcg_add_external_project(flashtemplatehost)
ExternalProject_Add(flashtemplatehost
URL ${CASPARCG_DOWNLOAD_MIRROR}/flash-template-host/flash-template-host-files.zip
URL_HASH MD5=360184ce21e34d585d1d898fdd7a6bd8
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND ""
BUILD_COMMAND ""
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(flashtemplatehost SOURCE_DIR)
set(TEMPLATE_HOST_PATH "${SOURCE_DIR}")
# casparcg_add_runtime_dependency_dir("${TEMPLATE_HOST_PATH}")
# LIBERATION_FONTS
set(LIBERATION_FONTS_BIN_PATH "${PROJECT_SOURCE_DIR}/shell/liberation-fonts")
casparcg_add_runtime_dependency("${LIBERATION_FONTS_BIN_PATH}/LiberationMono-Regular.ttf")
# CEF
if (ENABLE_HTML)
casparcg_add_external_project(cef)
ExternalProject_Add(cef
URL ${CASPARCG_DOWNLOAD_MIRROR}/cef/cef_binary_142.0.17+g60aac24+chromium-142.0.7444.176_windows64_minimal.tar.bz2
URL_HASH SHA256=16c072a44484fe521037c74d03a339a77573b1fc0146cf44cc71e79fd0cc0198
DOWNLOAD_DIR ${CASPARCG_DOWNLOAD_CACHE}
CMAKE_ARGS -DUSE_SANDBOX=Off -DCEF_RUNTIME_LIBRARY_FLAG=/MD ${EXTERNAL_CMAKE_ARGS}
INSTALL_COMMAND ""
)
ExternalProject_Get_Property(cef SOURCE_DIR)
ExternalProject_Get_Property(cef BINARY_DIR)
add_library(CEF::CEF INTERFACE IMPORTED)
add_dependencies(CEF::CEF cef)
target_include_directories(CEF::CEF INTERFACE
"${SOURCE_DIR}"
)
set(CEF_RESOURCE_PATH ${SOURCE_DIR}/Resources)
set(CEF_BIN_PATH ${SOURCE_DIR}/Release)
if (is_multi_config)
target_link_libraries(CEF::CEF INTERFACE
${SOURCE_DIR}/Release/libcef.lib
optimized ${BINARY_DIR}/libcef_dll_wrapper/Release/libcef_dll_wrapper.lib
debug ${BINARY_DIR}/libcef_dll_wrapper/Debug/libcef_dll_wrapper.lib)
else()
link_directories(${SOURCE_DIR}/Release ${BINARY_DIR}/libcef_dll_wrapper)
target_link_libraries(CEF::CEF INTERFACE
libcef.lib
libcef_dll_wrapper.lib)
endif()
casparcg_add_runtime_dependency_dir("${CEF_RESOURCE_PATH}/locales")
casparcg_add_runtime_dependency("${CEF_RESOURCE_PATH}/chrome_100_percent.pak")
casparcg_add_runtime_dependency("${CEF_RESOURCE_PATH}/chrome_200_percent.pak")
casparcg_add_runtime_dependency("${CEF_RESOURCE_PATH}/resources.pak")
casparcg_add_runtime_dependency("${CEF_RESOURCE_PATH}/icudtl.dat")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/v8_context_snapshot.bin")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/libcef.dll")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/chrome_elf.dll")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/d3dcompiler_47.dll")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/libEGL.dll")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/libGLESv2.dll")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/vk_swiftshader.dll")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/vk_swiftshader_icd.json")
casparcg_add_runtime_dependency("${CEF_BIN_PATH}/vulkan-1.dll")
endif ()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT casparcg)
add_definitions(-DUNICODE)
add_definitions(-D_UNICODE)
add_definitions(-DCASPAR_SOURCE_PREFIX="${CMAKE_CURRENT_SOURCE_DIR}")
add_definitions(-D_WIN32_WINNT=0x601)
# ignore boost deprecated headers, as these are often reported inside boost
add_definitions("-DBOOST_ALLOW_DEPRECATED_HEADERS")
# Ensure /EHsc is not defined as it clashes with EHa below
string(REPLACE "/EHsc" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHa /Zi /W4 /WX /MP /fp:fast /Zm192 /FIcommon/compiler/vs/disable_silly_warnings.h")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /D TBB_USE_ASSERT=1 /D TBB_USE_DEBUG /bigobj")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Oi /arch:AVX /Ot /Gy /bigobj")
================================================
FILE: src/CMakeModules/CasparCG_Util.cmake
================================================
# Collect all ExternalProjects that have been defined
set(CASPARCG_EXTERNAL_PROJECTS "" CACHE INTERNAL "")
FUNCTION (casparcg_add_external_project NAME)
SET (CASPARCG_EXTERNAL_PROJECTS "${CASPARCG_EXTERNAL_PROJECTS}" "${NAME}" CACHE INTERNAL "")
ENDFUNCTION()
# Mark a project as depending on all of the ExternalProjects, to ensure build order
FUNCTION(casparcg_add_build_dependencies TARGET)
if (CASPARCG_EXTERNAL_PROJECTS)
ADD_DEPENDENCIES (${TARGET} ${CASPARCG_EXTERNAL_PROJECTS})
endif()
ENDFUNCTION()
SET (CASPARCG_MODULE_INCLUDE_STATEMENTS "" CACHE INTERNAL "")
SET (CASPARCG_MODULE_INIT_STATEMENTS "" CACHE INTERNAL "")
SET (CASPARCG_MODULE_UNINIT_STATEMENTS "" CACHE INTERNAL "")
SET (CASPARCG_MODULE_COMMAND_LINE_ARG_INTERCEPTORS_STATEMENTS "" CACHE INTERNAL "")
SET (CASPARCG_MODULE_TARGETS "" CACHE INTERNAL "")
# CasparCG version of CMake `add_library`
FUNCTION (casparcg_add_library TARGET)
cmake_parse_arguments(
PARSED_ARGS # prefix of output variables
"" # list of names of the boolean arguments (only defined ones will be true)
"" # list of names of mono-valued arguments
"SOURCES" # list of names of multi-valued arguments (output variables are lists)
${ARGN} # arguments of the function to parse, here we take the all original ones
)
if(NOT TARGET)
message(FATAL_ERROR "You must provide a target name")
endif()
# Setup the library and some default config
ADD_LIBRARY (${TARGET} ${PARSED_ARGS_SOURCES})
target_compile_features (${TARGET} PRIVATE cxx_std_20)
target_include_directories(${TARGET} SYSTEM PRIVATE
${BOOST_INCLUDE_PATH}
)
target_link_libraries(${TARGET} PRIVATE TBB::tbb)
if (CASPARCG_EXTERNAL_PROJECTS)
# Setup dependency on ExternalProject
ADD_DEPENDENCIES (${TARGET} ${CASPARCG_EXTERNAL_PROJECTS})
endif()
ENDFUNCTION ()
# CasparCG version of CMake `add_library` specifically for modules
SET (CASPARCG_MODULE_TARGETS "" CACHE INTERNAL "")
FUNCTION (casparcg_add_module_project TARGET)
cmake_parse_arguments(
PARSED_ARGS # prefix of output variables
"" # list of names of the boolean arguments (only defined ones will be true)
"NAME;HEADER_FILE;INIT_FUNCTION;UNINIT_FUNCTION;CLI_INTERCEPTOR" # list of names of mono-valued arguments
"SOURCES" # list of names of multi-valued arguments (output variables are lists)
${ARGN} # arguments of the function to parse, here we take the all original ones
)
# Use target if name is missing
if (NOT PARSED_ARGS_NAME)
set (PARSED_ARGS_NAME ${TARGET})
endif()
# Use default path if header not defined
if (NOT PARSED_ARGS_HEADER_FILE)
set (PARSED_ARGS_HEADER_FILE "modules/${TARGET}/${TARGET}.h")
endif()
# Use default init name if not d
if (NOT PARSED_ARGS_INIT_FUNCTION)
message(FATAL_ERROR "You must provide an INIT_FUNCTION")
endif()
# Setup the library and some default config
casparcg_add_library (${TARGET} SOURCES ${PARSED_ARGS_SOURCES})
target_link_libraries(${TARGET} PRIVATE common core)
target_include_directories(${TARGET} PRIVATE
# TODO: This should be replaced by the linked libraries eventually
../..
)
# Setup linker and code loading
SET (CASPARCG_MODULE_TARGETS "${CASPARCG_MODULE_TARGETS}" "${TARGET}" CACHE INTERNAL "")
SET (CASPARCG_MODULE_INCLUDE_STATEMENTS "${CASPARCG_MODULE_INCLUDE_STATEMENTS}"
"#include <${PARSED_ARGS_HEADER_FILE}>"
CACHE INTERNAL ""
)
SET (CASPARCG_MODULE_INIT_STATEMENTS "${CASPARCG_MODULE_INIT_STATEMENTS}"
" ${PARSED_ARGS_INIT_FUNCTION}(dependencies)\;"
" CASPAR_LOG(info) << L\"Initialized ${PARSED_ARGS_NAME} module.\"\;"
""
CACHE INTERNAL ""
)
IF (PARSED_ARGS_UNINIT_FUNCTION)
SET (CASPARCG_MODULE_UNINIT_STATEMENTS
" ${PARSED_ARGS_UNINIT_FUNCTION}()\;"
"${CASPARCG_MODULE_UNINIT_STATEMENTS}"
CACHE INTERNAL ""
)
ENDIF ()
IF (PARSED_ARGS_CLI_INTERCEPTOR)
SET (CASPARCG_MODULE_COMMAND_LINE_ARG_INTERCEPTORS_STATEMENTS "${CASPARCG_MODULE_COMMAND_LINE_ARG_INTERCEPTORS_STATEMENTS}"
" if (${PARSED_ARGS_CLI_INTERCEPTOR}(argc, argv))"
" return true\;"
""
CACHE INTERNAL ""
)
ENDIF ()
ENDFUNCTION ()
# http://stackoverflow.com/questions/7172670/best-shortest-way-to-join-a-list-in-cmake
FUNCTION (join_list VALUES GLUE OUTPUT)
STRING (REGEX REPLACE "([^\\]|^);" "\\1${GLUE}" _TMP_STR "${VALUES}")
STRING (REGEX REPLACE "[\\](.)" "\\1" _TMP_STR "${_TMP_STR}") #fixes escaping
SET (${OUTPUT} "${_TMP_STR}" PARENT_SCOPE)
ENDFUNCTION ()
================================================
FILE: src/CMakeModules/FindFFmpeg.cmake
================================================
# vim: ts=2 sw=2
# - Try to find the required ffmpeg components(default: AVFORMAT, AVUTIL, AVCODEC)
#
# Once done this will define
# FFMPEG_FOUND - System has the all required components.
# FFMPEG_INCLUDE_DIRS - Include directory necessary for using the required components headers.
# FFMPEG_LIBRARIES - Link these to use the required ffmpeg components.
# FFMPEG_DEFINITIONS - Compiler switches required for using the required ffmpeg components.
#
# For each of the components it will additionally set.
# - AVCODEC
# - AVDEVICE
# - AVFORMAT
# - AVFILTER
# - AVUTIL
# - SWSCALE
# the following variables will be defined
# <component>_FOUND - System has <component>
# <component>_INCLUDE_DIRS - Include directory necessary for using the <component> headers
# <component>_LIBRARIES - Link these to use <component>
# <component>_DEFINITIONS - Compiler switches required for using <component>
# <component>_VERSION - The components version
#
# Copyright (c) 2006, Matthias Kretz, <kretz@kde.org>
# Copyright (c) 2008, Alexander Neundorf, <neundorf@kde.org>
# Copyright (c) 2011, Michael Jansen, <kde@michael-jansen.biz>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
include(FindPackageHandleStandardArgs)
# The default components were taken from a survey over other FindFFMPEG.cmake files
if (NOT FFmpeg_FIND_COMPONENTS)
set(FFmpeg_FIND_COMPONENTS AVCODEC AVFORMAT AVUTIL AVDEVICE AVFILTER SWSCALE SWRESAMPLE)
endif ()
#
### Macro: set_component_found
#
# Marks the given component as found if both *_LIBRARIES AND *_INCLUDE_DIRS is present.
#
macro(set_component_found _component )
if (${_component}_LIBRARIES AND ${_component}_INCLUDE_DIRS)
# message(STATUS " - ${_component} found.")
set(${_component}_FOUND TRUE)
else ()
# message(STATUS " - ${_component} not found.")
endif ()
endmacro()
#
### Macro: find_component
#
# Checks for the given component by invoking pkgconfig and then looking up the libraries and
# include directories.
#
macro(find_component _component _pkgconfig _library _header)
if (NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
if (PKG_CONFIG_FOUND)
pkg_check_modules(${_component} ${_pkgconfig})
endif ()
endif (NOT WIN32)
find_path(${_component}_INCLUDE_DIRS ${_header}
HINTS
${PC_LIB${_component}_INCLUDEDIR}
${PC_LIB${_component}_INCLUDE_DIRS}
PATH_SUFFIXES
ffmpeg
)
find_library(${_component}_LIBRARIES NAMES ${_library}
HINTS
${PC_LIB${_component}_LIBDIR}
${PC_LIB${_component}_LIBRARY_DIRS}
)
set(${_component}_DEFINITIONS ${PC_${_component}_CFLAGS_OTHER} CACHE STRING "The ${_component} CFLAGS.")
set(${_component}_VERSION ${PC_${_component}_VERSION} CACHE STRING "The ${_component} version number.")
set_component_found(${_component})
mark_as_advanced(
${_component}_LIBRARY_DIRS
${_component}_INCLUDE_DIRS
${_component}_LIBRARIES
${_component}_DEFINITIONS
${_component}_VERSION
)
endmacro()
# Check for cached results. If there are skip the costly part.
if (NOT FFMPEG_LIBRARIES)
# Check for all possible component.
find_component(AVCODEC libavcodec avcodec libavcodec/avcodec.h)
find_component(AVFORMAT libavformat avformat libavformat/avformat.h)
find_component(AVDEVICE libavdevice avdevice libavdevice/avdevice.h)
find_component(AVUTIL libavutil avutil libavutil/avutil.h)
find_component(AVFILTER libavfilter avfilter libavfilter/avfilter.h)
find_component(SWSCALE libswscale swscale libswscale/swscale.h)
find_component(SWRESAMPLE libswresample swresample libswresample/swresample.h)
# Check if the required components were found and add their stuff to the FFMPEG_* vars.
foreach (_component ${FFmpeg_FIND_COMPONENTS})
if (${_component}_FOUND)
# message(STATUS "Required component ${_component} present.")
set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} ${${_component}_LIBRARIES})
set(FFMPEG_DEFINITIONS ${FFMPEG_DEFINITIONS} ${${_component}_DEFINITIONS})
list(APPEND FFMPEG_LIBRARY_DIRS ${${_component}_LIBRARY_DIRS})
list(APPEND FFMPEG_INCLUDE_DIRS ${${_component}_INCLUDE_DIRS})
else ()
# message(STATUS "Required component ${_component} missing.")
endif ()
endforeach ()
# Build the include path with duplicates removed.
if (FFMPEG_INCLUDE_DIRS)
list(REMOVE_DUPLICATES FFMPEG_INCLUDE_DIRS)
endif ()
# Build the lib path with duplicates removed.
if (FFMPEG_LIBRARY_DIRS)
list(REMOVE_DUPLICATES FFMPEG_LIBRARY_DIRS)
endif ()
# cache the vars.
set(FFMPEG_INCLUDE_DIRS ${FFMPEG_INCLUDE_DIRS} CACHE STRING "The FFmpeg include directories." FORCE)
set(FFMPEG_LIBRARY_DIRS ${FFMPEG_LIBRARY_DIRS} CACHE STRING "The FFmpeg lib directories." FORCE)
set(FFMPEG_LIBRARIES ${FFMPEG_LIBRARIES} CACHE STRING "The FFmpeg libraries." FORCE)
set(FFMPEG_DEFINITIONS ${FFMPEG_DEFINITIONS} CACHE STRING "The FFmpeg cflags." FORCE)
mark_as_advanced(
FFMPEG_INCLUDE_DIRS
FFMPEG_LIBRARY_DIRS
FFMPEG_LIBRARIES
FFMPEG_DEFINITIONS
)
endif ()
# Now set the noncached _FOUND vars for the components.
foreach (_component AVCODEC AVDEVICE AVFORMAT AVUTIL SWSCALE)
set_component_found(${_component})
endforeach ()
# Compile the list of required vars
if (FFMPEG_INCLUDE_DIRS)
set(_FFmpeg_REQUIRED_VARS FFMPEG_LIBRARIES FFMPEG_INCLUDE_DIRS)
else ()
set(_FFmpeg_REQUIRED_VARS FFMPEG_LIBRARIES)
endif ()
foreach (_component ${FFmpeg_FIND_COMPONENTS})
if (${_component}_INCLUDE_DIRS)
list(APPEND _FFmpeg_REQUIRED_VARS ${_component}_LIBRARIES ${_component}_INCLUDE_DIRS)
else ()
list(APPEND _FFmpeg_REQUIRED_VARS ${_component}_LIBRARIES)
endif ()
endforeach ()
# Give a nice error message if some of the required vars are missing.
find_package_handle_standard_args(FFmpeg DEFAULT_MSG ${_FFmpeg_REQUIRED_VARS})
================================================
FILE: src/CMakeSettings.json
================================================
{
"configurations": [
{
"name": "x64-Debug",
"generator": "Ninja",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64_x64" ],
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": ""
},
{
"name": "x64-Release",
"generator": "Ninja",
"configurationType": "Release",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ]
},
{
"name": "x64-RelWithDebInfo",
"generator": "Ninja",
"configurationType": "RelWithDebInfo",
"buildRoot": "${projectDir}\\out\\build\\${name}",
"installRoot": "${projectDir}\\out\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "",
"ctestCommandArgs": "",
"inheritEnvironments": [ "msvc_x64_x64" ],
"variables": []
}
]
}
================================================
FILE: src/accelerator/CMakeLists.txt
================================================
cmake_minimum_required (VERSION 3.28)
project (accelerator)
set(SOURCES
ogl/image/image_kernel.cpp
ogl/image/image_mixer.cpp
ogl/image/image_shader.cpp
ogl/util/buffer.cpp
ogl/util/context.cpp
ogl/util/device.cpp
ogl/util/shader.cpp
ogl/util/texture.cpp
ogl/util/matrix.cpp
ogl/util/transforms.cpp
accelerator.cpp
)
set(HEADERS
ogl/image/image_kernel.h
ogl/image/image_mixer.h
ogl/image/image_shader.h
ogl/util/buffer.h
ogl/util/context.h
ogl/util/device.h
ogl/util/shader.h
ogl/util/texture.h
ogl/util/matrix.h
ogl/util/transforms.h
ogl_image_vertex.h
ogl_image_fragment.h
accelerator.h
StdAfx.h
)
IF(ENABLE_VULKAN)
list(APPEND SOURCES
vulkan/image/image_kernel.cpp
vulkan/image/image_mixer.cpp
vulkan/util/buffer.cpp
vulkan/util/device.cpp
vulkan/util/pipeline.cpp
vulkan/util/renderpass.cpp
vulkan/util/texture.cpp
vulkan/util/matrix.cpp
vulkan/util/transforms.cpp
)
list(APPEND HEADERS
vulkan/image/image_kernel.h
vulkan/image/image_mixer.h
vulkan/util/buffer.h
vulkan/util/device.h
vulkan/util/draw_params.h
vulkan/util/pipeline.h
vulkan/util/texture.h
vulkan/util/matrix.h
vulkan/util/transforms.h
vulkan/util/uniform_block.h
vulkan_image_vertex.h
vulkan_image_fragment.h
)
ENDIF()
if (MSVC)
list(APPEND SOURCES
d3d/d3d_device.cpp
d3d/d3d_device_context.cpp
d3d/d3d_texture2d.cpp
)
list(APPEND HEADERS
d3d/d3d_device.h
d3d/d3d_device_context.h
d3d/d3d_texture2d.h
)
endif ()
IF (ENABLE_VULKAN)
find_program(glslc_executable NAMES glslc HINTS Vulkan::glslc)
set(SHADER_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/vulkan/image)
set(SHADER_BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/vulkan/image)
file(GLOB SHADERS
${SHADER_SOURCE_DIR}/vertex_shader.vert
${SHADER_SOURCE_DIR}/fragment_shader.frag)
foreach(source IN LISTS SHADERS)
get_filename_component(FILENAME ${source} NAME_WLE)
add_custom_command(
COMMAND
${glslc_executable}
# -MD -MF ${SHADER_BINARY_DIR}/${FILENAME}.d
-o ${SHADER_BINARY_DIR}/${FILENAME}.spv
${source}
OUTPUT ${SHADER_BINARY_DIR}/${FILENAME}.spv
DEPENDS ${source} ${SHADER_BINARY_DIR}
COMMENT "Compiling ${FILENAME}"
)
list(APPEND SPV_SHADERS ${SHADER_BINARY_DIR}/${FILENAME}.spv)
endforeach()
add_custom_target(shaders ALL DEPENDS ${SPV_SHADERS})
bin2c("vulkan/image/vertex_shader.spv" "vulkan_image_vertex.h" "caspar::accelerator::vulkan" "vertex_shader")
bin2c("vulkan/image/fragment_shader.spv" "vulkan_image_fragment.h" "caspar::accelerator::vulkan" "fragment_shader")
ENDIF()
bin2c("ogl/image/shader.vert" "ogl_image_vertex.h" "caspar::accelerator::ogl" "vertex_shader")
bin2c("ogl/image/shader.frag" "ogl_image_fragment.h" "caspar::accelerator::ogl" "fragment_shader")
casparcg_add_library(accelerator SOURCES ${SOURCES} ${HEADERS})
target_include_directories(accelerator PRIVATE .. ${CMAKE_CURRENT_BINARY_DIR})
target_precompile_headers(accelerator PRIVATE StdAfx.h)
target_link_libraries(accelerator PRIVATE common core GLEW::glew sfml-window)
IF(ENABLE_VULKAN)
target_link_libraries(accelerator PRIVATE vk-bootstrap::vk-bootstrap GPUOpen::VulkanMemoryAllocator Vulkan::Headers)
target_compile_definitions(accelerator PUBLIC VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1)
ENDIF()
source_group(sources ./.*)
source_group(sources\\cpu\\image cpu/image/.*)
source_group(sources\\cpu\\util cpu/util/.*)
source_group(sources\\ogl\\image ogl/image/.*)
source_group(sources\\ogl\\util ogl/util/.*)
IF(ENABLE_VULKAN)
source_group(sources\\vulkan\\image vulkan/image/.*)
source_group(sources\\vulkan\\util vulkan/util/.*)
ENDIF()
================================================
FILE: src/accelerator/StdAfx.h
================================================
#include <GL/glew.h>
#include <algorithm>
#include <array>
#include <boost/algorithm/cxx11/all_of.hpp>
#include <boost/asio/deadline_timer.hpp>
#include <boost/asio/dispatch.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/post.hpp>
#include <boost/asio/spawn.hpp>
#include <boost/property_tree/ptree_fwd.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <boost/range/algorithm_ext/erase.hpp>
#include <cmath>
#include <common/array.h>
#include <common/assert.h>
#include <common/env.h>
#include <common/except.h>
#include <common/future.h>
#include <common/gl/gl_check.h>
#include <common/memory.h>
#include <common/scope_exit.h>
#include <core/frame/frame.h>
#include <core/frame/frame_transform.h>
#include <core/frame/frame_visitor.h>
#include <core/frame/geometry.h>
#include <core/frame/pixel_format.h>
#include <core/fwd.h>
#include <core/mixer/image/blend_modes.h>
#include <core/mixer/image/image_mixer.h>
#include <core/video_format.h>
#include <cstddef>
#include <cstdint>
#include <future>
#include <memory>
#include <mutex>
#include <set>
#include <string>
#include <tbb/concurrent_queue.h>
#include <tbb/concurrent_unordered_map.h>
#include <thread>
#include <type_traits>
#include <unordered_map>
#include <vector>
================================================
FILE: src/accelerator/accelerator.cpp
================================================
#include "accelerator.h"
#include "ogl/image/image_mixer.h"
#include "ogl/util/device.h"
#ifdef ENABLE_VULKAN
#include "vulkan/image/image_mixer.h"
#include "vulkan/util/device.h"
#endif
#include <boost/property_tree/ptree.hpp>
#include <common/bit_depth.h>
#include <common/except.h>
#include <core/mixer/image/image_mixer.h>
#include <memory>
#include <mutex>
#include <utility>
namespace caspar { namespace accelerator {
struct accelerator::impl
{
std::shared_ptr<accelerator_device> device_;
const core::video_format_repository format_repository_;
accelerator_backend backend_;
impl(const core::video_format_repository format_repository)
: format_repository_(format_repository)
, backend_(accelerator_backend::invalid)
{
}
void set_backend(accelerator_backend backend)
{
if (backend_ != accelerator_backend::invalid) {
CASPAR_THROW_EXCEPTION(user_error() << msg_info(L"Accelerator backend already set"));
}
backend_ = backend;
}
std::unique_ptr<core::image_mixer> create_image_mixer(int channel_id, common::bit_depth depth)
{
#ifdef ENABLE_VULKAN
if (backend_ == accelerator_backend::vulkan) {
return std::make_unique<vulkan::image_mixer>(
spl::make_shared_ptr(std::dynamic_pointer_cast<vulkan::device>(get_device())),
channel_id,
format_repository_.get_max_video_format_size(),
depth);
}
#endif
return std::make_unique<ogl::image_mixer>(
spl::make_shared_ptr(std::dynamic_pointer_cast<ogl::device>(get_device())),
channel_id,
format_repository_.get_max_video_format_size(),
depth);
}
std::shared_ptr<accelerator_device> get_device()
{
if (backend_ == accelerator_backend::invalid) {
CASPAR_THROW_EXCEPTION(user_error() << msg_info(L"Accelerator backend not set"));
}
#ifdef ENABLE_VULKAN
if (backend_ == accelerator_backend::vulkan) {
if (!device_) {
device_ = std::dynamic_pointer_cast<accelerator_device>(std::make_shared<vulkan::device>());
}
return device_;
}
#endif
if (!device_) {
device_ = std::dynamic_pointer_cast<accelerator_device>(std::make_shared<ogl::device>());
}
return device_;
}
};
accelerator::accelerator(const core::video_format_repository format_repository)
: impl_(std::make_unique<impl>(format_repository))
{
}
accelerator::~accelerator() {}
void accelerator::set_backend(accelerator_backend backend) { impl_->set_backend(backend); }
std::unique_ptr<core::image_mixer> accelerator::create_image_mixer(const int channel_id, common::bit_depth depth)
{
return impl_->create_image_mixer(channel_id, depth);
}
std::shared_ptr<accelerator_device> accelerator::get_device() const { return impl_->get_device(); }
}} // namespace caspar::accelerator
================================================
FILE: src/accelerator/accelerator.h
================================================
#pragma once
#include <common/bit_depth.h>
#include <core/frame/pixel_format.h>
#include <core/mixer/mixer.h>
#include <core/video_format.h>
#include <boost/property_tree/ptree_fwd.hpp>
#include <future>
#include <memory>
#include <string>
namespace caspar { namespace accelerator {
class accelerator_device
{
public:
virtual boost::property_tree::wptree info() const = 0;
virtual std::future<void> gc() = 0;
};
enum class accelerator_backend
{
invalid = 0,
opengl,
#ifdef ENABLE_VULKAN
vulkan,
#endif
};
class accelerator
{
public:
explicit accelerator(const core::video_format_repository format_repository);
accelerator(accelerator&) = delete;
~accelerator();
accelerator& operator=(accelerator&) = delete;
void set_backend(accelerator_backend backend);
std::unique_ptr<caspar::core::image_mixer> create_image_mixer(int channel_id, common::bit_depth depth);
std::shared_ptr<accelerator_device> get_device() const;
private:
struct impl;
std::unique_ptr<impl> impl_;
};
}} // namespace caspar::accelerator
================================================
FILE: src/accelerator/d3d/d3d_device.cpp
================================================
#include "d3d_device.h"
#include "d3d_device_context.h"
#include "d3d_texture2d.h"
#include <common/assert.h>
#include <common/except.h>
#include <common/log.h>
#include <common/utf.h>
#include <tbb/concurrent_queue.h>
#include <tbb/concurrent_unordered_map.h>
#include <d3d11_1.h>
#include <GL/glew.h>
#include <GL/wglew.h>
#include <atlcomcli.h>
#include <mutex>
namespace caspar { namespace accelerator { namespace d3d {
struct d3d_device::impl : public std::enable_shared_from_this<impl>
{
using texture_queue_t = tbb::concurrent_bounded_queue<std::shared_ptr<d3d_texture2d>>;
mutable std::mutex device_pools_mutex_;
tbb::concurrent_unordered_map<size_t, texture_queue_t> device_pools_;
std::wstring adaptor_name_ = L"N/A";
std::shared_ptr<ID3D11Device> device_;
std::shared_ptr<d3d_device_context> ctx_;
impl()
{
HRESULT hr;
UINT flags = D3D11_CREATE_DEVICE_BGRA_SUPPORT;
D3D_FEATURE_LEVEL feature_levels[] = {
D3D_FEATURE_LEVEL_11_1,
D3D_FEATURE_LEVEL_11_0,
D3D_FEATURE_LEVEL_10_1,
D3D_FEATURE_LEVEL_10_0,
};
UINT num_feature_levels = sizeof(feature_levels) / sizeof(feature_levels[0]);
D3D_FEATURE_LEVEL selected_level = D3D_FEATURE_LEVEL_9_3;
ID3D11Device* pdev = nullptr;
ID3D11DeviceContext* pctx = nullptr;
hr = D3D11CreateDevice(nullptr,
D3D_DRIVER_TYPE_HARDWARE,
nullptr,
flags,
feature_levels,
num_feature_levels,
D3D11_SDK_VERSION,
&pdev,
&selected_level,
&pctx);
if (hr == E_INVALIDARG) {
// DirectX 11.0 platforms will not recognize D3D_FEATURE_LEVEL_11_1
// so we need to retry without it
hr = D3D11CreateDevice(nullptr,
D3D_DRIVER_TYPE_HARDWARE,
nullptr,
flags,
&feature_levels[1],
num_feature_levels - 1,
D3D11_SDK_VERSION,
&pdev,
&selected_level,
&pctx);
}
if (SUCCEEDED(hr)) {
device_ = std::shared_ptr<ID3D11Device>(pdev, [](ID3D11Device* p) {
if (p)
p->Release();
});
ctx_ = std::make_shared<d3d_device_context>(pctx);
CComQIPtr<ID3D11Device1> d3d11_1(device_.get());
if (!d3d11_1) {
return;
}
/* needs to support extended resource sharing */
D3D11_FEATURE_DATA_D3D11_OPTIONS opts = {};
hr = d3d11_1->CheckFeatureSupport(D3D11_FEATURE_D3D11_OPTIONS, &opts, sizeof(opts));
if (FAILED(hr) || !opts.ExtendedResourceSharing) {
CASPAR_THROW_EXCEPTION(bad_alloc() << msg_info(L"Device does not support ExtendedResourceSharing"));
}
{
CComQIPtr<IDXGIDevice> dxgi_dev = device_.get();
if (dxgi_dev) {
IDXGIAdapter* dxgi_adapt = nullptr;
hr = dxgi_dev->GetAdapter(&dxgi_adapt);
if (SUCCEEDED(hr)) {
DXGI_ADAPTER_DESC desc;
hr = dxgi_adapt->GetDesc(&desc);
dxgi_adapt->Release();
if (SUCCEEDED(hr)) {
adaptor_name_ = u16(desc.Description);
}
}
}
}
CASPAR_LOG(info) << L"D3D11: Selected adapter: " << adaptor_name_;
CASPAR_LOG(info) << L"D3D11: Selected feature level: " << selected_level;
} else
CASPAR_THROW_EXCEPTION(bad_alloc() << msg_info(L"Failed to create d3d11 device"));
}
std::shared_ptr<d3d_texture2d> open_shared_texture(void* handle)
{
ID3D11Texture2D* tex = nullptr;
CComQIPtr<ID3D11Device1> dev = device_.get();
if (dev) {
auto hr = dev->OpenSharedResource1((HANDLE)(uintptr_t)handle, __uuidof(ID3D11Texture2D), (void**)(&tex));
if (SUCCEEDED(hr))
return std::make_shared<d3d_texture2d>(tex);
}
return nullptr;
}
};
d3d_device::d3d_device()
: impl_(new impl())
{
}
d3d_device::~d3d_device() {}
std::wstring d3d_device::adapter_name() const { return impl_->adaptor_name_; }
void* d3d_device::device() const { return impl_->device_.get(); }
std::shared_ptr<d3d_device_context> d3d_device::immedidate_context() { return impl_->ctx_; }
std::shared_ptr<d3d_texture2d> d3d_device::open_shared_texture(void* handle)
{
return impl_->open_shared_texture(handle);
}
const std::shared_ptr<d3d_device>& d3d_device::get_device()
{
static std::shared_ptr<d3d_device> device = []() -> std::shared_ptr<d3d_device> {
if (!WGLEW_NV_DX_interop2) {
// Device doesn't support the extension, so skip
return nullptr;
}
try {
return std::make_shared<d3d_device>();
} catch (...) {
CASPAR_LOG_CURRENT_EXCEPTION();
}
return nullptr;
}();
return device;
}
}}} // namespace caspar::accelerator::d3d
================================================
FILE: src/accelerator/d3d/d3d_device.h
================================================
#pragma once
#include <memory>
#include <string>
namespace caspar { namespace accelerator { namespace d3d {
class d3d_device
{
public:
d3d_device();
~d3d_device();
d3d_device(const d3d_device&) = delete;
d3d_device& operator=(const d3d_device&) = delete;
std::wstring adapter_name() const;
void* device() const;
std::shared_ptr<class d3d_device_context> immedidate_context();
std::shared_ptr<class d3d_texture2d> open_shared_texture(void* handle);
static const std::shared_ptr<d3d_device>& get_device();
private:
struct impl;
std::shared_ptr<impl> impl_;
};
}}} // namespace caspar::accelerator::d3d
================================================
FILE: src/accelerator/d3d/d3d_device_context.cpp
================================================
#include "d3d_device_context.h"
namespace caspar { namespace accelerator { namespace d3d {
d3d_device_context::d3d_device_context(ID3D11DeviceContext* ctx)
: ctx_(std::shared_ptr<ID3D11DeviceContext>(ctx, [](ID3D11DeviceContext* p) {
if (p)
p->Release();
}))
{
}
}}} // namespace caspar::accelerator::d3d
================================================
FILE: src/accelerator/d3d/d3d_device_context.h
================================================
#pragma once
#undef NOMINMAX
#define NOMINMAX
#include <d3d11_1.h>
#include <memory>
namespace caspar { namespace accelerator { namespace d3d {
class d3d_device_context
{
public:
d3d_device_context(ID3D11DeviceContext* ctx);
d3d_device_context(const d3d_device_context&) = delete;
d3d_device_context& operator=(const d3d_device_context&) = delete;
ID3D11DeviceContext* context() const { return ctx_.get(); }
private:
std::shared_ptr<ID3D11DeviceContext> const ctx_;
};
}}} // namespace caspar::accelerator::d3d
================================================
FILE: src/accelerator/d3d/d3d_texture2d.cpp
================================================
#include "d3d_texture2d.h"
#include <common/gl/gl_check.h>
#include <GL/glew.h>
#include <GL/wglew.h>
#include <atlcomcli.h>
#include "../ogl/util/device.h"
namespace caspar { namespace accelerator { namespace d3d {
d3d_texture2d::d3d_texture2d(ID3D11Texture2D* tex)
: texture_(tex)
{
share_handle_ = nullptr;
D3D11_TEXTURE2D_DESC desc;
texture_->GetDesc(&desc);
width_ = desc.Width;
height_ = desc.Height;
format_ = desc.Format;
if ((desc.MiscFlags & D3D11_RESOURCE_MISC_SHARED_NTHANDLE) == 0) {
CASPAR_THROW_EXCEPTION(gl::ogl_exception() << msg_info("D3D texture is not sharable."));
}
{
CComQIPtr<IDXGIResource1> res = texture_;
if (res) {
res->CreateSharedHandle(nullptr, DXGI_SHARED_RESOURCE_READ, nullptr, &share_handle_);
}
}
if (share_handle_ == nullptr || !wglDXSetResourceShareHandleNV(texture_, share_handle_)) {
CASPAR_THROW_EXCEPTION(gl::ogl_exception() << msg_info("Failed to setup shared d3d texture."));
}
}
d3d_texture2d::~d3d_texture2d()
{
const std::shared_ptr<ogl::device> ogl = ogl_.lock();
if (ogl != nullptr) {
// The cleanup must happen be done on the opengl thread
ogl->dispatch_sync([&] {
const std::shared_ptr<void> interop = ogl->d3d_interop();
if (texture_handle_ != nullptr && interop != nullptr) {
wglDXUnlockObjectsNV(interop.get(), 1, &texture_handle_);
wglDXUnregisterObjectNV(interop.get(), texture_handle_);
texture_handle_ = nullptr;
}
if (gl_texture_id_ != 0) {
GL(glDeleteTextures(1, &gl_texture_id_));
gl_texture_id_ = 0;
}
// TODO: This appears to be leaking something opengl, but it is not clear what that is.
if (share_handle_ != nullptr) {
CloseHandle(share_handle_);
share_handle_ = nullptr;
}
});
}
if (texture_ != nullptr) {
texture_->Release();
texture_ = nullptr;
}
}
void d3d_texture2d::gen_gl_texture(std::shared_ptr<ogl::device> ogl)
{
if (gl_texture_id_ != 0 || texture_ == nullptr)
return;
ogl_ = ogl;
const std::shared_ptr<void> interop = ogl->d3d_interop();
if (!interop) {
CASPAR_THROW_EXCEPTION(gl::ogl_exception() << msg_info("d3d interop not setup to bind shared d3d texture."));
}
ogl->dispatch_sync([&] {
GL(glGenTextures(1, &gl_texture_id_));
texture_handle_ =
wglDXRegisterObjectNV(interop.get(), texture_, gl_texture_id_, GL_TEXTURE_2D, WGL_ACCESS_READ_ONLY_NV);
if (!texture_handle_) {
GL(glDeleteTextures(1, &gl_texture_id_));
gl_texture_id_ = 0;
CASPAR_THROW_EXCEPTION(gl::ogl_exception() << msg_info("Failed to bind shared d3d texture."));
}
if (!wglDXLockObjectsNV(interop.get(), 1, &texture_handle_)) {
wglDXUnregisterObjectNV(interop.get(), texture_handle_);
texture_handle_ = nullptr;
GL(glDeleteTextures(1, &gl_texture_id_));
gl_texture_id_ = 0;
CASPAR_THROW_EXCEPTION(gl::ogl_exception() << msg_info("Failed to lock shared d3d texture."));
}
});
}
}}} // namespace caspar::accelerator::d3d
================================================
FILE: src/accelerator/d3d/d3d_texture2d.h
================================================
#pragma once
#undef NOMINMAX
#define NOMINMAX
#include <d3d11_1.h>
#include <memory>
namespace caspar { namespace accelerator { namespace d3d {
class d3d_texture2d
{
public:
d3d_texture2d(ID3D11Texture2D* tex);
~d3d_texture2d();
d3d_texture2d(const d3d_texture2d&) = delete;
d3d_texture2d& operator=(const d3d_texture2d&) = delete;
uint32_t width() const { return width_; }
uint32_t height() const { return height_; }
DXGI_FORMAT format() const { return format_; }
void* share_handle() const { return share_handle_; }
ID3D11Texture2D* texture() const { return texture_; }
uint32_t gl_texture_id() const { return gl_texture_id_; }
void gen_gl_texture(std::shared_ptr<ogl::device>);
private:
HANDLE share_handle_;
ID3D11Texture2D* texture_;
uint32_t width_ = 0;
uint32_t height_ = 0;
DXGI_FORMAT format_ = DXGI_FORMAT::DXGI_FORMAT_UNKNOWN;
std::weak_ptr<ogl::device> ogl_;
HANDLE texture_handle_ = nullptr;
uint32_t gl_texture_id_ = 0;
};
}}} // namespace caspar::accelerator::d3d
================================================
FILE: src/accelerator/ogl/image/image_kernel.cpp
================================================
/*
* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
*
* This file is part of CasparCG (www.casparcg.com).
*
* CasparCG is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* CasparCG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
*
* Author: Robert Nagy, ronag89@gmail.com
*/
#include "image_kernel.h"
#include "image_shader.h"
#include "../util/device.h"
#include "../util/shader.h"
#include "../util/texture.h"
#include <common/assert.h>
#include <common/gl/gl_check.h>
#include <core/frame/frame_transform.h>
#include <core/frame/pixel_format.h>
#include <boost/algorithm/cxx11/all_of.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include <GL/glew.h>
#include <array>
#include <cmath>
namespace caspar::accelerator::ogl {
double get_precision_factor(common::bit_depth depth)
{
switch (depth) {
case common::bit_depth::bit8:
return 1.0;
case common::bit_depth::bit10:
return 64.0;
case common::bit_depth::bit12:
return 16.0;
case common::bit_depth::bit16:
return 1.0;
default:
return 1.0;
}
}
bool is_above_screen(double y) { return y < 0.0; }
bool is_below_screen(double y) { return y > 1.0; }
bool is_left_of_screen(double x) { return x < 0.0; }
bool is_right_of_screen(double x) { return x > 1.0; }
bool is_outside_screen(const std::vector<core::frame_geometry::coord>& coords)
{
auto x_coords =
coords | boost::adaptors::transformed([](const core::frame_geometry::coord& c) { return c.vertex_x; });
auto y_coords =
coords | boost::adaptors::transformed([](const core::frame_geometry::coord& c) { return c.vertex_y; });
return boost::algorithm::all_of(x_coords, &is_left_of_screen) ||
boost::algorithm::all_of(x_coords, &is_right_of_screen) ||
boost::algorithm::all_of(y_coords, &is_above_screen) || boost::algorithm::all_of(y_coords, &is_below_screen);
}
static const double epsilon = 0.001;
struct image_kernel::impl
{
spl::shared_ptr<device> ogl_;
spl::shared_ptr<shader> shader_;
GLuint vao_;
GLuint vbo_;
explicit impl(const spl::shared_ptr<device>& ogl)
: ogl_(ogl)
, shader_(ogl_->dispatch_sync([&] { return get_image_shader(ogl); }))
{
ogl_->dispatch_sync([&] {
GL(glGenVertexArrays(1, &vao_));
GL(glGenBuffers(1, &vbo_));
});
}
~impl()
{
ogl_->dispatch_sync([&] {
GL(glDeleteVertexArrays(1, &vao_));
GL(glDeleteBuffers(1, &vbo_));
});
}
void draw(draw_params params)
{
CASPAR_ASSERT(params.pix_desc.planes.size() == params.textures.size());
if (params.textures.empty() || !params.background) {
return;
}
if (params.transforms.image_transform.opacity < epsilon) {
return;
}
auto coords = params.geometry.data();
if (coords.empty()) {
return;
}
auto transforms = params.transforms;
auto const first_plane = params.pix_desc.planes.at(0);
if (params.geometry.mode() != core::frame_geometry::scale_mode::stretch && first_plane.width > 0 &&
first_plane.height > 0) {
auto width_scale = static_cast<double>(params.target_width) / static_cast<double>(first_plane.width);
auto height_scale = static_cast<double>(params.target_height) / static_cast<double>(first_plane.height);
core::image_transform transform;
double target_scale;
switch (params.geometry.mode()) {
case core::frame_geometry::scale_mode::fit:
target_scale = std::min(width_scale, height_scale);
transform.fill_scale[0] *= target_scale / width_scale;
transform.fill_scale[1] *= target_scale / height_scale;
break;
case core::frame_geometry::scale_mode::fill:
target_scale = std::max(width_scale, height_scale);
transform.fill_scale[0] *= target_scale / width_scale;
transform.fill_scale[1] *= target_scale / height_scale;
break;
case core::frame_geometry::scale_mode::original:
transform.fill_scale[0] /= width_scale;
transform.fill_scale[1] /= height_scale;
break;
case core::frame_geometry::scale_mode::hfill:
transform.fill_scale[1] *= width_scale / height_scale;
break;
case core::frame_geometry::scale_mode::vfill:
transform.fill_scale[0] *= height_scale / width_scale;
break;
default:;
}
transforms = transforms.combine_transform(transform, params.aspect_ratio);
}
coords = transforms.transform_coords(coords);
// Skip drawing if all the coordinates will be outside the screen.
if (coords.size() < 3 || is_outside_screen(coords)) {
return;
}
double precision_factor[4] = {1, 1, 1, 1};
// Bind textures
for (int n = 0; n < params.textures.size(); ++n) {
params.textures[n]->bind(n);
precision_factor[n] = get_precision_factor(params.textures[n]->depth());
}
if (params.local_key) {
params.local_key->bind(static_cast<int>(texture_id::local_key));
}
if (params.layer_key) {
params.layer_key->bind(static_cast<int>(texture_id::layer_key));
}
const auto is_hd = params.pix_desc.planes.at(0).height > 700;
const auto color_space = is_hd ? params.pix_desc.color_space : core::color_space::bt601;
const float color_matrices[3][9] = {
{1.0, 0.0, 1.402, 1.0, -0.344, -0.509, 1.0, 1.772, 0.0}, // bt.601
{1.0, 0.0, 1.5748, 1.0, -0.1873, -0.4681, 1.0, 1.8556, 0.0}, // bt.709
{1.0, 0.0, 1.4746, 1.0, -0.16455312684366, -0.57135312684366, 1.0, 1.8814, 0.0}}; // bt.2020
const auto color_matrix = color_matrices[static_cast<int>(color_space)];
const float luma_coefficients[3][3] = {{0.299, 0.587, 0.114}, // bt.601
{0.2126, 0.7152, 0.0722}, // bt.709
{0.2627, 0.6780, 0.0593}}; // bt.2020
const auto luma_coeff = luma_coefficients[static_cast<int>(color_space)];
// Setup shader
shader_->use();
shader_->set("is_straight_alpha", params.pix_desc.is_straight_alpha);
shader_->set("plane[0]", texture_id::plane0);
shader_->set("plane[1]", texture_id::plane1);
shader_->set("plane[2]", texture_id::plane2);
shader_->set("plane[3]", texture_id::plane3);
shader_->set("precision_factor[0]", precision_factor[0]);
shader_->set("precision_factor[1]", precision_factor[1]);
shader_->set("precision_factor[2]", precision_factor[2]);
shader_->set("precision_factor[3]", precision_factor[3]);
shader_->set("local_key", texture_id::local_key);
shader_->set("layer_key", texture_id::layer_key);
shader_->set_matrix3("color_matrix", color_matrix);
shader_->set("luma_coeff", luma_coeff[0], luma_coeff[1], luma_coeff[2]);
shader_->set("has_local_key", static_cast<bool>(params.local_key));
shader_->set("has_layer_key", static_cast<bool>(params.layer_key));
shader_->set("pixel_format", params.pix_desc.format);
shader_->set("opacity", transforms.image_transform.is_key ? 1.0 : transforms.image_transform.opacity);
if (transforms.image_transform.chroma.enable) {
shader_->set("chroma", true);
shader_->set("chroma_show_mask", transforms.image_transform.chroma.show_mask);
shader_->set("chroma_target_hue", transforms.image_transform.chroma.target_hue / 360.0);
shader_->set("chroma_hue_width", transforms.image_transform.chroma.hue_width);
shader_->set("chroma_min_saturation", transforms.image_transform.chroma.min_saturation);
shader_->set("chroma_min_brightness", transforms.image_transform.chroma.min_brightness);
shader_->set("chroma_softness", 1.0 + transforms.image_transform.chroma.softness);
shader_->set("chroma_spill_suppress", transforms.image_transform.chroma.spill_suppress / 360.0);
shader_->set("chroma_spill_suppress_saturation",
transforms.image_transform.chroma.spill_suppress_saturation);
} else {
shader_->set("chroma", false);
}
// Setup blend_func
if (transforms.image_transform.is_key) {
params.blend_mode = core::blend_mode::normal;
}
params.background->bind(static_cast<int>(texture_id::background));
shader_->set("background", texture_id::background);
shader_->set("blend_mode", params.blend_mode);
shader_->set("keyer", params.keyer);
// Setup image-adjustments
shader_->set("invert", transforms.image_transform.invert);
if (transforms.image_transform.levels.min_input > epsilon ||
transforms.image_transform.levels.max_input < 1.0 - epsilon ||
transforms.image_transform.levels.min_output > epsilon ||
transforms.image_transform.levels.max_output < 1.0 - epsilon ||
std::abs(transforms.image_transform.levels.gamma - 1.0) > epsilon) {
shader_->set("levels", true);
shader_->set("min_input", transforms.image_transform.levels.min_input);
shader_->set("max_input", transforms.image_transform.levels.max_input);
shader_->set("min_output", transforms.image_transform.levels.min_output);
shader_->set("max_output", transforms.image_transform.levels.max_output);
shader_->set("gamma", transforms.image_transform.levels.gamma);
} else {
shader_->set("levels", false);
}
if (std::abs(transforms.image_transform.brightness - 1.0) > epsilon ||
std::abs(transforms.image_transform.saturation - 1.0) > epsilon ||
std::abs(transforms.image_transform.contrast - 1.0) > epsilon) {
shader_->set("csb", true);
shader_->set("brt", transforms.image_transform.brightness);
shader_->set("sat", transforms.image_transform.saturation);
shader_->set("con", transforms.image_transform.contrast);
} else {
shader_->set("csb", false);
}
// Setup drawing area
GL(glViewport(0, 0, params.background->width(), params.background->height()));
glDisable(GL_DEPTH_TEST);
// Set render target
params.background->attach();
// Draw
GL(glBindVertexArray(vao_));
GL(glBindBuffer(GL_ARRAY_BUFFER, vbo_));
GL(glBufferData(GL_ARRAY_BUFFER,
static_cast<GLsizeiptr>(sizeof(core::frame_geometry::coord)) * coords.size(),
coords.data(),
GL_STATIC_DRAW));
auto stride = static_cast<GLsizei>(sizeof(core::frame_geometry::coord));
auto vtx_loc = shader_->get_attrib_location("Position");
auto tex_loc = shader_->get_attrib_location("TexCoordIn");
GL(glEnableVertexAttribArray(vtx_loc));
GL(glEnableVertexAttribArray(tex_loc));
GL(glVertexAttribPointer(vtx_loc, 2, GL_DOUBLE, GL_FALSE, stride, nullptr));
GL(glVertexAttribPointer(tex_loc, 4, GL_DOUBLE, GL_FALSE, stride, (GLvoid*)(2 * sizeof(GLdouble))));
GL(glDrawArrays(GL_TRIANGLE_FAN, 0, static_cast<GLsizei>(coords.size())));
GL(glTextureBarrier());
GL(glDisableVertexAttribArray(vtx_loc));
GL(glDisableVertexAttribArray(tex_loc));
GL(glBindVertexArray(0));
GL(glBindBuffer(GL_ARRAY_BUFFER, 0));
// Cleanup
GL(glDisable(GL_SCISSOR_TEST));
GL(glDisable(GL_BLEND));
}
};
image_kernel::image_kernel(const spl::shared_ptr<device>& ogl)
: impl_(new impl(ogl))
{
}
image_kernel::~image_kernel() {}
void image_kernel::draw(const draw_params& params) { impl_->draw(params); }
} // namespace caspar::accelerator::ogl
================================================
FILE: src/accelerator/ogl/image/image_kernel.h
================================================
/*
* Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>
*
* This file is part of CasparCG (www.casparcg.com).
*
* CasparCG is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* CasparCG is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with CasparCG. If not, see <http://www.gnu.org/licenses/>.
*
* Author: Robert Nagy, ronag89@gmail.com
*/
#pragma once
#include <core/mixer/image/blend_modes.h>
#include <common/memory.h>
#include <core/frame/frame_transform.h>
#include <core/frame/geometry.h>
#include <core/frame/pixel_format.h>
#include <utility>
#include "../util/matrix.h"
#include "../util/transforms.h"
namespace caspar { namespace accelerator { namespace ogl {
enum class keyer
{
linear = 0,
additive,
};
struct draw_params final
{
core::pixel_format_desc pix_desc =
gitextract_p4etv4dp/
├── .clang-format
├── .dockerignore
├── .editorconfig
├── .github/
│ ├── ISSUE_TEMPLATE/
│ │ ├── bug_report.yaml
│ │ ├── config.yml
│ │ └── feature_request.yaml
│ ├── dependabot.yml
│ └── workflows/
│ ├── linux-system.yml
│ ├── linux.yml
│ └── windows.yml
├── .gitignore
├── BUILDING.md
├── CHANGELOG.md
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── _typos.toml
├── src/
│ ├── CMakeLists.txt
│ ├── CMakeModules/
│ │ ├── Bootstrap_Linux.cmake
│ │ ├── Bootstrap_Windows.cmake
│ │ ├── CasparCG_Util.cmake
│ │ └── FindFFmpeg.cmake
│ ├── CMakeSettings.json
│ ├── accelerator/
│ │ ├── CMakeLists.txt
│ │ ├── StdAfx.h
│ │ ├── accelerator.cpp
│ │ ├── accelerator.h
│ │ ├── d3d/
│ │ │ ├── d3d_device.cpp
│ │ │ ├── d3d_device.h
│ │ │ ├── d3d_device_context.cpp
│ │ │ ├── d3d_device_context.h
│ │ │ ├── d3d_texture2d.cpp
│ │ │ └── d3d_texture2d.h
│ │ ├── ogl/
│ │ │ ├── image/
│ │ │ │ ├── image_kernel.cpp
│ │ │ │ ├── image_kernel.h
│ │ │ │ ├── image_mixer.cpp
│ │ │ │ ├── image_mixer.h
│ │ │ │ ├── image_shader.cpp
│ │ │ │ ├── image_shader.h
│ │ │ │ ├── shader.frag
│ │ │ │ └── shader.vert
│ │ │ └── util/
│ │ │ ├── buffer.cpp
│ │ │ ├── buffer.h
│ │ │ ├── context.cpp
│ │ │ ├── context.h
│ │ │ ├── device.cpp
│ │ │ ├── device.h
│ │ │ ├── matrix.cpp
│ │ │ ├── matrix.h
│ │ │ ├── shader.cpp
│ │ │ ├── shader.h
│ │ │ ├── texture.cpp
│ │ │ ├── texture.h
│ │ │ ├── transforms.cpp
│ │ │ └── transforms.h
│ │ └── vulkan/
│ │ ├── image/
│ │ │ ├── fragment_shader.frag
│ │ │ ├── image_kernel.cpp
│ │ │ ├── image_kernel.h
│ │ │ ├── image_mixer.cpp
│ │ │ ├── image_mixer.h
│ │ │ └── vertex_shader.vert
│ │ └── util/
│ │ ├── buffer.cpp
│ │ ├── buffer.h
│ │ ├── device.cpp
│ │ ├── device.h
│ │ ├── draw_params.h
│ │ ├── matrix.cpp
│ │ ├── matrix.h
│ │ ├── pipeline.cpp
│ │ ├── pipeline.h
│ │ ├── renderpass.cpp
│ │ ├── renderpass.h
│ │ ├── texture.cpp
│ │ ├── texture.h
│ │ ├── transforms.cpp
│ │ ├── transforms.h
│ │ └── uniform_block.h
│ ├── common/
│ │ ├── CMakeLists.txt
│ │ ├── array.h
│ │ ├── assert.h
│ │ ├── base64.cpp
│ │ ├── base64.h
│ │ ├── bit_depth.h
│ │ ├── compiler/
│ │ │ └── vs/
│ │ │ └── disable_silly_warnings.h
│ │ ├── diagnostics/
│ │ │ ├── graph.cpp
│ │ │ └── graph.h
│ │ ├── endian.h
│ │ ├── enum_class.h
│ │ ├── env.cpp
│ │ ├── env.h
│ │ ├── except.h
│ │ ├── executor.h
│ │ ├── filesystem.cpp
│ │ ├── filesystem.h
│ │ ├── future.h
│ │ ├── gl/
│ │ │ ├── gl_check.cpp
│ │ │ └── gl_check.h
│ │ ├── log.cpp
│ │ ├── log.h
│ │ ├── memory.h
│ │ ├── memshfl.h
│ │ ├── os/
│ │ │ ├── filesystem.h
│ │ │ ├── linux/
│ │ │ │ ├── filesystem.cpp
│ │ │ │ ├── prec_timer.cpp
│ │ │ │ └── thread.cpp
│ │ │ ├── thread.h
│ │ │ └── windows/
│ │ │ ├── filesystem.cpp
│ │ │ ├── prec_timer.cpp
│ │ │ ├── thread.cpp
│ │ │ └── windows.h
│ │ ├── param.h
│ │ ├── prec_timer.h
│ │ ├── ptree.h
│ │ ├── scope_exit.h
│ │ ├── stdafx.cpp
│ │ ├── stdafx.h
│ │ ├── timer.h
│ │ ├── tweener.cpp
│ │ ├── tweener.h
│ │ ├── utf.cpp
│ │ └── utf.h
│ ├── core/
│ │ ├── CMakeLists.txt
│ │ ├── StdAfx.h
│ │ ├── consumer/
│ │ │ ├── channel_info.h
│ │ │ ├── frame_consumer.cpp
│ │ │ ├── frame_consumer.h
│ │ │ ├── frame_consumer_registry.cpp
│ │ │ ├── frame_consumer_registry.h
│ │ │ ├── output.cpp
│ │ │ └── output.h
│ │ ├── diagnostics/
│ │ │ ├── call_context.cpp
│ │ │ ├── call_context.h
│ │ │ ├── osd_graph.cpp
│ │ │ └── osd_graph.h
│ │ ├── frame/
│ │ │ ├── draw_frame.cpp
│ │ │ ├── draw_frame.h
│ │ │ ├── frame.cpp
│ │ │ ├── frame.h
│ │ │ ├── frame_factory.h
│ │ │ ├── frame_transform.cpp
│ │ │ ├── frame_transform.h
│ │ │ ├── frame_visitor.h
│ │ │ ├── geometry.cpp
│ │ │ ├── geometry.h
│ │ │ └── pixel_format.h
│ │ ├── fwd.h
│ │ ├── mixer/
│ │ │ ├── audio/
│ │ │ │ ├── audio_mixer.cpp
│ │ │ │ ├── audio_mixer.h
│ │ │ │ └── audio_util.h
│ │ │ ├── image/
│ │ │ │ ├── blend_modes.cpp
│ │ │ │ ├── blend_modes.h
│ │ │ │ └── image_mixer.h
│ │ │ ├── mixer.cpp
│ │ │ └── mixer.h
│ │ ├── module_dependencies.h
│ │ ├── monitor/
│ │ │ └── monitor.h
│ │ ├── producer/
│ │ │ ├── cg_proxy.cpp
│ │ │ ├── cg_proxy.h
│ │ │ ├── color/
│ │ │ │ ├── color_producer.cpp
│ │ │ │ └── color_producer.h
│ │ │ ├── frame_producer.cpp
│ │ │ ├── frame_producer.h
│ │ │ ├── frame_producer_registry.cpp
│ │ │ ├── frame_producer_registry.h
│ │ │ ├── layer.cpp
│ │ │ ├── layer.h
│ │ │ ├── route/
│ │ │ │ ├── route_producer.cpp
│ │ │ │ └── route_producer.h
│ │ │ ├── separated/
│ │ │ │ ├── separated_producer.cpp
│ │ │ │ └── separated_producer.h
│ │ │ ├── stage.cpp
│ │ │ ├── stage.h
│ │ │ └── transition/
│ │ │ ├── sting_producer.cpp
│ │ │ ├── sting_producer.h
│ │ │ ├── transition_producer.cpp
│ │ │ └── transition_producer.h
│ │ ├── video_channel.cpp
│ │ ├── video_channel.h
│ │ ├── video_format.cpp
│ │ └── video_format.h
│ ├── modules/
│ │ ├── CMakeLists.txt
│ │ ├── artnet/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── artnet.cpp
│ │ │ ├── artnet.h
│ │ │ ├── consumer/
│ │ │ │ ├── artnet_consumer.cpp
│ │ │ │ └── artnet_consumer.h
│ │ │ └── util/
│ │ │ ├── fixture_calculation.cpp
│ │ │ └── fixture_calculation.h
│ │ ├── bluefish/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── bluefish.cpp
│ │ │ ├── bluefish.h
│ │ │ ├── consumer/
│ │ │ │ ├── bluefish_consumer.cpp
│ │ │ │ └── bluefish_consumer.h
│ │ │ ├── interop/
│ │ │ │ ├── BlueDriver_p.h
│ │ │ │ ├── BlueTypes.h
│ │ │ │ └── BlueVelvetCFuncPtr.h
│ │ │ ├── producer/
│ │ │ │ ├── bluefish_producer.cpp
│ │ │ │ └── bluefish_producer.h
│ │ │ └── util/
│ │ │ ├── blue_velvet.cpp
│ │ │ ├── blue_velvet.h
│ │ │ └── memory.h
│ │ ├── decklink/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── consumer/
│ │ │ │ ├── config.cpp
│ │ │ │ ├── config.h
│ │ │ │ ├── decklink_consumer.cpp
│ │ │ │ ├── decklink_consumer.h
│ │ │ │ ├── format_strategy.h
│ │ │ │ ├── monitor.cpp
│ │ │ │ ├── monitor.h
│ │ │ │ ├── sdr_bgra_strategy.cpp
│ │ │ │ ├── v210_strategies.cpp
│ │ │ │ ├── vanc.cpp
│ │ │ │ ├── vanc.h
│ │ │ │ ├── vanc_op47_strategy.cpp
│ │ │ │ └── vanc_scte104_strategy.cpp
│ │ │ ├── decklink.cpp
│ │ │ ├── decklink.h
│ │ │ ├── decklink_api.h
│ │ │ ├── interop/
│ │ │ │ ├── DeckLinkAPIVersion.h
│ │ │ │ ├── DeckLinkAPI_i.c
│ │ │ │ └── DecklinkAPI.h
│ │ │ ├── linux_interop/
│ │ │ │ ├── DeckLinkAPI.h
│ │ │ │ ├── DeckLinkAPIConfiguration.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_11.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_2.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_4.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_5.h
│ │ │ │ ├── DeckLinkAPIConfiguration_v10_9.h
│ │ │ │ ├── DeckLinkAPIDeckControl.h
│ │ │ │ ├── DeckLinkAPIDiscovery.h
│ │ │ │ ├── DeckLinkAPIDispatch.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v10_11.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v10_8.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v7_6.cpp
│ │ │ │ ├── DeckLinkAPIDispatch_v8_0.cpp
│ │ │ │ ├── DeckLinkAPIModes.h
│ │ │ │ ├── DeckLinkAPITypes.h
│ │ │ │ ├── DeckLinkAPIVersion.h
│ │ │ │ ├── DeckLinkAPIVideoEncoderInput_v10_11.h
│ │ │ │ ├── DeckLinkAPIVideoInput_v10_11.h
│ │ │ │ ├── DeckLinkAPIVideoInput_v11_4.h
│ │ │ │ ├── DeckLinkAPIVideoInput_v11_5_1.h
│ │ │ │ ├── DeckLinkAPIVideoOutput_v10_11.h
│ │ │ │ ├── DeckLinkAPIVideoOutput_v11_4.h
│ │ │ │ ├── DeckLinkAPI_v10_11.h
│ │ │ │ ├── DeckLinkAPI_v10_2.h
│ │ │ │ ├── DeckLinkAPI_v10_4.h
│ │ │ │ ├── DeckLinkAPI_v10_5.h
│ │ │ │ ├── DeckLinkAPI_v10_6.h
│ │ │ │ ├── DeckLinkAPI_v10_9.h
│ │ │ │ ├── DeckLinkAPI_v11_5.h
│ │ │ │ ├── DeckLinkAPI_v11_5_1.h
│ │ │ │ ├── DeckLinkAPI_v7_1.h
│ │ │ │ ├── DeckLinkAPI_v7_3.h
│ │ │ │ ├── DeckLinkAPI_v7_6.h
│ │ │ │ ├── DeckLinkAPI_v7_9.h
│ │ │ │ ├── DeckLinkAPI_v8_0.h
│ │ │ │ ├── DeckLinkAPI_v8_1.h
│ │ │ │ ├── DeckLinkAPI_v9_2.h
│ │ │ │ ├── DeckLinkAPI_v9_9.h
│ │ │ │ └── LinuxCOM.h
│ │ │ ├── producer/
│ │ │ │ ├── decklink_producer.cpp
│ │ │ │ └── decklink_producer.h
│ │ │ └── util/
│ │ │ └── util.h
│ │ ├── ffmpeg/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── consumer/
│ │ │ │ ├── ffmpeg_consumer.cpp
│ │ │ │ └── ffmpeg_consumer.h
│ │ │ ├── ffmpeg.cpp
│ │ │ ├── ffmpeg.h
│ │ │ ├── producer/
│ │ │ │ ├── av_input.cpp
│ │ │ │ ├── av_input.h
│ │ │ │ ├── av_producer.cpp
│ │ │ │ ├── av_producer.h
│ │ │ │ ├── ffmpeg_producer.cpp
│ │ │ │ └── ffmpeg_producer.h
│ │ │ └── util/
│ │ │ ├── audio_resampler.cpp
│ │ │ ├── audio_resampler.h
│ │ │ ├── av_assert.h
│ │ │ ├── av_util.cpp
│ │ │ └── av_util.h
│ │ ├── flash/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── flash.cpp
│ │ │ ├── flash.h
│ │ │ ├── interop/
│ │ │ │ ├── Flash9e.IDL
│ │ │ │ ├── Flash9e_i.c
│ │ │ │ ├── TimerHelper.h
│ │ │ │ └── axflash.h
│ │ │ ├── producer/
│ │ │ │ ├── FlashAxContainer.cpp
│ │ │ │ ├── FlashAxContainer.h
│ │ │ │ ├── flash_producer.cpp
│ │ │ │ └── flash_producer.h
│ │ │ └── util/
│ │ │ ├── swf.cpp
│ │ │ └── swf.h
│ │ ├── html/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── html.cpp
│ │ │ ├── html.h
│ │ │ ├── producer/
│ │ │ │ ├── html_cg_proxy.cpp
│ │ │ │ ├── html_cg_proxy.h
│ │ │ │ ├── html_producer.cpp
│ │ │ │ └── html_producer.h
│ │ │ └── util.h
│ │ ├── image/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── consumer/
│ │ │ │ ├── image_consumer.cpp
│ │ │ │ └── image_consumer.h
│ │ │ ├── image.cpp
│ │ │ ├── image.h
│ │ │ ├── producer/
│ │ │ │ ├── image_producer.cpp
│ │ │ │ ├── image_producer.h
│ │ │ │ ├── image_scroll_producer.cpp
│ │ │ │ └── image_scroll_producer.h
│ │ │ └── util/
│ │ │ ├── image_algorithms.cpp
│ │ │ ├── image_algorithms.h
│ │ │ ├── image_converter.cpp
│ │ │ ├── image_converter.h
│ │ │ ├── image_loader.cpp
│ │ │ ├── image_loader.h
│ │ │ └── image_view.h
│ │ ├── newtek/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── StdAfx.h
│ │ │ ├── consumer/
│ │ │ │ ├── newtek_ndi_consumer.cpp
│ │ │ │ └── newtek_ndi_consumer.h
│ │ │ ├── interop/
│ │ │ │ ├── Processing.NDI.DynamicLoad.h
│ │ │ │ ├── Processing.NDI.Find.h
│ │ │ │ ├── Processing.NDI.FrameSync.h
│ │ │ │ ├── Processing.NDI.Lib.cplusplus.h
│ │ │ │ ├── Processing.NDI.Lib.h
│ │ │ │ ├── Processing.NDI.Recv.ex.h
│ │ │ │ ├── Processing.NDI.Recv.h
│ │ │ │ ├── Processing.NDI.RecvAdvertiser.h
│ │ │ │ ├── Processing.NDI.RecvListener.h
│ │ │ │ ├── Processing.NDI.Routing.h
│ │ │ │ ├── Processing.NDI.Send.h
│ │ │ │ ├── Processing.NDI.SendAdvertiser.h
│ │ │ │ ├── Processing.NDI.SendListener.h
│ │ │ │ ├── Processing.NDI.compat.h
│ │ │ │ ├── Processing.NDI.deprecated.h
│ │ │ │ ├── Processing.NDI.structs.h
│ │ │ │ └── Processing.NDI.utilities.h
│ │ │ ├── newtek.cpp
│ │ │ ├── newtek.h
│ │ │ ├── producer/
│ │ │ │ ├── newtek_ndi_producer.cpp
│ │ │ │ └── newtek_ndi_producer.h
│ │ │ └── util/
│ │ │ ├── ndi.cpp
│ │ │ └── ndi.h
│ │ ├── oal/
│ │ │ ├── CMakeLists.txt
│ │ │ ├── consumer/
│ │ │ │ ├── oal_consumer.cpp
│ │ │ │ └── oal_consumer.h
│ │ │ ├── oal.cpp
│ │ │ └── oal.h
│ │ └── screen/
│ │ ├── CMakeLists.txt
│ │ ├── consumer/
│ │ │ ├── screen.frag
│ │ │ ├── screen.vert
│ │ │ ├── screen_consumer.cpp
│ │ │ └── screen_consumer.h
│ │ ├── screen.cpp
│ │ ├── screen.h
│ │ └── util/
│ │ ├── x11_util.cpp
│ │ └── x11_util.h
│ ├── protocol/
│ │ ├── CMakeLists.txt
│ │ ├── StdAfx.h
│ │ ├── amcp/
│ │ │ ├── AMCPCommand.cpp
│ │ │ ├── AMCPCommand.h
│ │ │ ├── AMCPCommandQueue.cpp
│ │ │ ├── AMCPCommandQueue.h
│ │ │ ├── AMCPCommandsImpl.cpp
│ │ │ ├── AMCPCommandsImpl.h
│ │ │ ├── AMCPProtocolStrategy.cpp
│ │ │ ├── AMCPProtocolStrategy.h
│ │ │ ├── amcp_args.cpp
│ │ │ ├── amcp_args.h
│ │ │ ├── amcp_command_context.h
│ │ │ ├── amcp_command_repository.cpp
│ │ │ ├── amcp_command_repository.h
│ │ │ ├── amcp_command_repository_wrapper.cpp
│ │ │ ├── amcp_command_repository_wrapper.h
│ │ │ └── amcp_shared.h
│ │ ├── osc/
│ │ │ ├── client.cpp
│ │ │ ├── client.h
│ │ │ └── oscpack/
│ │ │ ├── MessageMappingOscPacketListener.h
│ │ │ ├── OscException.h
│ │ │ ├── OscHostEndianness.h
│ │ │ ├── OscOutboundPacketStream.cpp
│ │ │ ├── OscOutboundPacketStream.h
│ │ │ ├── OscPacketListener.h
│ │ │ ├── OscPrintReceivedElements.cpp
│ │ │ ├── OscPrintReceivedElements.h
│ │ │ ├── OscReceivedElements.cpp
│ │ │ ├── OscReceivedElements.h
│ │ │ ├── OscTypes.cpp
│ │ │ └── OscTypes.h
│ │ └── util/
│ │ ├── AsyncEventServer.cpp
│ │ ├── AsyncEventServer.h
│ │ ├── ClientInfo.h
│ │ ├── ProtocolStrategy.h
│ │ ├── http_request.cpp
│ │ ├── http_request.h
│ │ ├── lock_container.cpp
│ │ ├── lock_container.h
│ │ ├── protocol_strategy.h
│ │ ├── strategy_adapters.cpp
│ │ ├── strategy_adapters.h
│ │ ├── tokenize.cpp
│ │ └── tokenize.h
│ ├── shell/
│ │ ├── CMakeLists.txt
│ │ ├── casparcg.config
│ │ ├── casparcg_auto_restart.bat
│ │ ├── copy_deps.sh
│ │ ├── included_modules.tmpl
│ │ ├── liberation-fonts/
│ │ │ ├── AUTHORS
│ │ │ ├── ChangeLog
│ │ │ ├── LICENSE
│ │ │ ├── README
│ │ │ └── TODO
│ │ ├── linux_specific.cpp
│ │ ├── main.cpp
│ │ ├── platform_specific.h
│ │ ├── resource.h
│ │ ├── run.sh
│ │ ├── server.cpp
│ │ ├── server.h
│ │ ├── shell.rc
│ │ └── windows_specific.cpp
│ ├── tools/
│ │ ├── CMakeLists.txt
│ │ └── bin2c.cpp
│ └── version.tmpl
└── tools/
├── linux/
│ ├── Dockerfile
│ ├── build-in-docker
│ ├── deb/
│ │ ├── INSTALLING
│ │ ├── debian-sid/
│ │ │ └── debian/
│ │ │ ├── .gitignore
│ │ │ ├── casparcg-server-beta.docs
│ │ │ ├── casparcg-server-beta.manpages
│ │ │ ├── casparcg.txt2man
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── gbp.conf
│ │ │ ├── patches/
│ │ │ │ ├── README
│ │ │ │ └── series
│ │ │ ├── rules
│ │ │ ├── source/
│ │ │ │ └── format
│ │ │ ├── upstream/
│ │ │ │ └── metadata
│ │ │ └── watch
│ │ ├── debian-trixie/
│ │ │ └── debian/
│ │ │ ├── .gitignore
│ │ │ ├── casparcg-server-beta.docs
│ │ │ ├── casparcg-server-beta.manpages
│ │ │ ├── casparcg.txt2man
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── gbp.conf
│ │ │ ├── patches/
│ │ │ │ ├── README
│ │ │ │ └── series
│ │ │ ├── rules
│ │ │ ├── source/
│ │ │ │ └── format
│ │ │ ├── upstream/
│ │ │ │ └── metadata
│ │ │ └── watch
│ │ ├── ubuntu-noble/
│ │ │ └── debian/
│ │ │ ├── .gitignore
│ │ │ ├── casparcg-server-beta.docs
│ │ │ ├── casparcg-server-beta.manpages
│ │ │ ├── casparcg.txt2man
│ │ │ ├── control
│ │ │ ├── copyright
│ │ │ ├── gbp.conf
│ │ │ ├── patches/
│ │ │ │ ├── README
│ │ │ │ └── series
│ │ │ ├── rules
│ │ │ ├── source/
│ │ │ │ └── format
│ │ │ ├── upstream/
│ │ │ │ └── metadata
│ │ │ └── watch
│ │ └── ubuntu-resolute/
│ │ └── debian/
│ │ ├── .gitignore
│ │ ├── casparcg-server-beta.docs
│ │ ├── casparcg-server-beta.manpages
│ │ ├── casparcg.txt2man
│ │ ├── control
│ │ ├── copyright
│ │ ├── gbp.conf
│ │ ├── patches/
│ │ │ ├── README
│ │ │ └── series
│ │ ├── rules
│ │ ├── source/
│ │ │ └── format
│ │ ├── upstream/
│ │ │ └── metadata
│ │ └── watch
│ ├── extract-from-docker
│ ├── install-dependencies
│ ├── run_docker.sh
│ └── start_docker.sh
├── update-format.sh
├── verify-format.sh
└── windows/
├── build.bat
└── package.bat
Showing preview only (282K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3052 symbols across 336 files)
FILE: src/accelerator/accelerator.cpp
type caspar (line 22) | namespace caspar { namespace accelerator {
type accelerator (line 22) | namespace accelerator {
type accelerator::impl (line 24) | struct accelerator::impl
method impl (line 30) | impl(const core::video_format_repository format_repository)
method set_backend (line 36) | void set_backend(accelerator_backend backend)
method create_image_mixer (line 45) | std::unique_ptr<core::image_mixer> create_image_mixer(int channel_...
method get_device (line 63) | std::shared_ptr<accelerator_device> get_device()
FILE: src/accelerator/accelerator.h
function namespace (line 15) | namespace caspar { namespace accelerator {
FILE: src/accelerator/d3d/d3d_device.cpp
type caspar (line 22) | namespace caspar { namespace accelerator { namespace d3d {
type accelerator (line 22) | namespace accelerator { namespace d3d {
type d3d (line 22) | namespace d3d {
type d3d_device::impl (line 23) | struct d3d_device::impl : public std::enable_shared_from_this<impl>
method impl (line 34) | impl()
method open_shared_texture (line 121) | std::shared_ptr<d3d_texture2d> open_shared_texture(void* handle)
FILE: src/accelerator/d3d/d3d_device.h
function namespace (line 6) | namespace caspar { namespace accelerator { namespace d3d {
FILE: src/accelerator/d3d/d3d_device_context.cpp
type caspar (line 3) | namespace caspar { namespace accelerator { namespace d3d {
type accelerator (line 3) | namespace accelerator { namespace d3d {
type d3d (line 3) | namespace d3d {
FILE: src/accelerator/d3d/d3d_device_context.h
function namespace (line 10) | namespace caspar { namespace accelerator { namespace d3d {
FILE: src/accelerator/d3d/d3d_texture2d.cpp
type caspar (line 11) | namespace caspar { namespace accelerator { namespace d3d {
type accelerator (line 11) | namespace accelerator { namespace d3d {
type d3d (line 11) | namespace d3d {
FILE: src/accelerator/d3d/d3d_texture2d.h
function namespace (line 10) | namespace caspar { namespace accelerator { namespace d3d {
FILE: src/accelerator/ogl/image/image_kernel.cpp
type caspar::accelerator::ogl (line 43) | namespace caspar::accelerator::ogl {
function get_precision_factor (line 45) | double get_precision_factor(common::bit_depth depth)
function is_above_screen (line 61) | bool is_above_screen(double y) { return y < 0.0; }
function is_below_screen (line 63) | bool is_below_screen(double y) { return y > 1.0; }
function is_left_of_screen (line 65) | bool is_left_of_screen(double x) { return x < 0.0; }
function is_right_of_screen (line 67) | bool is_right_of_screen(double x) { return x > 1.0; }
function is_outside_screen (line 69) | bool is_outside_screen(const std::vector<core::frame_geometry::coord>&...
type image_kernel::impl (line 83) | struct image_kernel::impl
method impl (line 90) | explicit impl(const spl::shared_ptr<device>& ogl)
method draw (line 108) | void draw(draw_params params)
FILE: src/accelerator/ogl/image/image_kernel.h
function namespace (line 37) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/image/image_mixer.cpp
type caspar (line 51) | namespace caspar { namespace accelerator { namespace ogl {
type accelerator (line 51) | namespace accelerator { namespace ogl {
type ogl (line 51) | namespace ogl {
type item (line 55) | struct item
type layer (line 63) | struct layer
method layer (line 69) | explicit layer(core::blend_mode blend_mode)
class image_renderer (line 75) | class image_renderer
method image_renderer (line 83) | explicit image_renderer(const spl::shared_ptr<device>& ogl, cons...
method depth (line 117) | common::bit_depth depth() const { return depth_; }
method draw (line 120) | void draw(std::shared_ptr<texture>& target_texture,
method draw (line 132) | void draw(std::shared_ptr<texture>& target_texture,
method draw (line 172) | void draw(std::shared_ptr<texture>& target_texture,
method draw (line 230) | void draw(std::shared_ptr<texture>& target_texture,
type image_mixer::impl (line 253) | struct image_mixer::impl
method impl (line 266) | impl(const spl::shared_ptr<device>& ogl, const int channel_id, c...
method update_aspect_ratio (line 274) | void update_aspect_ratio(double aspect_ratio) { aspect_ratio_ = ...
method push (line 276) | void push(const core::frame_transform& transform)
method visit (line 297) | void visit(const core::const_frame& frame)
method pop (line 327) | void pop()
method render (line 333) | std::future<std::tuple<array<const std::uint8_t>, std::shared_pt...
method create_frame (line 339) | core::mutable_frame create_frame(const void* tag, const core::pi...
method create_frame (line 344) | core::mutable_frame
method import_d3d_texture (line 376) | core::const_frame import_d3d_texture(const void* ...
method depth (line 415) | common::bit_depth depth() const { return renderer_.depth(); }
FILE: src/accelerator/ogl/image/image_mixer.h
function namespace (line 35) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/image/image_shader.cpp
type caspar (line 29) | namespace caspar { namespace accelerator { namespace ogl {
type accelerator (line 29) | namespace accelerator { namespace ogl {
type ogl (line 29) | namespace ogl {
function get_image_shader (line 34) | std::shared_ptr<shader> get_image_shader(const spl::shared_ptr<dev...
FILE: src/accelerator/ogl/image/image_shader.h
function namespace (line 26) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/util/buffer.cpp
type caspar (line 31) | namespace caspar { namespace accelerator { namespace ogl {
type accelerator (line 31) | namespace accelerator { namespace ogl {
type ogl (line 31) | namespace ogl {
type buffer::impl (line 38) | struct buffer::impl
method impl (line 47) | impl(const impl&) = delete;
method impl (line 48) | impl& operator=(const impl&) = delete;
method impl (line 51) | impl(int size, bool write)
method bind (line 74) | void bind() { GL(glBindBuffer(target_, id_)); }
method unbind (line 76) | void unbind() { GL(glBindBuffer(target_, 0)); }
function buffer (line 88) | buffer& buffer::operator=(buffer&& other)
FILE: src/accelerator/ogl/util/buffer.h
function namespace (line 27) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/util/context.cpp
type device_context::impl (line 21) | struct device_context::impl
type impl_sfml (line 27) | struct impl_sfml : public device_context::impl
method device_ (line 33) | device_(sf::ContextSettings{.depthBits = 0,
method bind (line 49) | virtual void bind() override { std::ignore = device_.setActive(true); }
method unbind (line 50) | virtual void unbind() override { std::ignore = device_.setActive(false...
type impl_egl (line 54) | struct impl_egl : public device_context::impl
method impl_egl (line 59) | impl_egl()
method bind (line 113) | virtual void bind() override { eglMakeCurrent(eglDisplay_, EGL_NO_SU...
method unbind (line 114) | virtual void unbind() override { eglMakeCurrent(eglDisplay_, EGL_NO_...
FILE: src/accelerator/ogl/util/context.h
function namespace (line 5) | namespace caspar::accelerator::ogl {
FILE: src/accelerator/ogl/util/device.cpp
type caspar (line 54) | namespace caspar { namespace accelerator { namespace ogl {
type accelerator (line 54) | namespace accelerator { namespace ogl {
type ogl (line 54) | namespace ogl {
type device::impl (line 58) | struct device::impl : public std::enable_shared_from_this<impl>
method impl (line 81) | impl()
method spawn_async (line 160) | auto spawn_async(Func&& func)
method dispatch_async (line 175) | auto dispatch_async(Func&& func)
method dispatch_sync (line 187) | auto dispatch_sync(Func&& func) -> decltype(func())
method version (line 192) | std::wstring version() { return version_; }
method create_texture (line 194) | std::shared_ptr<texture> create_texture(int width, int height, i...
method create_buffer (line 219) | std::shared_ptr<buffer> create_buffer(int size, bool write)
method create_array (line 239) | array<uint8_t> create_array(int size)
method copy_async (line 246) | std::future<std::shared_ptr<texture>>
method copy_async (line 268) | std::future<array<const uint8_t>> copy_async(const std::shared_p...
method copy_async (line 299) | std::future<std::shared_ptr<texture>>
method info (line 330) | boost::property_tree::wptree info() const
method gc (line 416) | std::future<void> gc()
FILE: src/accelerator/ogl/util/device.h
function namespace (line 35) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/util/matrix.cpp
type caspar::accelerator::ogl (line 19) | namespace caspar::accelerator::ogl {
function t_matrix (line 21) | t_matrix create_matrix(std::vector<std::vector<double>> data)
function t_matrix (line 37) | t_matrix get_vertex_matrix(const core::image_transform& transform, dou...
FILE: src/accelerator/ogl/util/matrix.h
function namespace (line 10) | namespace caspar::accelerator::ogl {
function namespace (line 20) | namespace boost::numeric::ublas {
FILE: src/accelerator/ogl/util/shader.cpp
type caspar (line 29) | namespace caspar { namespace accelerator { namespace ogl {
type accelerator (line 29) | namespace accelerator { namespace ogl {
type ogl (line 29) | namespace ogl {
type shader::impl (line 31) | struct shader::impl
method impl (line 37) | impl(const impl&) = delete;
method impl (line 38) | impl& operator=(const impl&) = delete;
method impl (line 41) | impl(const std::string& vertex_source_str, const std::string& fr...
method GLint (line 104) | GLint get_uniform_location(const char* name)
method GLint (line 112) | GLint get_attrib_location(const char* name)
method set (line 120) | void set(const std::string& name, bool value) { set(name, value ...
method set (line 122) | void set(const std::string& name, int value) { GL(glUniform1i(ge...
method set (line 124) | void set(const std::string& name, float value) { GL(glUniform1f(...
method set (line 126) | void set(const std::string& name, double value0, double value1)
method set (line 130) | void set(const std::string& name, double value0, double value1, ...
method set (line 138) | void set(const std::string& name, double value)
method set_matrix3 (line 142) | void set_matrix3(const std::string& name, const float* value)
method use (line 147) | void use() { GL(glUseProgramObjectARB(program_)); }
function GLint (line 165) | GLint shader::get_attrib_location(const char* name) { return impl_...
FILE: src/accelerator/ogl/util/shader.h
function namespace (line 29) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/util/texture.cpp
type caspar (line 30) | namespace caspar { namespace accelerator { namespace ogl {
type accelerator (line 30) | namespace accelerator { namespace ogl {
type ogl (line 30) | namespace ogl {
type texture::impl (line 37) | struct texture::impl
method impl (line 46) | impl(const impl&) = delete;
method impl (line 47) | impl& operator=(const impl&) = delete;
method impl (line 50) | impl(int width, int height, int stride, common::bit_depth depth)
method bind (line 68) | void bind() { GL(glBindTexture(GL_TEXTURE_2D, id_)); }
method bind (line 70) | void bind(int index)
method unbind (line 76) | void unbind() { GL(glBindTexture(GL_TEXTURE_2D, 0)); }
method attach (line 78) | void attach() { GL(glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COL...
method clear (line 80) | void clear()
method copy_from (line 86) | void copy_from(int texture_id)
method copy_from (line 93) | void copy_from(buffer& src)
method copy_to (line 116) | void copy_to(buffer& dst)
function texture (line 134) | texture& texture::operator=(texture&& other)
FILE: src/accelerator/ogl/util/texture.h
function namespace (line 28) | namespace caspar { namespace accelerator { namespace ogl {
FILE: src/accelerator/ogl/util/transforms.cpp
type caspar::accelerator::ogl (line 7) | namespace caspar::accelerator::ogl {
function apply_transform_colour_values (line 44) | void apply_transform_colour_values(core::image_transform& self, const ...
function is_default_perspective (line 75) | bool is_default_perspective(const core::corners& perspective)
function draw_transforms (line 81) | draw_transforms draw_transforms::combine_transform(const core::image_t...
function apply_perspective_to_vertex (line 120) | void apply_perspective_to_vertex(t_point& vertex, const core::corners&...
type wrapped_vertex (line 142) | struct wrapped_vertex
method wrapped_vertex (line 144) | explicit wrapped_vertex(const core::frame_geometry::coord& coord)
method wrapped_vertex (line 156) | explicit wrapped_vertex() { vertex(2) = 1; }
method as_geometry (line 158) | [[nodiscard]] core::frame_geometry::coord as_geometry() const
function point_is_outside_of_line (line 176) | bool inline point_is_outside_of_line(const t_point& line_1,
function get_intersection_with_crop_line (line 187) | bool get_intersection_with_crop_line(const t_point& crop0,
function hypotenuse (line 212) | double hypotenuse(double x1, double y1, double x2, double y2)
function calc_q (line 220) | double calc_q(double close_diagonal, double distant_diagonal)
function crop_texture_for_vertex (line 225) | void crop_texture_for_vertex(const wrapped_vertex& line_a, const wrapp...
function fill_texture_q_for_quad (line 248) | void fill_texture_q_for_quad(std::vector<wrapped_vertex>& coords)
function transform_vertex (line 301) | void transform_vertex(const draw_transform_step& step, t_point& vertex)
FILE: src/accelerator/ogl/util/transforms.h
function namespace (line 15) | namespace caspar::accelerator::ogl {
FILE: src/accelerator/vulkan/image/image_kernel.cpp
type caspar::accelerator::vulkan (line 40) | namespace caspar::accelerator::vulkan {
function get_precision_factor (line 42) | float get_precision_factor(common::bit_depth depth)
function is_above_screen (line 57) | bool is_above_screen(double y) { return y < 0.0; }
function is_below_screen (line 59) | bool is_below_screen(double y) { return y > 1.0; }
function is_left_of_screen (line 61) | bool is_left_of_screen(double x) { return x < 0.0; }
function is_right_of_screen (line 63) | bool is_right_of_screen(double x) { return x > 1.0; }
function is_outside_screen (line 65) | bool is_outside_screen(const std::vector<core::frame_geometry::coord>&...
type image_kernel::impl (line 81) | struct image_kernel::impl
type frame_data (line 86) | struct frame_data : public frame_context
method frame_data (line 98) | explicit frame_data(image_kernel::impl* parent)
method upload_vertex_data (line 103) | virtual vk::Buffer upload_vertex_data(const std::vector<float>& src)
method draw_data (line 107) | virtual draw_data create_draw_data(const draw_params& params) { re...
method get_pipeline (line 108) | virtual std::shared_ptr<class pipeline> get_pipeline() { return pa...
method get_command_buffer (line 109) | virtual vk::CommandBuffer get_command_buffer() { ret...
method submit (line 110) | virtual void submit()
method create_attachment (line 117) | virtual std::shared_ptr<class texture>
method impl (line 127) | explicit impl(const spl::shared_ptr<device>& vulkan, common::bit_dep...
method create_renderpass (line 154) | spl::shared_ptr<renderpass> create_renderpass(uint32_t width, uint32...
method findDedicatedMemoryType (line 171) | uint32_t findDedicatedMemoryType(uint32_t typeMask, vk::MemoryProper...
method upload_vertex_buffer (line 182) | vk::Buffer upload_vertex_buffer(frame_data& vb, void* data, size_t s...
method draw (line 220) | std::pair<std::vector<core::frame_geometry::coord>, uniform_block> d...
FILE: src/accelerator/vulkan/image/image_kernel.h
function namespace (line 35) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/image/image_mixer.cpp
type caspar (line 50) | namespace caspar { namespace accelerator { namespace vulkan {
type accelerator (line 50) | namespace accelerator { namespace vulkan {
type vulkan (line 50) | namespace vulkan {
type item (line 54) | struct item
type layer (line 62) | struct layer
method layer (line 68) | explicit layer(core::blend_mode blend_mode)
class image_renderer (line 74) | class image_renderer
method image_renderer (line 82) | explicit image_renderer(const spl::shared_ptr<device>& vulkan, c...
method depth (line 120) | common::bit_depth depth() const { return depth_; }
method draw (line 123) | void draw(std::shared_ptr<texture>& target_texture,
method draw (line 136) | void draw(std::shared_ptr<texture>& target_texture,
method draw (line 179) | void draw(std::shared_ptr<texture>& target_texture,
method draw (line 234) | void draw(std::shared_ptr<texture>& target_texture,
type image_mixer::impl (line 258) | struct image_mixer::impl
method impl (line 271) | impl(const spl::shared_ptr<device>& device,
method update_aspect_ratio (line 282) | void update_aspect_ratio(double aspect_ratio) { aspect_ratio_ = ...
method push (line 284) | void push(const core::frame_transform& transform)
method visit (line 305) | void visit(const core::const_frame& frame)
method pop (line 335) | void pop()
method render (line 341) | std::future<std::tuple<array<const std::uint8_t>, std::shared_pt...
method create_frame (line 347) | core::mutable_frame create_frame(const void* tag, const core::pi...
method create_frame (line 352) | core::mutable_frame
method import_d3d_texture (line 384) | core::const_frame import_d3d_texture(const void* ...
method depth (line 393) | common::bit_depth depth() const { return renderer_.depth(); }
FILE: src/accelerator/vulkan/image/image_mixer.h
function namespace (line 35) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/buffer.cpp
type caspar (line 35) | namespace caspar { namespace accelerator { namespace vulkan {
type accelerator (line 35) | namespace accelerator { namespace vulkan {
type vulkan (line 35) | namespace vulkan {
type buffer::impl (line 42) | struct buffer::impl
method impl (line 53) | impl(const impl&) = delete;
method impl (line 54) | impl& operator=(const impl&) = delete;
method impl (line 57) | impl(int size, bool write, VmaAllocator allocator)
function buffer (line 96) | buffer& buffer::operator=(buffer&& other)
function VkBuffer (line 104) | VkBuffer buffer::id() const { return impl_->buf; }
FILE: src/accelerator/vulkan/util/buffer.h
function namespace (line 29) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/device.cpp
type caspar (line 61) | namespace caspar { namespace accelerator { namespace vulkan {
type accelerator (line 61) | namespace accelerator { namespace vulkan {
type vulkan (line 61) | namespace vulkan {
function VKAPI_ATTR (line 65) | inline VKAPI_ATTR VkBool32 VKAPI_CALL default_debug_callback(VkDeb...
function transitionImageLayout (line 87) | void transitionImageLayout(const vk::Image& image,
type device::impl (line 114) | struct device::impl : public std::enable_shared_from_this<impl>
type inflight_command_buffer (line 136) | struct inflight_command_buffer
method impl (line 149) | impl()
method spawn_async (line 298) | auto spawn_async(Func&& func)
method dispatch_async (line 319) | auto dispatch_async(Func&& func)
method dispatch_sync (line 331) | auto dispatch_sync(Func&& func) -> decltype(func())
method version (line 336) | std::wstring version() { return version_; }
method findDedicatedMemoryType (line 338) | uint32_t findDedicatedMemoryType(uint32_t typeMask, vk::MemoryPr...
method submitSingleTimeCommands (line 349) | uint64_t submitSingleTimeCommands(std::function<void(const vk::C...
method allocateCommandBuffers (line 392) | std::vector<vk::CommandBuffer> allocateCommandBuffers(uint32_t c...
method submit (line 397) | void submit(const vk::SubmitInfo& submitInfo, vk::Fence fence) {...
method create_attachment (line 399) | std::shared_ptr<texture>
method create_texture (line 467) | std::shared_ptr<texture> create_texture(int width, int height, i...
method create_buffer (line 529) | std::shared_ptr<buffer> create_buffer(int size, bool write)
method create_array (line 548) | array<uint8_t> create_array(int size)
method copy_async (line 555) | std::future<std::shared_ptr<texture>>
method copy_async (line 608) | std::future<array<const uint8_t>> copy_async(const std::shared_p...
method info (line 658) | boost::property_tree::wptree info() const
method gc (line 744) | std::future<void> gc()
FILE: src/accelerator/vulkan/util/device.h
function namespace (line 34) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/draw_params.h
function namespace (line 31) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/matrix.cpp
type caspar::accelerator::vulkan (line 17) | namespace caspar::accelerator::vulkan {
function t_matrix (line 19) | t_matrix create_matrix(std::vector<std::vector<double>> data)
function t_matrix (line 35) | t_matrix get_vertex_matrix(const core::image_transform& transform, dou...
FILE: src/accelerator/vulkan/util/matrix.h
function namespace (line 8) | namespace caspar::accelerator::vulkan {
function namespace (line 18) | namespace boost::numeric::ublas {
FILE: src/accelerator/vulkan/util/pipeline.cpp
type caspar (line 34) | namespace caspar { namespace accelerator { namespace vulkan {
type accelerator (line 34) | namespace accelerator { namespace vulkan {
type vulkan (line 34) | namespace vulkan {
function create_shader_program (line 36) | std::vector<vk::PipelineShaderStageCreateInfo> create_shader_progr...
function get_attribute_descriptions (line 62) | std::array<vk::VertexInputAttributeDescription, 2> get_attribute_d...
type pipeline::impl (line 73) | struct pipeline::impl
method impl (line 89) | impl(const impl&) = delete;
method impl (line 90) | impl& operator=(const impl&) = delete;
method setup_descriptors (line 92) | void setup_descriptors()
method setup_sampler (line 141) | void setup_sampler()
method impl (line 170) | impl(vk::Device device, vk::Format format)
method acquire_descriptor_set (line 267) | vk::DescriptorSet acquire_descriptor_set(const std::array<vk::Im...
method draw (line 317) | void draw(vk::CommandBuffer commandBuffer,
FILE: src/accelerator/vulkan/util/pipeline.h
function namespace (line 26) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/renderpass.cpp
type caspar (line 28) | namespace caspar { namespace accelerator { namespace vulkan {
type accelerator (line 28) | namespace accelerator { namespace vulkan {
type vulkan (line 28) | namespace vulkan {
FILE: src/accelerator/vulkan/util/renderpass.h
function namespace (line 34) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/texture.cpp
type caspar (line 28) | namespace caspar { namespace accelerator { namespace vulkan {
type accelerator (line 28) | namespace accelerator { namespace vulkan {
type vulkan (line 28) | namespace vulkan {
type texture::impl (line 30) | struct texture::impl
method impl (line 42) | impl(const impl&) = delete;
method impl (line 43) | impl& operator=(const impl&) = delete;
method impl (line 46) | impl(int width,
function texture (line 90) | texture& texture::operator=(texture&& other)
function VkImage (line 104) | VkImage texture::id() const { return impl_->image_; }
FILE: src/accelerator/vulkan/util/texture.h
function namespace (line 29) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/accelerator/vulkan/util/transforms.cpp
type caspar::accelerator::vulkan (line 6) | namespace caspar::accelerator::vulkan {
function apply_transform_colour_values (line 43) | void apply_transform_colour_values(core::image_transform& self, const ...
function is_default_perspective (line 74) | bool is_default_perspective(const core::corners& perspective)
function draw_transforms (line 80) | draw_transforms draw_transforms::combine_transform(const core::image_t...
function apply_perspective_to_vertex (line 119) | void apply_perspective_to_vertex(t_point& vertex, const core::corners&...
type wrapped_vertex (line 141) | struct wrapped_vertex
method wrapped_vertex (line 143) | explicit wrapped_vertex(const core::frame_geometry::coord& coord)
method wrapped_vertex (line 155) | explicit wrapped_vertex() { vertex(2) = 1; }
method as_geometry (line 157) | [[nodiscard]] core::frame_geometry::coord as_geometry() const
function point_is_to_left_of_line (line 175) | bool inline point_is_to_left_of_line(const t_point& line_1, const t_po...
function get_intersection_with_crop_line (line 183) | bool get_intersection_with_crop_line(const t_point& crop0,
function hypotenuse (line 208) | double hypotenuse(double x1, double y1, double x2, double y2)
function calc_q (line 216) | double calc_q(double close_diagonal, double distant_diagonal)
function crop_texture_for_vertex (line 221) | void crop_texture_for_vertex(const wrapped_vertex& line_a, const wrapp...
function fill_texture_q_for_quad (line 244) | void fill_texture_q_for_quad(std::vector<wrapped_vertex>& coords)
function transform_vertex (line 297) | void transform_vertex(const draw_transform_step& step, t_point& vertex)
FILE: src/accelerator/vulkan/util/transforms.h
function namespace (line 15) | namespace caspar::accelerator::vulkan {
FILE: src/accelerator/vulkan/util/uniform_block.h
function namespace (line 24) | namespace caspar { namespace accelerator { namespace vulkan {
FILE: src/common/array.h
function namespace (line 10) | namespace caspar {
function T (line 153) | const T* begin() const { return ptr_; }
function T (line 154) | const T* data() const { return ptr_; }
function T (line 155) | const T* end() const { return ptr_ + size_; }
function namespace (line 174) | namespace std {
FILE: src/common/base64.cpp
type caspar (line 37) | namespace caspar {
function to_base64 (line 39) | std::string to_base64(const char* data, size_t length)
function from_base64 (line 65) | std::vector<unsigned char> from_base64(const std::string& data)
FILE: src/common/base64.h
function namespace (line 27) | namespace caspar {
FILE: src/common/bit_depth.h
function namespace (line 6) | namespace caspar { namespace common {
FILE: src/common/diagnostics/graph.cpp
type caspar (line 26) | namespace caspar { namespace diagnostics {
type diagnostics (line 26) | namespace diagnostics {
function color (line 28) | int color(float r, float g, float b, float a)
function color (line 38) | std::tuple<float, float, float, float> color(int code)
function create_sinks (line 51) | std::vector<spl::shared_ptr<spi::graph_sink>> create_sinks()
type graph::impl (line 62) | struct graph::impl
method impl (line 67) | impl() {}
method activate (line 69) | void activate()
method set_text (line 75) | void set_text(const std::wstring& value)
method set_value (line 81) | void set_value(const std::string& name, double value)
method set_tag (line 87) | void set_tag(tag_severity severity, const std::string& name)
method set_color (line 93) | void set_color(const std::string& name, int color)
method auto_reset (line 99) | void auto_reset()
function register_graph (line 121) | void register_graph(const spl::shared_ptr<graph>& graph) { graph->im...
type spi (line 123) | namespace spi {
function register_sink_factory (line 125) | void register_sink_factory(sink_factory_t factory)
FILE: src/common/diagnostics/graph.h
function namespace (line 30) | namespace caspar { namespace diagnostics {
FILE: src/common/endian.h
function namespace (line 28) | namespace caspar {
FILE: src/common/enum_class.h
function namespace (line 42) | namespace caspar {
FILE: src/common/env.cpp
type caspar (line 38) | namespace caspar { namespace env {
type env (line 38) | namespace env {
function check_is_configured (line 48) | void check_is_configured()
function resolve_or_create (line 54) | std::wstring resolve_or_create(const std::wstring& folder)
function ensure_writable (line 70) | void ensure_writable(const std::wstring& folder)
function configure (line 87) | void configure(const std::wstring& filename)
function log_to_file (line 157) | bool log_to_file()
function log_configuration_warnings (line 191) | void log_configuration_warnings()
FILE: src/common/env.h
function namespace (line 28) | namespace caspar { namespace env {
FILE: src/common/except.h
function namespace (line 40) | namespace caspar {
FILE: src/common/executor.h
function namespace (line 34) | namespace caspar {
FILE: src/common/filesystem.cpp
type caspar (line 31) | namespace caspar {
function probe_path (line 33) | std::optional<boost::filesystem::path>
function find_file_within_dir_or_absolute (line 62) | std::optional<boost::filesystem::path>
function get_relative (line 79) | boost::filesystem::path get_relative(const boost::filesystem::path& fi...
function get_relative_without_extension (line 103) | boost::filesystem::path get_relative_without_extension(const boost::fi...
FILE: src/common/filesystem.h
function namespace (line 28) | namespace caspar {
FILE: src/common/future.h
function namespace (line 7) | namespace caspar {
FILE: src/common/gl/gl_check.cpp
type caspar (line 31) | namespace caspar { namespace gl {
type gl (line 31) | namespace gl {
function SMFL_GLCheckError (line 33) | void SMFL_GLCheckError(const std::string& /*unused*/, const char* fu...
FILE: src/common/gl/gl_check.h
function namespace (line 29) | namespace caspar { namespace gl {
FILE: src/common/log.cpp
type caspar (line 56) | namespace caspar { namespace log {
type log (line 56) | namespace log {
function current_exception_diagnostic_information (line 60) | std::string current_exception_diagnostic_information()
function append_timestamp (line 91) | void append_timestamp(Stream& stream, boost::posix_time::ptime times...
class column_writer (line 107) | class column_writer
method column_writer (line 112) | explicit column_writer(int initial_width = 0)
method write (line 118) | void write(Stream& out, const Val& value)
function my_formatter (line 147) | void my_formatter(bool print_all_characters, const boost::log::recor...
function add_file_sink (line 173) | void add_file_sink(const std::wstring& file)
function add_cout_sink (line 196) | void add_cout_sink()
function set_log_level (line 218) | bool set_log_level(const std::wstring& lvl)
function set_log_column_alignment (line 242) | void set_log_column_alignment(bool align_columns) { current_config.a...
FILE: src/common/log.h
function namespace (line 41) | namespace caspar { namespace log {
FILE: src/common/memory.h
function namespace (line 28) | namespace caspar { namespace spl {
function p_ (line 377) | p_(p)
FILE: src/common/memshfl.h
function namespace (line 36) | namespace caspar {
FILE: src/common/os/filesystem.h
function namespace (line 27) | namespace caspar {
FILE: src/common/os/linux/filesystem.cpp
type caspar (line 31) | namespace caspar {
function find_case_insensitive (line 33) | std::optional<std::wstring> find_case_insensitive(const std::wstring& ...
function clean_path (line 71) | std::wstring clean_path(std::wstring path)
function ensure_trailing_slash (line 79) | std::wstring ensure_trailing_slash(std::wstring folder)
FILE: src/common/os/linux/prec_timer.cpp
type caspar (line 32) | namespace caspar {
FILE: src/common/os/linux/thread.cpp
type caspar (line 6) | namespace caspar {
function set_thread_name (line 8) | void set_thread_name(const std::wstring& name) { pthread_setname_np(pt...
function set_thread_realtime_priority (line 10) | void set_thread_realtime_priority()
FILE: src/common/os/thread.h
function namespace (line 5) | namespace caspar {
FILE: src/common/os/windows/filesystem.cpp
type caspar (line 29) | namespace caspar {
function find_case_insensitive (line 31) | std::optional<std::wstring> find_case_insensitive(const std::wstring& ...
function clean_path (line 39) | std::wstring clean_path(std::wstring path) { return path; }
function ensure_trailing_slash (line 41) | std::wstring ensure_trailing_slash(std::wstring folder)
FILE: src/common/os/windows/prec_timer.cpp
type caspar (line 30) | namespace caspar {
FILE: src/common/os/windows/thread.cpp
type caspar (line 9) | namespace caspar {
type tagTHREADNAME_INFO (line 11) | struct tagTHREADNAME_INFO
function SetThreadName (line 19) | inline void SetThreadName(DWORD dwThreadID, LPCSTR szThreadName)
function set_thread_name (line 34) | void set_thread_name(const std::wstring& name) { SetThreadName(GetCurr...
function set_thread_realtime_priority (line 36) | void set_thread_realtime_priority() { SetThreadPriority(GetCurrentThre...
FILE: src/common/param.h
function namespace (line 11) | namespace caspar {
FILE: src/common/prec_timer.h
function namespace (line 26) | namespace caspar {
FILE: src/common/ptree.h
function namespace (line 34) | namespace caspar {
function increment (line 99) | void increment() { ++wrapped_; }
function equal (line 101) | bool equal(const scoped_const_iterator& other) const { return wrapped_ =...
function child_ (line 109) | scope_aware_ptree_child_range(const Ptree& parent, const typename Ptree:...
function explicit (line 124) | explicit iterate_children_tag(Key val_)
function result_type (line 146) | result_type operator()(result_type pair) const { return pair; }
FILE: src/common/scope_exit.h
function namespace (line 5) | namespace caspar {
FILE: src/common/timer.h
function namespace (line 26) | namespace caspar {
FILE: src/common/tweener.cpp
type caspar (line 63) | namespace caspar {
function ease_none (line 70) | double ease_none(double t, double b, double c, double d, const std::ve...
function ease_in_quad (line 72) | double ease_in_quad(double t, double b, double c, double d, const std:...
function ease_out_quad (line 78) | double ease_out_quad(double t, double b, double c, double d, const std...
function ease_in_out_quad (line 84) | double ease_in_out_quad(double t, double b, double c, double d, const ...
function ease_out_in_quad (line 93) | double ease_out_in_quad(double t, double b, double c, double d, const ...
function ease_in_cubic (line 101) | double ease_in_cubic(double t, double b, double c, double d, const std...
function ease_out_cubic (line 107) | double ease_out_cubic(double t, double b, double c, double d, const st...
function ease_in_out_cubic (line 113) | double ease_in_out_cubic(double t, double b, double c, double d, const...
function ease_out_in_cubic (line 123) | double ease_out_in_cubic(double t, double b, double c, double d, const...
function ease_in_quart (line 130) | double ease_in_quart(double t, double b, double c, double d, const std...
function ease_out_quart (line 136) | double ease_out_quart(double t, double b, double c, double d, const st...
function ease_in_out_quart (line 142) | double ease_in_out_quart(double t, double b, double c, double d, const...
function ease_out_in_quart (line 152) | double ease_out_in_quart(double t, double b, double c, double d, const...
function ease_in_quint (line 160) | double ease_in_quint(double t, double b, double c, double d, const std...
function ease_out_quint (line 166) | double ease_out_quint(double t, double b, double c, double d, const st...
function ease_in_out_quint (line 172) | double ease_in_out_quint(double t, double b, double c, double d, const...
function ease_out_in_quint (line 182) | double ease_out_in_quint(double t, double b, double c, double d, const...
function ease_in_sine (line 190) | double ease_in_sine(double t, double b, double c, double d, const std:...
function ease_out_sine (line 195) | double ease_out_sine(double t, double b, double c, double d, const std...
function ease_in_out_sine (line 200) | double ease_in_out_sine(double t, double b, double c, double d, const ...
function ease_out_in_sine (line 205) | double ease_out_in_sine(double t, double b, double c, double d, const ...
function ease_in_expo (line 213) | double ease_in_expo(double t, double b, double c, double d, const std:...
function ease_out_expo (line 218) | double ease_out_expo(double t, double b, double c, double d, const std...
function ease_in_out_expo (line 223) | double ease_in_out_expo(double t, double b, double c, double d, const ...
function ease_out_in_expo (line 236) | double ease_out_in_expo(double t, double b, double c, double d, const ...
function ease_in_circ (line 244) | double ease_in_circ(double t, double b, double c, double d, const std:...
function ease_out_circ (line 250) | double ease_out_circ(double t, double b, double c, double d, const std...
function ease_in_out_circ (line 256) | double ease_in_out_circ(double t, double b, double c, double d, const ...
function ease_out_in_circ (line 266) | double ease_out_in_circ(double t, double b, double c, double d, const ...
function ease_in_elastic (line 273) | double ease_in_elastic(double t, double b, double c, double d, const s...
function ease_out_elastic (line 296) | double ease_out_elastic(double t, double b, double c, double d, const ...
function ease_in_out_elastic (line 318) | double ease_in_out_elastic(double t, double b, double c, double d, con...
function ease_out_in_elastic (line 343) | double ease_out_in_elastic(double t, double b, double c, double d, con...
function ease_in_back (line 350) | double ease_in_back(double t, double b, double c, double d, const std:...
function ease_out_back (line 358) | double ease_out_back(double t, double b, double c, double d, const std...
function ease_in_out_back (line 366) | double ease_in_out_back(double t, double b, double c, double d, const ...
function ease_out_int_back (line 378) | double ease_out_int_back(double t, double b, double c, double d, const...
function ease_out_bounce (line 385) | double ease_out_bounce(double t, double b, double c, double d, const s...
function ease_in_bounce (line 402) | double ease_in_bounce(double t, double b, double c, double d, const st...
function ease_in_out_bounce (line 407) | double ease_in_out_bounce(double t, double b, double c, double d, cons...
function ease_out_in_bounce (line 414) | double ease_out_in_bounce(double t, double b, double c, double d, cons...
function tweener_t (line 472) | tweener_t get_tweener(std::wstring name)
FILE: src/common/tweener.h
function namespace (line 28) | namespace caspar {
FILE: src/common/utf.cpp
type caspar (line 25) | namespace caspar {
function u16 (line 27) | std::wstring u16(const std::string& str)
function u16 (line 32) | std::wstring u16(const std::wstring& str) { return str; }
function u8 (line 34) | std::string u8(const std::wstring& str)
function u8 (line 39) | std::string u8(const std::string& str) { return str; }
FILE: src/common/utf.h
function namespace (line 26) | namespace caspar {
FILE: src/core/consumer/channel_info.h
function namespace (line 27) | namespace caspar::core {
FILE: src/core/consumer/frame_consumer.cpp
type caspar (line 33) | namespace caspar { namespace core {
type core (line 33) | namespace core {
class empty_frame_consumer (line 37) | class empty_frame_consumer : public frame_consumer
method send (line 40) | std::future<bool> send(const core::video_field field, const_frame)...
method initialize (line 41) | void initialize(const video_format_desc&, const core:...
method print (line 42) | std::wstring print() const override { return L"empty"; }
method name (line 43) | std::wstring name() const override { return L"empty"; }
method has_synchronization_clock (line 44) | bool has_synchronization_clock() const override { ret...
method index (line 45) | int index() const override { return -1; }
method state (line 46) | core::monitor::state state() const override
FILE: src/core/consumer/frame_consumer.h
function namespace (line 40) | namespace caspar { namespace core {
FILE: src/core/consumer/frame_consumer_registry.cpp
type caspar (line 36) | namespace caspar { namespace core {
type core (line 36) | namespace core {
function destroy_consumers_synchronously (line 45) | void destroy_consumers_synchronously() { destroy_consumers_in_separa...
class destroy_consumer_proxy (line 47) | class destroy_consumer_proxy : public frame_consumer
method destroy_consumer_proxy (line 52) | destroy_consumer_proxy(spl::shared_ptr<frame_consumer>&& consumer)
method send (line 89) | std::future<bool> send(const core::video_field field, const_frame ...
method initialize (line 93) | void
method call (line 98) | std::future<bool> call(const std::vector<std::wstring>& params)...
method print (line 99) | std::wstring print() const override { return consumer_->pr...
method name (line 100) | std::wstring name() const override { return consumer_->nam...
method has_synchronization_clock (line 101) | bool has_synchronization_clock() const override { ...
method index (line 102) | int index() const override { return consumer_->in...
method state (line 103) | core::monitor::state state() const override { return consumer_->st...
class print_consumer_proxy (line 106) | class print_consumer_proxy : public frame_consumer
method print_consumer_proxy (line 111) | print_consumer_proxy(spl::shared_ptr<frame_consumer>&& consumer)
method send (line 124) | std::future<bool> send(const core::video_field field, const_frame ...
method initialize (line 128) | void
method call (line 134) | std::future<bool> call(const std::vector<std::wstring>& params)...
method print (line 135) | std::wstring print() const override { return consumer_->pr...
method name (line 136) | std::wstring name() const override { return consumer_->nam...
method has_synchronization_clock (line 137) | bool has_synchronization_clock() const override { ...
method index (line 138) | int index() const override { return consumer_->in...
method state (line 139) | core::monitor::state state() const override { return consumer_->st...
FILE: src/core/consumer/frame_consumer_registry.h
function namespace (line 41) | namespace caspar { namespace core {
FILE: src/core/consumer/output.cpp
type caspar (line 40) | namespace caspar { namespace core {
type core (line 40) | namespace core {
type output::impl (line 44) | struct output::impl
method impl (line 57) | impl(const spl::shared_ptr<diagnostics::graph>& graph,
method add (line 66) | void add(int index, spl::shared_ptr<frame_consumer> consumer)
method add (line 76) | void add(const spl::shared_ptr<frame_consumer>& consumer) { add(co...
method remove (line 78) | bool remove(int index)
method remove (line 85) | bool remove(const spl::shared_ptr<frame_consumer>& consumer) { ret...
method call (line 87) | std::future<bool> call(int index, const std::vector<std::wstring>&...
method consumer_count (line 103) | size_t consumer_count()
method print (line 230) | std::wstring print() const { return L"output[" + std::to_wstring(c...
FILE: src/core/consumer/output.h
function namespace (line 32) | namespace caspar::diagnostics {
function namespace (line 36) | namespace caspar { namespace core {
FILE: src/core/diagnostics/call_context.cpp
type caspar (line 26) | namespace caspar { namespace core { namespace diagnostics {
type core (line 26) | namespace core { namespace diagnostics {
type diagnostics (line 26) | namespace diagnostics {
function call_context (line 30) | call_context& call_context::for_thread() { return context; }
FILE: src/core/diagnostics/call_context.h
function namespace (line 26) | namespace caspar { namespace core { namespace diagnostics {
FILE: src/core/diagnostics/osd_graph.cpp
type caspar (line 50) | namespace caspar { namespace core { namespace diagnostics { namespace osd {
type core (line 50) | namespace core { namespace diagnostics { namespace osd {
type diagnostics (line 50) | namespace diagnostics { namespace osd {
type osd (line 50) | namespace osd {
function register_sink (line 54) | void register_sink() {}
function show_graphs (line 55) | void show_graphs(bool value) {}
function shutdown (line 56) | void shutdown() {}
function get_sfml_color (line 64) | sf::Color get_sfml_color(int color)
type drawable (line 98) | struct drawable
method draw (line 105) | void draw(sf::RenderTarget& target, sf::RenderStates states) c...
class context (line 112) | class context : public drawable
method register_drawable (line 127) | static void register_drawable(const std::shared_ptr<drawable>&...
method show (line 135) | static void show(bool value)
method shutdown (line 140) | static void shutdown() { get_instance().reset(); }
method context (line 143) | context() {}
method do_show (line 145) | void do_show(bool value)
method tick (line 166) | void tick()
method render (line 235) | void render(sf::RenderTarget& target, sf::RenderStates states)...
method do_register_drawable (line 251) | void do_register_drawable(const std::shared_ptr<drawable>& dra...
class line (line 270) | class line : public drawable
method line (line 283) | line()
method line (line 290) | line(const line& other)
method set_value (line 301) | void set_value(float value) { tick_data_ = value; }
method set_tag (line 303) | void set_tag() { tick_tag_ = true; }
method set_color (line 305) | void set_color(int color) { color_ = color; }
method get_color (line 307) | int get_color() { return color_; }
method render (line 309) | void render(sf::RenderTarget& target, sf::RenderStates states)...
method get_insertion_xcoord (line 373) | double get_insertion_xcoord() const { return line_data_.empty(...
type graph (line 376) | struct graph
method graph (line 388) | graph() {}
method activate (line 390) | void activate() override { context::register_drawable(shared_f...
method set_text (line 392) | void set_text(const std::wstring& value) override
method set_value (line 399) | void set_value(const std::string& name, double value) override
method set_tag (line 404) | void set_tag(caspar::diagnostics::tag_severity /*severity*/, c...
method set_color (line 409) | void set_color(const std::string& name, int color) override { ...
method auto_reset (line 411) | void auto_reset() override
method render (line 418) | void render(sf::RenderTarget& target, sf::RenderStates states)...
function register_sink (line 513) | void register_sink()
function show_graphs (line 518) | void show_graphs(bool value) { context::show(value); }
function shutdown (line 520) | void shutdown() { context::shutdown(); }
FILE: src/core/diagnostics/osd_graph.h
function namespace (line 24) | namespace caspar { namespace core { namespace diagnostics { namespace osd {
FILE: src/core/frame/draw_frame.cpp
type caspar (line 29) | namespace caspar { namespace core {
type core (line 29) | namespace core {
type draw_frame::impl (line 33) | struct draw_frame::impl
method impl (line 39) | impl() {}
method impl (line 41) | impl(frame_t frame)
method accept (line 46) | void accept(frame_visitor& visitor) const
function draw_frame (line 104) | draw_frame& draw_frame::operator=(draw_frame other)
function frame_transform (line 110) | const frame_transform& draw_frame::transform() const { return impl_-...
function frame_transform (line 111) | frame_transform& draw_frame::transform() { return impl_->trans...
function draw_frame (line 116) | draw_frame draw_frame::over(draw_frame frame1, draw_frame frame2)
function draw_frame (line 128) | draw_frame draw_frame::mask(draw_frame fill, draw_frame key)
function draw_frame (line 141) | draw_frame draw_frame::push(draw_frame frame)
function draw_frame (line 148) | draw_frame draw_frame::push(draw_frame frame, const frame_transform&...
function draw_frame (line 157) | draw_frame draw_frame::pop(const draw_frame& frame)
function draw_frame (line 164) | draw_frame draw_frame::still(draw_frame frame)
function draw_frame (line 171) | draw_frame draw_frame::empty() { return draw_frame(std::vector<draw_...
FILE: src/core/frame/draw_frame.h
function namespace (line 26) | namespace caspar { namespace core {
FILE: src/core/frame/frame.cpp
type caspar (line 33) | namespace caspar { namespace core {
type core (line 33) | namespace core {
type mutable_frame::impl (line 35) | struct mutable_frame::impl
method impl (line 44) | impl(const impl&) = delete;
method impl (line 45) | impl& operator=(const impl&) = delete;
method impl (line 47) | impl(const void* tag,
function mutable_frame (line 74) | mutable_frame& mutable_frame::operator=(mutable_frame&& other)
function frame_geometry (line 88) | const frame_geometry& mutable_frame::geometry() const { return ...
function frame_geometry (line 89) | frame_geometry& mutable_frame::geometry() { return impl_-...
type const_frame::impl (line 91) | struct const_frame::impl
method impl (line 101) | impl(const void* tag,
method impl (line 117) | impl(mutable_frame&& other)
method texture (line 136) | std::shared_ptr<core::texture> texture() { return texture_; }
method width (line 138) | std::size_t width() const { return desc_.planes.at(0).width; }
method height (line 140) | std::size_t height() const { return desc_.planes.at(0).height; }
method size (line 142) | std::size_t size() const { return desc_.planes.at(0).size; }
function const_frame (line 163) | const_frame& const_frame::operator=(const const_frame& other)
function pixel_format_desc (line 172) | const pixel_format_desc& const_frame::pixel_format_desc() const { re...
function const_frame (line 180) | const_frame const_frame::with_tag(const void* n...
function frame_geometry (line 197) | const frame_geometry& const_frame::geometry() const { return impl_->...
FILE: src/core/frame/frame.h
function namespace (line 12) | namespace caspar { namespace core {
FILE: src/core/frame/frame_factory.h
function namespace (line 29) | namespace caspar::accelerator::d3d {
function namespace (line 34) | namespace caspar { namespace core {
FILE: src/core/frame/frame_transform.cpp
type caspar (line 29) | namespace caspar { namespace core {
type core (line 29) | namespace core {
function do_tween (line 31) | double do_tween(double time, double source, double dest, double dura...
function do_tween_rectangle (line 37) | void do_tween_rectangle(const Rect& source,
function do_tween_corners (line 50) | void do_tween_corners(const corners& source,
function image_transform (line 65) | image_transform image_transform::tween(double time,
function eq (line 118) | bool eq(double lhs, double rhs) { return std::abs(lhs - rhs) < 5e-8; }
function audio_transform (line 156) | audio_transform& audio_transform::operator*=(const audio_transform& ...
function audio_transform (line 162) | audio_transform audio_transform::operator*(const audio_transform& ot...
function audio_transform (line 167) | audio_transform audio_transform::tween(double time,
function frame_transform (line 186) | frame_transform frame_transform::tween(double time,
function frame_transform (line 218) | const frame_transform& tweened_transform::dest() const { return dest...
function frame_transform (line 220) | frame_transform tweened_transform::fetch()
function get_chroma_mode (line 230) | std::optional<chroma::legacy_type> get_chroma_mode(const std::wstrin...
FILE: src/core/frame/frame_transform.h
function namespace (line 31) | namespace caspar { namespace core {
FILE: src/core/frame/frame_visitor.h
function namespace (line 24) | namespace caspar { namespace core {
FILE: src/core/frame/geometry.cpp
type caspar (line 25) | namespace caspar { namespace core {
type core (line 25) | namespace core {
type frame_geometry::impl (line 41) | struct frame_geometry::impl
method impl (line 43) | impl(frame_geometry::geometry_type type, frame_geometry::scale_mod...
function frame_geometry (line 67) | const frame_geometry frame_geometry::get_default(scale_mode mode)
function frame_geometry (line 78) | const frame_geometry frame_geometry::get_default_vflip(scale_mode mode)
function scale_mode_from_string (line 90) | frame_geometry::scale_mode scale_mode_from_string(const std::wstring...
function scale_mode_to_string (line 108) | std::wstring scale_mode_to_string(frame_geometry::scale_mode mode)
FILE: src/core/frame/geometry.h
type class (line 33) | enum class
function scale_mode (line 38) | enum class scale_mode
FILE: src/core/frame/pixel_format.h
type class (line 30) | enum class
function color_space (line 49) | enum class color_space
FILE: src/core/fwd.h
function namespace (line 23) | namespace caspar::accelerator {
function namespace (line 26) | namespace caspar::accelerator::ogl {
function namespace (line 30) | namespace caspar::core {
FILE: src/core/mixer/audio/audio_mixer.cpp
type caspar (line 40) | namespace caspar { namespace core {
type core (line 40) | namespace core {
type audio_item (line 44) | struct audio_item
type audio_mixer::impl (line 53) | struct audio_mixer::impl
method impl (line 69) | impl(spl::shared_ptr<diagnostics::graph> graph)
method impl (line 78) | impl(const impl&) = delete;
method impl (line 79) | impl& operator=(const impl&) = delete;
method push (line 81) | void push(const frame_transform& transform)
method visit (line 86) | void visit(const const_frame& frame)
method pop (line 94) | void pop() { transform_stack_.pop(); }
method set_master_volume (line 96) | void set_master_volume(float volume) { master_volume_ = volume; }
method get_master_volume (line 98) | float get_master_volume() { return master_volume_; }
method mix (line 100) | array<const int32_t> mix(const video_format_desc& format_desc, int...
FILE: src/core/mixer/audio/audio_mixer.h
function namespace (line 33) | namespace caspar::diagnostics {
function namespace (line 37) | namespace caspar { namespace core {
FILE: src/core/mixer/audio/audio_util.h
function namespace (line 28) | namespace caspar { namespace core {
FILE: src/core/mixer/image/blend_modes.cpp
type caspar (line 28) | namespace caspar { namespace core {
type core (line 28) | namespace core {
function blend_mode (line 30) | blend_mode get_blend_mode(const std::wstring& str)
function get_blend_mode (line 94) | std::wstring get_blend_mode(blend_mode mode)
FILE: src/core/mixer/image/blend_modes.h
function namespace (line 26) | namespace caspar { namespace core {
FILE: src/core/mixer/image/image_mixer.h
function namespace (line 32) | namespace caspar { namespace core {
FILE: src/core/mixer/mixer.cpp
type caspar (line 42) | namespace caspar { namespace core {
type core (line 42) | namespace core {
type mixer::impl (line 44) | struct mixer::impl
method impl (line 53) | impl(const impl&) = delete;
method impl (line 54) | impl& operator=(const impl&) = delete;
method impl (line 56) | impl(int channel_index, spl::shared_ptr<diagnostics::graph> graph,...
method const_frame (line 63) | const_frame operator()(std::vector<draw_frame> frames, const video...
method set_master_volume (line 106) | void set_master_volume(float volume) { audio_mixer_.set_master_vol...
method get_master_volume (line 108) | float get_master_volume() { return audio_mixer_.get_master_volume(...
function const_frame (line 117) | const_frame mixer::operator()(std::vector<draw_frame> frames, const ...
function mutable_frame (line 121) | mutable_frame mixer::create_frame(const void* tag, const pixel_forma...
FILE: src/core/mixer/mixer.h
function namespace (line 30) | namespace caspar::diagnostics {
function namespace (line 34) | namespace caspar { namespace core {
FILE: src/core/module_dependencies.h
function namespace (line 30) | namespace caspar::protocol::amcp {
type module_dependencies (line 36) | struct module_dependencies
FILE: src/core/monitor/monitor.h
function namespace (line 33) | namespace caspar { namespace core { namespace monitor {
FILE: src/core/producer/cg_proxy.cpp
type caspar (line 41) | namespace caspar { namespace core {
type core (line 41) | namespace core {
class empty_proxy (line 45) | class empty_proxy : public cg_proxy
method add (line 47) | void add(int, const std::wstring&, bool, const std::wstrin...
method remove (line 48) | void remove(int) override {}
method play (line 49) | void play(int) override {}
method stop (line 50) | void stop(int) override {}
method next (line 51) | void next(int) override {}
method update (line 52) | void update(int, const std::wstring&) override {}
method invoke (line 53) | std::wstring invoke(int, const std::wstring&) override { return L"...
type cg_producer_registry::impl (line 60) | struct cg_producer_registry::impl
type record (line 63) | struct record
method register_cg_producer (line 75) | void register_cg_producer(std::wstring cg_producer_name,
method create_producer (line 93) | spl::shared_ptr<frame_producer> create_producer(const frame_produc...
method get_proxy (line 104) | spl::shared_ptr<cg_proxy> get_proxy(const spl::shared_ptr<frame_pr...
method get_proxy (line 118) | spl::shared_ptr<cg_proxy> get_proxy(const spl::shared_ptr<video_ch...
method get_or_create_proxy (line 125) | spl::shared_ptr<cg_proxy> get_or_create_proxy(const spl::shared_pt...
method is_cg_extension (line 157) | bool is_cg_extension(const std::wstring& extension) const
method get_cg_producer_name (line 164) | std::wstring get_cg_producer_name(const std::wstring& filename) const
method find_record (line 175) | std::optional<record> find_record(const std::wstring& filename) const
FILE: src/core/producer/cg_proxy.h
function namespace (line 32) | namespace caspar { namespace core {
FILE: src/core/producer/color/color_producer.cpp
type caspar (line 41) | namespace caspar { namespace core {
type core (line 41) | namespace core {
function draw_frame (line 43) | draw_frame
function draw_frame (line 56) | draw_frame create_color_frame(void* tag, const spl::shared_ptr<frame...
function draw_frame (line 63) | draw_frame create_color_frame(void* ...
class color_producer (line 77) | class color_producer : public frame_producer
method color_producer (line 85) | color_producer(const spl::shared_ptr<core::frame_factory>& frame_f...
method color_producer (line 91) | color_producer(const spl::shared_ptr<core::frame_factory>& frame_f...
method draw_frame (line 102) | draw_frame receive_impl(const core::video_field field, int nb_samp...
method print (line 104) | std::wstring print() const override { return L"color[" + color_str...
method name (line 106) | std::wstring name() const override { return L"color"; }
method state (line 108) | core::monitor::state state() const override { return state_; }
method is_ready (line 110) | bool is_ready() override { return true; }
function get_hex_color (line 113) | std::wstring get_hex_color(const std::wstring& str)
function try_get_color (line 159) | bool try_get_color(const std::wstring& str, uint32_t& value)
function create_color_producer (line 171) | spl::shared_ptr<frame_producer> create_color_producer(const spl::sha...
function create_color_producer (line 177) | spl::shared_ptr<frame_producer> create_color_producer(const spl::sha...
FILE: src/core/producer/color/color_producer.h
function namespace (line 32) | namespace caspar { namespace core {
FILE: src/core/producer/frame_producer.cpp
type caspar (line 33) | namespace caspar { namespace core {
type core (line 33) | namespace core {
class empty_frame_producer (line 53) | class empty_frame_producer : public frame_producer
method empty_frame_producer (line 56) | empty_frame_producer() {}
method draw_frame (line 58) | draw_frame receive_impl(const core::video_field field, int nb_sa...
method nb_frames (line 59) | uint32_t nb_frames() const override { return 0; }
method print (line 60) | std::wstring print() const override { return L"empty"; }
method name (line 61) | std::wstring name() const override { return L"empty"; }
method frame_number (line 62) | uint32_t frame_number() const override { return 0; }
method call (line 63) | std::future<std::wstring> call(const std::vector<std::wstring>& pa...
method draw_frame (line 68) | draw_frame last_frame(const core::video_field field) ove...
method draw_frame (line 69) | draw_frame first_frame(const core::video_field field) ov...
method state (line 70) | core::monitor::state state() const override
method is_ready (line 76) | bool is_ready() override { return true; }
FILE: src/core/producer/frame_producer.h
function namespace (line 41) | namespace caspar { namespace core {
type frame_producer_dependencies (line 158) | struct frame_producer_dependencies
FILE: src/core/producer/frame_producer_registry.cpp
type caspar (line 34) | namespace caspar { namespace core {
type core (line 34) | namespace core {
function destroy_producers_synchronously (line 61) | void destroy_producers_synchronously()
class destroy_producer_proxy (line 68) | class destroy_producer_proxy : public frame_producer
method destroy_producer_proxy (line 73) | destroy_producer_proxy(spl::shared_ptr<frame_producer>&& producer)
method draw_frame (line 114) | draw_frame receive_impl(const core::video_field field, int nb_samp...
method print (line 118) | std::wstring print() const override { return producer...
method name (line 119) | std::wstring name() const override { return producer_...
method call (line 120) | std::future<std::wstring> call(const std::vector<std::wstring>& pa...
method leading_producer (line 121) | void leading_producer(const spl::shared_ptr<f...
method frame_number (line 125) | uint32_t frame_number() const override { return produc...
method nb_frames (line 126) | uint32_t nb_frames() const override { return producer_...
method draw_frame (line 127) | draw_frame last_frame(const core::video_field field) ove...
method draw_frame (line 128) | draw_frame first_frame(const core::video_field field) ov...
method state (line 129) | core::monitor::state state() const override { return producer_->st...
method is_ready (line 130) | bool is_ready() override { return producer_->is_re...
function do_create_producer (line 133) | spl::shared_ptr<core::frame_producer> do_create_producer(const frame...
FILE: src/core/producer/frame_producer_registry.h
function namespace (line 41) | namespace caspar { namespace core {
FILE: src/core/producer/layer.cpp
type caspar (line 31) | namespace caspar { namespace core {
type core (line 31) | namespace core {
type layer::impl (line 33) | struct layer::impl
method impl (line 45) | impl(const core::video_format_desc format_desc)
method pause (line 50) | void pause() { paused_ = true; }
method resume (line 52) | void resume() { paused_ = false; }
method load (line 54) | void load(spl::shared_ptr<frame_producer> producer, bool preview_p...
method preview (line 66) | void preview(bool force)
method play (line 74) | void play()
method stop (line 100) | void stop()
method draw_frame (line 106) | draw_frame receive(const video_field field, int nb_samples)
method draw_frame (line 151) | draw_frame receive_background(const video_field field, int nb_samp...
function layer (line 172) | layer& layer::operator=(layer&& other)
function draw_frame (line 187) | draw_frame layer::receive(const video_field field, int nb_samples) {...
function draw_frame (line 188) | draw_frame layer::receive_background(const video_field field, int nb...
FILE: src/core/producer/layer.h
function namespace (line 31) | namespace caspar { namespace core {
FILE: src/core/producer/route/route_producer.cpp
type caspar (line 45) | namespace caspar { namespace core {
type core (line 45) | namespace core {
class fix_stream_tag (line 47) | class fix_stream_tag : public frame_visitor
method fix_stream_tag (line 57) | fix_stream_tag(void* stream_tag)
method push (line 64) | void push(const frame_transform& transform) { frames_stack_.emplac...
method visit (line 66) | void visit(const const_frame& frame)
method pop (line 83) | void pop()
method draw_frame (line 100) | draw_frame operator()(draw_frame frame)
class route_producer (line 114) | class route_producer
method get_source_channel (line 138) | int get_source_channel() const override { return source_channel_; }
method get_source_layer (line 139) | int get_source_layer() const override { return source_layer_; }
method set_cross_channel (line 142) | void set_cross_channel(bool cross) override
method route_producer (line 155) | route_producer(std::shared_ptr<route> route,
method connect_slot (line 179) | void connect_slot()
method draw_frame (line 214) | draw_frame last_frame(const core::video_field field) override
method draw_frame (line 235) | draw_frame receive_impl(core::video_field field, int nb_sam...
method is_ready (line 268) | bool is_ready() override { return true; }
method print (line 270) | std::wstring print() const override { return L"route[" + route_->n...
method name (line 272) | std::wstring name() const override { return L"route"; }
method state (line 274) | core::monitor::state state() const override
function create_route_producer (line 287) | spl::shared_ptr<core::frame_producer> create_route_producer(const co...
FILE: src/core/producer/route/route_producer.h
function namespace (line 29) | namespace caspar { namespace core {
FILE: src/core/producer/separated/separated_producer.cpp
type caspar (line 34) | namespace caspar { namespace core {
type core (line 34) | namespace core {
type frame_pair (line 36) | struct frame_pair
method draw_frame (line 41) | draw_frame get(video_field field)
method set (line 49) | void set(video_field field, const draw_frame& frame)
function frame_number (line 58) | class separated_producer : public frame_producer
function nb_frames (line 121) | uint32_t nb_frames() const override { return std::min(fill_producer_...
function print (line 123) | std::wstring print() const override
function call (line 128) | std::future<std::wstring> call(const std::vector<std::wstring>& para...
function name (line 134) | std::wstring name() const override { return L"separated"; }
function state (line 136) | core::monitor::state state() const override { return state_; }
function is_ready (line 138) | bool is_ready() override { return key_producer_->is_ready() && fill_...
function create_separated_producer (line 141) | spl::shared_ptr<frame_producer> create_separated_producer(const spl::s...
FILE: src/core/producer/separated/separated_producer.h
function namespace (line 26) | namespace caspar { namespace core {
FILE: src/core/producer/stage.cpp
type caspar (line 44) | namespace caspar { namespace core {
type core (line 44) | namespace core {
type stage::impl (line 46) | struct stage::impl : public std::enable_shared_from_this<impl>
method orderSourceLayers (line 62) | void orderSourceLayers(std::vector<std::pair<int, bool>>& l...
method layer (line 102) | layer& get_layer(int index)
method impl (line 112) | impl(int channel_index, spl::shared_ptr<diagnostics::graph> graph,...
method stage_frames (line 119) | const stage_frames operator()(uint64_t ...
method wrap_layer_frames_for_route (line 233) | core::draw_frame wrap_layer_frames_for_route(std::vector<core::dra...
method apply_transforms (line 243) | std::future<void>
method apply_transform (line 257) | std::future<void> apply_transform(int i...
method clear_transforms (line 269) | std::future<void> clear_transforms(int index)
method clear_transforms (line 274) | std::future<void> clear_transforms()
method get_current_transform (line 279) | std::future<frame_transform> get_current_transform(int index)
method load (line 284) | std::future<void> load(int index, const spl::shared_ptr<frame_prod...
method preview (line 289) | std::future<void> preview(int index)
method pause (line 294) | std::future<void> pause(int index)
method resume (line 299) | std::future<void> resume(int index)
method play (line 304) | std::future<void> play(int index)
method stop (line 309) | std::future<void> stop(int index)
method clear (line 314) | std::future<void> clear(int index)
method clear (line 319) | std::future<void> clear()
method swap_layers (line 324) | std::future<void> swap_layers(const std::shared_ptr<stage>& other,...
method swap_layer (line 345) | std::future<void> swap_layer(int index, int other_index, bool swap...
method swap_layer (line 355) | std::future<void> swap_layer(int index, int other_index, const std...
method invoke_both (line 377) | std::future<void> invoke_both(const std::shared_ptr<stage>& other,...
method foreground (line 388) | std::future<std::shared_ptr<frame_producer>> foreground(int index)
method background (line 394) | std::future<std::shared_ptr<frame_producer>> background(int index)
method call (line 400) | std::future<std::wstring> call(int index, const std::vector<std::w...
method callbg (line 405) | std::future<std::wstring> callbg(int index, const std::vector<std:...
method get_lock (line 411) | std::unique_lock<std::mutex> get_lock() { return std::move(std::un...
method video_format_desc (line 413) | core::video_format_desc video_format_desc() const
method video_format_desc (line 419) | std::future<void> video_format_desc(const core::video_format_desc&...
function stage_frames (line 486) | const stage_frames stage::operator()(uint6...
FILE: src/core/producer/stage.h
function namespace (line 41) | namespace caspar::diagnostics {
function namespace (line 45) | namespace caspar { namespace core {
FILE: src/core/producer/transition/sting_producer.cpp
type caspar (line 38) | namespace caspar { namespace core {
type core (line 38) | namespace core {
type frame_pair (line 40) | struct frame_pair
method draw_frame (line 45) | draw_frame get(video_field field)
method set (line 53) | void set(video_field field, const draw_frame& frame)
class sting_producer (line 62) | class sting_producer : public frame_producer
method sting_producer (line 82) | sting_producer(const spl::shared_ptr<frame_producer>& dest,
method leading_producer (line 96) | void leading_producer(const spl::shared_ptr<frame_producer>& produ...
method following_producer (line 98) | spl::shared_ptr<frame_producer> following_producer() const override
method auto_play_delta (line 134) | std::optional<int64_t> auto_play_delta() const override
method target_duration (line 156) | std::optional<uint32_t> target_duration() const
method draw_frame (line 195) | draw_frame receive_impl(const core::video_field field, int nb_samp...
method if (line 208) | if (duration && current_frame_ >= *duration) {
method if (line 212) | if (is_cut_mode_) {
method if (line 267) | if (!src) {
method if (line 277) | if (!dst && started_dst) {
method if (line 291) | if (!mask) {
method if (line 298) | if (expecting_overlay && !overlay) {
method if (line 304) | if (current_frame_ == 0 && !mask_and_overlay_valid) {
method if (line 309) | if (!mask_and_overlay_valid) {
method if (line 319) | if (mask_and_overlay_valid) {
function nb_frames (line 331) | uint32_t nb_frames() const override { return dst_producer_->nb_frame...
function frame_number (line 333) | uint32_t frame_number() const override { return dst_producer_->frame...
function print (line 335) | std::wstring print() const override
function name (line 340) | std::wstring name() const override { return L"transition"; }
function call (line 342) | std::future<std::wstring> call(const std::vector<std::wstring>& para...
function get_audio_delta (line 347) | double get_audio_delta() const
function draw_frame (line 376) | draw_frame
function state (line 399) | monitor::state state() const override { return state_; }
function is_ready (line 401) | bool is_ready() override { return dst_producer_->is_ready(); }
function create_sting_producer (line 404) | spl::shared_ptr<frame_producer> create_sting_producer(const frame_prod...
FILE: src/core/producer/transition/sting_producer.h
function namespace (line 31) | namespace caspar { namespace core {
FILE: src/core/producer/transition/transition_producer.cpp
type caspar::core (line 36) | namespace caspar::core {
class transition_producer (line 38) | class transition_producer : public frame_producer
method transition_producer (line 50) | transition_producer(const spl::shared_ptr<frame_producer>& dest, tra...
method update_is_ready (line 60) | void update_is_ready(const core::video_field field)
method last_frame (line 68) | core::draw_frame last_frame(const core::video_field field) override
method first_frame (line 88) | core::draw_frame first_frame(const core::video_field field) override...
method leading_producer (line 90) | void leading_producer(const spl::shared_ptr<frame_producer>& produce...
method following_producer (line 92) | [[nodiscard]] spl::shared_ptr<frame_producer> following_producer() c...
method auto_play_delta (line 97) | [[nodiscard]] std::optional<int64_t> auto_play_delta() const override
method update_state (line 131) | void update_state()
method draw_frame (line 174) | draw_frame receive_impl(const core::video_field field, int nb_sample...
method nb_frames (line 218) | [[nodiscard]] uint32_t nb_frames() const override { return dst_produ...
method frame_number (line 220) | [[nodiscard]] uint32_t frame_number() const override { return dst_pr...
method print (line 222) | [[nodiscard]] std::wstring print() const override
method name (line 227) | [[nodiscard]] std::wstring name() const override { return L"transiti...
method call (line 229) | [[nodiscard]] std::future<std::wstring> call(const std::vector<std::...
method draw_frame (line 234) | [[nodiscard]] draw_frame compose(const core::video_field field, int ...
method state (line 368) | [[nodiscard]] core::monitor::state state() const override { return s...
method is_ready (line 370) | bool is_ready() override { return dst_producer_->is_ready(); }
function create_transition_producer (line 373) | spl::shared_ptr<frame_producer> create_transition_producer(const spl::...
function try_match_transition (line 379) | bool try_match_transition(const std::wstring& message, transition_info...
FILE: src/core/producer/transition/transition_producer.h
function transition_type (line 33) | enum class transition_type
FILE: src/core/video_channel.cpp
type caspar (line 49) | namespace caspar { namespace core {
type core (line 49) | namespace core {
type video_channel::impl (line 53) | struct video_channel::impl final
method impl (line 102) | impl(int index,
method route (line 205) | std::shared_ptr<core::route> route(int index = -1, route_mode mode...
method print (line 232) | std::wstring print() const
method index (line 238) | int index() const { return channel_info_.index; }
method channel_info (line 240) | channel_info get_consumer_channel_info() const { return channel_in...
function mixer (line 254) | const mixer& video_channel::mixer() const { r...
function mixer (line 255) | mixer& video_channel::mixer() { return ...
function output (line 256) | const output& video_channel::output() const { ...
function output (line 257) | output& video_channel::output() { return...
function channel_info (line 260) | channel_info video_channel::get_consumer_channel_info() cons...
FILE: src/core/video_channel.h
function namespace (line 37) | namespace caspar { namespace core {
FILE: src/core/video_format.cpp
type caspar (line 32) | namespace caspar { namespace core {
type core (line 32) | namespace core {
type video_format_repository::impl (line 34) | struct video_format_repository::impl
method impl (line 40) | impl()
method video_format_desc (line 154) | video_format_desc find(const std::wstring& name) const
method video_format_desc (line 165) | video_format_desc find_format(const video_format& id) const
method store (line 175) | void store(const video_format_desc& format)
method get_max_video_format_size (line 181) | std::size_t get_max_video_format_size() const
function video_format_desc (line 198) | video_format_desc video_format_repository::invalid()
function video_format_desc (line 202) | video_format_desc video_format_repository::find(const std::wstring& ...
function video_format_desc (line 203) | video_format_desc video_format_repository::find_format(const video_f...
FILE: src/core/video_format.h
type class (line 34) | enum class
function video_format (line 41) | enum class video_format
FILE: src/modules/artnet/artnet.cpp
type caspar (line 32) | namespace caspar { namespace artnet {
type artnet (line 32) | namespace artnet {
function init (line 34) | void init(const core::module_dependencies& dependencies)
FILE: src/modules/artnet/artnet.h
function namespace (line 26) | namespace caspar { namespace artnet {
FILE: src/modules/artnet/consumer/artnet_consumer.cpp
type caspar (line 44) | namespace caspar { namespace artnet {
type artnet (line 44) | namespace artnet {
type configuration (line 46) | struct configuration
type artnet_consumer (line 57) | struct artnet_consumer : public core::frame_consumer
method artnet_consumer (line 65) | explicit artnet_consumer(configuration config)
method initialize (line 78) | void initialize(const core::video_format_desc& /*format_desc*/,
method send (line 147) | std::future<bool> send(core::video_field field, core::const_frame ...
method print (line 155) | std::wstring print() const override { return L"artnet[]"; }
method name (line 157) | std::wstring name() const override { return L"artnet"; }
method index (line 159) | int index() const override { return 1337; }
method state (line 161) | core::monitor::state state() const override
method compute_fixtures (line 185) | void compute_fixtures()
method send_dmx_data (line 200) | void send_dmx_data(const std::uint8_t* data, std::size_t length)
function get_fixtures_ptree (line 234) | std::vector<fixture> get_fixtures_ptree(const boost::property_tree::...
function create_preconfigured_consumer (line 306) | spl::shared_ptr<core::frame_consumer>
FILE: src/modules/artnet/consumer/artnet_consumer.h
function namespace (line 34) | namespace caspar { namespace artnet {
FILE: src/modules/artnet/util/fixture_calculation.cpp
type caspar (line 26) | namespace caspar { namespace artnet {
type artnet (line 26) | namespace artnet {
function rect (line 28) | rect compute_rect(box fixtureBox, int index, int count)
function color (line 87) | color average_color(const core::const_frame& frame, rect& rectangle)
FILE: src/modules/artnet/util/fixture_calculation.h
function namespace (line 29) | namespace caspar { namespace artnet {
FILE: src/modules/bluefish/bluefish.cpp
type caspar (line 36) | namespace caspar { namespace bluefish {
type bluefish (line 36) | namespace bluefish {
function version (line 38) | std::wstring version()
function device_list (line 48) | std::vector<std::wstring> device_list()
function init (line 69) | void init(const core::module_dependencies& dependencies)
FILE: src/modules/bluefish/bluefish.h
function namespace (line 26) | namespace caspar { namespace bluefish {
FILE: src/modules/bluefish/consumer/bluefish_consumer.cpp
type caspar (line 45) | namespace caspar { namespace bluefish {
type bluefish (line 45) | namespace bluefish {
type hardware_downstream_keyer_mode (line 51) | enum class hardware_downstream_keyer_mode
type hardware_downstream_keyer_audio_source (line 58) | enum class hardware_downstream_keyer_audio_source
type bluefish_hardware_output_channel (line 64) | enum class bluefish_hardware_output_channel
type uhd_output_option (line 76) | enum class uhd_output_option
type configuration (line 84) | struct configuration
function get_videooutput_channel_routing_info_from_streamid (line 96) | bool get_videooutput_channel_routing_info_from_streamid(bluefish_har...
function EBlueVideoChannel (line 140) | EBlueVideoChannel get_bluesdk_videochannel_from_streamid(bluefish_ha...
type bluefish_consumer (line 165) | struct bluefish_consumer
method bluefish_consumer (line 209) | bluefish_consumer(const bluefish_consumer&) = delete;
method bluefish_consumer (line 210) | bluefish_consumer& operator=(const bluefish_consumer&) = delete;
method bluefish_consumer (line 212) | bluefish_consumer(const configuration& config, const core::video_f...
method watchdog_thread_actual (line 348) | void watchdog_thread_actual()
method configure_watchdog (line 367) | void configure_watchdog()
method disable_watchdog (line 407) | void disable_watchdog()
method setup_hardware_output_channel (line 415) | void setup_hardware_output_channel()
method setup_multlink (line 429) | void setup_multlink()
method setup_hardware_output_channel_routing (line 450) | void setup_hardware_output_channel_routing()
method setup_hardware_downstream_keyer (line 558) | void setup_hardware_downstream_keyer(hardware_downstream_keyer_mod...
method enable_video_output (line 600) | void enable_video_output()
method disable_video_output (line 611) | void disable_video_output()
method send (line 622) | bool send(core::video_field field, core::const_frame frame)
method dma_present_thread_actual (line 648) | void dma_present_thread_actual()
method copy_frame (line 710) | void copy_frame(core::const_frame frame)
method encode_hanc (line 796) | void encode_hanc(BLUE_U32* hanc_data, void* audio_data, int audio_...
method print (line 823) | std::wstring print() const
method presentation_delay_millis (line 830) | int64_t presentation_delay_millis() const { return 0; }
type bluefish_consumer_proxy (line 833) | struct bluefish_consumer_proxy : public core::frame_consumer
method bluefish_consumer_proxy (line 841) | explicit bluefish_consumer_proxy(const configuration& config)
method initialize (line 853) | void initialize(const core::video_format_desc& format_desc,
method send (line 864) | std::future<bool> send(core::video_field field, core::const_frame ...
method print (line 869) | std::wstring print() const override { return consumer_ ? consumer_...
method name (line 871) | std::wstring name() const override { return L"bluefish"; }
method index (line 873) | int index() const override { return 400 + config_.device_index; }
method has_synchronization_clock (line 875) | bool has_synchronization_clock() const override { return true; }
method state (line 877) | core::monitor::state state() const override
function create_consumer (line 887) | spl::shared_ptr<core::frame_consumer> create_consumer(const std::vec...
function create_preconfigured_consumer (line 945) | spl::shared_ptr<core::frame_consumer>
FILE: src/modules/bluefish/consumer/bluefish_consumer.h
function namespace (line 33) | namespace caspar { namespace bluefish {
FILE: src/modules/bluefish/interop/BlueDriver_p.h
type EBlueCardProperty (line 260) | typedef enum _EBlueCardProperty
type ESubImageMapping (line 543) | typedef enum _ESubImageMapping
type EHdSdiTransport (line 550) | typedef enum _EHdSdiTransport
type EAudioMetaDataSettings (line 558) | typedef enum _EAudioMetaDataSettings
type EVideoMode (line 567) | typedef enum _EVideoMode
type EVideoModeExt (line 621) | typedef enum _EVideoModeExt
type EBFLockSignalType (line 723) | typedef enum _EBFLockSignalType
type EMemoryFormat (line 738) | typedef enum _EMemoryFormat
type EUpdateMethod (line 777) | typedef enum _EUpdateMethod
type EResoFormat (line 788) | typedef enum _EResoFormat
type EEngineMode (line 795) | typedef enum _EEngineMode
type BlueVideoFifoStatus (line 806) | typedef enum
type BlueVideoFifo_Attributes (line 816) | typedef enum
type ECardType (line 824) | typedef enum _ECardType
type EHDCardSubType (line 876) | typedef enum _EHDCardSubType
type EEpochFirmwareProductID (line 886) | enum EEpochFirmwareProductID
type EBlueLUTType (line 918) | typedef enum _EBlueLUTType
type EBlueConnectorIdentifier (line 928) | typedef enum _EBlueConnectorIdentifier
type EBlueConnectorSignalDirection (line 1001) | typedef enum _EBlueConnectorSignalDirection
type EBlueConnectorProperty (line 1008) | typedef enum _EBlueConnectorProperty
type Blue_Audio_Connector_Type (line 1045) | typedef enum
type EAudioRate (line 1065) | typedef enum _EAudioRate
type EDMADataType (line 1072) | typedef enum _EDMADataType
type EDMADirection (line 1099) | typedef enum _EDMADirection
type EBlueVideoAuxInfoType (line 1106) | typedef enum _EBlueVideoAuxInfoType
type MatrixColType (line 1114) | typedef enum _MatrixColType
type EImageOrientation (line 1123) | typedef enum _EImageOrientation
type EBlueGenlockSource (line 1131) | typedef enum _EBlueGenlockSource
type EBlueVideoChannel (line 1158) | typedef enum _EBlueVideoChannel
type EEpochRoutingElements (line 1213) | typedef enum _EEpochRoutingElements
type BlueAudioChannelDesc (line 1381) | typedef enum _BlueAudioChannelDesc
type EConnectorSignalColorSpace (line 1405) | typedef enum _EConnectorSignalColorSpace
type ERGBDataRange (line 1414) | typedef enum _ERGBDataRange
type EPreDefinedColorSpaceMatrix (line 1424) | typedef enum _EPreDefinedColorSpaceMatrix
type EDualLinkSignalFormatType (line 1447) | typedef enum _EDualLinkSignalFormatType
type ECardOperatingMode (line 1458) | enum ECardOperatingMode
type blue_output_hanc_ioctl_enum (line 1468) | typedef enum _blue_output_hanc_ioctl_enum
type blue_input_hanc_ioctl_enum (line 1484) | typedef enum _blue_input_hanc_ioctl_enum
type EDMACardBufferType (line 1508) | typedef enum _EDMACardBufferType
type enum_blue_dvb_asi_packing_format (line 1519) | enum enum_blue_dvb_asi_packing_format
type enum_blue_dvb_asi_packet_size (line 1528) | enum enum_blue_dvb_asi_packet_size
type blue_blackgenerator_status (line 1534) | typedef enum _blue_blackgenerator_status
type EBlueExternalLtcSource (line 1541) | typedef enum _EBlueExternalLtcSource
type EBlueEmbAudioOutput (line 1550) | typedef enum _EBlueEmbAudioOutput
type SerialPort_struct_flags (line 1561) | enum SerialPort_struct_flags
type enum_blue_app_watchdog_timer_prop (line 1573) | enum enum_blue_app_watchdog_timer_prop
type enum_blue_rs422_port_flags (line 1588) | enum enum_blue_rs422_port_flags
type EAudioFlags (line 1595) | typedef enum
type blue_videoframe_info (line 1617) | struct blue_videoframe_info
type blue_videoframe_info_ex (line 1626) | struct blue_videoframe_info_ex
type Auxillary_Video_Info (line 1645) | typedef struct _AUXILLARY_VIDEO_INFO
type AnalogCardState (line 1656) | typedef struct
type SerialPort_struct (line 1676) | struct SerialPort_struct
type blue_color_matrix_struct (line 1685) | struct blue_color_matrix_struct
type blue_video_sync_struct (line 1696) | typedef struct _blue_video_sync_struct
type sync_options (line 1710) | typedef struct sync_options
type blue_external_ltc_input_sync_struct (line 1724) | typedef struct blue_external_ltc_input_sync_struct
type blue_dma_request_struct (line 1731) | struct blue_dma_request_struct
type blue_1d_lookup_table_struct (line 1744) | struct blue_1d_lookup_table_struct
type blue_multi_link_info_struct (line 1753) | struct blue_multi_link_info_struct
type hanc_stream_info_struct (line 1791) | struct hanc_stream_info_struct
type hanc_decode_struct (line 1805) | struct hanc_decode_struct
type hardware_firmware_versions (line 1832) | typedef struct hardware_firmware_versions
FILE: src/modules/bluefish/interop/BlueTypes.h
type BERR (line 17) | typedef int BERR;
type BErr (line 18) | typedef int BErr;
type BGERROR (line 19) | typedef long long BGERROR;
type BLUE_VOID (line 20) | typedef void BLUE_VOID;
type BLUE_BOOL (line 21) | typedef int BLUE_BOOL;
type BLUE_U8 (line 22) | typedef unsigned char BLUE_U8;
type BLUE_U16 (line 23) | typedef unsigned short BLUE_U16;
type BLUE_U32 (line 24) | typedef unsigned int BLUE_U32;
type BLUE_U64 (line 25) | typedef unsigned long long BLUE_U64;
type BLUE_S8 (line 26) | typedef char BLUE_S8;
type BLUE_S16 (line 27) | typedef short BLUE_S16;
type BLUE_S32 (line 28) | typedef int BLUE_S32;
type BLUE_S64 (line 29) | typedef long long BLUE_S64;
type BLUE_U8 (line 30) | typedef BLUE_U8 BLUE_UINT8;
type BLUE_U16 (line 31) | typedef BLUE_U16 BLUE_UINT16;
type BLUE_U32 (line 32) | typedef BLUE_U32 BLUE_UINT32;
type BLUE_U64 (line 33) | typedef BLUE_U64 BLUE_UINT64;
type BLUE_S8 (line 34) | typedef BLUE_S8 BLUE_INT8;
type BLUE_S16 (line 35) | typedef BLUE_S16 BLUE_INT16;
type BLUE_S32 (line 36) | typedef BLUE_S32 BLUE_INT32;
type BLUE_S64 (line 37) | typedef BLUE_S64 BLUE_INT64;
type BLUE_U64 (line 63) | typedef BLUE_U64 LARGE_INTEGER;
type BLUE_U32 (line 64) | typedef BLUE_U32 DWORD;
FILE: src/modules/bluefish/interop/BlueVelvetCFuncPtr.h
type wchar_t (line 53) | typedef const wchar_t* (__cdecl *pFunc_bfcGetVersionW)();
type BLUEVELVETC_HANDLE (line 54) | typedef BLUEVELVETC_HANDLE(__cdecl *pFunc_bfcFactory)();
type BLUE_VOID (line 55) | typedef BLUE_VOID(__cdecl *pFunc_bfcDestroy)(BLUEVELVETC_HANDLE pHandle);
type BLUE_S32 (line 56) | typedef BLUE_S32(__cdecl *pFunc_bfcEnumerate)(BLUEVELVETC_HANDLE pHandle...
type BLUE_S32 (line 57) | typedef BLUE_S32(__cdecl *pFunc_bfcQueryCardType)(BLUEVELVETC_HANDLE pHa...
type BLUE_S32 (line 58) | typedef BLUE_S32(__cdecl *pFunc_bfcAttach)(BLUEVELVETC_HANDLE pHandle, B...
type BLUE_S32 (line 59) | typedef BLUE_S32(__cdecl *pFunc_bfcSetMultiLinkMode)(BLUEVELVETC_HANDLE ...
type BLUE_S32 (line 60) | typedef BLUE_S32(__cdecl *pFunc_bfcQueryMultiLinkMode)(BLUEVELVETC_HANDL...
type BLUE_S32 (line 61) | typedef BLUE_S32(__cdecl *pFunc_bfcDetach)(BLUEVELVETC_HANDLE pHandle);
type BLUE_S32 (line 62) | typedef BLUE_S32(__cdecl *pFunc_bfcQueryCardProperty32)(BLUEVELVETC_HAND...
type BLUE_S32 (line 63) | typedef BLUE_S32(__cdecl *pFunc_bfcSetCardProperty32)(BLUEVELVETC_HANDLE...
type BLUE_S32 (line 64) | typedef BLUE_S32(__cdecl *pFunc_bfcQueryCardProperty64)(BLUEVELVETC_HAND...
type BLUE_S32 (line 65) | typedef BLUE_S32(__cdecl *pFunc_bfcSetCardProperty64)(BLUEVELVETC_HANDLE...
type BLUE_S32 (line 66) | typedef BLUE_S32(__cdecl *pFunc_bfcGetCardSerialNumber)(BLUEVELVETC_HAND...
type BLUE_S32 (line 67) | typedef BLUE_S32(__cdecl *pFunc_bfcGetCardFwVersion)(BLUEVELVETC_HANDLE ...
type BLUE_S32 (line 68) | typedef BLUE_S32(__cdecl *pFunc_bfcGetCardHwFwVersions)(BLUEVELVETC_HAND...
type BLUE_S32 (line 70) | typedef BLUE_S32(__cdecl *pFunc_bfcWaitVideoSyncAsync)(BLUEVELVETC_HANDL...
type BLUE_S32 (line 72) | typedef BLUE_S32(__cdecl *pFunc_bfcWaitVideoSync)(BLUEVELVETC_HANDLE pHa...
type BLUE_S32 (line 73) | typedef BLUE_S32(__cdecl *pFunc_bfcWaitVideoInputSync)(BLUEVELVETC_HANDL...
type BLUE_S32 (line 74) | typedef BLUE_S32(__cdecl *pFunc_bfcWaitVideoOutputSync)(BLUEVELVETC_HAND...
type BLUE_S32 (line 75) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoOutputCurrentFieldCount)(BLUE...
type BLUE_S32 (line 76) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoInputCurrentFieldCount)(BLUEV...
type BLUE_S32 (line 77) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoCaptureStart)(BLUEVELVETC_HANDLE...
type BLUE_S32 (line 78) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoCaptureStop)(BLUEVELVETC_HANDLE ...
type BLUE_S32 (line 79) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoPlaybackStart)(BLUEVELVETC_HANDL...
type BLUE_S32 (line 80) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoPlaybackStop)(BLUEVELVETC_HANDLE...
type BLUE_S32 (line 81) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoPlaybackAllocate)(BLUEVELVETC_HA...
type BLUE_S32 (line 82) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoPlaybackPresent)(BLUEVELVETC_HAN...
type BLUE_S32 (line 83) | typedef BLUE_S32(__cdecl *pFunc_bfcVideoPlaybackRelease)(BLUEVELVETC_HAN...
type BLUE_S32 (line 85) | typedef BLUE_S32(__cdecl *pFunc_bfcGetCaptureVideoFrameInfoEx)(BLUEVELVE...
type BLUE_S32 (line 87) | typedef BLUE_S32(__cdecl *pFunc_bfcGetCaptureVideoFrameInfoEx)(BLUEVELVE...
type BLUE_S32 (line 89) | typedef BLUE_S32(__cdecl *pFunc_bfcRenderBufferCapture)(BLUEVELVETC_HAND...
type BLUE_S32 (line 90) | typedef BLUE_S32(__cdecl *pFunc_bfcRenderBufferUpdate)(BLUEVELVETC_HANDL...
type BLUE_S32 (line 91) | typedef BLUE_S32(__cdecl *pFunc_bfcGetRenderBufferCount)(BLUEVELVETC_HAN...
type BLUE_S32 (line 92) | typedef BLUE_S32(__cdecl *pFunc_bfcEncodeHancFrameEx)(BLUEVELVETC_HANDLE...
type BLUE_S32 (line 93) | typedef BLUE_S32(__cdecl *pFunc_bfcEncodeHancFrameWithUCZ)(BLUEVELVETC_H...
type BLUE_S32 (line 94) | typedef BLUE_S32(__cdecl *pFunc_bfcDecodeHancFrameEx)(BLUEVELVETC_HANDLE...
type BLUE_S32 (line 96) | typedef BLUE_S32(__cdecl *pFunc_bfcSystemBufferReadAsync)(BLUEVELVETC_HA...
type BLUE_S32 (line 97) | typedef BLUE_S32(__cdecl *pFunc_bfcSystemBufferWriteAsync)(BLUEVELVETC_H...
type BLUE_S32 (line 99) | typedef BLUE_S32(__cdecl *pFunc_bfcSystemBufferRead)(BLUEVELVETC_HANDLE ...
type BLUE_S32 (line 100) | typedef BLUE_S32(__cdecl *pFunc_bfcSystemBufferWrite)(BLUEVELVETC_HANDLE...
type BFC_SYNC_INFO (line 102) | typedef BFC_SYNC_INFO(__cdecl *pFunc_bfcSyncInfoCreate)(BLUEVELVETC_HAND...
type BLUE_S32 (line 103) | typedef BLUE_S32(__cdecl *pFunc_bfcSyncInfoDelete)(BLUEVELVETC_HANDLE pH...
type BLUE_S32 (line 104) | typedef BLUE_S32(__cdecl *pFunc_bfcSyncInfoWait)(BLUEVELVETC_HANDLE pHan...
type BLUE_S32 (line 105) | typedef BLUE_S32(__cdecl *pFunc_bfcSyncInfoWaitWithSyncOptions)(BLUEVELV...
type BLUE_S32 (line 106) | typedef BLUE_S32(__cdecl *pFunc_bfcDmaReadFromCardAsync)(BLUEVELVETC_HAN...
type BLUE_S32 (line 107) | typedef BLUE_S32(__cdecl *pFunc_bfcDmaWriteToCardAsync)(BLUEVELVETC_HAND...
type BLUE_S32 (line 108) | typedef BLUE_S32(__cdecl *pFunc_bfcSerialPortWaitForInputData)(BLUEVELVE...
type BLUE_S32 (line 109) | typedef BLUE_S32(__cdecl *pFunc_bfcSerialPortRead)(BLUEVELVETC_HANDLE pH...
type BLUE_S32 (line 110) | typedef BLUE_S32(__cdecl *pFunc_bfcSerialPortWrite)(BLUEVELVETC_HANDLE p...
type BLUE_S32 (line 112) | typedef BLUE_S32(__cdecl *pFunc_bfcGetReferenceClockPhaseSettings)(BLUEV...
type BLUE_S32 (line 113) | typedef BLUE_S32(__cdecl *pFunc_bfcLoadOutputLUT1D)(BLUEVELVETC_HANDLE p...
type BLUE_S32 (line 115) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoWidth)(BLUE_S32 VideoMode, BL...
type BLUE_S32 (line 116) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoHeight)(BLUE_S32 VideoMode, B...
type BLUE_S32 (line 117) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoBytesPerLineV2)(BLUE_S32 Vide...
type BLUE_S32 (line 118) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoBytesPerFrame)(BLUE_S32 Video...
type BLUE_S32 (line 119) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoBytesPerFrameGolden)(BLUE_S32...
type BLUE_S32 (line 120) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoInfo)(BLUE_S32 VideoMode, BLU...
type BLUE_S32 (line 121) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVancWidth)(BLUE_S32 VideoMode, BLU...
type BLUE_S32 (line 122) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVancHeight)(BLUE_S32 VideoMode, BL...
type BLUE_S32 (line 123) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVancBytesPerLineV2)(BLUE_S32 Video...
type BLUE_S32 (line 124) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVancBytesPerFrame)(BLUE_S32 VideoM...
type BLUE_S32 (line 125) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVancInfo)(BLUE_S32 VideoMode, BLUE...
type BLUE_S32 (line 126) | typedef BLUE_S32(__cdecl *pFunc_bfcGetBytesForGroupPixels)(EMemoryFormat...
type BLUE_S32 (line 128) | typedef BLUE_S32(__cdecl *pFunc_bfcGetWindowsDriverHandle)(BLUEVELVETC_H...
type BLUE_S32 (line 129) | typedef BLUE_S32(__cdecl *pFunc_bfcSetDynamicMemoryFormatChange)(BLUEVEL...
type BLUE_S32 (line 131) | typedef BLUE_S32(__cdecl *pFunc_bfcGetFileHandle)(BLUEVELVETC_HANDLE pHa...
type wchar_t (line 137) | typedef wchar_t*(__cdecl *pFunc_bfcUtilsGetWStringForCardType)(const BLU...
type wchar_t (line 139) | typedef wchar_t*(__cdecl *pFunc_bfcUtilsGetWStringForBlueProductId)(cons...
type wchar_t (line 141) | typedef wchar_t*(__cdecl *pFunc_bfcUtilsGetWStringForVideoMode)(const BL...
type wchar_t (line 143) | typedef wchar_t*(__cdecl *pFunc_bfcUtilsGetWStringForMemoryFormat)(const...
type wchar_t (line 145) | typedef wchar_t*(__cdecl *pFunc_bfcUtilsGetWStringForUpdateFormat)(const...
type wchar_t (line 147) | typedef wchar_t*(__cdecl *pFunc_bfcUtilsGetWStringForVideoEngine)(const ...
type BLUE_S32 (line 150) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetMR2Routing)(const BLUEVELVETC...
type BLUE_S32 (line 151) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsSetMR2Routing)(const BLUEVELVETC...
type BLUE_S32 (line 152) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetAudioOutputRouting)(const BLU...
type BLUE_S32 (line 153) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsSetAudioOutputRouting)(const BLU...
type BLUE_S32 (line 156) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetFpsForVideoMode)(const BLUE_U...
type BLUE_S32 (line 157) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetVideoModeExtForFrameInfo)(con...
type BLUE_S32 (line 158) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetFrameInfoForVideoModeExt)(con...
type BLUE_S32 (line 159) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetAudioSamplesPerFrame)(const B...
type BLUE_S32 (line 160) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsInitVancBuffer)(BLUE_U32 nCardTy...
type BLUE_S32 (line 161) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsVancPktExtract)(BLUE_U32 nCardTy...
type BLUE_S32 (line 162) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsVancPktInsert)(BLUE_U32 nCardTyp...
type BLUE_S32 (line 163) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsDecodeEia708bPkt)(BLUE_U32 CardT...
type BLUE_S32 (line 166) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetVideoModeForFrameInfo)(const ...
type BLUE_S32 (line 167) | typedef BLUE_S32(__cdecl *pFunc_bfcUtilsGetFrameInfoForVideoMode)(const ...
type BLUE_S32 (line 168) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVideoBytesPerLine)(BLUE_S32 VideoM...
type BLUE_S32 (line 169) | typedef BLUE_S32(__cdecl *pFunc_bfcGetVancBytesPerLine)(BLUE_S32 VideoMo...
function LoadFunctionPointers_BlueVelvetC (line 293) | bool LoadFunctionPointers_BlueVelvetC()
type BFC_CONVERSION_HANDLE (line 453) | typedef BFC_CONVERSION_HANDLE(__cdecl* pFunc_bfcConversionFactory)();
type BLUE_VOID (line 454) | typedef BLUE_VOID(__cdecl* pFunc_bfcConversionDestroy)(BFC_CONVERSION_HA...
type BLUE_S32 (line 455) | typedef BLUE_S32(__cdecl* pFunc_bfcConversionGetAvailableThreadCount)(BF...
type BLUE_S32 (line 456) | typedef BLUE_S32(__cdecl* pFunc_bfcConversionSetThreadCountLimit)(BFC_CO...
type BLUE_S32 (line 457) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_SquareDivisionToTsi_2VUY)(BFC...
type BLUE_S32 (line 458) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_SquareDivisionToTsi_ARGB32)(B...
type BLUE_S32 (line 459) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_SquareDivisionToTsi_BGR48)(BF...
type BLUE_S32 (line 460) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_SquareDivisionToTsi_V210)(BFC...
type BLUE_S32 (line 461) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_TsiToSquareDivision_2VUY)(BFC...
type BLUE_S32 (line 462) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_TsiToSquareDivision_V210)(BFC...
type BLUE_S32 (line 463) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_TsiToSquareDivision_RGB)(BFC_...
type BLUE_S32 (line 464) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_Single4KV210ToAligned4KV210Qu...
type BLUE_S32 (line 465) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_HalfFloatRGBATo16bitRGBA)(BFC...
type BLUE_S32 (line 466) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_HalfFloatRGBATo16bitRGB)(BFC_...
type BLUE_S32 (line 467) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_FloatRGBATo16bitRGBA)(BFC_CON...
type BLUE_S32 (line 468) | typedef BLUE_S32(__cdecl* pFunc_bfcConvert_FloatRGBATo16bitRGB)(BFC_CONV...
function LoadFunctionPointers_BlueConversion (line 492) | bool LoadFunctionPointers_BlueConversion()
FILE: src/modules/bluefish/producer/bluefish_producer.cpp
type caspar (line 67) | namespace caspar { namespace bluefish {
type bluefish (line 67) | namespace bluefish {
function get_bluesdk_input_videochannel_from_streamid (line 71) | unsigned int get_bluesdk_input_videochannel_from_streamid(int stream...
function extract_pcm_data_from_hanc (line 96) | unsigned int extract_pcm_data_from_hanc(bvc_wrapper& b...
function is_video_format_interlaced (line 122) | bool is_video_format_interlaced(const core::video_format format)
function is_bluefish_format_interlaced (line 133) | bool is_bluefish_format_interlaced(unsigned int vid_mode)
type bluefish_producer (line 143) | struct bluefish_producer
type hanc_decode_struct (line 177) | struct hanc_decode_struct
method bluefish_producer (line 188) | bluefish_producer(const bluefish_producer&) = delete;
method bluefish_producer (line 189) | bluefish_producer& operator=(const bluefish_producer&) = delete;
method bluefish_producer (line 191) | bluefish_producer(const core::video_format_desc& form...
method configure_input_routing (line 295) | int configure_input_routing(const unsigned int bf_channel, bool du...
method schedule_capture (line 381) | void schedule_capture()
method get_capture_time (line 391) | void get_capture_time() { blue_->get_card_property64(BTC_TIMER, &c...
method HRESULT (line 393) | HRESULT process_data()
method grab_frame_from_bluefishcard (line 536) | bool grab_frame_from_bluefishcard()
method capture_thread_actual (line 570) | void capture_thread_actual()
method get_frame (line 628) | core::draw_frame get_frame(const core::video_field field)
method is_ready (line 642) | bool is_ready() { return !frame_buffer_.empty(); }
method print (line 644) | std::wstring print() const
method state (line 649) | core::monitor::state state() const
class bluefish_producer_proxy (line 656) | class bluefish_producer_proxy : public core::frame_producer
method bluefish_producer_proxy (line 663) | explicit bluefish_producer_proxy(const core::video_format_desc& ...
method state (line 686) | core::monitor::state state() const override { return producer_->st...
method receive_impl (line 690) | core::draw_frame receive_impl(const core::video_field field, int n...
method first_frame (line 695) | core::draw_frame first_frame(const core::video_field field) overri...
method last_frame (line 697) | core::draw_frame last_frame(const core::video_field field) override
method is_ready (line 702) | bool is_ready() override { return producer_->is_ready(); }
method nb_frames (line 704) | uint32_t nb_frames() const override { return length_; }
method print (line 706) | std::wstring print() const override { return producer_->print(); }
method name (line 708) | std::wstring name() const override { return L"bluefish"; }
function create_producer (line 711) | spl::shared_ptr<core::frame_producer> create_producer(const core::fr...
FILE: src/modules/bluefish/producer/bluefish_producer.h
function namespace (line 31) | namespace caspar { namespace bluefish {
FILE: src/modules/bluefish/util/blue_velvet.cpp
type caspar (line 30) | namespace caspar { namespace bluefish {
type bluefish (line 30) | namespace bluefish {
function BLUE_U32 (line 47) | BLUE_U32 bvc_wrapper::attach(int iDeviceId) { return bfcAttach(bvc_....
function BLUE_U32 (line 49) | BLUE_U32 bvc_wrapper::detach() { return bfcDetach(bvc_.get()); }
function BLUE_U32 (line 51) | BLUE_U32 bvc_wrapper::set_multilink(const int iDeviceID, const int m...
function BLUE_U32 (line 88) | BLUE_U32 bvc_wrapper::get_card_property32(const int iProperty, unsig...
function BLUE_U32 (line 93) | BLUE_U32 bvc_wrapper::set_card_property32(const int iProperty, const...
function BLUE_U32 (line 98) | BLUE_U32 bvc_wrapper::get_card_property64(const int iProperty, unsig...
function BLUE_U32 (line 103) | BLUE_U32 bvc_wrapper::set_card_property64(const int iProperty, const...
function BLUE_U32 (line 108) | BLUE_U32 bvc_wrapper::enumerate(int* iDevices) { return bfcEnumerate...
function BLUE_U32 (line 110) | BLUE_U32 bvc_wrapper::query_card_type(int* iCardType, int iDeviceID)
function BLUE_U32 (line 115) | BLUE_U32 bvc_wrapper::system_buffer_write(unsigned char* pPixels,
function BLUE_U32 (line 123) | BLUE_U32 bvc_wrapper::system_buffer_read(unsigned char* pPixels,
function BLUE_U32 (line 142) | BLUE_U32 bvc_wrapper::video_playback_stop(int iWait, int iFlush)
function BLUE_U32 (line 147) | BLUE_U32 bvc_wrapper::video_playback_start(int step, int loop) { ret...
function BLUE_U32 (line 149) | BLUE_U32 bvc_wrapper::video_playback_allocate(unsigned long* buffer_...
function BLUE_U32 (line 155) | BLUE_U32
function BLUE_U32 (line 162) | BLUE_U32 bvc_wrapper::wait_video_output_sync(unsigned long ulUpdateT...
function BLUE_U32 (line 167) | BLUE_U32 bvc_wrapper::wait_video_input_sync(unsigned long ulUpdateTy...
function BLUE_U32 (line 172) | BLUE_U32 bvc_wrapper::render_buffer_update(unsigned long ulBufferID)
function BLUE_U32 (line 177) | BLUE_U32 bvc_wrapper::render_buffer_capture(unsigned long ulBufferID)
function BLUE_U32 (line 182) | BLUE_U32 bvc_wrapper::encode_hanc_frame(unsigned int nCa...
function BLUE_U32 (line 200) | BLUE_U32
function BLUE_U32 (line 206) | BLUE_U32 bvc_wrapper::get_frame_info_for_video_mode(const unsigned i...
function BLUE_U32 (line 216) | BLUE_U32 bvc_wrapper::get_bytes_per_frame(EVideoModeExt nVideoModeExt,
function BLUE_U32 (line 332) | BLUE_U32 bvc_wrapper::convert_2si_to_sq(const BLUE_U32 Width, const ...
function BLUE_U32 (line 337) | BLUE_U32 bvc_wrapper::convert_sq_to_2si(const BLUE_U32 Width, const ...
function EVideoModeExt (line 342) | EVideoModeExt vid_fmt_from_video_format(const core::video_format& fmt)
function is_epoch_card (line 411) | bool is_epoch_card(bvc_wrapper& blue)
function is_kronos_card (line 437) | bool is_kronos_card(bvc_wrapper& blue)
function is_epoch_neutron_1i2o_card (line 453) | bool is_epoch_neutron_1i2o_card(bvc_wrapper& blue)
function is_epoch_neutron_3o_card (line 462) | bool is_epoch_neutron_3o_card(bvc_wrapper& blue)
function get_card_desc (line 472) | std::wstring get_card_desc(bvc_wrapper blue, int device_id)
function EVideoModeExt (line 530) | EVideoModeExt get_video_mode(bvc_wrapper& blue, const core::video_fo...
function create_blue (line 543) | spl::shared_ptr<bvc_wrapper> create_blue()
function create_blue (line 549) | spl::shared_ptr<bvc_wrapper> create_blue(int device_index)
function get_format_desc (line 559) | core::video_format_desc get_format_desc(const core::video_format_rep...
function get_sdi_inputs (line 686) | std::wstring get_sdi_inputs(bvc_wrapper& blue)
function get_sdi_outputs (line 694) | std::wstring get_sdi_outputs(bvc_wrapper& blue)
function EVideoModeExt (line 702) | EVideoModeExt get_bluefish_video_format(core::video_format fmt)
function get_caspar_video_format (line 770) | static core::video_format get_caspar_video_format(EVideoModeExt fmt)
FILE: src/modules/bluefish/util/blue_velvet.h
function namespace (line 33) | namespace caspar { namespace bluefish {
FILE: src/modules/bluefish/util/memory.h
function namespace (line 29) | namespace caspar { namespace bluefish {
FILE: src/modules/decklink/consumer/config.cpp
function port_configuration (line 35) | port_configuration parse_output_config(const boost::property_tree::wptre...
function vanc_configuration (line 63) | vanc_configuration parse_vanc_config(const boost::property_tree::wptree&...
function get_color_space (line 79) | core::color_space get_color_space(const std::wstring& str)
function configuration (line 209) | configuration parse_amcp_config(const std::vector<std::wstring>& par...
FILE: src/modules/decklink/consumer/config.h
type port_configuration (line 32) | struct port_configuration
type vanc_configuration (line 51) | struct vanc_configuration
type hdr_meta_configuration (line 63) | struct hdr_meta_configuration
type configuration (line 71) | struct configuration
type class (line 80) | enum class
function latency_t (line 88) | enum class latency_t
FILE: src/modules/decklink/consumer/decklink_consumer.cpp
type caspar (line 60) | namespace caspar { namespace decklink {
type decklink (line 60) | namespace decklink {
function set_latency (line 63) | void set_latency(const com_iface_ptr<Configuration>& config,
function get_display_mode (line 76) | com_ptr<IDeckLinkDisplayMode> get_display_mode(const com_iface_ptr<I...
function set_duplex (line 120) | void set_duplex(const com_iface_ptr<IDeckLinkAttributes_v10_11>& ...
function set_keyer (line 152) | void set_keyer(const com_iface_ptr<IDeckLinkProfileAttributes>& attr...
function get_decklink_format (line 200) | core::video_format_desc get_decklink_format(const port_configuration...
function create_format_strategy (line 219) | spl::shared_ptr<format_strategy> create_format_strategy(const config...
type EOTF (line 229) | enum EOTF
type ChromaticityCoordinates (line 237) | struct ChromaticityCoordinates
class decklink_frame (line 252) | class decklink_frame
method decklink_frame (line 269) | decklink_frame(std::shared_ptr<void> data,
method QueryInterface (line 293) | QueryInterface(REFIID iid, LPVOID* ppv) override
method AddRef (line 322) | AddRef() override { return ++ref_count_; }
method Release (line 324) | Release() override
method GetWidth (line 337) | long STDMETHODCALLTYPE GetWidth() override { return stat...
method GetHeight (line 338) | long STDMETHODCALLTYPE GetHeight() override { return sta...
method GetRowBytes (line 339) | long STDMETHODCALLTYPE GetRowBytes() override { return s...
method GetPixelFormat (line 340) | GetPixelFormat() override { return pix_fmt_; }
method GetFlags (line 341) | GetFlags() override { return flags_; }
method GetBytes (line 343) | GetBytes(void** buffer) override
method GetTimecode (line 349) | GetTimecode(BMDTimecodeFormat format, IDeckLinkTimecode** timecode...
method GetAncillaryData (line 354) | GetAncillaryData(IDeckLinkVideoFrameAncillary** ancillary) overrid...
method nb_samples (line 356) | [[nodiscard]] int nb_samples() const { return nb_samples_; }
method GetInt (line 359) | GetInt(BMDDeckLinkFrameMetadataID metadataID, int64_t* value) over...
method GetFloat (line 380) | GetFloat(BMDDeckLinkFrameMetadataID metadataID, double* value) ove...
method GetFlag (line 442) | GetFlag(BMDDeckLinkFrameMetadataID, BOOL* value) override
method GetString (line 449) | GetString(BMDDeckLinkFrameMetadataID, String* value) override
method GetBytes (line 456) | GetBytes(BMDDeckLinkFrameMetadataID metadataID,
type decklink_secondary_port (line 465) | struct decklink_secondary_port final : public IDeckLinkVideoOutputCa...
method decklink_secondary_port (line 489) | decklink_secondary_port(const configuration& config,
method print (line 542) | [[nodiscard]] std::wstring print() const
method enable_video (line 549) | void enable_video(const Print& print)
method start_playback (line 559) | void start_playback(const Print& print)
method schedule_frame (line 569) | void schedule_frame(core::const_frame frame, BMDTimeValue display_...
method schedule_next_video (line 595) | void schedule_next_video(std::shared_ptr<void> image_data, int nb_...
method QueryInterface (line 617) | QueryInterface(REFIID, LPVOID*) override { return E_NOINTERFACE; }
method AddRef (line 618) | AddRef() override { return 1; }
method Release (line 619) | Release() override { return 1; }
method ScheduledPlaybackHasStopped (line 621) | ScheduledPlaybackHasStopped() override { return S_OK; }
method ScheduledFrameCompleted (line 623) | ScheduledFrameCompleted(IDeckLinkVideoFrame* completed_f...
type decklink_consumer (line 632) | struct decklink_consumer final : public IDeckLinkVideoOutputCallback
method decklink_consumer (line 679) | decklink_consumer(const configuration& config, core::video_format_...
method wait_for_reference_lock (line 809) | void wait_for_reference_lock()
method enable_audio (line 851) | void enable_audio()
method enable_video (line 863) | void enable_video()
method start_playback (line 889) | void start_playback()
method QueryInterface (line 900) | QueryInterface(REFIID, LPVOID*) override { return E_NOINTERFACE; }
method AddRef (line 901) | AddRef() override { return 1; }
method Release (line 902) | Release() override { return 1; }
method ScheduledPlaybackHasStopped (line 904) | ScheduledPlaybackHasStopped() override
method ScheduledFrameCompleted (line 910) | ScheduledFrameCompleted(IDeckLinkVideoFrame* completed_f...
method pop (line 1032) | core::const_frame pop()
method schedule_next_audio (line 1047) | void schedule_next_audio(std::vector<std::int32_t> audio, int nb_s...
method schedule_next_video (line 1064) | void schedule_next_video(std::shared_ptr<void> image_data, int nb_...
method send (line 1103) | bool send(core::video_field field, core::const_frame frame)
method call (line 1125) | bool call(const std::vector<std::wstring>& params)
method print (line 1140) | [[nodiscard]] std::wstring print() const
type decklink_consumer_proxy (line 1155) | struct decklink_consumer_proxy : public core::frame_consumer
method decklink_consumer_proxy (line 1163) | explicit decklink_consumer_proxy(const configuration& config)
method initialize (line 1179) | void initialize(const core::video_format_desc& format_desc,
method send (line 1190) | std::future<bool> send(core::video_field field, core::const_frame ...
method call (line 1195) | std::future<bool> call(const std::vector<std::wstring>& params) ov...
method print (line 1200) | [[nodiscard]] std::wstring print() const override
method name (line 1205) | [[nodiscard]] std::wstring name() const override { return L"deckli...
method index (line 1207) | [[nodiscard]] int index() const override { return 300 + static_cas...
method has_synchronization_clock (line 1209) | [[nodiscard]] bool has_synchronization_clock() const override { re...
method state (line 1211) | [[nodiscard]] core::monitor::state state() const override { return...
function create_consumer (line 1214) | spl::shared_ptr<core::frame_consumer> create_consumer(const std::vec...
function create_preconfigured_consumer (line 1235) | spl::shared_ptr<core::frame_consumer>
FILE: src/modules/decklink/consumer/decklink_consumer.h
function namespace (line 34) | namespace caspar { namespace decklink {
FILE: src/modules/decklink/consumer/format_strategy.h
function namespace (line 35) | namespace caspar { namespace decklink {
FILE: src/modules/decklink/consumer/monitor.cpp
type caspar (line 24) | namespace caspar { namespace decklink {
type decklink (line 24) | namespace decklink {
function get_state_for_port (line 26) | core::monitor::state get_state_for_port(const port_configuration& ...
function get_state_for_config (line 52) | core::monitor::state get_state_for_config(const configuration& confi...
FILE: src/modules/decklink/consumer/monitor.h
function namespace (line 28) | namespace caspar { namespace decklink {
FILE: src/modules/decklink/consumer/sdr_bgra_strategy.cpp
type caspar (line 32) | namespace caspar { namespace decklink {
type decklink (line 32) | namespace decklink {
function convert_to_key_only (line 34) | std::shared_ptr<void> convert_to_key_only(const std::shared_ptr<void...
class sdr_bgra_strategy (line 43) | class sdr_bgra_strategy
method sdr_bgra_strategy (line 48) | sdr_bgra_strategy() = default;
method BMDPixelFormat (line 50) | BMDPixelFormat get_pixel_format() override { return bmdFormat8BitB...
method get_row_bytes (line 51) | int get_row_bytes(int width) override { return width * ...
method allocate_frame_data (line 53) | std::shared_ptr<void> allocate_frame_data(const core::video_format...
method convert_frame_for_port (line 58) | std::shared_ptr<void> convert_frame_for_port(const core::video_for...
method convert_frame (line 94) | void convert_frame(const core::video_format_desc& channel_format_d...
function create_sdr_bgra_strategy (line 185) | spl::shared_ptr<format_strategy> create_sdr_bgra_strategy()
FILE: src/modules/decklink/consumer/v210_strategies.cpp
type caspar (line 43) | namespace caspar { namespace decklink {
type decklink (line 43) | namespace decklink {
function create_int_matrix (line 45) | std::vector<int32_t> create_int_matrix(const std::vector<float>& mat...
function rgb_to_yuv_avx2 (line 72) | inline void rgb_to_yuv_avx2(__m256i pixel_pairs[4],
function pack_v210_avx2 (line 121) | inline void pack_v210_avx2(__m256i luma[6], __m256i chroma[6], __m12...
type ARGBPixel (line 164) | struct ARGBPixel
function pack_v210 (line 173) | void pack_v210(const ARGBPixel<T>* src, const std::vector<int32_t>& ...
class v210_strategy (line 224) | class v210_strategy
method v210_strategy (line 252) | explicit v210_strategy(core::color_space color_space, uint8_t bpc)
method BMDPixelFormat (line 263) | BMDPixelFormat get_pixel_format() override { return bmdFormat10Bit...
method get_row_bytes (line 265) | int get_row_bytes(int width) override { return ((width + 47) / 48)...
method allocate_frame_data (line 267) | std::shared_ptr<void> allocate_frame_data(const core::video_format...
method convert_frame_for_port (line 272) | std::shared_ptr<void> convert_frame_for_port(const core::video_for...
method fill_black_groups (line 287) | inline void fill_black_groups(__m128i*& dest, int count) const
method convert_48_pixels_avx2 (line 296) | inline void convert_48_pixels_avx2(const ARGBPixel<T>*& src, __m12...
method convert_remaining_pixels (line 340) | inline void convert_remaining_pixels(const ARGBPixel<T>*& src, __m...
method do_convert_frame_for_port (line 365) | std::shared_ptr<void> do_convert_frame_for_port(const core::video_...
method convert_frame (line 401) | void convert_frame(const core::video_format_desc& channel_format_d...
function create_sdr_v210_strategy (line 506) | spl::shared_ptr<format_strategy> create_sdr_v210_strategy(core::colo...
function create_hdr_v210_strategy (line 511) | spl::shared_ptr<format_strategy> create_hdr_v210_strategy(core::colo...
FILE: src/modules/decklink/consumer/vanc.cpp
type caspar (line 25) | namespace caspar { namespace decklink {
type decklink (line 25) | namespace decklink {
class decklink_vanc_packet (line 27) | class decklink_vanc_packet : public IDeckLinkAncillaryPacket
method decklink_vanc_packet (line 33) | explicit decklink_vanc_packet(vanc_packet pkt)
method QueryInterface (line 39) | QueryInterface(REFIID, LPVOID*) override { return E_NOINTERFACE; }
method AddRef (line 40) | AddRef() override { return ++ref_count_; }
method Release (line 41) | Release() override
method GetBytes (line 53) | GetBytes(BMDAncillaryPacketFormat format, const void** data, unsig...
method GetDID (line 65) | GetDID(void) override { return pkt_.did; }
method GetSDID (line 66) | GetSDID(void) override { return pkt_.sdid; }
method GetLineNumber (line 67) | GetLineNumber(void) override { return pkt_.line_number; }
method GetDataStreamIndex (line 68) | GetDataStreamIndex(void) override { return 0; }
function create_vanc (line 122) | std::shared_ptr<decklink_vanc> create_vanc(const vanc_configuration&...
FILE: src/modules/decklink/consumer/vanc.h
function namespace (line 27) | namespace caspar { namespace decklink {
FILE: src/modules/decklink/consumer/vanc_op47_strategy.cpp
type caspar (line 14) | namespace caspar { namespace decklink {
type decklink (line 14) | namespace decklink {
class vanc_op47_strategy (line 19) | class vanc_op47_strategy : public decklink_vanc_strategy
method vanc_op47_strategy (line 34) | vanc_op47_strategy(uint32_t line_number, uint32_t line_number_2, u...
method has_data (line 43) | virtual bool has_data() const override
method vanc_packet (line 48) | virtual vanc_packet pop_packet(bool field2) override
method try_push_data (line 65) | virtual bool try_push_data(const std::vector<std::wstring>& params...
method sdp_encode (line 84) | std::vector<uint8_t> sdp_encode(const std::vector<uint8_t>& packet...
method base64_decode (line 118) | std::vector<uint8_t> base64_decode(const std::wstring& encoded)
function create_op47_strategy (line 130) | std::shared_ptr<decklink_vanc_strategy>
FILE: src/modules/decklink/consumer/vanc_scte104_strategy.cpp
type caspar (line 6) | namespace caspar { namespace decklink {
type decklink (line 6) | namespace decklink {
class vanc_scte104_strategy (line 11) | class vanc_scte104_strategy : public decklink_vanc_strategy
method vanc_scte104_strategy (line 21) | explicit vanc_scte104_strategy(uint32_t line_number)
method has_data (line 26) | virtual bool has_data() const override
method vanc_packet (line 32) | virtual vanc_packet pop_packet(bool field2) override
method try_push_data (line 55) | virtual bool try_push_data(const std::vector<std::wstring>& params...
method base64_decode (line 76) | std::vector<uint8_t> base64_decode(const std::wstring& encoded)
function create_scte104_strategy (line 88) | std::shared_ptr<decklink_vanc_strategy> create_scte104_strategy(uint...
FILE: src/modules/decklink/decklink.cpp
type caspar (line 35) | namespace caspar { namespace decklink {
type decklink (line 35) | namespace decklink {
function get_version (line 37) | std::wstring get_version()
function device_list (line 51) | std::vector<std::wstring> device_list()
function init (line 77) | void init(const core::module_dependencies& dependencies)
FILE: src/modules/decklink/decklink.h
function namespace (line 26) | namespace caspar { namespace decklink {
FILE: src/modules/decklink/decklink_api.h
function namespace (line 34) | namespace caspar { namespace decklink {
function namespace (line 118) | namespace decklink {
function com_ptr (line 160) | static com_ptr<IDeckLinkIterator> create_iterator()
function com_ptr (line 170) | static com_ptr<IDeckLinkVideoFrameAncillaryPackets> create_ancillary_pac...
function REFIID (line 182) | REFIID iface_id()
FILE: src/modules/decklink/interop/DeckLinkAPI_i.c
type IID (line 49) | typedef struct _IID
type IID (line 61) | typedef IID CLSID;
FILE: src/modules/decklink/interop/DecklinkAPI.h
type interface (line 53) | typedef interface IDeckLinkTimecode
type interface (line 60) | typedef interface IDeckLinkDisplayModeIterator
type interface (line 67) | typedef interface IDeckLinkDisplayMode
type interface (line 74) | typedef interface IDeckLink IDeckLink;
type interface (line 81) | typedef interface IDeckLinkConfiguration
type interface (line 88) | typedef interface IDeckLinkEncoderConfiguration
type interface (line 95) | typedef interface IDeckLinkDeckControlStatusCallback
type interface (line 102) | typedef interface IDeckLinkDeckControl
type interface (line 109) | typedef interface IBMDStreamingDeviceNotificationCallback
type interface (line 116) | typedef interface IBMDStreamingH264InputCallback
type interface (line 123) | typedef interface IBMDStreamingDiscovery
type interface (line 130) | typedef interface IBMDStreamingVideoEncodingMode
type interface (line 137) | typedef interface IBMDStreamingMutableVideoEncodingMode
type interface (line 144) | typedef interface IBMDStreamingVideoEncodingModePresetIterator
type interface (line 151) | typedef interface IBMDStreamingDeviceInput
type interface (line 158) | typedef interface IBMDStreamingH264NALPacket
type interface (line 165) | typedef interface IBMDStreamingAudioPacket
type interface (line 172) | typedef interface IBMDStreamingMPEG2TSPacket
type interface (line 179) | typedef interface IBMDStreamingH264NALParser
type class (line 188) | typedef class CBMDStreamingDiscovery
type CBMDStreamingDiscovery (line 190) | typedef struct CBMDStreamingDiscovery CBMDStreamingDiscovery;
type class (line 200) | typedef class CBMDStreamingH264NALParser
type CBMDStreamingH264NALParser (line 202) | typedef struct CBMDStreamingH264NALParser CBMDStreamingH264NALParser;
type interface (line 210) | typedef interface IDeckLinkVideoOutputCallback
type interface (line 217) | typedef interface IDeckLinkInputCallback
type interface (line 224) | typedef interface IDeckLinkEncoderInputCallback
type interface (line 231) | typedef interface IDeckLinkMemoryAllocator
type interface (line 238) | typedef interface IDeckLinkAudioOutputCallback
type interface (line 245) | typedef interface IDeckLinkIterator
type interface (line 252) | typedef interface IDeckLinkAPIInformation
type interface (line 259) | typedef interface IDeckLinkOutput
type interface (line 266) | typedef interface IDeckLinkInput
type interface (line 273) | typedef interface IDeckLinkHDMIInputEDID
type interface (line 280) | typedef interface IDeckLinkEncoderInput
type interface (line 287) | typedef interface IDeckLinkVideoFrame
type interface (line 294) | typedef interface IDeckLinkMutableVideoFrame
type interface (line 301) | typedef interface IDeckLinkVideoFrame3DExtensions
type interface (line 308) | typedef interface IDeckLinkVideoFrameMetadataExtensions
type interface (line 315) | typedef interface IDeckLinkVideoInputFrame
type interface (line 322) | typedef interface IDeckLinkAncillaryPacket
type interface (line 329) | typedef interface IDeckLinkAncillaryPacketIterator
type interface (line 336) | typedef interface IDeckLinkVideoFrameAncillaryPackets
type interface (line 343) | typedef interface IDeckLinkVideoFrameAncillary
type interface (line 350) | typedef interface IDeckLinkEncoderPacket
type interface (line 357) | typedef interface IDeckLinkEncoderVideoPacket
type interface (line 364) | typedef interface IDeckLinkEncoderAudioPacket
type interface (line 371) | typedef interface IDeckLinkH265NALPacket
type interface (line 378) | typedef interface IDeckLinkAudioInputPacket
type interface (line 385) | typedef interface IDeckLinkScreenPreviewCallback
type interface (line 392) | typedef interface IDeckLinkGLScreenPreviewHelper
type interface (line 399) | typedef interface IDeckLinkDX9ScreenPreviewHelper
type interface (line 406) | typedef interface IDeckLinkWPFDX9ScreenPreviewHelper
type interface (line 413) | typedef interface IDeckLinkNotificationCallback
type interface (line 420) | typedef interface IDeckLinkNotification
type interface (line 427) | typedef interface IDeckLinkProfileAttributes
type interface (line 434) | typedef interface IDeckLinkProfileIterator
type interface (line 441) | typedef interface IDeckLinkProfile
type interface (line 448) | typedef interface IDeckLinkProfileCallback
type interface (line 455) | typedef interface IDeckLinkProfileManager
type interface (line 462) | typedef interface IDeckLinkStatus
type interface (line 469) | typedef interface IDeckLinkKeyer
type interface (line 476) | typedef interface IDeckLinkVideoConversion
type interface (line 483) | typedef interface IDeckLinkDeviceNotificationCallback
type interface (line 490) | typedef interface IDeckLinkDiscovery
type class (line 499) | typedef class CDeckLinkIterator
type CDeckLinkIterator (line 501) | typedef struct CDeckLinkIterator CDeckLinkIterator;
type class (line 511) | typedef class CDeckLinkAPIInformation
type CDeckLinkAPIInformation (line 513) | typedef struct CDeckLinkAPIInformation CDeckLinkAPIInformation;
type class (line 523) | typedef class CDeckLinkGLScreenPreviewHelper
type CDeckLinkGLScreenPreviewHelper (line 525) | typedef struct CDeckLinkGLScreenPreviewHelper CDeckLinkGLScreenPreviewHe...
type class (line 535) | typedef class CDeckLinkGL3ScreenPreviewHelper
type CDeckLinkGL3ScreenPreviewHelper (line 537) | typedef struct CDeckLinkGL3ScreenPreviewHelper CDeckLinkGL3ScreenPreview...
type class (line 547) | typedef class CDeckLinkDX9ScreenPreviewHelper
type CDeckLinkDX9ScreenPreviewHelper (line 549) | typedef struct CDeckLinkDX9ScreenPreviewHelper CDeckLinkDX9ScreenPreview...
type class (line 559) | typedef class CDeckLinkWPFDX9ScreenPreviewHelper
type CDeckLinkWPFDX9ScreenPreviewHelper (line 561) | typedef struct CDeckLinkWPFDX9ScreenPreviewHelper CDeckLinkWPFDX9ScreenP...
type class (line 571) | typedef class CDeckLinkVideoConversion
type CDeckLinkVideoConversion (line 573) | typedef struct CDeckLinkVideoConversion CDeckLinkVideoConversion;
type class (line 583) | typedef class CDeckLinkDiscovery
type CDeckLinkDiscovery (line 585) | typedef struct CDeckLinkDiscovery CDeckLinkDiscovery;
type class (line 595) | typedef class CDeckLinkVideoFrameAncillaryPackets
type CDeckLinkVideoFrameAncillaryPackets (line 597) | typedef struct CDeckLinkVideoFrameAncillaryPackets CDeckLinkVideoFrameAn...
type interface (line 605) | typedef interface IDeckLinkInputCallback_v11_5_1
type interface (line 612) | typedef interface IDeckLinkInput_v11_5_1
type interface (line 619) | typedef interface IDeckLinkConfiguration_v10_11
type interface (line 626) | typedef interface IDeckLinkAttributes_v10_11
type interface (line 633) | typedef interface IDeckLinkNotification_v10_11
type interface (line 640) | typedef interface IDeckLinkOutput_v10_11
type interface (line 647) | typedef interface IDeckLinkInput_v10_11
type interface (line 654) | typedef interface IDeckLinkEncoderInput_v10_11
type class (line 663) | typedef class CDeckLinkIterator_v10_11
type CDeckLinkIterator_v10_11 (line 665) | typedef struct CDeckLinkIterator_v10_11 CDeckLinkIterator_v10_11;
type class (line 675) | typedef class CDeckLinkDiscovery_v10_11
type CDeckLinkDiscovery_v10_11 (line 677) | typedef struct CDeckLinkDiscovery_v10_11 CDeckLinkDiscovery_v10_11;
type interface (line 685) | typedef interface IDeckLinkConfiguration_v10_9
type class (line 694) | typedef class CBMDStreamingDiscovery_v10_8
type CBMDStreamingDiscovery_v10_8 (line 696) | typedef struct CBMDStreamingDiscovery_v10_8 CBMDStreamingDiscovery_v10_8;
type interface (line 704) | typedef interface IDeckLinkConfiguration_v10_4
type interface (line 711) | typedef interface IDeckLinkConfiguration_v10_2
type interface (line 718) | typedef interface IDeckLinkVideoFrameMetadataExtensions_v11_5
type interface (line 725) | typedef interface IDeckLinkOutput_v11_4
type interface (line 732) | typedef interface IDeckLinkInput_v11_4
type class (line 741) | typedef class CDeckLinkIterator_v10_8
type CDeckLinkIterator_v10_8 (line 743) | typedef struct CDeckLinkIterator_v10_8 CDeckLinkIterator_v10_8;
type class (line 753) | typedef class CDeckLinkDiscovery_v10_8
type CDeckLinkDiscovery_v10_8 (line 755) | typedef struct CDeckLinkDiscovery_v10_8 CDeckLinkDiscovery_v10_8;
type interface (line 763) | typedef interface IDeckLinkEncoderConfiguration_v10_5
type interface (line 770) | typedef interface IDeckLinkOutput_v9_9
type interface (line 777) | typedef interface IDeckLinkInput_v9_2
type interface (line 784) | typedef interface IDeckLinkDeckControlStatusCallback_v8_1
type interface (line 791) | typedef interface IDeckLinkDeckControl_v8_1
type interface (line 798) | typedef interface IDeckLink_v8_0
type interface (line 805) | typedef interface IDeckLinkIterator_v8_0
type class (line 814) | typedef class CDeckLinkIterator_v8_0
type CDeckLinkIterator_v8_0 (line 816) | typedef struct CDeckLinkIterator_v8_0 CDeckLinkIterator_v8_0;
type interface (line 824) | typedef interface IDeckLinkDeckControl_v7_9
type interface (line 831) | typedef interface IDeckLinkDisplayModeIterator_v7_6
type interface (line 838) | typedef interface IDeckLinkDisplayMode_v7_6
type interface (line 845) | typedef interface IDeckLinkOutput_v7_6
type interface (line 852) | typedef interface IDeckLinkInput_v7_6
type interface (line 859) | typedef interface IDeckLinkTimecode_v7_6
type interface (line 866) | typedef interface IDeckLinkVideoFrame_v7_6
type interface (line 873) | typedef interface IDeckLinkMutableVideoFrame_v7_6
type interface (line 880) | typedef interface IDeckLinkVideoInputFrame_v7_6
type interface (line 887) | typedef interface IDeckLinkScreenPreviewCallback_v7_6
type interface (line 894) | typedef interface IDeckLinkGLScreenPreviewHelper_v7_6
type interface (line 901) | typedef interface IDeckLinkVideoConversion_v7_6
type interface (line 908) | typedef interface IDeckLinkConfiguration_v7_6
type interface (line 915) | typedef interface IDeckLinkVideoOutputCallback_v7_6
type interface (line 922) | typedef interface IDeckLinkInputCallback_v7_6
type class (line 931) | typedef class CDeckLinkGLScreenPreviewHelper_v7_6
type CDeckLinkGLScreenPreviewHelper_v7_6 (line 933) | typedef struct CDeckLinkGLScreenPreviewHelper_v7_6 CDeckLinkGLScreenPrev...
type class (line 943) | typedef class CDeckLinkVideoConversion_v7_6
type CDeckLinkVideoConversion_v7_6 (line 945) | typedef struct CDeckLinkVideoConversion_v7_6 CDeckLinkVideoConversion_v7_6;
type interface (line 953) | typedef interface IDeckLinkInputCallback_v7_3
type interface (line 960) | typedef interface IDeckLinkOutput_v7_3
type interface (line 967) | typedef interface IDeckLinkInput_v7_3
type interface (line 974) | typedef interface IDeckLinkVideoInputFrame_v7_3
type interface (line 981) | typedef interface IDeckLinkDisplayModeIterator_v7_1
type interface (line 988) | typedef interface IDeckLinkDisplayMode_v7_1
type interface (line 995) | typedef interface IDeckLinkVideoFrame_v7_1
type interface (line 1002) | typedef interface IDeckLinkVideoInputFrame_v7_1
type interface (line 1009) | typedef interface IDeckLinkAudioInputPacket_v7_1
type interface (line 1016) | typedef interface IDeckLinkVideoOutputCallback_v7_1
type interface (line 1023) | typedef interface IDeckLinkInputCallback_v7_1
type interface (line 1030) | typedef interface IDeckLinkOutput_v7_1
type interface (line 1037) | typedef interface IDeckLinkInput_v7_1
type LONGLONG (line 1057) | typedef LONGLONG BMDTimeValue;
type LONGLONG (line 1059) | typedef LONGLONG BMDTimeScale;
type BMDTimecodeBCD (line 1061) | typedef unsigned int BMDTimecodeBCD;
type BMDTimecodeUserBits (line 1063) | typedef unsigned int BMDTimecodeUserBits;
type BMDTimecodeFlags (line 1065) | typedef unsigned int BMDTimecodeFlags;
type BMDTimecodeFlags (line 1067) | typedef enum _BMDTimecodeFlags BMDTimecodeFlags;
type _BMDTimecodeFlags (line 1071) | enum _BMDTimecodeFlags
type BMDVideoConnection (line 1080) | typedef /* [v1_enum] */
type BMDAudioConnection (line 1092) | typedef /* [v1_enum] */
type BMDDeckControlConnection (line 1104) | typedef /* [v1_enum] */
type BMDDisplayModeFlags (line 1112) | typedef unsigned int BMDDisplayModeFlags;
type BMDDisplayModeFlags (line 1114) | typedef enum _BMDDisplayModeFlags BMDDisplayModeFlags;
type BMDDisplayMode (line 1117) | typedef /* [v1_enum] */
type BMDFieldDominance (line 1233) | typedef /* [v1_enum] */
type BMDPixelFormat (line 1243) | typedef /* [v1_enum] */
type _BMDDisplayModeFlags (line 1261) | enum _BMDDisplayModeFlags
type BMDDeckLinkConfigurationID (line 1275) | typedef /* [v1_enum] */
type BMDDeckLinkEncoderConfigurationID (line 1357) | typedef /* [v1_enum] */
type BMDDeckControlStatusFlags (line 1371) | typedef unsigned int BMDDeckControlStatusFlags;
type BMDDeckControlExportModeOpsFlags (line 1372) | typedef unsigned int BMDDeckControlExportModeOpsFlags;
type BMDDeckControlStatusFlags (line 1374) | typedef enum _BMDDeckControlStatusFlags BMDDeckControlStatusFlags;
type BMDDeckControlExportModeOpsFlags (line 1376) | typedef enum _BMDDeckControlExportModeOpsFlags BMDDeckControlExportModeO...
type BMDDeckControlMode (line 1379) | typedef /* [v1_enum] */
type BMDDeckControlEvent (line 1388) | typedef /* [v1_enum] */
type BMDDeckControlVTRControlState (line 1398) | typedef /* [v1_enum] */
type _BMDDeckControlStatusFlags (line 1413) | enum _BMDDeckControlStatusFlags
type _BMDDeckControlExportModeOpsFlags (line 1421) | enum _BMDDeckControlExportModeOpsFlags
type BMDDeckControlError (line 1441) | typedef /* [v1_enum] */
type BMDStreamingDeviceMode (line 1466) | typedef /* [v1_enum] */
type BMDStreamingEncodingFrameRate (line 1475) | typedef /* [v1_enum] */
type BMDStreamingEncodingSupport (line 1491) | typedef /* [v1_enum] */
type BMDStreamingVideoCodec (line 1499) | typedef /* [v1_enum] */
type BMDStreamingH264Profile (line 1505) | typedef /* [v1_enum] */
type BMDStreamingH264Level (line 1513) | typedef /* [v1_enum] */
type BMDStreamingH264EntropyCoding (line 1529) | typedef /* [v1_enum] */
type BMDStreamingAudioCodec (line 1536) | typedef /* [v1_enum] */
type BMDStreamingEncodingModePropertyID (line 1542) | typedef /* [v1_enum] */
type BMDFrameFlags (line 1568) | typedef unsigned int BMDFrameFlags;
type BMDVideoInputFlags (line 1569) | typedef unsigned int BMDVideoInputFlags;
type BMDVideoInputFormatChangedEvents (line 1570) | typedef unsigned int BMDVideoInputFormatChangedEvents;
type BMDDetectedVideoInputFormatFlags (line 1571) | typedef unsigned int BMDDetectedVideoInputFormatFlags;
type BMDDeckLinkCapturePassthroughMode (line 1572) | typedef unsigned int BMDDeckLinkCapturePassthroughMode;
type BMDAnalogVideoFlags (line 1573) | typedef unsigned int BMDAnalogVideoFlags;
type BMDDeviceBusyState (line 1574) | typedef unsigned int BMDDeviceBusyState;
type BMDFrameFlags (line 1576) | typedef enum _BMDFrameFlags BMDFrameFlags;
type BMDVideoInputFlags (line 1578) | typedef enum _BMDVideoInputFlags BMDVideoInputFlags;
type BMDVideoInputFormatChangedEvents (line 1580) | typedef enum _BMDVideoInputFormatChangedEvents BMDVideoInputFormatChange...
type BMDDetectedVideoInputFormatFlags (line 1582) | typedef enum _BMDDetectedVideoInputFormatFlags BMDDetectedVideoInputForm...
type BMDDeckLinkCapturePassthroughMode (line 1584) | typedef enum _BMDDeckLinkCapturePassthroughMode BMDDeckLinkCapturePassth...
type BMDAnalogVideoFlags (line 1586) | typedef enum _BMDAnalogVideoFlags BMDAnalogVideoFlags;
type BMDDeviceBusyState (line 1588) | typedef enum _BMDDeviceBusyState BMDDeviceBusyState;
type BMDVideoOutputFlags (line 1591) | typedef /* [v1_enum] */
type BMDSupportedVideoModeFlags (line 1602) | typedef /* [v1_enum] */
type BMDPacketType (line 1614) | typedef /* [v1_enum] */
type _BMDFrameFlags (line 1622) | enum _BMDFrameFlags
type _BMDVideoInputFlags (line 1631) | enum _BMDVideoInputFlags
type _BMDVideoInputFormatChangedEvents (line 1639) | enum _BMDVideoInputFormatChangedEvents
type _BMDDetectedVideoInputFormatFlags (line 1646) | enum _BMDDetectedVideoInputFormatFlags
type _BMDDeckLinkCapturePassthroughMode (line 1656) | enum _BMDDeckLinkCapturePassthroughMode
type BMDOutputFrameCompletionResult (line 1662) | typedef /* [v1_enum] */
type BMDReferenceStatus (line 1671) | typedef /* [v1_enum] */
type BMDAudioFormat (line 1679) | typedef /* [v1_enum] */
type BMDAudioSampleRate (line 1685) | typedef /* [v1_enum] */
type BMDAudioSampleType (line 1691) | typedef /* [v1_enum] */
type BMDAudioOutputStreamType (line 1698) | typedef /* [v1_enum] */
type BMDAncillaryPacketFormat (line 1706) | typedef /* [v1_enum] */
type BMDTimecodeFormat (line 1714) | typedef /* [v1_enum] */
type _BMDAnalogVideoFlags (line 1728) | enum _BMDAnalogVideoFlags
type BMDAudioOutputAnalogAESSwitch (line 1733) | typedef /* [v1_enum] */
type BMDVideoOutputConversionMode (line 1740) | typedef /* [v1_enum] */
type BMDVideoInputConversionMode (line 1759) | typedef /* [v1_enum] */
type BMDVideo3DPackingFormat (line 1771) | typedef /* [v1_enum] */
type BMDIdleVideoOutputOperation (line 1782) | typedef /* [v1_enum] */
type BMDVideoEncoderFrameCodingMode (line 1789) | typedef /* [v1_enum] */
type BMDDNxHRLevel (line 1796) | typedef /* [v1_enum] */
type BMDLinkConfiguration (line 1806) | typedef /* [v1_enum] */
type BMDDeviceInterface (line 1814) | typedef /* [v1_enum] */
type BMDColorspace (line 1822) | typedef /* [v1_enum] */
type BMDDynamicRange (line 1830) | typedef /* [v1_enum] */
type BMDDeckLinkHDMIInputEDIDID (line 1838) | typedef /* [v1_enum] */
type BMDDeckLinkFrameMetadataID (line 1844) | typedef /* [v1_enum] */
type BMDProfileID (line 1863) | typedef /* [v1_enum] */
type BMDHDMITimecodePacking (line 1873) | typedef /* [v1_enum] */
type BMDInternalKeyingAncillaryDataSource (line 1881) | typedef /* [v1_enum] */
type BMDDeckLinkAttributeID (line 1888) | typedef /* [v1_enum] */
type BMDDeckLinkAPIInformationID (line 1951) | typedef /* [v1_enum] */
type BMDDeckLinkStatusID (line 1957) | typedef /* [v1_enum] */
type BMDDeckLinkVideoStatusFlags (line 1984) | typedef /* [v1_enum] */
type BMDDuplexMode (line 1991) | typedef /* [v1_enum] */
type BMDPanelType (line 2000) | typedef /* [v1_enum] */
type _BMDDeviceBusyState (line 2008) | enum _BMDDeviceBusyState
type BMDVideoIOSupport (line 2014) | typedef /* [v1_enum] */
type BMD3DPreviewFormat (line 2021) | typedef /* [v1_enum] */
type BMDNotifications (line 2031) | typedef /* [v1_enum] */
type BMDDeckLinkStatusID_v11_5_1 (line 2079) | typedef /* [v1_enum] */
type BMDDisplayModeSupport_v10_11 (line 2085) | typedef /* [v1_enum] */
type BMDDuplexMode_v10_11 (line 2093) | typedef /* [v1_enum] */
type BMDDeckLinkConfigurationID_v10_11 (line 2100) | typedef /* [v1_enum] */
type BMDDeckLinkAttributeID_v10_11 (line 2106) | typedef /* [v1_enum] */
type BMDDeckLinkStatusID_v10_11 (line 2115) | typedef /* [v1_enum] */
type BMDDuplexStatus_v10_11 (line 2121) | typedef /* [v1_enum] */
type BMDDeckLinkConfigurationID_v10_9 (line 2133) | typedef /* [v1_enum] */
type BMDDeckLinkConfigurationID_v10_4 (line 2140) | typedef /* [v1_enum] */
type BMDDeckLinkConfigurationID_v10_2 (line 2147) | typedef /* [v1_enum] */
type BMDAudioConnection_v10_2 (line 2153) | typedef /* [v1_enum] */
type BMDDeckLinkFrameMetadataID_v11_5 (line 2164) | typedef /* [v1_enum] */
type BMDDeckLinkAttributeID_v10_6 (line 2215) | typedef /* [v1_enum] */
type BMDIdleVideoOutputOperation_v10_6 (line 2221) | typedef /* [v1_enum] */
type BMDDeckLinkAttributeID_v10_5 (line 2227) | typedef /* [v1_enum] */
type BMDDeckControlVTRControlState_v8_1 (line 2234) | typedef /* [v1_enum] */
type BMDVideoConnection_v7_6 (line 2247) | typedef /* [v1_enum] */
type IDeckLinkTimecodeVtbl (line 2318) | typedef struct IDeckLinkTimecodeVtbl
function interface (line 2366) | interface IDeckLinkTimecode
type IDeckLinkDisplayModeIteratorVtbl (line 2435) | typedef struct IDeckLinkDisplayModeIteratorVtbl
function interface (line 2462) | interface IDeckLinkDisplayModeIterator
type IDeckLinkDisplayModeVtbl (line 2533) | typedef struct IDeckLinkDisplayModeVtbl
function interface (line 2586) | interface IDeckLinkDisplayMode
type IDeckLinkVtbl (line 2664) | typedef struct IDeckLinkVtbl
function interface (line 2696) | interface IDeckLink
type IDeckLinkConfigurationVtbl (line 2787) | typedef struct IDeckLinkConfigurationVtbl
function interface (line 2861) | interface IDeckLinkConfiguration
type IDeckLinkEncoderConfigurationVtbl (line 2976) | typedef struct IDeckLinkEncoderConfigurationVtbl
function interface (line 3053) | interface IDeckLinkEncoderConfiguration
type IDeckLinkDeckControlStatusCallbackVtbl (line 3146) | typedef struct IDeckLinkDeckControlStatusCallbackVtbl
function interface (line 3191) | interface IDeckLinkDeckControlStatusCallback
type IDeckLinkDeckControlVtbl (line 3377) | typedef struct IDeckLinkDeckControlVtbl
function interface (line 3588) | interface IDeckLinkDeckControl
type IBMDStreamingDeviceNotificationCallbackVtbl (line 3748) | typedef struct IBMDStreamingDeviceNotificationCallbackVtbl
function interface (line 3786) | interface IBMDStreamingDeviceNotificationCallback
type IBMDStreamingH264InputCallbackVtbl (line 3861) | typedef struct IBMDStreamingH264InputCallbackVtbl
function interface (line 3910) | interface IBMDStreamingH264InputCallback
type IBMDStreamingDiscoveryVtbl (line 3984) | typedef struct IBMDStreamingDiscoveryVtbl
function interface (line 4015) | interface IBMDStreamingDiscovery
type IBMDStreamingVideoEncodingModeVtbl (line 4108) | typedef struct IBMDStreamingVideoEncodingModeVtbl
function interface (line 4192) | interface IBMDStreamingVideoEncodingMode
type IBMDStreamingMutableVideoEncodingModeVtbl (line 4308) | typedef struct IBMDStreamingMutableVideoEncodingModeVtbl
function interface (line 4430) | interface IBMDStreamingMutableVideoEncodingMode
type IBMDStreamingVideoEncodingModePresetIteratorVtbl (line 4542) | typedef struct IBMDStreamingVideoEncodingModePresetIteratorVtbl
function interface (line 4569) | interface IBMDStreamingVideoEncodingModePresetIterator
type IBMDStreamingDeviceInputVtbl (line 4659) | typedef struct IBMDStreamingDeviceInputVtbl
function interface (line 4739) | interface IBMDStreamingDeviceInput
type IBMDStreamingH264NALPacketVtbl (line 4838) | typedef struct IBMDStreamingH264NALPacketVtbl
function interface (line 4885) | interface IBMDStreamingH264NALPacket
type IBMDStreamingAudioPacketVtbl (line 4965) | typedef struct IBMDStreamingAudioPacketVtbl
function interface (line 5011) | interface IBMDStreamingAudioPacket
type IBMDStreamingMPEG2TSPacketVtbl (line 5082) | typedef struct IBMDStreamingMPEG2TSPacketVtbl
function interface (line 5113) | interface IBMDStreamingMPEG2TSPacket
type IBMDStreamingH264NALParserVtbl (line 5182) | typedef struct IBMDStreamingH264NALParserVtbl
function interface (line 5222) | interface IBMDStreamingH264NALParser
type IDeckLinkVideoOutputCallbackVtbl (line 5304) | typedef struct IDeckLinkVideoOutputCallbackVtbl
function interface (line 5336) | interface IDeckLinkVideoOutputCallback
type IDeckLinkInputCallbackVtbl (line 5402) | typedef struct IDeckLinkInputCallbackVtbl
function interface (line 5437) | interface IDeckLinkInputCallback
type IDeckLinkEncoderInputCallbackVtbl (line 5505) | typedef struct IDeckLinkEncoderInputCallbackVtbl
function interface (line 5544) | interface IDeckLinkEncoderInputCallback
type IDeckLinkMemoryAllocatorVtbl (line 5615) | typedef struct IDeckLinkMemoryAllocatorVtbl
function interface (line 5656) | interface IDeckLinkMemoryAllocator
type IDeckLinkAudioOutputCallbackVtbl (line 5722) | typedef struct IDeckLinkAudioOutputCallbackVtbl
function interface (line 5749) | interface IDeckLinkAudioOutputCallback
type IDeckLinkIteratorVtbl (line 5806) | typedef struct IDeckLinkIteratorVtbl
function interface (line 5833) | interface IDeckLinkIterator
type IDeckLinkAPIInformationVtbl (line 5903) | typedef struct IDeckLinkAPIInformationVtbl
function interface (line 5949) | interface IDeckLinkAPIInformation
type IDeckLinkOutputVtbl (line 6131) | typedef struct IDeckLinkOutputVtbl
function interface (line 6330) | interface IDeckLinkOutput
type IDeckLinkInputVtbl (line 6527) | typedef struct IDeckLinkInputVtbl
function interface (line 6642) | interface IDeckLinkInput
type IDeckLinkHDMIInputEDIDVtbl (line 6754) | typedef struct IDeckLinkHDMIInputEDIDVtbl
function interface (line 6792) | interface IDeckLinkHDMIInputEDID
type IDeckLinkEncoderInputVtbl (line 6908) | typedef struct IDeckLinkEncoderInputVtbl
function interface (line 7018) | interface IDeckLinkEncoderInput
type IDeckLinkVideoFrameVtbl (line 7137) | typedef struct IDeckLinkVideoFrameVtbl
function interface (line 7195) | interface IDeckLinkVideoFrame
type IDeckLinkMutableVideoFrameVtbl (line 7292) | typedef struct IDeckLinkMutableVideoFrameVtbl
function interface (line 7382) | interface IDeckLinkMutableVideoFrame
type IDeckLinkVideoFrame3DExtensionsVtbl (line 7478) | typedef struct IDeckLinkVideoFrame3DExtensionsVtbl
function interface (line 7509) | interface IDeckLinkVideoFrame3DExtensions
type IDeckLinkVideoFrameMetadataExtensionsVtbl (line 7587) | typedef struct IDeckLinkVideoFrameMetadataExtensionsVtbl
function interface (line 7640) | interface IDeckLinkVideoFrameMetadataExtensions
type IDeckLinkVideoInputFrameVtbl (line 7716) | typedef struct IDeckLinkVideoInputFrameVtbl
function interface (line 7788) | interface IDeckLinkVideoInputFrame
type IDeckLinkAncillaryPacketVtbl (line 7883) | typedef struct IDeckLinkAncillaryPacketVtbl
function interface (line 7928) | interface IDeckLinkAncillaryPacket
type IDeckLinkAncillaryPacketIteratorVtbl (line 7997) | typedef struct IDeckLinkAncillaryPacketIteratorVtbl
function interface (line 8024) | interface IDeckLinkAncillaryPacketIterator
type IDeckLinkVideoFrameAncillaryPacketsVtbl (line 8094) | typedef struct IDeckLinkVideoFrameAncillaryPacketsVtbl
function interface (line 8142) | interface IDeckLinkVideoFrameAncillaryPackets
type IDeckLinkVideoFrameAncillaryVtbl (line 8216) | typedef struct IDeckLinkVideoFrameAncillaryVtbl
function interface (line 8252) | interface IDeckLinkVideoFrameAncillary
type IDeckLinkEncoderPacketVtbl (line 8323) | typedef struct IDeckLinkEncoderPacketVtbl
function interface (line 8364) | interface IDeckLinkEncoderPacket
type IDeckLinkEncoderVideoPacketVtbl (line 8438) | typedef struct IDeckLinkEncoderVideoPacketVtbl
function interface (line 8496) | interface IDeckLinkEncoderVideoPacket
type IDeckLinkEncoderAudioPacketVtbl (line 8571) | typedef struct IDeckLinkEncoderAudioPacketVtbl
function interface (line 8616) | interface IDeckLinkEncoderAudioPacket
type IDeckLinkH265NALPacketVtbl (line 8691) | typedef struct IDeckLinkH265NALPacketVtbl
function interface (line 8763) | interface IDeckLinkH265NALPacket
type IDeckLinkAudioInputPacketVtbl (line 8855) | typedef struct IDeckLinkAudioInputPacketVtbl
function interface (line 8892) | interface IDeckLinkAudioInputPacket
type IDeckLinkScreenPreviewCallbackVtbl (line 8955) | typedef struct IDeckLinkScreenPreviewCallbackVtbl
function interface (line 8982) | interface IDeckLinkScreenPreviewCallback
type IDeckLinkGLScreenPreviewHelperVtbl (line 9046) | typedef struct IDeckLinkGLScreenPreviewHelperVtbl
function interface (line 9086) | interface IDeckLinkGLScreenPreviewHelper
type IDeckLinkDX9ScreenPreviewHelperVtbl (line 9161) | typedef struct IDeckLinkDX9ScreenPreviewHelperVtbl
function interface (line 9203) | interface IDeckLinkDX9ScreenPreviewHelper
type IDeckLinkWPFDX9ScreenPreviewHelperVtbl (line 9283) | typedef struct IDeckLinkWPFDX9ScreenPreviewHelperVtbl
function interface (line 9334) | interface IDeckLinkWPFDX9ScreenPreviewHelper
type IDeckLinkNotificationCallbackVtbl (line 9408) | typedef struct IDeckLinkNotificationCallbackVtbl
function interface (line 9437) | interface IDeckLinkNotificationCallback
type IDeckLinkNotificationVtbl (line 9499) | typedef struct IDeckLinkNotificationVtbl
function interface (line 9533) | interface IDeckLinkNotification
type IDeckLinkProfileAttributesVtbl (line 9606) | typedef struct IDeckLinkProfileAttributesVtbl
function interface (line 9652) | interface IDeckLinkProfileAttributes
type IDeckLinkProfileIteratorVtbl (line 9718) | typedef struct IDeckLinkProfileIteratorVtbl
function interface (line 9745) | interface IDeckLinkProfileIterator
type IDeckLinkProfileVtbl (line 9810) | typedef struct IDeckLinkProfileVtbl
function interface (line 9851) | interface IDeckLinkProfile
type IDeckLinkProfileCallbackVtbl (line 9921) | typedef struct IDeckLinkProfileCallbackVtbl
function interface (line 9954) | interface IDeckLinkProfileCallback
type IDeckLinkProfileManagerVtbl (line 10021) | typedef struct IDeckLinkProfileManagerVtbl
function interface (line 10059) | interface IDeckLinkProfileManager
type IDeckLinkStatusVtbl (line 10140) | typedef struct IDeckLinkStatusVtbl
function interface (line 10193) | interface IDeckLinkStatus
type IDeckLinkKeyerVtbl (line 10273) | typedef struct IDeckLinkKeyerVtbl
function interface (line 10319) | interface IDeckLinkKeyer
type IDeckLinkVideoConversionVtbl (line 10389) | typedef struct IDeckLinkVideoConversionVtbl
function interface (line 10417) | interface IDeckLinkVideoConversion
type IDeckLinkDeviceNotificationCallbackVtbl (line 10477) | typedef struct IDeckLinkDeviceNotificationCallbackVtbl
function interface (line 10509) | interface IDeckLinkDeviceNotificationCallback
type IDeckLinkDiscoveryVtbl (line 10571) | typedef struct IDeckLinkDiscoveryVtbl
function interface (line 10602) | interface IDeckLinkDiscovery
type IDeckLinkInputCallback_v11_5_1Vtbl (line 10740) | typedef struct IDeckLinkInputCallback_v11_5_1Vtbl
function interface (line 10775) | interface IDeckLinkInputCallback_v11_5_1
type IDeckLinkInput_v11_5_1Vtbl (line 10891) | typedef struct IDeckLinkInput_v11_5_1Vtbl
function interface (line 11006) | interface IDeckLinkInput_v11_5_1
type IDeckLinkConfiguration_v10_11Vtbl (line 11142) | typedef struct IDeckLinkConfiguration_v10_11Vtbl
function interface (line 11216) | interface IDeckLinkConfiguration_v10_11
type IDeckLinkAttributes_v10_11Vtbl (line 11310) | typedef struct IDeckLinkAttributes_v10_11Vtbl
function interface (line 11356) | interface IDeckLinkAttributes_v10_11
type IDeckLinkNotification_v10_11Vtbl (line 11427) | typedef struct IDeckLinkNotification_v10_11Vtbl
function interface (line 11461) | interface IDeckLinkNotification_v10_11
type IDeckLinkOutput_v10_11Vtbl (line 11631) | typedef struct IDeckLinkOutput_v10_11Vtbl
function interface (line 11822) | interface IDeckLinkOutput_v10_11
type IDeckLinkInput_v10_11Vtbl (line 12010) | typedef struct IDeckLinkInput_v10_11Vtbl
function interface (line 12117) | interface IDeckLinkInput_v10_11
type IDeckLinkEncoderInput_v10_11Vtbl (line 12267) | typedef struct IDeckLinkEncoderInput_v10_11Vtbl
function interface (line 12370) | interface IDeckLinkEncoderInput_v10_11
type IDeckLinkConfiguration_v10_9Vtbl (line 12516) | typedef struct IDeckLinkConfiguration_v10_9Vtbl
function interface (line 12590) | interface IDeckLinkConfiguration_v10_9
type IDeckLinkConfiguration_v10_4Vtbl (line 12710) | typedef struct IDeckLinkConfiguration_v10_4Vtbl
function interface (line 12784) | interface IDeckLinkConfiguration_v10_4
type IDeckLinkConfiguration_v10_2Vtbl (line 12896) | typedef struct IDeckLinkConfiguration_v10_2Vtbl
function interface (line 12970) | interface IDeckLinkConfiguration_v10_2
type IDeckLinkVideoFrameMetadataExtensions_v11_5Vtbl (line 13064) | typedef struct IDeckLinkVideoFrameMetadataExtensions_v11_5Vtbl
function interface (line 13110) | interface IDeckLinkVideoFrameMetadataExtensions_v11_5
type IDeckLinkOutput_v11_4Vtbl (line 13291) | typedef struct IDeckLinkOutput_v11_4Vtbl
function interface (line 13489) | interface IDeckLinkOutput_v11_4
type IDeckLinkInput_v11_4Vtbl (line 13684) | typedef struct IDeckLinkInput_v11_4Vtbl
function interface (line 13797) | interface IDeckLinkInput_v11_4
type IDeckLinkEncoderConfiguration_v10_5Vtbl (line 13952) | typedef struct IDeckLinkEncoderConfiguration_v10_5Vtbl
function interface (line 14029) | interface IDeckLinkEncoderConfiguration_v10_5
type IDeckLinkOutput_v9_9Vtbl (line 14215) | typedef struct IDeckLinkOutput_v9_9Vtbl
function interface (line 14399) | interface IDeckLinkOutput_v9_9
type IDeckLinkInput_v9_2Vtbl (line 14581) | typedef struct IDeckLinkInput_v9_2Vtbl
function interface (line 14683) | interface IDeckLinkInput_v9_2
type IDeckLinkDeckControlStatusCallback_v8_1Vtbl (line 14794) | typedef struct IDeckLinkDeckControlStatusCallback_v8_1Vtbl
function interface (line 14839) | interface IDeckLinkDeckControlStatusCallback_v8_1
type IDeckLinkDeckControl_v8_1Vtbl (line 15025) | typedef struct IDeckLinkDeckControl_v8_1Vtbl
function interface (line 15236) | interface IDeckLinkDeckControl_v8_1
type IDeckLink_v8_0Vtbl (line 15389) | typedef struct IDeckLink_v8_0Vtbl
function interface (line 15416) | interface IDeckLink_v8_0
type IDeckLinkIterator_v8_0Vtbl (line 15473) | typedef struct IDeckLinkIterator_v8_0Vtbl
function interface (line 15500) | interface IDeckLinkIterator_v8_0
type IDeckLinkDeckControl_v7_9Vtbl (line 15677) | typedef struct IDeckLinkDeckControl_v7_9Vtbl
function interface (line 15878) | interface IDeckLinkDeckControl_v7_9
type IDeckLinkDisplayModeIterator_v7_6Vtbl (line 16028) | typedef struct IDeckLinkDisplayModeIterator_v7_6Vtbl
function interface (line 16055) | interface IDeckLinkDisplayModeIterator_v7_6
type IDeckLinkDisplayMode_v7_6Vtbl (line 16124) | typedef struct IDeckLinkDisplayMode_v7_6Vtbl
function interface (line 16173) | interface IDeckLinkDisplayMode_v7_6
type IDeckLinkOutput_v7_6Vtbl (line 16345) | typedef struct IDeckLinkOutput_v7_6Vtbl
function interface (line 16522) | interface IDeckLinkOutput_v7_6
type IDeckLinkInput_v7_6Vtbl (line 16699) | typedef struct IDeckLinkInput_v7_6Vtbl
function interface (line 16799) | interface IDeckLinkInput_v7_6
type IDeckLinkTimecode_v7_6Vtbl (line 16908) | typedef struct IDeckLinkTimecode_v7_6Vtbl
function interface (line 16951) | interface IDeckLinkTimecode_v7_6
type IDeckLinkVideoFrame_v7_6Vtbl (line 17034) | typedef struct IDeckLinkVideoFrame_v7_6Vtbl
function interface (line 17092) | interface IDeckLinkVideoFrame_v7_6
type IDeckLinkMutableVideoFrame_v7_6Vtbl (line 17185) | typedef struct IDeckLinkMutableVideoFrame_v7_6Vtbl
function interface (line 17269) | interface IDeckLinkMutableVideoFrame_v7_6
type IDeckLinkVideoInputFrame_v7_6Vtbl (line 17367) | typedef struct IDeckLinkVideoInputFrame_v7_6Vtbl
function interface (line 17439) | interface IDeckLinkVideoInputFrame_v7_6
type IDeckLinkScreenPreviewCallback_v7_6Vtbl (line 17524) | typedef struct IDeckLinkScreenPreviewCallback_v7_6Vtbl
function interface (line 17551) | interface IDeckLinkScreenPreviewCallback_v7_6
type IDeckLinkGLScreenPreviewHelper_v7_6Vtbl (line 17612) | typedef struct IDeckLinkGLScreenPreviewHelper_v7_6Vtbl
function interface (line 17647) | interface IDeckLinkGLScreenPreviewHelper_v7_6
type IDeckLinkVideoConversion_v7_6Vtbl (line 17711) | typedef struct IDeckLinkVideoConversion_v7_6Vtbl
function interface (line 17739) | interface IDeckLinkVideoConversion_v7_6
type IDeckLinkConfiguration_v7_6Vtbl (line 17883) | typedef struct IDeckLinkConfiguration_v7_6Vtbl
function interface (line 18051) | interface IDeckLinkConfiguration_v7_6
type IDeckLinkVideoOutputCallback_v7_6Vtbl (line 18192) | typedef struct IDeckLinkVideoOutputCallback_v7_6Vtbl
function interface (line 18224) | interface IDeckLinkVideoOutputCallback_v7_6
type IDeckLinkInputCallback_v7_6Vtbl (line 18290) | typedef struct IDeckLinkInputCallback_v7_6Vtbl
function interface (line 18325) | interface IDeckLinkInputCallback_v7_6
type IDeckLinkInputCallback_v7_3Vtbl (line 18407) | typedef struct IDeckLinkInputCallback_v7_3Vtbl
function interface (line 18442) | interface IDeckLinkInputCallback_v7_3
type IDeckLinkOutput_v7_3Vtbl (line 18595) | typedef struct IDeckLinkOutput_v7_3Vtbl
function interface (line 18763) | interface IDeckLinkOutput_v7_3
type IDeckLinkInput_v7_3Vtbl (line 18931) | typedef struct IDeckLinkInput_v7_3Vtbl
function interface (line 19023) | interface IDeckLinkInput_v7_3
type IDeckLinkVideoInputFrame_v7_3Vtbl (line 19121) | typedef struct IDeckLinkVideoInputFrame_v7_3Vtbl
function interface (line 19186) | interface IDeckLinkVideoInputFrame_v7_3
type IDeckLinkDisplayModeIterator_v7_1Vtbl (line 19268) | typedef struct IDeckLinkDisplayModeIterator_v7_1Vtbl
function interface (line 19295) | interface IDeckLinkDisplayModeIterator_v7_1
type IDeckLinkDisplayMode_v7_1Vtbl (line 19362) | typedef struct IDeckLinkDisplayMode_v7_1Vtbl
function interface (line 19407) | interface IDeckLinkDisplayMode_v7_1
type IDeckLinkVideoFrame_v7_1Vtbl (line 19486) | typedef struct IDeckLinkVideoFrame_v7_1Vtbl
function interface (line 19533) | interface IDeckLinkVideoFrame_v7_1
type IDeckLinkVideoInputFrame_v7_1Vtbl (line 19607) | typedef struct IDeckLinkVideoInputFrame_v7_1Vtbl
function interface (line 19661) | interface IDeckLinkVideoInputFrame_v7_1
type IDeckLinkAudioInputPacket_v7_1Vtbl (line 19743) | typedef struct IDeckLinkAudioInputPacket_v7_1Vtbl
function interface (line 19780) | interface IDeckLinkAudioInputPacket_v7_1
type IDeckLinkVideoOutputCallback_v7_1Vtbl (line 19844) | typedef struct IDeckLinkVideoOutputCallback_v7_1Vtbl
function interface (line 19872) | interface IDeckLinkVideoOutputCallback_v7_1
type IDeckLinkInputCallback_v7_1Vtbl (line 19930) | typedef struct IDeckLinkInputCallback_v7_1Vtbl
function interface (line 19958) | interface IDeckLinkInputCallback_v7_1
type IDeckLinkOutput_v7_1Vtbl (line 20102) | typedef struct IDeckLinkOutput_v7_1Vtbl
function interface (line 20258) | interface IDeckLinkOutput_v7_1
type IDeckLinkInput_v7_1Vtbl (line 20416) | typedef struct IDeckLinkInput_v7_1Vtbl
function interface (line 20503) | interface IDeckLinkInput_v7_1
FILE: src/modules/decklink/linux_interop/DeckLinkAPI.h
type BMDVideoOutputFlags (line 118) | typedef uint32_t BMDVideoOutputFlags;
type _BMDVideoOutputFlags (line 119) | enum _BMDVideoOutputFlags {
type BMDSupportedVideoModeFlags (line 130) | typedef uint32_t BMDSupportedVideoModeFlags;
type _BMDSupportedVideoModeFlags (line 131) | enum _BMDSupportedVideoModeFlags {
type BMDPacketType (line 143) | typedef uint32_t BMDPacketType;
type _BMDPacketType (line 144) | enum _BMDPacketType {
type BMDFrameFlags (line 151) | typedef uint32_t BMDFrameFlags;
type _BMDFrameFlags (line 152) | enum _BMDFrameFlags {
type BMDVideoInputFlags (line 165) | typedef uint32_t BMDVideoInputFlags;
type _BMDVideoInputFlags (line 166) | enum _BMDVideoInputFlags {
type BMDVideoInputFormatChangedEvents (line 175) | typedef uint32_t BMDVideoInputFormatChangedEvents;
type _BMDVideoInputFormatChangedEvents (line 176) | enum _BMDVideoInputFormatChangedEvents {
type BMDDetectedVideoInputFormatFlags (line 184) | typedef uint32_t BMDDetectedVideoInputFormatFlags;
type _BMDDetectedVideoInputFormatFlags (line 185) | enum _BMDDetectedVideoInputFormatFlags {
type BMDDeckLinkCapturePassthroughMode (line 196) | typedef uint32_t BMDDeckLinkCapturePassthroughMode;
type _BMDDeckLinkCapturePassthroughMode (line 197) | enum _BMDDeckLinkCapturePassthroughMode {
type BMDOutputFrameCompletionResult (line 205) | typedef uint32_t BMDOutputFrameCompletionResult;
type _BMDOutputFrameCompletionResult (line 206) | enum _BMDOutputFrameCompletionResult {
type BMDReferenceStatus (line 215) | typedef uint32_t BMDReferenceStatus;
type _BMDReferenceStatus (line 216) | enum _BMDReferenceStatus {
type BMDAudioFormat (line 224) | typedef uint32_t BMDAudioFormat;
type _BMDAudioFormat (line 225) | enum _BMDAudioFormat {
type BMDAudioSampleRate (line 231) | typedef uint32_t BMDAudioSampleRate;
type _BMDAudioSampleRate (line 232) | enum _BMDAudioSampleRate {
type BMDAudioSampleType (line 238) | typedef uint32_t BMDAudioSampleType;
type _BMDAudioSampleType (line 239) | enum _BMDAudioSampleType {
type BMDAudioOutputStreamType (line 246) | typedef uint32_t BMDAudioOutputStreamType;
type _BMDAudioOutputStreamType (line 247) | enum _BMDAudioOutputStreamType {
type BMDAncillaryPacketFormat (line 255) | typedef uint32_t BMDAncillaryPacketFormat;
type _BMDAncillaryPacketFormat (line 256) | enum _BMDAncillaryPacketFormat {
type BMDTimecodeFormat (line 264) | typedef uint32_t BMDTimecodeFormat;
type _BMDTimecodeFormat (line 265) | enum _BMDTimecodeFormat {
type BMDAnalogVideoFlags (line 278) | typedef uint32_t BMDAnalogVideoFlags;
type _BMDAnalogVideoFlags (line 279) | enum _BMDAnalogVideoFlags {
type BMDAudioOutputAnalogAESSwitch (line 286) | typedef uint32_t BMDAudioOutputAnalogAESSwitch;
type _BMDAudioOutputAnalogAESSwitch (line 287) | enum _BMDAudioOutputAnalogAESSwitch {
type BMDVideoOutputConversionMode (line 294) | typedef uint32_t BMDVideoOutputConversionMode;
type _BMDVideoOutputConversionMode (line 295) | enum _BMDVideoOutputConversionMode {
type BMDVideoInputConversionMode (line 314) | typedef uint32_t BMDVideoInputConversionMode;
type _BMDVideoInputConversionMode (line 315) | enum _BMDVideoInputConversionMode {
type BMDVideo3DPackingFormat (line 327) | typedef uint32_t BMDVideo3DPackingFormat;
type _BMDVideo3DPackingFormat (line 328) | enum _BMDVideo3DPackingFormat {
type BMDIdleVideoOutputOperation (line 339) | typedef uint32_t BMDIdleVideoOutputOperation;
type _BMDIdleVideoOutputOperation (line 340) | enum _BMDIdleVideoOutputOperation {
type BMDVideoEncoderFrameCodingMode (line 347) | typedef uint32_t BMDVideoEncoderFrameCodingMode;
type _BMDVideoEncoderFrameCodingMode (line 348) | enum _BMDVideoEncoderFrameCodingMode {
type BMDDNxHRLevel (line 355) | typedef uint32_t BMDDNxHRLevel;
type _BMDDNxHRLevel (line 356) | enum _BMDDNxHRLevel {
type BMDLinkConfiguration (line 366) | typedef uint32_t BMDLinkConfiguration;
type _BMDLinkConfiguration (line 367) | enum _BMDLinkConfiguration {
type BMDDeviceInterface (line 375) | typedef uint32_t BMDDeviceInterface;
type _BMDDeviceInterface (line 376) | enum _BMDDeviceInterface {
type BMDColorspace (line 384) | typedef uint32_t BMDColorspace;
type _BMDColorspace (line 385) | enum _BMDColorspace {
type BMDDynamicRange (line 393) | typedef uint32_t BMDDynamicRange;
type _BMDDynamicRange (line 394) | enum _BMDDynamicRange {
type BMDDeckLinkHDMIInputEDIDID (line 402) | typedef uint32_t BMDDeckLinkHDMIInputEDIDID;
type _BMDDeckLinkHDMIInputEDIDID (line 403) | enum _BMDDeckLinkHDMIInputEDIDID {
type BMDDeckLinkFrameMetadataID (line 412) | typedef uint32_t BMDDeckLinkFrameMetadataID;
type _BMDDeckLinkFrameMetadataID (line 413) | enum _BMDDeckLinkFrameMetadataID {
type BMDProfileID (line 441) | typedef uint32_t BMDProfileID;
type _BMDProfileID (line 442) | enum _BMDProfileID {
type BMDHDMITimecodePacking (line 452) | typedef uint32_t BMDHDMITimecodePacking;
type _BMDHDMITimecodePacking (line 453) | enum _BMDHDMITimecodePacking {
type BMDInternalKeyingAncillaryDataSource (line 461) | typedef uint32_t BMDInternalKeyingAncillaryDataSource;
type _BMDInternalKeyingAncillaryDataSource (line 462) | enum _BMDInternalKeyingAncillaryDataSource {
type BMDDeckLinkAttributeID (line 469) | typedef uint32_t BMDDeckLinkAttributeID;
type _BMDDeckLinkAttributeID (line 470) | enum _BMDDeckLinkAttributeID {
type BMDDeckLinkAPIInformationID (line 545) | typedef uint32_t BMDDeckLinkAPIInformationID;
type _BMDDeckLinkAPIInformationID (line 546) | enum _BMDDeckLinkAPIInformationID {
type BMDDeckLinkStatusID (line 555) | typedef uint32_t BMDDeckLinkStatusID;
type _BMDDeckLinkStatusID (line 556) | enum _BMDDeckLinkStatusID {
type BMDDeckLinkVideoStatusFlags (line 592) | typedef uint32_t BMDDeckLinkVideoStatusFlags;
type _BMDDeckLinkVideoStatusFlags (line 593) | enum _BMDDeckLinkVideoStatusFlags {
type BMDDuplexMode (line 600) | typedef uint32_t BMDDuplexMode;
type _BMDDuplexMode (line 601) | enum _BMDDuplexMode {
type BMDPanelType (line 610) | typedef uint32_t BMDPanelType;
type _BMDPanelType (line 611) | enum _BMDPanelType {
type BMDDeviceBusyState (line 618) | typedef uint32_t BMDDeviceBusyState;
type _BMDDeviceBusyState (line 619) | enum _BMDDeviceBusyState {
type BMDVideoIOSupport (line 627) | typedef uint32_t BMDVideoIOSupport;
type _BMDVideoIOSupport (line 628) | enum _BMDVideoIOSupport {
type BMD3DPreviewFormat (line 635) | typedef uint32_t BMD3DPreviewFormat;
type _BMD3DPreviewFormat (line 636) | enum _BMD3DPreviewFormat {
type BMDNotifications (line 646) | typedef uint32_t BMDNotifications;
type _BMDNotifications (line 647) | enum _BMDNotifications {
FILE: src/modules/decklink/linux_interop/DeckLinkAPIConfiguration.h
type BMDDeckLinkConfigurationID (line 54) | typedef uint32_t BMDDeckLinkConfigurationID;
type _BMDDeckLinkConfigurationID (line 55) | enum _BMDDeckLinkConfigurationID {
type BMDDeckLinkEncoderConfigurationID (line 188) | typedef uint32_t BMDDeckLinkEncoderConfigurationID;
type _BMDDeckLinkEncoderConfigurationID (line 189) | enum _BMDDeckLinkEncoderConfigurationID {
FILE: src/modules/decklink/linux_interop/DeckLinkAPIConfiguration_v10_11.h
type BMDDeckLinkConfigurationID_v10_11 (line 52) | typedef uint32_t BMDDeckLinkConfigurationID_v10_11;
type _BMDDeckLinkConfigurationID_v10_11 (line 53) | enum _BMDDeckLinkConfigurationID_v10_11 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPIDeckControl.h
type BMDDeckControlMode (line 54) | typedef uint32_t BMDDeckControlMode;
type _BMDDeckControlMode (line 55) | enum _BMDDeckControlMode {
type BMDDeckControlEvent (line 64) | typedef uint32_t BMDDeckControlEvent;
type _BMDDeckControlEvent (line 65) | enum _BMDDeckControlEvent {
type BMDDeckControlVTRControlState (line 81) | typedef uint32_t BMDDeckControlVTRControlState;
type _BMDDeckControlVTRControlState (line 82) | enum _BMDDeckControlVTRControlState {
type BMDDeckControlStatusFlags (line 96) | typedef uint32_t BMDDeckControlStatusFlags;
type _BMDDeckControlStatusFlags (line 97) | enum _BMDDeckControlStatusFlags {
type BMDDeckControlExportModeOpsFlags (line 106) | typedef uint32_t BMDDeckControlExportModeOpsFlags;
type _BMDDeckControlExportModeOpsFlags (line 107) | enum _BMDDeckControlExportModeOpsFlags {
type BMDDeckControlError (line 129) | typedef uint32_t BMDDeckControlError;
type _BMDDeckControlError (line 130) | enum _BMDDeckControlError {
FILE: src/modules/decklink/linux_interop/DeckLinkAPIDispatch.cpp
function InitDeckLinkAPI (line 71) | static void InitDeckLinkAPI (void)
function InitDeckLinkPreviewAPI (line 101) | static void InitDeckLinkPreviewAPI (void)
function IsDeckLinkAPIPresent (line 119) | bool IsDeckLinkAPIPresent (void)
function IDeckLinkIterator (line 125) | IDeckLinkIterator* CreateDeckLinkIteratorInstance (void)
function IDeckLinkAPIInformation (line 134) | IDeckLinkAPIInformation* CreateDeckLinkAPIInformationInstance (void)
function IDeckLinkGLScreenPreviewHelper (line 143) | IDeckLinkGLScreenPreviewHelper* CreateOpenGLScreenPreviewHelper (void)
function IDeckLinkGLScreenPreviewHelper (line 153) | IDeckLinkGLScreenPreviewHelper* CreateOpenGL3ScreenPreviewHelper (void)
function IDeckLinkVideoConversion (line 163) | IDeckLinkVideoConversion* CreateVideoConversionInstance (void)
function IDeckLinkDiscovery (line 172) | IDeckLinkDiscovery* CreateDeckLinkDiscoveryInstance (void)
function IDeckLinkVideoFrameAncillaryPackets (line 181) | IDeckLinkVideoFrameAncillaryPackets* CreateVideoFrameAncillaryPacketsIns...
FILE: src/modules/decklink/linux_interop/DeckLinkAPIDispatch_v10_11.cpp
function InitDeckLinkAPI (line 69) | static void InitDeckLinkAPI (void)
function InitDeckLinkPreviewAPI (line 99) | static void InitDeckLinkPreviewAPI (void)
function IsDeckLinkAPIPresent_v10_11 (line 114) | bool IsDeckLinkAPIPresent_v10_11 (void)
function IDeckLinkIterator (line 120) | IDeckLinkIterator* CreateDeckLinkIteratorInstance_v10_11 (void)
function IDeckLinkAPIInformation (line 129) | IDeckLinkAPIInformation* CreateDeckLinkAPIInformationInstance_v10_11 (void)
function IDeckLinkGLScreenPreviewHelper (line 138) | IDeckLinkGLScreenPreviewHelper* CreateOpenGLScreenPreviewHelper_v10_11 ...
function IDeckLinkVideoConversion (line 148) | IDeckLinkVideoConversion* CreateVideoConversionInstance_v10_11 (void)
function IDeckLinkDiscovery (line 157) | IDeckLinkDiscovery* CreateDeckLinkDiscoveryInstance_v10_11 (void)
function IDeckLinkVideoFrameAncillaryPackets (line 166) | IDeckLinkVideoFrameAncillaryPackets* CreateVideoFrameAncillaryPacketsIns...
FILE: src/modules/decklink/linux_interop/DeckLinkAPIDispatch_v10_8.cpp
function InitDeckLinkAPI (line 67) | static void InitDeckLinkAPI(void)
function InitDeckLinkPreviewAPI (line 94) | static void InitDeckLinkPreviewAPI(void)
function IsDeckLinkAPIPresent (line 109) | bool IsDeckLinkAPIPresent(void)
function IDeckLinkIterator (line 115) | IDeckLinkIterator* CreateDeckLinkIteratorInstance(void)
function IDeckLinkAPIInformation (line 124) | IDeckLinkAPIInformation* CreateDeckLinkAPIInformationInstance(void)
function IDeckLinkGLScreenPreviewHelper (line 133) | IDeckLinkGLScreenPreviewHelper* CreateOpenGLScreenPreviewHelper(void)
function IDeckLinkVideoConversion (line 143) | IDeckLinkVideoConversion* CreateVideoConversionInstance(void)
function IDeckLinkDiscovery (line 152) | IDeckLinkDiscovery* CreateDeckLinkDiscoveryInstance(void)
FILE: src/modules/decklink/linux_interop/DeckLinkAPIDispatch_v7_6.cpp
function InitDeckLinkAPI_v7_6 (line 61) | static void InitDeckLinkAPI_v7_6 (void)
function InitDeckLinkPreviewAPI_v7_6 (line 80) | static void InitDeckLinkPreviewAPI_v7_6 (void)
function IDeckLinkIterator (line 95) | IDeckLinkIterator* CreateDeckLinkIteratorInstance_v7_6 (void)
function IDeckLinkGLScreenPreviewHelper_v7_6 (line 104) | IDeckLinkGLScreenPreviewHelper_v7_6* CreateOpenGLScreenPreviewHelper_v7...
function IDeckLinkVideoConversion_v7_6 (line 114) | IDeckLinkVideoConversion_v7_6* CreateVideoConversionInstance_v7_6 (void)
FILE: src/modules/decklink/linux_interop/DeckLinkAPIDispatch_v8_0.cpp
function InitDeckLinkAPI (line 65) | static void InitDeckLinkAPI (void)
function InitDeckLinkPreviewAPI (line 89) | static void InitDeckLinkPreviewAPI (void)
function IsDeckLinkAPIPresent (line 104) | bool IsDeckLinkAPIPresent (void)
function IDeckLinkIterator_v8_0 (line 110) | IDeckLinkIterator_v8_0* CreateDeckLinkIteratorInstance (void)
function IDeckLinkAPIInformation (line 119) | IDeckLinkAPIInformation* CreateDeckLinkAPIInformationInstance (void)
function IDeckLinkGLScreenPreviewHelper (line 128) | IDeckLinkGLScreenPreviewHelper* CreateOpenGLScreenPreviewHelper (void)
function IDeckLinkVideoConversion (line 138) | IDeckLinkVideoConversion* CreateVideoConversionInstance (void)
FILE: src/modules/decklink/linux_interop/DeckLinkAPIModes.h
type BMDDisplayMode (line 54) | typedef uint32_t BMDDisplayMode;
type _BMDDisplayMode (line 55) | enum _BMDDisplayMode {
type BMDFieldDominance (line 204) | typedef uint32_t BMDFieldDominance;
type _BMDFieldDominance (line 205) | enum _BMDFieldDominance {
type BMDPixelFormat (line 215) | typedef uint32_t BMDPixelFormat;
type _BMDPixelFormat (line 216) | enum _BMDPixelFormat {
type BMDDisplayModeFlags (line 236) | typedef uint32_t BMDDisplayModeFlags;
type _BMDDisplayModeFlags (line 237) | enum _BMDDisplayModeFlags {
FILE: src/modules/decklink/linux_interop/DeckLinkAPITypes.h
type BMDTimeValue (line 46) | typedef int64_t BMDTimeValue;
type BMDTimeScale (line 47) | typedef int64_t BMDTimeScale;
type BMDTimecodeBCD (line 48) | typedef uint32_t BMDTimecodeBCD;
type BMDTimecodeUserBits (line 49) | typedef uint32_t BMDTimecodeUserBits;
type BMDTimecodeFlags (line 57) | typedef uint32_t BMDTimecodeFlags;
type _BMDTimecodeFlags (line 58) | enum _BMDTimecodeFlags {
type BMDVideoConnection (line 69) | typedef uint32_t BMDVideoConnection;
type _BMDVideoConnection (line 70) | enum _BMDVideoConnection {
type BMDAudioConnection (line 82) | typedef uint32_t BMDAudioConnection;
type _BMDAudioConnection (line 83) | enum _BMDAudioConnection {
type BMDDeckControlConnection (line 95) | typedef uint32_t BMDDeckControlConnection;
type _BMDDeckControlConnection (line 96) | enum _BMDDeckControlConnection {
FILE: src/modules/decklink/linux_interop/DeckLinkAPIVideoEncoderInput_v10_11.h
function class (line 52) | class IDeckLinkEncoderInput_v10_11 : public IUnknown
FILE: src/modules/decklink/linux_interop/DeckLinkAPIVideoInput_v10_11.h
function class (line 53) | class IDeckLinkInput_v10_11 : public IUnknown
FILE: src/modules/decklink/linux_interop/DeckLinkAPIVideoOutput_v10_11.h
function class (line 52) | class IDeckLinkOutput_v10_11 : public IUnknown
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v10_11.h
type BMDDisplayModeSupport_v10_11 (line 53) | typedef uint32_t BMDDisplayModeSupport_v10_11;
type _BMDDisplayModeSupport_v10_11 (line 54) | enum _BMDDisplayModeSupport_v10_11 {
type BMDDuplexMode_v10_11 (line 62) | typedef uint32_t BMDDuplexMode_v10_11;
type _BMDDuplexMode_v10_11 (line 63) | enum _BMDDuplexMode_v10_11 {
type _BMDDeckLinkAttributeID_v10_11 (line 70) | enum _BMDDeckLinkAttributeID_v10_11 {
type _BMDDeckLinkStatusID_v10_11 (line 83) | enum _BMDDeckLinkStatusID_v10_11 {
type BMDDuplexStatus_v10_11 (line 87) | typedef uint32_t BMDDuplexStatus_v10_11;
type _BMDDuplexStatus_v10_11 (line 88) | enum _BMDDuplexStatus_v10_11 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v10_2.h
type BMDDeckLinkConfigurationID_v10_2 (line 50) | typedef uint32_t BMDDeckLinkConfigurationID_v10_2;
type _BMDDeckLinkConfigurationID_v10_2 (line 51) | enum _BMDDeckLinkConfigurationID_v10_2 {
type BMDAudioConnection_v10_2 (line 59) | typedef uint32_t BMDAudioConnection_v10_2;
type _BMDAudioConnection_v10_2 (line 60) | enum _BMDAudioConnection_v10_2 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v10_4.h
type BMDDeckLinkConfigurationID_v10_4 (line 50) | typedef uint32_t BMDDeckLinkConfigurationID_v10_4;
type _BMDDeckLinkConfigurationID_v10_4 (line 51) | enum _BMDDeckLinkConfigurationID_v10_4 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v10_5.h
type BMDDeckLinkAttributeID_v10_5 (line 50) | typedef uint32_t BMDDeckLinkAttributeID_v10_5;
type _BMDDeckLinkAttributeID_v10_5 (line 51) | enum _BMDDeckLinkAttributeID_v10_5 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v10_6.h
type BMDDeckLinkAttributeID_c10_6 (line 50) | typedef uint32_t BMDDeckLinkAttributeID_c10_6;
type _BMDDeckLinkAttributeID_v10_6 (line 51) | enum _BMDDeckLinkAttributeID_v10_6 {
type BMDIdleVideoOutputOperation_v10_6 (line 58) | typedef uint32_t BMDIdleVideoOutputOperation_v10_6;
type _BMDIdleVideoOutputOperation_v10_6 (line 59) | enum _BMDIdleVideoOutputOperation_v10_6 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v10_9.h
type BMDDeckLinkConfigurationID_v10_9 (line 50) | typedef uint32_t BMDDeckLinkConfigurationID_v10_9;
type _BMDDeckLinkConfigurationID_v10_9 (line 51) | enum _BMDDeckLinkConfigurationID_v10_9 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v11_5.h
type BMDDeckLinkFrameMetadataID_v11_5 (line 50) | typedef uint32_t BMDDeckLinkFrameMetadataID_v11_5;
type _BMDDeckLinkFrameMetadataID_v11_5 (line 51) | enum _BMDDeckLinkFrameMetadataID_v11_5 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v11_5_1.h
type BMDDeckLinkStatusID_v11_5_1 (line 48) | typedef uint32_t BMDDeckLinkStatusID_v11_5_1;
type _BMDDeckLinkStatusID_v11_5_1 (line 49) | enum _BMDDeckLinkStatusID_v11_5_1 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v7_6.h
type BMDVideoConnection_v7_6 (line 71) | typedef uint32_t BMDVideoConnection_v7_6;
type _BMDVideoConnection_v7_6 (line 72) | enum _BMDVideoConnection_v7_6 {
FILE: src/modules/decklink/linux_interop/DeckLinkAPI_v8_1.h
type BMDDeckControlVTRControlState_v8_1 (line 55) | typedef uint32_t BMDDeckControlVTRControlState_v8_1;
type _BMDDeckControlVTRControlState_v8_1 (line 56) | enum _BMDDeckControlVTRControlState_v8_1 {
FILE: src/modules/decklink/linux_interop/LinuxCOM.h
type REFIID (line 44) | struct REFIID
type REFIID (line 64) | typedef REFIID CFUUIDBytes;
type HRESULT (line 67) | typedef int HRESULT;
type ULONG (line 68) | typedef unsigned long ULONG;
function class (line 106) | class BMD_PUBLIC IUnknown
FILE: src/modules/decklink/producer/decklink_producer.cpp
type caspar (line 69) | namespace caspar { namespace decklink {
type decklink (line 69) | namespace decklink {
type Filter (line 71) | struct Filter
method Filter (line 78) | Filter() {}
method Filter (line 80) | Filter(std::string filter_spec,
method if (line 139) | if (!graph2) {
method CASPAR_SCOPE_EXIT (line 143) | CASPAR_SCOPE_EXIT
method if (line 154) | if (filter_type == AVMEDIA_TYPE_VIDEO) {
method else (line 156) | else if (filter_type == AVMEDIA_TYPE_AUDIO) {
type Decoder (line 268) | struct Decoder
method Decoder (line 270) | Decoder(const Decoder&) = delete;
method Decoder (line 277) | Decoder() = default;
method Decoder (line 279) | explicit Decoder(bool hdr, const com_ptr<IDeckLinkDisplayMode>& mode)
method decode (line 311) | std::shared_ptr<AVFrame> decode(IDeckLinkVideoInputFrame* video, const...
function get_color_space (line 359) | core::color_space get_color_space(IDeckLinkVideoInputFrame* video)
function get_display_mode (line 378) | com_ptr<IDeckLinkDisplayMode> get_display_mode(const com_iface_ptr<IDeck...
function get_display_mode (line 418) | static com_ptr<IDeckLinkDisplayMode> get_display_mode(const com_iface_pt...
function BMDPixelFormat (line 426) | BMDPixelFormat get_pixel_format2(bool hdr) { return hdr ? bmdFormat10Bit...
class decklink_producer (line 428) | class decklink_producer : public IDeckLinkInputCallback
method decklink_producer (line 477) | decklink_producer(core::video_format_desc format_d...
method QueryInterface (line 562) | QueryInterface(REFIID, LPVOID*) override { return E_NOINTERFACE; }
method AddRef (line 563) | AddRef() override { return 1; }
method Release (line 564) | Release() override { return 1; }
method VideoInputFormatChanged (line 566) | VideoInputFormatChanged(BMDVideoInputFormatChangedEvents notificationE...
method VideoInputFrameArrived (line 621) | VideoInputFrameArrived(IDeckLinkVideoInputFrame* video,
method get_frame (line 817) | core::draw_frame get_frame(const core::video_field field, bool use_las...
method is_ready (line 855) | bool is_ready()
method print (line 861) | std::wstring print() const
method state (line 866) | core::monitor::state state() const
class decklink_producer_proxy (line 873) | class decklink_producer_proxy : public core::frame_producer
method decklink_producer_proxy (line 880) | explicit decklink_producer_proxy(const core::video_format_desc& ...
method state (line 917) | core::monitor::state state() const override { return producer_->state(...
method receive_impl (line 921) | core::draw_frame receive_impl(const core::video_field field, int nb_sa...
method first_frame (line 926) | core::draw_frame first_frame(const core::video_field field) override {...
method last_frame (line 928) | core::draw_frame last_frame(const core::video_field field) override
method is_ready (line 933) | bool is_ready() override { return producer_->is_ready(); }
method nb_frames (line 935) | uint32_t nb_frames() const override { return length_; }
method print (line 937) | std::wstring print() const override { return producer_->print(); }
method name (line 939) | std::wstring name() const override { return L"decklink"; }
function create_producer (line 942) | spl::shared_ptr<core::frame_producer> create_producer(const core::frame_...
FILE: src/modules/decklink/producer/decklink_producer.h
function namespace (line 29) | namespace caspar { namespace decklink {
FILE: src/modules/decklink/util/util.h
function namespace (line 32) | namespace caspar { namespace decklink {
FILE: src/modules/ffmpeg/consumer/ffmpeg_consumer.cpp
type caspar (line 75) | namespace caspar { namespace ffmpeg {
type ffmpeg (line 75) | namespace ffmpeg {
type Stream (line 82) | struct Stream
method Stream (line 91) | Stream(AVFormatContext* oc,
method if (line 147) | if (!graph) {
method if (line 151) | if (codec->type == AVMEDIA_TYPE_VIDEO) {
method else (line 155) | else {
method if (line 166) | if (!cur || cur->next) {
method if (line 171) | if (codec->type == AVMEDIA_TYPE_VIDEO) {
method else (line 188) | else if (codec->type == AVMEDIA_TYPE_AUDIO) {
method else (line 198) | else {
function send (line 348) | void send(std::tuple<core::const_frame, std::int64_t, std::int64_t>& data,
type ffmpeg_consumer (line 400) | struct ffmpeg_consumer : public core::frame_consumer
method ffmpeg_consumer (line 424) | ffmpeg_consumer(std::string path, std::string args, bool realtime, com...
method initialize (line 455) | void initialize(const core::video_format_desc& format_desc,
method send (line 642) | std::future<bool> send(core::video_field field, core::const_frame fram...
method print (line 665) | std::wstring print() const override { return L"ffmpeg[" + u16(path_) +...
method name (line 667) | std::wstring name() const override { return L"ffmpeg"; }
method has_synchronization_clock (line 669) | bool has_synchronization_clock() const override { return false; }
method index (line 671) | int index() const override { return 100000 + channel_index_; }
method state (line 673) | core::monitor::state state() const override
function create_consumer (line 680) | spl::shared_ptr<core::frame_consumer> create_consumer(const std::vector<...
function create_preconfigured_consumer (line 697) | spl::shared_ptr<core::frame_consumer>
FILE: src/modules/ffmpeg/consumer/ffmpeg_consumer.h
function namespace (line 34) | namespace caspar { namespace ffmpeg {
FILE: src/modules/ffmpeg/ffmpeg.cpp
type caspar (line 42) | namespace caspar { namespace ffmpeg {
type ffmpeg (line 42) | namespace ffmpeg {
function sanitize (line 43) | static void sanitize(uint8_t* line)
function log_callback (line 52) | void log_callback(void* ptr, int level, const char* fmt, va_list vl)
function log_for_thread (line 102) | void log_for_thread(void* ptr, int level, const char* fmt, va_list v...
function init (line 104) | void init(const core::module_dependencies& dependencies)
function uninit (line 117) | void uninit()
FILE: src/modules/ffmpeg/ffmpeg.h
function namespace (line 24) | namespace caspar { namespace ffmpeg {
FILE: src/modules/ffmpeg/producer/av_input.cpp
type caspar (line 20) | namespace caspar { namespace ffmpeg {
type ffmpeg (line 20) | namespace ffmpeg {
function AVFormatContext (line 126) | AVFormatContext* Input::operator->() { return ic_.get(); }
function AVFormatContext (line 127) | AVFormatContext* const Input::operator->() const { return ic_.get(); }
FILE: src/modules/ffmpeg/producer/av_input.h
type AVPacket (line 19) | struct AVPacket
type AVFormatContext (line 20) | struct AVFormatContext
function namespace (line 22) | namespace caspar { namespace ffmpeg {
FILE: src/modules/ffmpeg/producer/av_producer.cpp
type caspar (line 53) | namespace caspar { namespace ffmpeg {
type ffmpeg (line 53) | namespace ffmpeg {
type Frame (line 57) | struct Frame
function AVPixelFormat (line 68) | AVPixelFormat get_pix_fmt_with_alpha(AVPixelFormat fmt)
function AVCodec (line 83) | const AVCodec* get_decoder(AVCodecID codec_id)
function get_color_space (line 98) | core::color_space get_color_space(const std::shared_ptr<AVFrame>& vi...
class Decoder (line 119) | class Decoder
method Decoder (line 121) | Decoder(const Decoder&) = delete;
method Decoder (line 122) | Decoder& operator=(const Decoder&) = delete;
method Decoder (line 143) | Decoder() = default;
method Decoder (line 145) | explicit Decoder(AVStream* stream)
method want_packet (line 283) | bool want_packet() const
method push (line 295) | void push(std::shared_ptr<AVPacket> packet)
method pop (line 309) | std::shared_ptr<AVFrame> pop()
type Filter (line 332) | struct Filter
method Filter (line 340) | Filter() = default;
method Filter (line 342) | Filter(std::string filter_spec,
method if (line 399) | if (!graph2) {
method CASPAR_SCOPE_EXIT (line 403) | CASPAR_SCOPE_EXIT
method if (line 414) | if (type == AVMEDIA_TYPE_VIDEO) {
method else (line 416) | else if (type == AVMEDIA_TYPE_AUDIO) {
type AVProducer::Impl (line 680) | struct AVProducer::Impl
method Impl (line 730) | Impl(std::shared_ptr<core::frame_factory> frame_factory,
method run (line 808) | void run(std::optional<int64_t> firstSeek)
method update_state (line 985) | void update_state()
method prev_frame (line 994) | core::draw_frame prev_frame(const core::video_field field)
method is_ready (line 1015) | bool is_ready()
method next_frame (line 1021) | core::draw_frame next_frame(const core::video_field field)
method seek (line 1075) | void seek(int64_t time)
method time (line 1089) | int64_t time() const
method loop (line 1099) | void loop(bool loop)
method loop (line 1106) | bool loop() const { return loop_; }
method start (line 1108) | void start(int64_t start)
method start (line 1114) | std::optional<int64_t> start() const
method duration (line 1120) | void duration(int64_t duration)
method duration (line 1127) | std::optional<int64_t> duration() const
method file_duration (line 1136) | std::optional<int64_t> file_duration() const
method want_packet (line 1146) | bool want_packet()
method schedule (line 1151) | bool schedule()
method seek_internal (line 1217) | void seek_internal(int64_t time)
method reset (line 1235) | void reset(int64_t start_time)
method print (line 1261) | std::string print() const
function AVProducer (line 1305) | AVProducer& AVProducer::seek(int64_t time)
function AVProducer (line 1311) | AVProducer& AVProducer::loop(bool loop)
function AVProducer (line 1319) | AVProducer& AVProducer::start(int64_t start)
function AVProducer (line 1329) | AVProducer& AVProducer::duration(int64_t duration)
FILE: src/modules/ffmpeg/producer/av_producer.h
function namespace (line 13) | namespace caspar { namespace ffmpeg {
FILE: src/modules/ffmpeg/producer/ffmpeg_producer.cpp
type caspar (line 52) | namespace caspar { namespace ffmpeg {
type ffmpeg (line 52) | namespace ffmpeg {
type ffmpeg_producer (line 56) | struct ffmpeg_producer : public core::frame_producer
method ffmpeg_producer (line 65) | explicit ffmpeg_producer(spl::shared_ptr<core::frame_factory> fram...
method last_frame (line 108) | core::draw_frame last_frame(const core::video_field field) overrid...
method receive_impl (line 110) | core::draw_frame receive_impl(const core::video_field field, int n...
method frame_number (line 115) | std::uint32_t frame_number() const override
method nb_frames (line 120) | std::uint32_t nb_frames() const override
method is_ready (line 126) | bool is_ready() override { return producer_->is_ready(); }
method call (line 128) | std::future<std::wstring> call(const std::vector<std::wstring>& pa...
method print (line 192) | std::wstring print() const override
method name (line 199) | std::wstring name() const override { return L"ffmpeg"; }
method state (line 201) | core::monitor::state state() const override { return producer_->st...
function has_valid_extension (line 204) | boost::tribool has_valid_extension(const boost::filesystem::path& fi...
function has_invalid_protocol (line 224) | bool has_invalid_protocol(const std::wstring& filename) { return boo...
function is_readable (line 226) | bool is_readable(const boost::filesystem::path& filename)
function is_valid_file (line 235) | bool is_valid_file(const boost::filesystem::path& filename)
function create_producer (line 276) | spl::shared_ptr<core::frame_producer> create_producer(const core::fr...
FILE: src/modules/ffmpeg/producer/ffmpeg_producer.h
function namespace (line 31) | namespace caspar { namespace ffmpeg {
FILE: src/modules/ffmpeg/util/audio_resampler.cpp
type caspar::ffmpeg (line 9) | namespace caspar::ffmpeg {
FILE: src/modules/ffmpeg/util/audio_resampler.h
type SwrContext (line 10) | struct SwrContext
function namespace (line 12) | namespace caspar::ffmpeg {
FILE: src/modules/ffmpeg/util/av_assert.h
function namespace (line 5) | namespace caspar { namespace ffmpeg {
FILE: src/modules/ffmpeg/util/av_util.cpp
type caspar (line 21) | namespace caspar { namespace ffmpeg {
type ffmpeg (line 21) | namespace ffmpeg {
function alloc_frame (line 23) | std::shared_ptr<AVFrame> alloc_frame()
function alloc_packet (line 31) | std::shared_ptr<AVPacket> alloc_packet()
function make_frame (line 39) | core::mutable_frame make_frame(void* tag,
function get_pixel_format (line 101) | std::tuple<core::pixel_format, common::bit_dep
Condensed preview — 492 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,854K chars).
[
{
"path": ".clang-format",
"chars": 2962,
"preview": "---\n# TODO BreakBeforeLambdaBody\n# TODO IncludeBlocks\nLanguage: Cpp\nAccessModifierOffset: -2\nAlignAfterOpenBracket: Alig"
},
{
"path": ".dockerignore",
"chars": 131,
"preview": "src/packages\nsrc/cmake-build-*\nbuild-scripts\nbuild\nresources\n.git\n.vscode\nCMakeFiles\ncasparcg_server\n\ndist\nbuild\nsrc/cma"
},
{
"path": ".editorconfig",
"chars": 269,
"preview": "root = true\n\n[*]\ncharset = utf-8\nindent_style = space\nindent_size = 4\nend_of_line = lf\ninsert_final_newline = true\ntrim_"
},
{
"path": ".github/ISSUE_TEMPLATE/bug_report.yaml",
"chars": 1159,
"preview": "name: Bug report 🐛\ndescription: Use this if you've found a bug\ntitle: \"Bug: [Short description of the bug]\"\nlabels:\n - "
},
{
"path": ".github/ISSUE_TEMPLATE/config.yml",
"chars": 146,
"preview": "blank_issues_enabled: false\ncontact_links:\n - name: Question or need help?\n url: https://casparcgforum.org/\n abou"
},
{
"path": ".github/ISSUE_TEMPLATE/feature_request.yaml",
"chars": 644,
"preview": "name: Feature request\ndescription: Suggest an idea for this project\nlabels:\n - type/enhancement\n\nbody:\n - type: markdo"
},
{
"path": ".github/dependabot.yml",
"chars": 128,
"preview": "version: 2\nupdates:\n - package-ecosystem: \"github-actions\"\n directory: \"/\"\n schedule:\n interval: \""
},
{
"path": ".github/workflows/linux-system.yml",
"chars": 8387,
"preview": "name: Build Linux with system dependencies\n\non:\n push:\n # branches: [ \"master\" ]\n pull_request:\n bra"
},
{
"path": ".github/workflows/linux.yml",
"chars": 411,
"preview": "name: Build Linux\n\non:\n push:\n # branches: [ \"master\" ]\n pull_request:\n branches: [\"master\"]\n\njobs:\n"
},
{
"path": ".github/workflows/windows.yml",
"chars": 2470,
"preview": "name: Build Windows\n\non:\n push:\n # branches: [ \"master\" ]\n pull_request:\n branches: [\"master\"]\n\njobs"
},
{
"path": ".gitignore",
"chars": 188,
"preview": "*.dir\n*.vcxproj\n*.vcxproj.filters\n*.tlog\n*.sln\n.settings\n.vscode\n.idea\n.vs\nbuild\ndist\nCMakeFiles\ncasparcg_server\n*.spv\n\n"
},
{
"path": "BUILDING.md",
"chars": 5563,
"preview": "# Building the CasparCG Server\n\nThe CasparCG Server source code uses the CMake build system in order to easily\ngenerate "
},
{
"path": "CHANGELOG.md",
"chars": 62857,
"preview": "CasparCG 2.5.0 Stable\n==========================================\n\n### Core\n##### Improvements\n* Initial support for HDR."
},
{
"path": "CODE_OF_CONDUCT.md",
"chars": 2245,
"preview": "# CasparCG Code of Conduct\n\n> CasparCG is all about showing respect and professionalism one to another.\n\n## Community\n\nW"
},
{
"path": "LICENSE",
"chars": 35147,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 3100,
"preview": "CasparCG Server\n===============\n\nThank you for your interest in CasparCG Server, a professional software used to\nplay ou"
},
{
"path": "_typos.toml",
"chars": 388,
"preview": "[default]\n# Ignore lines following the commment `// typos: ignore-next\nextend-ignore-re = [\".*// typos: ignore-next\\\\n[^"
},
{
"path": "src/CMakeLists.txt",
"chars": 2650,
"preview": "cmake_minimum_required(VERSION 3.16)\n\n# Project settings\nproject(\"CasparCG Server\")\nset(CONFIG_VERSION_MAJOR 2)\nset(CONF"
},
{
"path": "src/CMakeModules/Bootstrap_Linux.cmake",
"chars": 7269,
"preview": "cmake_minimum_required (VERSION 3.28)\n\ninclude(ExternalProject)\ninclude(FetchContent)\n\nif(POLICY CMP0135)\n cmake_poli"
},
{
"path": "src/CMakeModules/Bootstrap_Windows.cmake",
"chars": 12221,
"preview": "cmake_minimum_required (VERSION 3.28)\n\ninclude(ExternalProject)\ninclude(FetchContent)\n\nif(POLICY CMP0135)\n\tcmake_policy("
},
{
"path": "src/CMakeModules/CasparCG_Util.cmake",
"chars": 4466,
"preview": "# Collect all ExternalProjects that have been defined\nset(CASPARCG_EXTERNAL_PROJECTS \"\" CACHE INTERNAL \"\")\nFUNCTION (cas"
},
{
"path": "src/CMakeModules/FindFFmpeg.cmake",
"chars": 6117,
"preview": "# vim: ts=2 sw=2\n# - Try to find the required ffmpeg components(default: AVFORMAT, AVUTIL, AVCODEC)\n#\n# Once done this w"
},
{
"path": "src/CMakeSettings.json",
"chars": 1350,
"preview": "{\n \"configurations\": [\n {\n \"name\": \"x64-Debug\",\n \"generator\": \"Ninja\",\n \"con"
},
{
"path": "src/accelerator/CMakeLists.txt",
"chars": 3618,
"preview": "cmake_minimum_required (VERSION 3.28)\nproject (accelerator)\n\nset(SOURCES\n\togl/image/image_kernel.cpp\n\togl/image/image_mi"
},
{
"path": "src/accelerator/StdAfx.h",
"chars": 1255,
"preview": "#include <GL/glew.h>\n#include <algorithm>\n#include <array>\n#include <boost/algorithm/cxx11/all_of.hpp>\n#include <boost/a"
},
{
"path": "src/accelerator/accelerator.cpp",
"chars": 3007,
"preview": "#include \"accelerator.h\"\n\n#include \"ogl/image/image_mixer.h\"\n#include \"ogl/util/device.h\"\n\n#ifdef ENABLE_VULKAN\n#include"
},
{
"path": "src/accelerator/accelerator.h",
"chars": 1101,
"preview": "#pragma once\n\n#include <common/bit_depth.h>\n\n#include <core/frame/pixel_format.h>\n#include <core/mixer/mixer.h>\n#include"
},
{
"path": "src/accelerator/d3d/d3d_device.cpp",
"chars": 5692,
"preview": "#include \"d3d_device.h\"\n\n#include \"d3d_device_context.h\"\n#include \"d3d_texture2d.h\"\n\n#include <common/assert.h>\n#include"
},
{
"path": "src/accelerator/d3d/d3d_device.h",
"chars": 667,
"preview": "#pragma once\n\n#include <memory>\n#include <string>\n\nnamespace caspar { namespace accelerator { namespace d3d {\nclass d3d_"
},
{
"path": "src/accelerator/d3d/d3d_device_context.cpp",
"chars": 333,
"preview": "#include \"d3d_device_context.h\"\n\nnamespace caspar { namespace accelerator { namespace d3d {\nd3d_device_context::d3d_devi"
},
{
"path": "src/accelerator/d3d/d3d_device_context.h",
"chars": 552,
"preview": "#pragma once\n\n#undef NOMINMAX\n#define NOMINMAX\n\n#include <d3d11_1.h>\n\n#include <memory>\n\nnamespace caspar { namespace ac"
},
{
"path": "src/accelerator/d3d/d3d_texture2d.cpp",
"chars": 3358,
"preview": "#include \"d3d_texture2d.h\"\n\n#include <common/gl/gl_check.h>\n\n#include <GL/glew.h>\n#include <GL/wglew.h>\n#include <atlcom"
},
{
"path": "src/accelerator/d3d/d3d_texture2d.h",
"chars": 1147,
"preview": "#pragma once\n\n#undef NOMINMAX\n#define NOMINMAX\n\n#include <d3d11_1.h>\n\n#include <memory>\n\nnamespace caspar { namespace ac"
},
{
"path": "src/accelerator/ogl/image/image_kernel.cpp",
"chars": 13028,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/image/image_kernel.h",
"chars": 2467,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/image/image_mixer.cpp",
"chars": 18743,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/image/image_mixer.h",
"chars": 2809,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/image/image_shader.cpp",
"chars": 2045,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/image/image_shader.h",
"chars": 1187,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/image/shader.frag",
"chars": 18092,
"preview": "#version 450\nin vec4 TexCoord;\nin vec4 TexCoord2;\nout vec4 fragColor;\n\nuniform sampler2D\tbackground;\nuniform sampler2D\tp"
},
{
"path": "src/accelerator/ogl/image/shader.vert",
"chars": 293,
"preview": "#version 450\nin vec4 TexCoordIn;\nin vec2 Position;\n\nout vec4 TexCoord;\nout vec4 TexCoord2;\n\nvoid main()\n{\n TexCoord ="
},
{
"path": "src/accelerator/ogl/util/buffer.cpp",
"chars": 3301,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/buffer.h",
"chars": 1463,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/context.cpp",
"chars": 4329,
"preview": "\n#include \"context.h\"\n\n#include <common/log.h>\n\n#include <SFML/Window/Context.hpp>\n#if SFML_VERSION_MAJOR >= 3\n#include "
},
{
"path": "src/accelerator/ogl/util/context.h",
"chars": 416,
"preview": "#pragma once\n\n#include <memory>\n\nnamespace caspar::accelerator::ogl {\n\nclass device_context final\n{\n public:\n device"
},
{
"path": "src/accelerator/ogl/util/device.cpp",
"chars": 16482,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/device.h",
"chars": 2704,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/matrix.cpp",
"chars": 2161,
"preview": "\n\n#include <core/frame/frame_transform.h>\n\n#include <common/except.h>\n#include <common/log.h>\n\n#include <cmath>\n#include"
},
{
"path": "src/accelerator/ogl/util/matrix.h",
"chars": 1701,
"preview": "\n\n#pragma once\n\n#include <boost/numeric/ublas/matrix.hpp>\n#include <boost/numeric/ublas/matrix_vector.hpp>\n\n#include <co"
},
{
"path": "src/accelerator/ogl/util/shader.cpp",
"chars": 6685,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/shader.h",
"chars": 2016,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/texture.cpp",
"chars": 5405,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/texture.h",
"chars": 1930,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/accelerator/ogl/util/transforms.cpp",
"chars": 18854,
"preview": "\n#include \"transforms.h\"\n\n#include <algorithm>\n#include <unordered_set>\n\nnamespace caspar::accelerator::ogl {\n\ndraw_crop"
},
{
"path": "src/accelerator/ogl/util/transforms.h",
"chars": 1707,
"preview": "#pragma once\n\n#include <core/mixer/image/blend_modes.h>\n\n#include <common/memory.h>\n\n#include <core/frame/frame_transfor"
},
{
"path": "src/accelerator/vulkan/image/fragment_shader.frag",
"chars": 19514,
"preview": "#version 450\n\n#extension GL_ARB_fragment_shader_interlock : enable\n#extension GL_EXT_nonuniform_qualifier : enable\n\nlayo"
},
{
"path": "src/accelerator/vulkan/image/image_kernel.cpp",
"chars": 15090,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/image/image_kernel.h",
"chars": 1592,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/image/image_mixer.cpp",
"chars": 17702,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/image/image_mixer.h",
"chars": 2785,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/image/vertex_shader.vert",
"chars": 377,
"preview": "#version 450\nlayout(location = 0) in vec2 Position;\nlayout(location = 1) in vec4 TexCoordIn;\n\nlayout(location = 0) out v"
},
{
"path": "src/accelerator/vulkan/util/buffer.cpp",
"chars": 3631,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/buffer.h",
"chars": 1462,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/device.cpp",
"chars": 34934,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/device.h",
"chars": 3173,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/draw_params.h",
"chars": 2033,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/matrix.cpp",
"chars": 2165,
"preview": "#include <core/frame/frame_transform.h>\n\n#include <common/except.h>\n#include <common/log.h>\n\n#include <cmath>\n#include <"
},
{
"path": "src/accelerator/vulkan/util/matrix.h",
"chars": 1705,
"preview": "#pragma once\n\n#include <boost/numeric/ublas/matrix.hpp>\n#include <boost/numeric/ublas/matrix_vector.hpp>\n\n#include <core"
},
{
"path": "src/accelerator/vulkan/util/pipeline.cpp",
"chars": 15390,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/pipeline.h",
"chars": 1982,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/renderpass.cpp",
"chars": 8735,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/renderpass.h",
"chars": 3270,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/texture.cpp",
"chars": 3333,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/texture.h",
"chars": 1897,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/accelerator/vulkan/util/transforms.cpp",
"chars": 18043,
"preview": "#include \"transforms.h\"\n\n#include <algorithm>\n#include <unordered_set>\n\nnamespace caspar::accelerator::vulkan {\n\ndraw_cr"
},
{
"path": "src/accelerator/vulkan/util/transforms.h",
"chars": 1713,
"preview": "#pragma once\n\n#include <core/mixer/image/blend_modes.h>\n\n#include <common/memory.h>\n\n#include <core/frame/frame_transfor"
},
{
"path": "src/accelerator/vulkan/util/uniform_block.h",
"chars": 1807,
"preview": "/*\n * Copyright 2025\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparCG is free software: you can re"
},
{
"path": "src/common/CMakeLists.txt",
"chars": 1255,
"preview": "cmake_minimum_required (VERSION 3.28)\nproject (common)\n\nset(SOURCES\n\t\tdiagnostics/graph.cpp\n\n\t\tgl/gl_check.cpp\n\n\t\tbase64"
},
{
"path": "src/common/array.h",
"chars": 4390,
"preview": "#pragma once\n\n#include <any>\n#include <cstddef>\n#include <cstdlib>\n#include <cstring>\n#include <memory>\n#include <vector"
},
{
"path": "src/common/assert.h",
"chars": 2713,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/base64.cpp",
"chars": 4268,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/base64.h",
"chars": 1044,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/bit_depth.h",
"chars": 220,
"preview": "#pragma once\n\n#include <cstdint>\n#include <memory>\n\nnamespace caspar { namespace common {\n\nenum class bit_depth : uint8_"
},
{
"path": "src/common/compiler/vs/disable_silly_warnings.h",
"chars": 1786,
"preview": "/*\n* copyright (c) 2010 Sveriges Television AB <info@casparcg.com>\n*\n* This file is part of CasparCG.\n*\n* CasparCG i"
},
{
"path": "src/common/diagnostics/graph.cpp",
"chars": 3739,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/diagnostics/graph.h",
"chars": 2599,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/endian.h",
"chars": 2135,
"preview": "/*\n * Copyright 2013 Sveriges Television AB http://casparcg.com/\n *\n * This file is part of CasparCG (www.casparcg.com)."
},
{
"path": "src/common/enum_class.h",
"chars": 4576,
"preview": "#pragma once\n\n#include <type_traits>\n#include <vector>\n\n#define ENUM_ENABLE_BITWISE(enum_class) "
},
{
"path": "src/common/env.cpp",
"chars": 5632,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/env.h",
"chars": 1322,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/except.h",
"chars": 4177,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/executor.h",
"chars": 3747,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/filesystem.cpp",
"chars": 4073,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/filesystem.h",
"chars": 1596,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/future.h",
"chars": 708,
"preview": "#pragma once\n\n#include <chrono>\n#include <future>\n#include <type_traits>\n\nnamespace caspar {\n\ntemplate <typename F>\nauto"
},
{
"path": "src/common/gl/gl_check.cpp",
"chars": 3794,
"preview": "///////////////////////////\n//\n// SFML - Simple and Fast Multimedia Library\n// Copyright (C) 2007-2009 Laurent Gomila (l"
},
{
"path": "src/common/gl/gl_check.h",
"chars": 3449,
"preview": "///////////////////////////\n//\n// SFML - Simple and Fast Multimedia Library\n// Copyright (C) 2007-2009 Laurent Gomila (l"
},
{
"path": "src/common/log.cpp",
"chars": 8949,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/log.h",
"chars": 3466,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/memory.h",
"chars": 24954,
"preview": "/*\n * Copyright (c) 2011,2018 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.caspar"
},
{
"path": "src/common/memshfl.h",
"chars": 2349,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/os/filesystem.h",
"chars": 1103,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/os/linux/filesystem.cpp",
"chars": 2299,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/os/linux/prec_timer.cpp",
"chars": 2028,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/os/linux/thread.cpp",
"chars": 547,
"preview": "#include \"../thread.h\"\n#include \"../../utf.h\"\n#include <pthread.h>\n#include <sched.h>\n\nnamespace caspar {\n\nvoid set_thre"
},
{
"path": "src/common/os/thread.h",
"chars": 160,
"preview": "#pragma once\n\n#include <string>\n\nnamespace caspar {\n\nvoid set_thread_name(const std::wstring& name);\nvoid set_thread_rea"
},
{
"path": "src/common/os/windows/filesystem.cpp",
"chars": 1456,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/os/windows/prec_timer.cpp",
"chars": 2300,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/os/windows/thread.cpp",
"chars": 1035,
"preview": "#include \"../thread.h\"\n\n#include <thread>\n\n#include <windows.h>\n\n#include \"../../utf.h\"\n\nnamespace caspar {\n\ntypedef str"
},
{
"path": "src/common/os/windows/windows.h",
"chars": 367,
"preview": "#pragma once\n\n#undef _UNICODE\n#define _UNICODE\n#undef UNICODE\n#define UNICODE\n\n#undef NOMINMAX\n#define NOMINMAX\n\n#undef "
},
{
"path": "src/common/param.h",
"chars": 2724,
"preview": "#pragma once\n\n#include \"except.h\"\n\n#include <boost/algorithm/string.hpp>\n#include <boost/lexical_cast.hpp>\n\n#include <st"
},
{
"path": "src/common/prec_timer.h",
"chars": 1263,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/ptree.h",
"chars": 5309,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/scope_exit.h",
"chars": 1749,
"preview": "#pragma once\n\n#include \"except.h\"\n\nnamespace caspar {\n\nnamespace detail {\ntemplate <typename T>\nclass scope_exit\n{\n s"
},
{
"path": "src/common/stdafx.cpp",
"chars": 830,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/stdafx.h",
"chars": 3331,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/timer.h",
"chars": 1326,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/tweener.cpp",
"chars": 20125,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/tweener.h",
"chars": 2832,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/utf.cpp",
"chars": 1298,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/common/utf.h",
"chars": 1053,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/CMakeLists.txt",
"chars": 2465,
"preview": "cmake_minimum_required (VERSION 3.28)\nproject (core)\n\nset(SOURCES\n\t\tconsumer/frame_consumer.cpp\n\t\tconsumer/frame_consume"
},
{
"path": "src/core/StdAfx.h",
"chars": 2252,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/channel_info.h",
"chars": 1270,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/frame_consumer.cpp",
"chars": 1979,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/frame_consumer.h",
"chars": 2041,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/frame_consumer_registry.cpp",
"chars": 8163,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/frame_consumer_registry.h",
"chars": 3807,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/output.cpp",
"chars": 9139,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/consumer/output.h",
"chars": 2100,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/diagnostics/call_context.cpp",
"chars": 1353,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/diagnostics/call_context.h",
"chars": 1468,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/diagnostics/osd_graph.cpp",
"chars": 16933,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/diagnostics/osd_graph.h",
"chars": 1020,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/draw_frame.cpp",
"chars": 5057,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/draw_frame.h",
"chars": 2045,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/frame.cpp",
"chars": 8650,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/frame.h",
"chars": 3120,
"preview": "#pragma once\n\n#include <common/array.h>\n\n#include <any>\n#include <cstddef>\n#include <cstdint>\n#include <functional>\n#inc"
},
{
"path": "src/core/frame/frame_factory.h",
"chars": 2043,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/frame_transform.cpp",
"chars": 11833,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/frame_transform.h",
"chars": 5446,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/frame_visitor.h",
"chars": 1344,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/geometry.cpp",
"chars": 4392,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/geometry.h",
"chars": 2163,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/frame/pixel_format.h",
"chars": 2407,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/fwd.h",
"chars": 1465,
"preview": "/*\n * Copyright 2013 Sveriges Television AB http://casparcg.com/\n *\n * This file is part of CasparCG (www.casparcg.com)."
},
{
"path": "src/core/mixer/audio/audio_mixer.cpp",
"chars": 12052,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/audio/audio_mixer.h",
"chars": 1788,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/audio/audio_util.h",
"chars": 1867,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/image/blend_modes.cpp",
"chars": 5445,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/image/blend_modes.h",
"chars": 1485,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/image/image_mixer.h",
"chars": 2603,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/mixer.cpp",
"chars": 4657,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/mixer/mixer.h",
"chars": 1786,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/module_dependencies.h",
"chars": 2162,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/monitor/monitor.h",
"chars": 3286,
"preview": "/*\n * Copyright 2013 Sveriges Television AB http://casparcg.com/\n *\n * This file is part of CasparCG (www.casparcg.com)."
},
{
"path": "src/core/producer/cg_proxy.cpp",
"chars": 9443,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/cg_proxy.h",
"chars": 3930,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/color/color_producer.cpp",
"chars": 5981,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/color/color_producer.h",
"chars": 1709,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/frame_producer.cpp",
"chars": 3110,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/frame_producer.h",
"chars": 5755,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/frame_producer_registry.cpp",
"chars": 8484,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/frame_producer_registry.h",
"chars": 2286,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/layer.cpp",
"chars": 6522,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/layer.h",
"chars": 1858,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/route/route_producer.cpp",
"chars": 12072,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/route/route_producer.h",
"chars": 1414,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/separated/separated_producer.cpp",
"chars": 4283,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/separated/separated_producer.h",
"chars": 1148,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/stage.cpp",
"chars": 24603,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/stage.h",
"chars": 10610,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/transition/sting_producer.cpp",
"chars": 14303,
"preview": "/*\n * Copyright (c) 2018 Norsk rikskringkasting AS\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparC"
},
{
"path": "src/core/producer/transition/sting_producer.h",
"chars": 1540,
"preview": "/*\n * Copyright (c) 2018 Norsk rikskringkasting AS\n *\n * This file is part of CasparCG (www.casparcg.com).\n *\n * CasparC"
},
{
"path": "src/core/producer/transition/transition_producer.cpp",
"chars": 17816,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/producer/transition/transition_producer.h",
"chars": 1778,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/video_channel.cpp",
"chars": 11312,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/video_channel.h",
"chars": 3031,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/video_format.cpp",
"chars": 10450,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/core/video_format.h",
"chars": 3803,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/CMakeLists.txt",
"chars": 355,
"preview": "cmake_minimum_required (VERSION 3.28)\nproject(\"modules\")\n\nadd_subdirectory(image)\nadd_subdirectory(ffmpeg)\nadd_subdirect"
},
{
"path": "src/modules/artnet/CMakeLists.txt",
"chars": 460,
"preview": "cmake_minimum_required (VERSION 3.28)\nproject (artnet)\n\nset(SOURCES\n\tconsumer/artnet_consumer.cpp\n\tconsumer/artnet_consu"
},
{
"path": "src/modules/artnet/artnet.cpp",
"chars": 1226,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/artnet/artnet.h",
"chars": 1000,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/artnet/consumer/artnet_consumer.cpp",
"chars": 11257,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/artnet/consumer/artnet_consumer.h",
"chars": 1519,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/artnet/util/fixture_calculation.cpp",
"chars": 7269,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/artnet/util/fixture_calculation.h",
"chars": 1903,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/CMakeLists.txt",
"chars": 834,
"preview": "cmake_minimum_required (VERSION 3.28)\nproject (bluefish)\n\nset(SOURCES\n\t\tconsumer/bluefish_consumer.cpp\n\t\tconsumer/bluefi"
},
{
"path": "src/modules/bluefish/StdAfx.h",
"chars": 1326,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/bluefish.cpp",
"chars": 2388,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/bluefish.h",
"chars": 1032,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/consumer/bluefish_consumer.cpp",
"chars": 47850,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/consumer/bluefish_consumer.h",
"chars": 1975,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/interop/BlueDriver_p.h",
"chars": 104760,
"preview": "/*///////////////////////////////////////////////////////////////////////////\r\n// File: BlueDriver_p.h\r\n// Author"
},
{
"path": "src/modules/bluefish/interop/BlueTypes.h",
"chars": 1765,
"preview": "////////////////////////////////////////////////////////////////////////////\n// File: BlueTypes.h\n//\n// Descripti"
},
{
"path": "src/modules/bluefish/interop/BlueVelvetCFuncPtr.h",
"chars": 39173,
"preview": "/*\n Copyright (c) Bluefish444. All rights reserved.\n\n NOTE: Please add\n #define IMPLEMENTATION_BLUEVELVETC_FUNC"
},
{
"path": "src/modules/bluefish/producer/bluefish_producer.cpp",
"chars": 35182,
"preview": "/*\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\n *\n * This file is part of CasparCG (www.casparcg.co"
},
{
"path": "src/modules/bluefish/producer/bluefish_producer.h",
"chars": 1285,
"preview": "/*\r\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\r\n *\r\n * This file is part of CasparCG (www.casparcg"
},
{
"path": "src/modules/bluefish/util/blue_velvet.cpp",
"chars": 31432,
"preview": "/*\r\n * Copyright (c) 2011 Sveriges Television AB <info@casparcg.com>\r\n *\r\n * This file is part of CasparCG (www.casparcg"
}
]
// ... and 292 more files (download for full content)
About this extraction
This page contains the full source code of the CasparCG/Server GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 492 files (3.5 MB), approximately 944.6k tokens, and a symbol index with 3052 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.