From 5a4a250000ce8735639503aac2ee29def935865d Mon Sep 17 00:00:00 2001 From: jbrjake Date: Fri, 27 Jul 2007 14:55:58 +0000 Subject: This huge patch from huevos_rancheros ports a number of video filters from mencoder to HandBrake: yadif+mcdeint, hqdn3d, pp7, and pullup+softskip+harddup. What this means is that HB now has stateless inverse telecine, temporal denoising, and motion-adaptive deinterlacing! HandBrake is growing up =) Thank you, huevos_rancheros! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@749 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/internal.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'libhb/internal.h') diff --git a/libhb/internal.h b/libhb/internal.h index ced8d5777..b4870a128 100644 --- a/libhb/internal.h +++ b/libhb/internal.h @@ -48,6 +48,7 @@ struct hb_buffer_s #define HB_FRAME_KEY 0x0F #define HB_FRAME_REF 0xF0 uint8_t frametype; + uint8_t flags; /* Holds the output PTS from x264, for use by b-frame offsets in muxmp4.c */ int64_t renderOffset; @@ -65,7 +66,8 @@ struct hb_buffer_s hb_buffer_t * hb_buffer_init( int size ); void hb_buffer_realloc( hb_buffer_t *, int size ); void hb_buffer_close( hb_buffer_t ** ); - +void hb_buffer_copy_settings( hb_buffer_t * dst, + const hb_buffer_t * src ); hb_fifo_t * hb_fifo_init(); int hb_fifo_size( hb_fifo_t * ); @@ -199,6 +201,14 @@ enum WORK_ENCVORBIS }; +enum +{ + FILTER_DEINTERLACE = 1, + FILTER_DEBLOCK, + FILTER_DENOISE, + FILTER_DETELECINE +}; + extern hb_work_object_t * hb_objects; #define HB_WORK_IDLE 0 -- cgit v1.2.3