summaryrefslogtreecommitdiffstats
path: root/libhb/mcdeint.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-08-27 18:05:13 +0000
committerjstebbins <[email protected]>2012-08-27 18:05:13 +0000
commit0fa931ae3ea9d197fb305b0f49fae4a9b36c0c70 (patch)
tree1c9bd8c0f5c541fc41181453da06814a90f4ede8 /libhb/mcdeint.h
parent80987fa9a86baaddf5627bc4138070fb39b162ac (diff)
libhb: decomb and deinterlace improvements
Use hb_buffer_t for reference buffers. This is what eliminates extra buffer copies. Simplified a lot of the code. This resulted in some minor speed improvements and easier to read code. Allow mcdeint+bob. Previously these could not be used together. Thread the erode-dilate-erode-check steps in decomb3. More speed improvement. Speed of default decomb went from 62fps to 76fps. Speed of fast decomb went from 90fps to 95fps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4919 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/mcdeint.h')
-rw-r--r--libhb/mcdeint.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libhb/mcdeint.h b/libhb/mcdeint.h
index 35b5a76fc..1429767c7 100644
--- a/libhb/mcdeint.h
+++ b/libhb/mcdeint.h
@@ -29,9 +29,7 @@ void mcdeint_init( mcdeint_private_t * pv,
void mcdeint_close( mcdeint_private_t * pv );
-void mcdeint_filter( uint8_t ** dst,
- uint8_t ** src,
+void mcdeint_filter( hb_buffer_t * dst,
+ hb_buffer_t * src,
int parity,
- int * width,
- int * height,
mcdeint_private_t * pv );