ms_codecs

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodingContext

type EncodingContext struct {
	// contains filtered or unexported fields
}

func NewEncodingContext

func NewEncodingContext(param *EncodingContextParam) *EncodingContext

func (EncodingContext) GetCurrentSpatialLayer

func (p EncodingContext) GetCurrentSpatialLayer() int16

func (EncodingContext) GetCurrentTemporalLayer

func (p EncodingContext) GetCurrentTemporalLayer() int16

func (EncodingContext) GetSpatialLayers

func (p EncodingContext) GetSpatialLayers() uint8

func (EncodingContext) GetTargetSpatialLayer

func (p EncodingContext) GetTargetSpatialLayer() int16

func (EncodingContext) GetTargetTemporalLayer

func (p EncodingContext) GetTargetTemporalLayer() int16

func (EncodingContext) GetTemporalLayers

func (p EncodingContext) GetTemporalLayers() uint8

func (EncodingContext) IsKSvc

func (p EncodingContext) IsKSvc() bool

func (*EncodingContext) SetCurrentSpatialLayer

func (p *EncodingContext) SetCurrentSpatialLayer(spatialLayer int16)

func (*EncodingContext) SetCurrentTemporalLayer

func (p *EncodingContext) SetCurrentTemporalLayer(temporalLayer int16)

func (*EncodingContext) SetTargetSpatialLayer

func (p *EncodingContext) SetTargetSpatialLayer(spatialLayer int16)

func (*EncodingContext) SetTargetTemporalLayer

func (p *EncodingContext) SetTargetTemporalLayer(temporalLayer int16)

type EncodingContextParam

type EncodingContextParam struct {
	SpatialLayers  uint8
	TemporalLayers uint8
	Ksvc           bool
}

type PayloadDescriptor

type PayloadDescriptor struct {
}

type PayloadDescriptorHandler

type PayloadDescriptorHandler interface {
	GetSpatialLayer() uint8
	GetTemporalLayer() uint8
	IsKeyFrame() bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL