mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-10-06 02:05:36 +02:00
sws: fix alignment of rgb2yuv
This should fix mingw32 fate Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7e20f80d2c
commit
003bf33747
@ -358,7 +358,7 @@ typedef struct SwsContext {
|
|||||||
uint8_t *table_gU[256 + 2*YUVRGB_TABLE_HEADROOM];
|
uint8_t *table_gU[256 + 2*YUVRGB_TABLE_HEADROOM];
|
||||||
int table_gV[256 + 2*YUVRGB_TABLE_HEADROOM];
|
int table_gV[256 + 2*YUVRGB_TABLE_HEADROOM];
|
||||||
uint8_t *table_bU[256 + 2*YUVRGB_TABLE_HEADROOM];
|
uint8_t *table_bU[256 + 2*YUVRGB_TABLE_HEADROOM];
|
||||||
int32_t input_rgb2yuv_table[16+40*4]; // This table can contain both C and SIMD formatted values, teh C vales are always at the XY_IDX points
|
DECLARE_ALIGNED(16, int32_t, input_rgb2yuv_table)[16+40*4]; // This table can contain both C and SIMD formatted values, teh C vales are always at the XY_IDX points
|
||||||
#define RY_IDX 0
|
#define RY_IDX 0
|
||||||
#define GY_IDX 1
|
#define GY_IDX 1
|
||||||
#define BY_IDX 2
|
#define BY_IDX 2
|
||||||
|
Loading…
Reference in New Issue
Block a user