pred

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: BSD-2-Clause Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	I8x8Vertical = iota
	I8x8Horizontal
	I8x8DC
	I8x8DiagonalDownLeft
	I8x8DiagonalDownRight
	I8x8VerticalRight
	I8x8HorizontalDown
	I8x8VerticalLeft
	I8x8HorizontalUp
)
View Source
const (
	I4x4Vertical = iota
	I4x4Horizontal
	I4x4DC
	I4x4DiagonalDownLeft
	I4x4DiagonalDownRight
	I4x4VerticalRight
	I4x4HorizontalDown
	I4x4VerticalLeft
	I4x4HorizontalUp
)
View Source
const (
	I16x16Vertical = iota
	I16x16Horizontal
	I16x16DC
	I16x16Plane
)
View Source
const (
	ChromaDC = iota
	ChromaHorizontal
	ChromaVertical
	ChromaPlane
)

Variables

This section is empty.

Functions

func ChromaModeAvailable

func ChromaModeAvailable(mode int, avail Availability) bool

func Intra4x4

func Intra4x4(plane []byte, stride, offset, mode int, avail Availability)

func Intra4x4ModeAvailable

func Intra4x4ModeAvailable(mode int, avail Availability) bool

func Intra8x8 added in v1.2.0

func Intra8x8(plane []byte, stride, offset, mode int, avail Availability)

func Intra8x8ModeAvailable added in v1.2.0

func Intra8x8ModeAvailable(mode int, avail Availability) bool

func Intra16x16

func Intra16x16(plane []byte, stride, offset, mode int, avail Availability)

func Intra16x16ModeAvailable

func Intra16x16ModeAvailable(mode int, avail Availability) bool

func IntraChroma8x8

func IntraChroma8x8(plane []byte, stride, offset, mode int, avail Availability)

Types

type Availability

type Availability uint8
const (
	AvailLeft Availability = 1 << iota
	AvailTop
	AvailTopLeft
	AvailTopRight
)

func (Availability) Has

func (a Availability) Has(f Availability) bool

Jump to

Keyboard shortcuts

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