Data structure for the component permutation.
Definition: transperm.h:27
Declaration of the bitstream data structure.
Definition: bitstream.h:48
CODEC_ERROR InitComponentPermutationIdentity(COMPONENT_PERMUTATION *permutation, int component_count, ALLOCATOR *allocator)
Initialize a component transform to the identity permutation.
Definition: component.c:151
CODEC_ERROR InitComponentPermutationTesting(COMPONENT_PERMUTATION *permutation, int component_count, ALLOCATOR *allocator)
Initialize a component transform to known values for testing.
Definition: component.c:206
CODEC_ERROR ReleaseComponentPermutation(ALLOCATOR *allocator, COMPONENT_PERMUTATION *permutation)
Release the arrays in a component permutation.
Definition: component.c:113
CODEC_ERROR WriteComponentTransform(COMPONENT_TRANSFORM *transform, BITSTREAM *stream)
Write the component transform to the bitstream.
Definition: component.c:299
CODEC_ERROR InitComponentTransformIdentity(COMPONENT_TRANSFORM *transform, int component_count, ALLOCATOR *allocator)
Initialize a component transform to the identity transform.
Definition: component.c:126
CODEC_ERROR AllocateComponentTransform(ALLOCATOR *allocator, COMPONENT_TRANSFORM *transform, int component_count)
Allocate the arrays in a component transform.
Definition: component.c:47
CODEC_ERROR InitComponentTransformTesting(COMPONENT_TRANSFORM *transform, int component_count, ALLOCATOR *allocator)
Initialize a component transform to known values for testing.
Definition: component.c:174
CODEC_ERROR AllocateComponentPermutation(ALLOCATOR *allocator, COMPONENT_PERMUTATION *permutation, int component_count)
Allocate the arrays in a component permutation.
Definition: component.c:79
CODEC_ERROR InitComponentPermutation(COMPONENT_PERMUTATION *permutation)
Initialize a component permutation.
Definition: component.c:31
CODEC_ERROR InitComponentTransform(COMPONENT_TRANSFORM *transform)
Initialize a component transform.
Definition: component.c:15
CODEC_ERROR WriteComponentPermutation(COMPONENT_PERMUTATION *permutation, BITSTREAM *stream)
Write the component permutation to the bitstream.
Definition: component.c:360
CODEC_ERROR ReleaseComponentTransform(ALLOCATOR *allocator, COMPONENT_TRANSFORM *transform)
Release the arrays in a component transform.
Definition: component.c:98
bool IsComponentTransformIdentity(COMPONENT_TRANSFORM *transform)
Return true if the component transform is the identity transform.
Definition: component.c:228
bool IsComponentPermutationIdentity(COMPONENT_PERMUTATION *permutation)
Allocate the arrays in a component permutation.
Definition: component.c:271
enum _codec_error CODEC_ERROR
Codec error codes.
void * ALLOCATOR
Opaque data type for the default memory allocator.
Definition: allocator.h:20