gstdspdummy.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Copyright (C) 2009 Nokia Corporation.
  3. *
  4. * Author: Felipe Contreras <felipe.contreras@nokia.com>
  5. *
  6. * This library is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation
  9. * version 2.1 of the License.
  10. *
  11. * This library is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with this library; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. *
  20. */
  21. #ifndef GST_DSP_DUMMY_H
  22. #define GST_DSP_DUMMY_H
  23. #include <gst/gst.h>
  24. G_BEGIN_DECLS
  25. #define GST_DSP_DUMMY(obj) (GstDspDummy *) (obj)
  26. #define GST_DSP_DUMMY_TYPE (gst_dsp_dummy_get_type ())
  27. #define GST_DSP_DUMMY_CLASS(obj) (GstDspDummyClass *) (obj)
  28. typedef struct GstDspDummy GstDspDummy;
  29. typedef struct GstDspDummyClass GstDspDummyClass;
  30. #include "dmm_buffer.h"
  31. struct GstDspDummy {
  32. GstElement element;
  33. GstPad *sinkpad, *srcpad;
  34. int dsp_handle;
  35. void *proc;
  36. dsp_node_t *node;
  37. dmm_buffer_t *in_buffer, *out_buffer;
  38. };
  39. struct GstDspDummyClass {
  40. GstElementClass parent_class;
  41. };
  42. GType gst_dsp_dummy_get_type(void);
  43. G_END_DECLS
  44. #endif /* GST_DSP_DUMMY_H */