Moved rgb24_yuv420_std() to the correct header

This commit is contained in:
Sam Lantinga
2024-02-07 14:42:12 -08:00
parent 1673d52351
commit dd726cb097
2 changed files with 7 additions and 7 deletions

View File

@@ -223,13 +223,6 @@ void yuvnv12_abgr_sseu(
YCbCrType yuv_type); YCbCrType yuv_type);
// rgb to yuv, standard c implementation
void rgb24_yuv420_std(
uint32_t width, uint32_t height,
const uint8_t *rgb, uint32_t rgb_stride,
uint8_t *y, uint8_t *u, uint8_t *v, uint32_t y_stride, uint32_t uv_stride,
YCbCrType yuv_type);
// rgb to yuv, sse implementation // rgb to yuv, sse implementation
// pointers must be 16 byte aligned, and strides must be divisible by 16 // pointers must be 16 byte aligned, and strides must be divisible by 16
void rgb24_yuv420_sse( void rgb24_yuv420_sse(

View File

@@ -128,3 +128,10 @@ void yuvnv12_abgr_std(
const uint8_t *y, const uint8_t *u, const uint8_t *v, uint32_t y_stride, uint32_t uv_stride, const uint8_t *y, const uint8_t *u, const uint8_t *v, uint32_t y_stride, uint32_t uv_stride,
uint8_t *rgb, uint32_t rgb_stride, uint8_t *rgb, uint32_t rgb_stride,
YCbCrType yuv_type); YCbCrType yuv_type);
// rgb to yuv, standard c implementation
void rgb24_yuv420_std(
uint32_t width, uint32_t height,
const uint8_t *rgb, uint32_t rgb_stride,
uint8_t *y, uint8_t *u, uint8_t *v, uint32_t y_stride, uint32_t uv_stride,
YCbCrType yuv_type);