Common colorspace conversion functions for VANC.
More...
#include <stdint.h>
Go to the source code of this file.
|
void | klvanc_v210_planar_unpack_c (const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width) |
| TODO - Brief description goes here. More...
|
|
int | klvanc_v210_line_to_nv20_c (const uint32_t *src, uint16_t *dst, int dstSizeBytes, int width) |
| TODO - Brief description goes here. More...
|
|
void | klvanc_v210_downscale_line_c (uint16_t *src, uint8_t *dst, int lines) |
| TODO - Brief description goes here. More...
|
|
void | klvanc_v210_line_to_uyvy_c (const uint32_t *src, uint16_t *dst, int width) |
| TODO - Brief description goes here. More...
|
|
void | klvanc_y10_to_v210 (uint16_t *src, uint8_t *dst, int width) |
| Convert Y10 buffer to V210. More...
|
|
void | klvanc_uyvy_to_v210 (uint16_t *src, uint8_t *dst, int width) |
| Convert UYVY buffer to V210. More...
|
|
Common colorspace conversion functions for VANC.
- Author
- Steven Toth stoth.nosp@m.@ker.nosp@m.nella.nosp@m.bs.c.nosp@m.om
- Copyright
- Copyright (c) 2016 Kernel Labs Inc. All Rights Reserved.
void klvanc_uyvy_to_v210 |
( |
uint16_t * |
src, |
|
|
uint8_t * |
dst, |
|
|
int |
width |
|
) |
| |
Convert UYVY buffer to V210.
- Parameters
-
[in] | uint16_t | * src - Array of 16-bit fields containing 10-bit YUV values |
[out] | uint8_t | * dst - Destination containing resulting V210 video |
[in] | int | width - Number of Y pixels in src |
void klvanc_v210_downscale_line_c |
( |
uint16_t * |
src, |
|
|
uint8_t * |
dst, |
|
|
int |
lines |
|
) |
| |
TODO - Brief description goes here.
- Parameters
-
[in] | uint16_t | * src - Brief description goes here. |
[in] | uint8_t | * dst - Brief description goes here. |
[in] | int | lines - Brief description goes here. |
int klvanc_v210_line_to_nv20_c |
( |
const uint32_t * |
src, |
|
|
uint16_t * |
dst, |
|
|
int |
dstSizeBytes, |
|
|
int |
width |
|
) |
| |
TODO - Brief description goes here.
- Parameters
-
[in] | const | uint32_t * src - Brief description goes here. |
[in] | uint16_t | * dst - Brief description goes here. |
[in] | int | dstSizeBytes - Size of the dst buffer allocation. |
[in] | int | width - Brief description goes here. |
- Returns
- 0 - Success
-
< 0 - Error
void klvanc_v210_line_to_uyvy_c |
( |
const uint32_t * |
src, |
|
|
uint16_t * |
dst, |
|
|
int |
width |
|
) |
| |
TODO - Brief description goes here.
- Parameters
-
[in] | const | uint32_t * src - Brief description goes here. |
[in] | uint16_t | * dst - Brief description goes here. |
[in] | int | width - Brief description goes here. |
void klvanc_v210_planar_unpack_c |
( |
const uint32_t * |
src, |
|
|
uint16_t * |
y, |
|
|
uint16_t * |
u, |
|
|
uint16_t * |
v, |
|
|
int |
width |
|
) |
| |
TODO - Brief description goes here.
- Parameters
-
[in] | const | uint32_t * src - Brief description goes here. |
[in] | uint16_t | * y - Brief description goes here. |
[in] | uint16_t | * u - Brief description goes here. |
[in] | uint16_t | * v - Brief description goes here. |
[in] | int | width - Brief description goes here. |
void klvanc_y10_to_v210 |
( |
uint16_t * |
src, |
|
|
uint8_t * |
dst, |
|
|
int |
width |
|
) |
| |
Convert Y10 buffer to V210.
- Parameters
-
[in] | uint16_t | * src - Array of 16-bit fields containing 10-bit Y values |
[out] | uint8_t | * dst - Destination containing resulting V210 video |
[in] | int | width - Number of Y pixels in src |