Loading...
Searching...
No Matches
score::gfx::PixelFormatInfo Struct Reference
Detailed Description
Describes the pixel layout properties relevant for GPU decoding. Extracted from AVPixFmtDescriptor / codec parameters.
Public Member Functions | |
| bool | is10bit () const noexcept |
Static Public Member Functions | |
| static PixelFormatInfo | fromAVPixelFormat (AVPixelFormat fmt) |
| Build from an AVPixelFormat. | |
| static PixelFormatInfo | fromCodecParameters (AVPixelFormat swFormat, AVPixelFormat codecparFormat, int bitsPerRawSample) |
Member Function Documentation
◆ fromCodecParameters()
|
inlinestatic |
Build from codec parameters, with optional sw_format override. bits_per_raw_sample from the codec is used as a hint when > 8.
The documentation for this struct was generated from the following file: