x86: Improve AVX2 generate_grain asm

This commit is contained in:
Henrik Gramner
2022-01-07 19:06:17 +01:00
parent c8f80104bd
commit ace8efe60a
4 changed files with 854 additions and 984 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ static const char ss_name[][4] = {
};
static void check_gen_grny(const Dav1dFilmGrainDSPContext *const dsp) {
entry grain_lut_c[GRAIN_HEIGHT][GRAIN_WIDTH];
entry grain_lut_a[GRAIN_HEIGHT + 1][GRAIN_WIDTH];
ALIGN_STK_16(entry, grain_lut_c, GRAIN_HEIGHT,[GRAIN_WIDTH]);
ALIGN_STK_16(entry, grain_lut_a, GRAIN_HEIGHT + 1,[GRAIN_WIDTH]);
declare_func(void, entry grain_lut[][GRAIN_WIDTH],
const Dav1dFilmGrainData *data HIGHBD_DECL_SUFFIX);