|
| const char * | name () const noexcept |
| | Short format name, as FFmpeg spells it.
|
| const char * | longName () const noexcept |
| | Human-readable format name.
|
| int32_t | flags () const noexcept |
| | Raw AVFMT_* flags of the format.
|
| bool | isFlags (int32_t flags) const noexcept |
| | Whether all given flags are set.
|
| void | setFormat (T *format) noexcept |
| | Point the descriptor at another format.
|
| bool | codecSupported (const class Codec &codec) const noexcept |
| | Whether the format can carry a codec.
|
| bool | codecSupported (AVCodecID codec_id) const noexcept |
| | Whether the format can carry a codec identifier.
|
|
| FFWrapperPtr ()=default |
| | Create an empty wrapper; isNull() is true.
|
| | FFWrapperPtr (T *raw) |
| | Wrap an existing object.
|
| const T * | raw () const |
| | Read access to the wrapped object.
|
| T * | raw () |
| | Write access to the wrapped object.
|
| void | reset (T *raw=nullptr) |
| | Replace the stored pointer.
|
| bool | isNull () const |
| | Whether the wrapper is empty.
|
| void | _log (int level, const char *fmt) const |
| | Log through the FFmpeg log system, using this wrapper as the context.
|
| template<typename... Args> |
| void | _log (int level, const char *fmt, const Args &... args) const |
| | Log through the FFmpeg log system with arguments.
|
template<typename T>
struct av::Format< T >
The template is instantiated with the const or non-const FFmpeg type, depending on how old the FFmpeg headers are, so the same code compiles against both.
- Template Parameters
-
| T | AVInputFormat or AVOutputFormat, possibly const |