Base class for HAP ((c) Vidvox) decoding. More...

Inheritance diagram for score::gfx::HAPDecoder:
score::gfx::GPUVideoDecoder score::gfx::HAPDefaultDecoder score::gfx::HAPMDecoder

Detailed Description

Base class for HAP ((c) Vidvox) decoding.

Classes

struct  HAPSection
 

Public Member Functions

void exec (RenderList &, QRhiResourceUpdateBatch &res, AVFrame &frame) override
 Decode and upload a video frame to the GPU.
 
void setPixels_noEncoding (QRhiResourceUpdateBatch &res, const uint8_t *data_start, std::size_t size)
 
void setPixels_snappy (QRhiResourceUpdateBatch &res, const uint8_t *data_start, std::size_t size)
 
- Public Member Functions inherited from score::gfx::GPUVideoDecoder
virtual std::pair< QShader, QShader > init (RenderList &r)=0
 Initialize a GPUVideoDecoder. More...
 
void release (RenderList &)
 This method will release all the created samplers and textures.
 

Public Attributes

std::unique_ptr< char[]> m_buffer = std::make_unique<char[]>(1024 * 1024 * 16)
 
- Public Attributes inherited from score::gfx::GPUVideoDecoder
std::vector< Samplersamplers
 

Static Public Attributes

static constexpr int buffer_size = 1024 * 1024 * 16
 

Additional Inherited Members

- Static Public Member Functions inherited from score::gfx::GPUVideoDecoder
static QRhiTextureSubresourceUploadDescription createTextureUpload (uint8_t *pixels, int w, int h, int bytesPerPixel, int stride)
 Utility method to create a QRhiTextureSubresourceUploadDescription. More...
 
static QString vertexShader () noexcept
 

The documentation for this struct was generated from the following files: