transform

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: BSD-2-Clause Imports: 1 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

This section is empty.

Variables

This section is empty.

Functions

func AddResidual4x4

func AddResidual4x4(plane []byte, stride, offset int, b *Block)

func BlockToScan

func BlockToScan(dst *[16]int32, b *Block)

func Clip1

func Clip1(v int32) byte

func Dequant4x4

func Dequant4x4(b *Block, qp int, skipDC bool)

func DequantChromaDC

func DequantChromaDC(b *ChromaDC, qp int)

func DequantLumaDC

func DequantLumaDC(b *Block, qp int)

func Forward4x4

func Forward4x4(b *Block)

func Hadamard2x2

func Hadamard2x2(b *ChromaDC)

func Hadamard4x4

func Hadamard4x4(b *Block)

func HadamardForwardDC4x4

func HadamardForwardDC4x4(b *Block)

func Inverse4x4

func Inverse4x4(b *Block)

func Quant4x4

func Quant4x4(b *Block, qp int, intra bool)

func QuantChromaDC

func QuantChromaDC(b *ChromaDC, qp int, intra bool)

func QuantLumaDC

func QuantLumaDC(b *Block, qp int, intra bool)

func Residual4x4

func Residual4x4(dst *Block, src []byte, srcStride, srcOff int, pred []byte, predStride, predOff int)

func ScanToBlock

func ScanToBlock(dst *Block, scan *[16]int32)

func ZigZagIndex

func ZigZagIndex(i int) int

Types

type Block

type Block [16]int32

type ChromaDC

type ChromaDC [4]int32

Jump to

Keyboard shortcuts

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