Documentation
¶
Overview ¶
Package vpx holds the types shared by the VP8 and VP9 decoders of this module: the decoded image and the error sentinels. The decoders are in packages vp8 and vp9.
At M0 the decoded picture is Image, a view of the decoder's frame buffer, valid until the next decode call. The design's Picture type replaces it in a later milestone.
Index ¶
Constants ¶
const ( Subsampling420 = codecapi.Subsampling420 Subsampling422 = codecapi.Subsampling422 Subsampling440 = codecapi.Subsampling440 Subsampling444 = codecapi.Subsampling444 )
The chroma layouts the decoders produce.
Variables ¶
var ( ErrInvalidData = vpxerrors.ErrInvalidData ErrInvalidVP9Data = vpxerrors.ErrInvalidVP9Data ErrNeedKeyFrame = vpxerrors.ErrNeedKeyFrame ErrFrameRejected = vpxerrors.ErrFrameRejected ErrInvalidConfig = vpxerrors.ErrInvalidConfig ErrClosed = vpxerrors.ErrClosed ErrVP9NotImplemented = vpxerrors.ErrVP9NotImplemented )
The error sentinels. Wrap-aware: test with errors.Is.
Functions ¶
This section is empty.
Types ¶
type ChromaSubsampling ¶
type ChromaSubsampling = codecapi.ChromaSubsampling
ChromaSubsampling names the chroma layout of an Image.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
pixel
Independent scalar pixel kernels, also used for CPUs without AVX2.
|
Independent scalar pixel kernels, also used for CPUs without AVX2. |
|
vp8/codec
Shared codec API aliases for libvpx v1.16.0 VP8 codec implementation.
|
Shared codec API aliases for libvpx v1.16.0 VP8 codec implementation. |
|
vp8/decoder
VP8 edge order follows libvpx v1.16.0 vp8/common/loopfilter.c.
|
VP8 edge order follows libvpx v1.16.0 vp8/common/loopfilter.c. |
|
vp8/dsp
Code generated by go test -tags govpx_generate -run TestGenerateIntraSIMD; DO NOT EDIT.
|
Code generated by go test -tags govpx_generate -run TestGenerateIntraSIMD; DO NOT EDIT. |
|
vp8/rtp
Package rtp implements VP8 RTP payload descriptors and frame fragment assembly.
|
Package rtp implements VP8 RTP payload descriptors and frame fragment assembly. |
|
vp9/rtp
Package rtp implements VP9 RTP payload descriptors and frame fragment assembly.
|
Package rtp implements VP9 RTP payload descriptors and frame fragment assembly. |
|
vpx/errors
Package errors holds shared sentinel errors for internal VPx packages.
|
Package errors holds shared sentinel errors for internal VPx packages. |
|
vpx/rtp
Package rtp holds shared mechanical helpers for RTP payload assembly.
|
Package rtp holds shared mechanical helpers for RTP payload assembly. |
|
Package vp8 is a VP8 decoder.
|
Package vp8 is a VP8 decoder. |
|
Package vp9 is a VP9 decoder (profiles 0 and 1).
|
Package vp9 is a VP9 decoder (profiles 0 and 1). |