Loading...
Searching...
No Matches
WireDecoderFactory.hpp File Reference
Vendor-neutral GPU-decoder selection keyed on VideoPixelFormat. More...
Detailed Description
Vendor-neutral GPU-decoder selection keyed on VideoPixelFormat.
The capture-side symmetric counterpart to encoders/WireEncoderFactory.hpp: turns "the on-wire pixel format a card delivers" into the GPUVideoDecoder that unpacks those bytes into RGBA at sample time. The switch lives here so that a capture-card addon (AJA, and future DeckLink/Bluefish/Magewell/Deltacast) only has to map its vendor enum -> VideoPixelFormat.
Returns nullptr for formats with no capture decoder yet. The decoder allocates an input texture sized to the wire byte layout (the strategy DMAs into it); meta carries the VPID/InfoFrame-derived colour metadata.
Go to the source code of this file.
Namespaces | |
| namespace | score |
| Base toolkit upon which the software is built. | |
| namespace | score::gfx |
| Graphics rendering pipeline for ossia score. | |
Functions | |
| std::unique_ptr< GPUVideoDecoder > | score::gfx::makeWireDecoder (score::gfx::interop::VideoPixelFormat fmt, Video::ImageFormat &d) |