Encoder  4.4
VC-5 Sample Encoder
bayer.h
Go to the documentation of this file.
1 
11 #ifndef _BAYER_H
12 #define _BAYER_H
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 CODEC_ERROR UnpackImageRowBYR3(uint8_t *input, DIMENSION width, PIXEL *buffer[],
19  PRECISION bits_per_component[], int channel_count,
20  ENABLED_PARTS enabled_parts);
21 
22 CODEC_ERROR UnpackImageRowBYR4(uint8_t *input, DIMENSION width, PIXEL *buffer[],
23  PRECISION bits_per_component[], int channel_count,
24  ENABLED_PARTS enabled_parts);
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif
CODEC_ERROR UnpackImageRowBYR3(uint8_t *input, DIMENSION width, PIXEL *buffer[], PRECISION bits_per_component[], int channel_count, ENABLED_PARTS enabled_parts)
Unpack the Bayer BYR3 format into an unpacked representation.
Definition: bayer.c:21
uint_least16_t DIMENSION
Data type for image and frame dimensions.
Definition: types.h:24
int16_t PIXEL
Data type for pixels.
Definition: pixel.h:22
uint_least8_t PRECISION
Number of bits in a component value.
Definition: types.h:51
CODEC_ERROR UnpackImageRowBYR4(uint8_t *input, DIMENSION width, PIXEL *buffer[], PRECISION bits_per_component[], int channel_count, ENABLED_PARTS enabled_parts)
Unpack the rows of Bayer components.
Definition: bayer.c:196
enum _codec_error CODEC_ERROR
Codec error codes.
uint32_t ENABLED_PARTS
Data type for the bit mask that represents enabled parts.
Definition: types.h:70