>From aad388ab2b72198e53921cac6246d3846eb01d4d Mon Sep 17 00:00:00 2001 From: Keiji Costantini Date: Fri, 1 Aug 2008 16:56:21 +0200 Subject: [PATCH] Added pointers to convY, convUV, hyscale and hcscale to context --- swscale_internal.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/swscale_internal.h b/swscale_internal.h index 45cf738..09d2882 100644 --- a/swscale_internal.h +++ b/swscale_internal.h @@ -180,6 +180,17 @@ typedef struct SwsContext{ uint64_t sparc_coeffs[10] __attribute__((aligned(8))); #endif + void (*convert_to_y)(uint8_t *formatConvBuffer, uint8_t *src, int srcW, uint8_t *pal); + void (*convert_to_uv)(uint8_t *formatConvBuffer, uint8_t *src1, uint8_t *src2, int srcW, uint32_t *pal); + void (*hyscale)(uint16_t *dst, long dstWidth, uint8_t *src, int srcW, int xInc, + int flags, int16_t *hLumFilter, + int16_t *hLumFilterPos, int hLumFilterSize, + int srcFormat, uint8_t *formatConvBuffer, uint8_t *pal); + void (*hcscale)(uint16_t *dst, long dstWidth, uint8_t *src1, uint8_t *src2, + int srcW, int xInc, int flags, int16_t *hChrFilter, + int16_t *hChrFilterPos, int hChrFilterSize, + int srcFormat, uint8_t *formatConvBuffer, uint8_t *pal); + } SwsContext; //FIXME check init (where 0) -- 1.5.6.4