]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/vpcc.h
avfilter/formats: Remove avfilter_make_format64_list()
[ffmpeg] / libavformat / vpcc.h
index 184e8579f150d7cb750ffa458c169d50608a22f6..e87bec55c26b5cb7dea022685c67a9042019cf34 100644 (file)
 #include "avformat.h"
 #include "libavcodec/avcodec.h"
 
+typedef struct VPCC {
+    int profile;
+    int level;
+    int bitdepth;
+    int chroma_subsampling;
+    int full_range_flag;
+} VPCC;
+
 /**
  * Writes VP codec configuration to the provided AVIOContext.
  *
@@ -44,4 +52,7 @@
 int ff_isom_write_vpcc(AVFormatContext *s, AVIOContext *pb,
                        AVCodecParameters *par);
 
+int ff_isom_get_vpcc_features(AVFormatContext *s, AVCodecParameters *par,
+                              AVRational *frame_rate, VPCC *vpcc);
+
 #endif /* AVFORMAT_VPCC_H */