diff options
author | jbrjake <[email protected]> | 2007-07-27 14:55:58 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-07-27 14:55:58 +0000 |
commit | 5a4a250000ce8735639503aac2ee29def935865d (patch) | |
tree | d7efc0e7e44e06e80ba67827e137c970ac02743e /libhb/internal.h | |
parent | 50c3c15c88172bb00dd787e39ce66eb11480717d (diff) |
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
Diffstat (limited to 'libhb/internal.h')
-rw-r--r-- | libhb/internal.h | 12 |
1 files changed, 11 insertions, 1 deletions
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 |