More debug code moving.
[fjl] / choice.c
1 #include "choice.h"
2 #include "idct_float.h"
3
4 unstuff_func_t* unstuff_choice = NULL;
5 idct_alloc_t* idct_choice_alloc = NULL;
6 idct_free_t* idct_choice_free = NULL;
7 idct_func_t* idct_choice = NULL;
8
9 void init_choices()
10 {
11         // TODO: Pick the SSE4.1 version if applicable.
12         unstuff_choice = unstuff_fast;
13
14         // TODO: Add vectorized IDCTs.
15         idct_choice_alloc = idct_float_alloc;
16         idct_choice_free = idct_float_free;
17         idct_choice = idct_float;
18 }