|
avcpp 3.2.1
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Owner of AVHWFramesConstraints. More...
#include <hwcontext.h>
Public Member Functions | |
| FrameConstraints ()=default | |
| Create an empty value; isValid() is false. | |
| bool | isValid () const noexcept |
| Whether constraints were obtained. | |
| PixelFormatRange | hwFormats () const noexcept |
| Hardware surface formats the device supports. | |
| PixelFormatRange | swFormats () const noexcept |
| System-memory formats that can be transferred to the device. | |
| int | minWidth () const noexcept |
| Smallest supported width. | |
| int | maxWidth () const noexcept |
| Largest supported width. | |
| int | minHeight () const noexcept |
| Smallest supported height. | |
| int | maxHeight () const noexcept |
| Largest supported height. | |
Static Public Member Functions | |
| static FrameConstraints | query (const DeviceContext &device, OptionalErrorCode ec=throws()) |
| Ask the device for its frame constraints. | |
hwFormats() and swFormats() return non-owning views into the owned struct.
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
static |
| device | the device to query |
| ec | holder for the error code |
|
noexcept |