gstdspjpegenc.h 942 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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_JPEGENC_H
  11. #define GST_DSP_JPEGENC_H
  12. #include <gst/gst.h>
  13. G_BEGIN_DECLS
  14. #define GST_DSP_JPEGENC(obj) (GstDspJpegEnc *)(obj)
  15. #define GST_DSP_JPEGENC_TYPE (gst_dsp_jpegenc_get_type())
  16. #define GST_DSP_JPEGENC_CLASS(obj) (GstDspJpegEncClass *)(obj)
  17. typedef struct _GstDspJpegEnc GstDspJpegEnc;
  18. typedef struct _GstDspJpegEncClass GstDspJpegEncClass;
  19. #include "gstdspvenc.h"
  20. #define JPEGENC_MAX_WIDTH 4096
  21. #define JPEGENC_MAX_HEIGHT 4096
  22. struct _GstDspJpegEnc {
  23. GstDspVEnc element;
  24. };
  25. struct _GstDspJpegEncClass {
  26. GstDspVEncClass parent_class;
  27. };
  28. GType gst_dsp_jpegenc_get_type(void);
  29. G_END_DECLS
  30. #endif /* GST_DSP_JPEGENC_H */