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

« back to all changes in this revision

Viewing changes to gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge, Fabian Greffrath, Sebastian Dröge
  • Date: 2009-05-12 09:51:24 UTC
  • mfrom: (18.3.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20090512095124-6h887drc2pk2imm3
Tags: 0.10.11.2-1
[ Fabian Greffrath ]
* debian/TODO.Debian:
  + Removed, I don't think any of these things are still relevant.

[ Sebastian Dröge ]
* New upstream pre-release:
  + debian/build-deps.in,
    debian/rules:
    - Update build dependencies.
  + debian/gstreamer-plugins-bad.install:
    - Add new debugutilsbad plugin.
* debian/build-deps.in:
  + Use unversioned libjack-dev b-d (Closes: #526109).

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
#define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight)
62
62
#endif
63
63
 
64
 
void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace2* object)
 
64
void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace2* object, GstBuffer *outbuf)
65
65
{
66
66
  GstDeinterlaceMethodTomsMoComp *self = GST_DEINTERLACE_METHOD_TOMSMOCOMP (d_method);
67
67
  long SearchEffort = self->search_effort;
80
80
 
81
81
  /* double stride do address just every odd/even scanline */
82
82
  src_pitch = object->field_stride;
83
 
  dst_pitch = object->output_stride;
84
 
  rowsize   = object->line_length;
 
83
  dst_pitch = object->row_stride;
 
84
  rowsize   = object->row_stride;
85
85
  FldHeight = object->field_height;
86
86
 
87
87
  pCopySrc   = GST_BUFFER_DATA(object->field_history[object->history_count-1].buf);
94
94
    IsOdd      = 1;
95
95
 
96
96
    // if we have an odd field we copy an even field and weave an odd field
97
 
    pCopyDest = GST_BUFFER_DATA(object->out_buf);
 
97
    pCopyDest = GST_BUFFER_DATA(outbuf);
98
98
    pWeaveDest = pCopyDest + dst_pitch;
99
99
  }
100
100
  /* do it vice verca */
102
102
 
103
103
    IsOdd      = 0;
104
104
    // if we have an even field we copy an odd field and weave an even field
105
 
    pCopyDest = GST_BUFFER_DATA(object->out_buf) + dst_pitch;
106
 
    pWeaveDest = GST_BUFFER_DATA(object->out_buf);
 
105
    pCopyDest = GST_BUFFER_DATA(outbuf) + dst_pitch;
 
106
    pWeaveDest = GST_BUFFER_DATA(outbuf);
107
107
  }
108
108
 
109
109