|
Encoder
4.4
VC-5 Sample Encoder
|
Go to the source code of this file.
Functions | |
| CODEC_ERROR | ConvertBYR3ToDPX0 (void *input_buffer, size_t input_pitch, void *output_buffer, size_t output_pitch, int width, int height) |
| Convert the Bayer BYR3 format to the format used for DPX files. More... | |
| CODEC_ERROR | ConvertBYR4ToDPX0 (void *input_buffer, size_t input_pitch, void *output_buffer, size_t output_pitch, int width, int height) |
| Convert 16-bit Bayer to the common DPX pixel format. More... | |
| CODEC_ERROR | ConvertRG48ToDPX0 (void *input_buffer, size_t input_pitch, void *output_buffer, size_t output_pitch, int width, int height) |
| Convert packed 16-bit RGB to the common DPX pixel format. More... | |
| CODEC_ERROR | ConvertB64AToDPX0 (void *input_buffer, size_t input_pitch, void *output_buffer, size_t output_pitch, int width, int height) |
| Convert packed 16-bit BGRA to the common DPX pixel format. More... | |
| CODEC_ERROR | ConvertComponentsToDPX0 (const UNPACKED_IMAGE *input, PIXEL_FORMAT format, IMAGE *output, ENABLED_PARTS enabled_parts) |
| CODEC_ERROR | ConvertComponentsBYR4ToDPX0 (const UNPACKED_IMAGE *input, IMAGE *output, ENABLED_PARTS enabled_parts) |
| CODEC_ERROR | ConvertComponentsRG48ToDPX0 (const UNPACKED_IMAGE *input, IMAGE *output, ENABLED_PARTS enabled_parts) |
| CODEC_ERROR | ConvertComponentsB64AToDPX0 (const UNPACKED_IMAGE *input, IMAGE *output, ENABLED_PARTS enabled_parts) |
| CODEC_ERROR | ConvertComponentsDPX0ToDPX0 (const UNPACKED_IMAGE *input, IMAGE *output, ENABLED_PARTS enabled_parts) |
Routines for converting between pixel formats
(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 ConvertB64AToDPX0 | ( | void * | input_buffer, |
| size_t | input_pitch, | ||
| void * | output_buffer, | ||
| size_t | output_pitch, | ||
| int | width, | ||
| int | height | ||
| ) |
Convert packed 16-bit BGRA to the common DPX pixel format.
The output format is 10-bit RGB packed into a 32-bit word with two bits unused. The repacking routine may byte swap the 32-bit word.
| CODEC_ERROR ConvertBYR3ToDPX0 | ( | void * | input_buffer, |
| size_t | input_pitch, | ||
| void * | output_buffer, | ||
| size_t | output_pitch, | ||
| int | width, | ||
| int | height | ||
| ) |
Convert the Bayer BYR3 format to the format used for DPX files.
The output format is 10-bit RGB packed into a 32-bit word with two bits unused. The repacking routine may byte swap the 32-bit word.

| CODEC_ERROR ConvertBYR4ToDPX0 | ( | void * | input_buffer, |
| size_t | input_pitch, | ||
| void * | output_buffer, | ||
| size_t | output_pitch, | ||
| int | width, | ||
| int | height | ||
| ) |
Convert 16-bit Bayer to the common DPX pixel format.
The output format is 10-bit RGB packed into a 32-bit word with two bits unused. The repacking routine may byte swap the 32-bit word.

| CODEC_ERROR ConvertComponentsB64AToDPX0 | ( | const UNPACKED_IMAGE * | input, |
| IMAGE * | output, | ||
| ENABLED_PARTS | enabled_parts | ||
| ) |
Pack a set of B64A component arrays into DPX0 format
This routine was written for debugging and assumes that the component arrays contain RGB color components in the same order as the B64A pixel format.

| CODEC_ERROR ConvertComponentsBYR4ToDPX0 | ( | const UNPACKED_IMAGE * | input, |
| IMAGE * | output, | ||
| ENABLED_PARTS | enabled_parts | ||
| ) |
Pack a set of BYR4 component arrays into DPX0 format
This routine was written for debugging and assumes that the component arrays contain BYR4 color components in the same order as the BYR4 pixel format.


| CODEC_ERROR ConvertComponentsDPX0ToDPX0 | ( | const UNPACKED_IMAGE * | input, |
| IMAGE * | output, | ||
| ENABLED_PARTS | enabled_parts | ||
| ) |
Pack a set of DPX0 component arrays into DPX0 format
This routine was written for debugging and assumes that the component arrays contain RGB color components in the same order as the DPX0 pixel format.

| CODEC_ERROR ConvertComponentsRG48ToDPX0 | ( | const UNPACKED_IMAGE * | input, |
| IMAGE * | output, | ||
| ENABLED_PARTS | enabled_parts | ||
| ) |
Pack a set of RG48 component arrays into DPX0 format
This routine was written for debugging and assumes that the component arrays contain RGB color components in the same order as the RG48 pixel format.

| CODEC_ERROR ConvertComponentsToDPX0 | ( | const UNPACKED_IMAGE * | input, |
| PIXEL_FORMAT | format, | ||
| IMAGE * | output, | ||
| ENABLED_PARTS | enabled_parts | ||
| ) |
Pack a set of component arrays into DPX0 format
This routine was written for debugging.

| CODEC_ERROR ConvertRG48ToDPX0 | ( | void * | input_buffer, |
| size_t | input_pitch, | ||
| void * | output_buffer, | ||
| size_t | output_pitch, | ||
| int | width, | ||
| int | height | ||
| ) |
Convert packed 16-bit RGB to the common DPX pixel format.
The output format is 10-bit RGB packed into a 32-bit word with two bits unused. The repacking routine may byte swap the 32-bit word.
