Encoder  4.4
VC-5 Sample Encoder
component.h
Go to the documentation of this file.
1 
9 #ifndef _COMPONENT_H
10 #define _COMPONENT_H
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
17 
19 
21  COMPONENT_TRANSFORM *transform,
22  int component_count);
23 
25  COMPONENT_PERMUTATION *permutation,
26  int component_count);
27 
29  COMPONENT_TRANSFORM *transform);
30 
32  COMPONENT_PERMUTATION *permutation);
33 
35  int component_count,
36  ALLOCATOR *allocator);
37 
39  int component_count,
40  ALLOCATOR *allocator);
41 
43  int component_count,
44  ALLOCATOR *allocator);
45 
47  int component_count,
48  ALLOCATOR *allocator);
49 
51 
53 
55 
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif
Data structure for the component transform (16 bit precision)
Definition: transperm.h:15
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