/* * This file was stolen from ffmpeg and modified for usability here. * The original is * * Copyright (c) 2004 Michael Niedermayer * * This version is a derivative work of that version. It is not free * software; it is licensed under the GNU Lesser General Public * License version 2.1, which places nontrivial restrictions on what * may be done with it. (I'm not terribly happy about that, but for * my purposes accepting LGPL-infected code is a lower price than * reimplementing it all myself.) * * The LGPL v2.1 as distributed with ffmpeg is in the accompanying file * `LGPL-v2.1'. */ #include #include "dsputil.h" #define BIT_DEPTH 8 #include "h264idct_template.c" #undef BIT_DEPTH #define BIT_DEPTH 9 #include "h264idct_template.c" #undef BIT_DEPTH #define BIT_DEPTH 10 #include "h264idct_template.c" #undef BIT_DEPTH