summaryrefslogtreecommitdiffstats
path: root/gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-15 15:46:44 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-04-15 15:46:44 +0200
commite539615c790ab9cdc2de647a3786e706a89c04d5 (patch)
treeacb7c9b9e45431e01d25af682f44aeb748575936 /gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc
parentb66a6f90beb4edb7cd96399880fae9892f827c11 (diff)
downloadgst-plugins-bad-e539615c790ab9cdc2de647a3786e706a89c04d5.tar.gz
gst-plugins-bad-e539615c790ab9cdc2de647a3786e706a89c04d5.tar.bz2
gst-plugins-bad-e539615c790ab9cdc2de647a3786e706a89c04d5.zip
deinterlace2: Move output buffer from the instance struct to a function parameter
Diffstat (limited to 'gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc')
-rw-r--r--gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc b/gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc
index d38cf019..f014aeb4 100644
--- a/gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc
+++ b/gst/deinterlace2/tvtime/tomsmocomp/TomsMoCompAll.inc
@@ -61,7 +61,7 @@
#define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight)
#endif
-void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace2* object)
+void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace2* object, GstBuffer *outbuf)
{
GstDeinterlaceMethodTomsMoComp *self = GST_DEINTERLACE_METHOD_TOMSMOCOMP (d_method);
long SearchEffort = self->search_effort;
@@ -94,7 +94,7 @@ void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace2* object)
IsOdd = 1;
// if we have an odd field we copy an even field and weave an odd field
- pCopyDest = GST_BUFFER_DATA(object->out_buf);
+ pCopyDest = GST_BUFFER_DATA(outbuf);
pWeaveDest = pCopyDest + dst_pitch;
}
/* do it vice verca */
@@ -102,8 +102,8 @@ void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace2* object)
IsOdd = 0;
// if we have an even field we copy an odd field and weave an even field
- pCopyDest = GST_BUFFER_DATA(object->out_buf) + dst_pitch;
- pWeaveDest = GST_BUFFER_DATA(object->out_buf);
+ pCopyDest = GST_BUFFER_DATA(outbuf) + dst_pitch;
+ pWeaveDest = GST_BUFFER_DATA(outbuf);
}