X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fvpcc.h;h=e87bec55c26b5cb7dea022685c67a9042019cf34;hb=8d74baccff59192d395735036cd40a131a140391;hp=184e8579f150d7cb750ffa458c169d50608a22f6;hpb=b4718b76937a6677ce89866e06d929d778c57b64;p=ffmpeg diff --git a/libavformat/vpcc.h b/libavformat/vpcc.h index 184e8579f15..e87bec55c26 100644 --- a/libavformat/vpcc.h +++ b/libavformat/vpcc.h @@ -32,6 +32,14 @@ #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 */