X-Git-Url: https://git.sesse.net/?p=fjl;a=blobdiff_plain;f=choice.c;h=9d7d45140cb31fae9a957147ce822ab2c5c47887;hp=7ddcd13245e8dee440026ae66e7e657db1b85a00;hb=2bb0649dfee36292e0a9a5da22375b45cd231ebb;hpb=8013439fb5294f64bd76af91c4303070db2448a7 diff --git a/choice.c b/choice.c index 7ddcd13..9d7d451 100644 --- a/choice.c +++ b/choice.c @@ -1,9 +1,18 @@ #include "choice.h" +#include "idct_float.h" unstuff_func_t* unstuff_choice = NULL; +idct_alloc_t* idct_choice_alloc = NULL; +idct_free_t* idct_choice_free = NULL; +idct_func_t* idct_choice = NULL; void init_choices() { // TODO: Pick the SSE4.1 version if applicable. unstuff_choice = unstuff_fast; + + // TODO: Add vectorized IDCTs. + idct_choice_alloc = idct_float_alloc; + idct_choice_free = idct_float_free; + idct_choice = idct_float; }