gstdspvpp.h 862 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * Copyright (C) 2009-2010 Felipe Contreras
  3. *
  4. * Author: Felipe Contreras <felipe.contreras@gmail.com>
  5. *
  6. * This file may be used under the terms of the GNU Lesser General Public
  7. * License version 2.1, a copy of which is found in LICENSE included in the
  8. * packaging of this file.
  9. */
  10. #ifndef GST_DSP_VPP_H
  11. #define GST_DSP_VPP_H
  12. #include <gst/gst.h>
  13. G_BEGIN_DECLS
  14. #define GST_DSP_VPP(obj) (GstDspVpp *)(obj)
  15. #define GST_DSP_VPP_TYPE (gst_dsp_vpp_get_type())
  16. #define GST_DSP_VPP_CLASS(obj) (GstDspVppClass *)(obj)
  17. typedef struct _GstDspVpp GstDspVpp;
  18. typedef struct _GstDspVppClass GstDspVppClass;
  19. #include "gstdspbase.h"
  20. struct _GstDspVpp {
  21. GstDspBase element;
  22. int width, height;
  23. int out_width, out_height;
  24. };
  25. struct _GstDspVppClass {
  26. GstDspBaseClass parent_class;
  27. };
  28. GType gst_dsp_vpp_get_type(void);
  29. G_END_DECLS
  30. #endif /* GST_DSP_VPP_H */