HEIF plug-in extended to read AVCI format

AVCI is H.264 encapsulated in HEIF container
This commit is contained in:
Daniel Novomeský
2024-12-29 23:44:18 +01:00
parent c0d5b8854b
commit fe28130cb3
5 changed files with 80 additions and 54 deletions

View File

@ -31,9 +31,11 @@ public:
static bool isHeifDecoderAvailable();
static bool isHeifEncoderAvailable();
static bool isHej2DecoderAvailable();
static bool isAVCIDecoderAvailable();
static bool isSupportedBMFFType(const QByteArray &header);
static bool isSupportedHEJ2(const QByteArray &header);
static bool isSupportedAVCI(const QByteArray &header);
private:
bool ensureParsed() const;
@ -53,12 +55,14 @@ private:
static void startHeifLib();
static void finishHeifLib();
static void queryHeifLib();
static size_t m_initialized_count;
static bool m_plugins_queried;
static bool m_heif_decoder_available;
static bool m_heif_encoder_available;
static bool m_hej2_decoder_available;
static bool m_avci_decoder_available;
static QMutex &getHEIFHandlerMutex();
};