|
Encoder
4.4
VC-5 Sample Encoder
|
Functions | |
| 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. More... | |
| 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. More... | |
Implementation of the routines for unpacking Bayer frames into rows of pixels for encoding.
(c) 2013 Society of Motion Picture & Television Engineers LLC and Woodman Labs, Inc. All rights reserved–use subject to compliance with end user license agreement.
| 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.
The Bayer BYR3 format is unpacked into the row-oriented format that is used internally by the codec as an intermediate representation.
| 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.
This routine applies the component transform for Bayer images defined in VC-5 Part 3: Image Formats.
The Bayer image format assigns component arrays to channel numbers in the following order: G sum, G difference, R difference, B difference
This routine unpacked that Bayer components into component arrays without applying a component transform which is not defined in VC-5 Part 1.