Encoder  4.4
VC-5 Sample Encoder
component.h File Reference

Go to the source code of this file.

Functions

CODEC_ERROR InitComponentTransform (COMPONENT_TRANSFORM *transform)
 Initialize a component transform.
 
CODEC_ERROR InitComponentPermutation (COMPONENT_PERMUTATION *permutation)
 Initialize a component permutation.
 
CODEC_ERROR AllocateComponentTransform (ALLOCATOR *allocator, COMPONENT_TRANSFORM *transform, int component_count)
 Allocate the arrays in a component transform. More...
 
CODEC_ERROR AllocateComponentPermutation (ALLOCATOR *allocator, COMPONENT_PERMUTATION *permutation, int component_count)
 Allocate the arrays in a component permutation. More...
 
CODEC_ERROR ReleaseComponentTransform (ALLOCATOR *allocator, COMPONENT_TRANSFORM *transform)
 Release the arrays in a component transform.
 
CODEC_ERROR ReleaseComponentPermutation (ALLOCATOR *allocator, COMPONENT_PERMUTATION *permutation)
 Release the arrays in a component permutation.
 
CODEC_ERROR InitComponentTransformIdentity (COMPONENT_TRANSFORM *transform, int component_count, ALLOCATOR *allocator)
 Initialize a component transform to the identity transform.
 
CODEC_ERROR InitComponentPermutationIdentity (COMPONENT_PERMUTATION *permutation, int component_count, ALLOCATOR *allocator)
 Initialize a component transform to the identity permutation.
 
CODEC_ERROR InitComponentTransformTesting (COMPONENT_TRANSFORM *transform, int component_count, ALLOCATOR *allocator)
 Initialize a component transform to known values for testing.
 
CODEC_ERROR InitComponentPermutationTesting (COMPONENT_PERMUTATION *permutation, int component_count, ALLOCATOR *allocator)
 Initialize a component transform to known values for testing.
 
bool IsComponentTransformIdentity (COMPONENT_TRANSFORM *transform)
 Return true if the component transform is the identity transform.
 
bool IsComponentPermutationIdentity (COMPONENT_PERMUTATION *permutation)
 Allocate the arrays in a component permutation.
 
CODEC_ERROR WriteComponentTransform (COMPONENT_TRANSFORM *transform, BITSTREAM *stream)
 Write the component transform to the bitstream. More...
 
CODEC_ERROR WriteComponentPermutation (COMPONENT_PERMUTATION *permutation, BITSTREAM *stream)
 Write the component permutation to the bitstream.
 

Detailed Description

Declaration of routines for the inverse component transform and permutation.

(c) 2013-2017 Society of Motion Picture & Television Engineers LLC and Woodman Labs, Inc. All rights reserved–use subject to compliance with end user license agreement.

Function Documentation

◆ AllocateComponentPermutation()

CODEC_ERROR AllocateComponentPermutation ( ALLOCATOR allocator,
COMPONENT_PERMUTATION permutation,
int  component_count 
)

Allocate the arrays in a component permutation.

The allocated arrays in the component permutation are initialized to all zeros.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AllocateComponentTransform()

CODEC_ERROR AllocateComponentTransform ( ALLOCATOR allocator,
COMPONENT_TRANSFORM transform,
int  component_count 
)

Allocate the arrays in a component transform.

The allocated arrays in the component transform are initialized to all zeros.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WriteComponentTransform()

CODEC_ERROR WriteComponentTransform ( COMPONENT_TRANSFORM transform,
BITSTREAM stream 
)

Write the component transform to the bitstream.

Todo:
Use the InverseTransform16 syntax element if any values are larger than a single byte
Here is the call graph for this function:
Here is the caller graph for this function: