od_filter.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*Daala video codec
  2. Copyright (c) 2013 Daala project contributors. All rights reserved.
  3. Redistribution and use in source and binary forms, with or without
  4. modification, are permitted provided that the following conditions are met:
  5. - Redistributions of source code must retain the above copyright notice, this
  6. list of conditions and the following disclaimer.
  7. - Redistributions in binary form must reproduce the above copyright notice,
  8. this list of conditions and the following disclaimer in the documentation
  9. and/or other materials provided with the distribution.
  10. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
  11. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  12. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  13. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
  14. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  15. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  16. SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
  17. CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  18. OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  19. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.*/
  20. #if !defined(_od_filter_H)
  21. # define _od_filter_H (0)
  22. #include "od_defs.h"
  23. #include "../src/filter.h"
  24. extern int NE_FILTER_PARAMS4[4];
  25. extern int NE_FILTER_PARAMS8[10];
  26. extern int NE_FILTER_PARAMS16[22];
  27. void ne_filter_params_init();
  28. extern const od_filter_func NE_PRE_FILTER[OD_NBSIZES];
  29. extern const od_filter_func NE_POST_FILTER[OD_NBSIZES];
  30. typedef void (*ne_filter_func_double)(double _out[],const double _in[],
  31. const int _f[]);
  32. extern const ne_filter_func_double NE_PRE_FILTER_DOUBLE[OD_NBSIZES];
  33. extern const ne_filter_func_double NE_POST_FILTER_DOUBLE[OD_NBSIZES];
  34. #endif