Documentation ¶
Index ¶
- Variables
- type CodecMunger
- type Null
- func (n *Null) GetSeededState() interface{}
- func (n *Null) GetState() interface{}
- func (n *Null) SeedState(state interface{})
- func (n *Null) SetLast(_extPkt *buffer.ExtPacket)
- func (n *Null) UpdateAndGet(_extPkt *buffer.ExtPacket, snOutOfOrder bool, snHasGap bool, maxTemporal int32, ...) (int, int, error)
- func (n *Null) UpdateAndGetPadding(newPicture bool, outputHeader []byte) (int, error)
- func (n *Null) UpdateOffsets(_extPkt *buffer.ExtPacket)
- type VP8
- func (v *VP8) GetState() interface{}
- func (v *VP8) PictureIdOffset(extPictureId int32) (int32, bool)
- func (v *VP8) SeedState(seed interface{})
- func (v *VP8) SetLast(extPkt *buffer.ExtPacket)
- func (v *VP8) UpdateAndGet(extPkt *buffer.ExtPacket, snOutOfOrder bool, snHasGap bool, ...) (int, int, error)
- func (v *VP8) UpdateAndGetPadding(newPicture bool, outputHeader []byte) (int, error)
- func (v *VP8) UpdateOffsets(extPkt *buffer.ExtPacket)
- type VP8PictureIdWrapHandler
- type VP8State
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CodecMunger ¶
type CodecMunger interface { GetState() interface{} SeedState(state interface{}) SetLast(extPkt *buffer.ExtPacket) UpdateOffsets(extPkt *buffer.ExtPacket) UpdateAndGet(extPkt *buffer.ExtPacket, snOutOfOrder bool, snHasGap bool, maxTemporal int32, outputHeader []byte) (int, int, error) UpdateAndGetPadding(newPicture bool, outputHeader []byte) (int, error) }
type Null ¶
type Null struct {
// contains filtered or unexported fields
}
func (*Null) GetSeededState ¶
func (n *Null) GetSeededState() interface{}
func (*Null) UpdateAndGet ¶
func (*Null) UpdateAndGetPadding ¶
func (*Null) UpdateOffsets ¶
type VP8 ¶
type VP8 struct {
// contains filtered or unexported fields
}
func NewVP8FromNull ¶
func NewVP8FromNull(cm CodecMunger, logger logger.Logger) *VP8
func (*VP8) PictureIdOffset ¶
for testing only
func (*VP8) UpdateAndGet ¶
func (*VP8) UpdateAndGetPadding ¶
func (*VP8) UpdateOffsets ¶
type VP8PictureIdWrapHandler ¶
type VP8PictureIdWrapHandler struct {
// contains filtered or unexported fields
}
func (*VP8PictureIdWrapHandler) Init ¶
func (v *VP8PictureIdWrapHandler) Init(extPictureId int32, mBit bool)
func (*VP8PictureIdWrapHandler) MaxPictureId ¶
func (v *VP8PictureIdWrapHandler) MaxPictureId() int32
func (*VP8PictureIdWrapHandler) Unwrap ¶
func (v *VP8PictureIdWrapHandler) Unwrap(pictureId uint16, mBit bool) int32
unwrap picture id and update the maxPictureId. return unwrapped value
func (*VP8PictureIdWrapHandler) UpdateMaxPictureId ¶
func (v *VP8PictureIdWrapHandler) UpdateMaxPictureId(extPictureId int32, mBit bool)
Click to show internal directories.
Click to hide internal directories.