vf_pp7.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at>
  3. * Copyright (c) 2014 Arwa Arif <arwaarif1994@gmail.com>
  4. *
  5. * This file is part of FFmpeg.
  6. *
  7. * FFmpeg is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * FFmpeg is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License along
  18. * with FFmpeg; if not, write to the Free Software Foundation, Inc.,
  19. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  20. */
  21. #ifndef AVFILTER_PP7_H
  22. #define AVFILTER_PP7_H
  23. #include "avfilter.h"
  24. typedef struct PP7Context {
  25. AVClass *class;
  26. int thres2[99][16];
  27. int qp;
  28. int mode;
  29. int qscale_type;
  30. int hsub;
  31. int vsub;
  32. int temp_stride;
  33. uint8_t *src;
  34. int (*requantize)(struct PP7Context *p, int16_t *src, int qp);
  35. void (*dctB)(int16_t *dst, int16_t *src);
  36. } PP7Context;
  37. void ff_pp7_init_x86(PP7Context *pp7);
  38. #endif /* AVFILTER_PP7_H */