Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfig = errors.New("go264/encoder: invalid configuration") ErrFrameSize = errors.New("go264/encoder: frame does not match the configured size") )
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
func (*Encoder) EncodeWithHints ¶ added in v1.1.0
func (*Encoder) ForceKeyFrame ¶ added in v1.1.0
func (e *Encoder) ForceKeyFrame()
type MotionSearch ¶ added in v1.1.0
type MotionSearch uint8
const ( MotionSearchFull MotionSearch = iota MotionSearchZero )
type Region ¶ added in v1.1.0
type Region struct {
Rect image.Rectangle
Kind RegionKind
}
type RegionKind ¶ added in v1.1.0
type RegionKind uint8
const ( RegionUnknown RegionKind = iota RegionFill RegionText RegionImage )
Click to show internal directories.
Click to hide internal directories.