Loading...
Searching...
No Matches
PackedBitfieldYUV.hpp
Go to the documentation of this file.
Decoder for RGB packed into bit fields narrower than a byte.
Processes and renders a video frame on the GPU.
Definition GPUVideoDecoder.hpp:90
static QRhiTextureSubresourceUploadDescription createTextureUpload(uint8_t *pixels, int w, int h, int bytesPerPixel, int stride)
Utility method to create a QRhiTextureSubresourceUploadDescription.
Definition GPUVideoDecoder.cpp:22
RenderState & state
RenderState corresponding to this RenderList.
Definition RenderList.hpp:169
std::pair< QShader, QShader > makeShaders(const RenderState &v, QString vert, QString frag, int multiViewCount)
Get a pair of compiled vertex / fragment shaders from GLSL 4.5 sources.
Definition score-plugin-gfx/Gfx/Graph/Utils.cpp:1238
Definition VideoInterface.hpp:26
One channel's placement inside the packed container.
Definition PackedBitfield.hpp:34
int width
Bit count; 0 means "channel absent, use 1.0".
Definition PackedBitfield.hpp:36
int offset
LSB position within the reassembled word.
Definition PackedBitfield.hpp:35
Definition PackedBitfieldYUV.hpp:34
std::pair< QShader, QShader > init(RenderList &r) override
Initialize a GPUVideoDecoder.
Definition PackedBitfieldYUV.hpp:84
void exec(RenderList &, QRhiResourceUpdateBatch &res, AVFrame &frame) override
Decode and upload a video frame to the GPU.
Definition PackedBitfieldYUV.hpp:108
Definition PackedBitfieldYUV.hpp:29