github.com/bluenviron/mediacommon@v1.9.3/pkg/formats/fmp4/codec_vp9.go (about)

     1  package fmp4
     2  
     3  // CodecVP9 is the VP9 codec.
     4  type CodecVP9 struct {
     5  	Width             int
     6  	Height            int
     7  	Profile           uint8
     8  	BitDepth          uint8
     9  	ChromaSubsampling uint8
    10  	ColorRange        bool
    11  }
    12  
    13  // IsVideo implements Codec.
    14  func (CodecVP9) IsVideo() bool {
    15  	return true
    16  }
    17  
    18  func (*CodecVP9) isCodec() {}