~ubuntu-branches/ubuntu/quantal/gst-plugins-bad0.10/quantal-proposed

« back to all changes in this revision

Viewing changes to gst/videofilters/gstscenechange.h

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2011-07-19 14:32:43 UTC
  • mfrom: (18.4.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110719143243-p7pnkh45akfp0ihk
Tags: 0.10.22-2ubuntu1
* Rebased on debian unstable, remaining changes:
  - debian/gstreamer-plugins-bad.install
    * don't include dtmf, liveadder, rtpmux, autoconvert and shm, we include 
      them in -good

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GStreamer
 
2
 * Copyright (C) 2011 FIXME <fixme@example.com>
 
3
 *
 
4
 * This library is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Library General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Library General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Library General Public
 
15
 * License along with this library; if not, write to the
 
16
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
17
 * Boston, MA 02111-1307, USA.
 
18
 */
 
19
 
 
20
#ifndef _GST_SCENE_CHANGE_H_
 
21
#define _GST_SCENE_CHANGE_H_
 
22
 
 
23
#include <gst/base/gstbasetransform.h>
 
24
#include <gst/video/video.h>
 
25
#include "gstvideofilter2.h"
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define GST_TYPE_SCENE_CHANGE   (gst_scene_change_get_type())
 
30
#define GST_SCENE_CHANGE(obj)   (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SCENE_CHANGE,GstSceneChange))
 
31
#define GST_SCENE_CHANGE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SCENE_CHANGE,GstSceneChangeClass))
 
32
#define GST_IS_SCENE_CHANGE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SCENE_CHANGE))
 
33
#define GST_IS_SCENE_CHANGE_CLASS(obj)   (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SCENE_CHANGE))
 
34
 
 
35
typedef struct _GstSceneChange GstSceneChange;
 
36
typedef struct _GstSceneChangeClass GstSceneChangeClass;
 
37
 
 
38
#define SC_N_DIFFS 5
 
39
 
 
40
struct _GstSceneChange
 
41
{
 
42
  GstVideoFilter2 base_scenechange;
 
43
 
 
44
  int n_diffs;
 
45
  double diffs[SC_N_DIFFS];
 
46
  GstBuffer *oldbuf;
 
47
};
 
48
 
 
49
struct _GstSceneChangeClass
 
50
{
 
51
  GstVideoFilter2Class base_scenechange_class;
 
52
};
 
53
 
 
54
GType gst_scene_change_get_type (void);
 
55
 
 
56
G_END_DECLS
 
57
 
 
58
#endif