mf

package
v1.5.0 Latest Latest
Warning

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

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

View Source
var (
	MFMediaTypeVideo  = fourCCGUID("vids")
	MFVideoFormatH264 = fourCCGUID("H264")
	MFVideoFormatNV12 = fourCCGUID("NV12")
	MFVideoFormatIYUV = fourCCGUID("IYUV")
)

Functions

func I420Size

func I420Size(w, h int) int

func I420ToNV12

func I420ToNV12(dst []byte, dstStride int, src []byte, w, h int)

func NV12Size

func NV12Size(stride, h int) int

func NV12ToI420

func NV12ToI420(dst []byte, src []byte, srcStride int, w, h int)

func NV12ToI420Offset added in v1.4.0

func NV12ToI420Offset(dst []byte, src []byte, srcStride, chromaOffset int, w, h int)

func SplitAccessUnits added in v1.4.0

func SplitAccessUnits(annexB []byte) [][]byte

Types

type GUID

type GUID struct {
	Data1 uint32
	Data2 uint16
	Data3 uint16
	Data4 [8]byte
}

func (GUID) String

func (g GUID) String() string

Jump to

Keyboard shortcuts

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