]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/log.h
iff demuxer: support RGB8 and RGBN
[ffmpeg] / libavutil / log.h
index ba7315fa64594a8d2dd3825952d78c255a8a5945..6c445536c0876ecbee008733139a37e8ea10bb27 100644 (file)
@@ -40,6 +40,8 @@ typedef enum {
     AV_CLASS_CATEGORY_NB, ///< not part of ABI/API
 }AVClassCategory;
 
+struct AVOptionRanges;
+
 /**
  * Describe the class of an AVClass context structure. That is an
  * arbitrary struct of which the first field is a pointer to an
@@ -114,6 +116,12 @@ typedef struct AVClass {
      * available since version (51 << 16 | 59 << 8 | 100)
      */
     AVClassCategory (*get_category)(void* ctx);
+
+    /**
+     * Callback to return the supported/allowed ranges.
+     * available since version (52.12)
+     */
+    int (*query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags);
 } AVClass;
 
 /* av_log API */