OSDN Git Service

Wait until 4 frames are stashed in the delay_queue before outputting any frames from...
[handbrake-jp/handbrake-jp-git.git] / libhb / hb.h
index 6dfbf7b..8bfd9a1 100644 (file)
@@ -5,6 +5,7 @@
 extern "C" {
 #endif
 
+#include "hbversion.h"
 #include "common.h"
 
 /* hb_init()
@@ -29,6 +30,9 @@ hb_register( &hb_enctheora ); \
 hb_register( &hb_deca52 ); \
 hb_register( &hb_decdca ); \
 hb_register( &hb_decavcodec ); \
+hb_register( &hb_decavcodecv ); \
+hb_register( &hb_decavcodecvi ); \
+hb_register( &hb_decavcodecai ); \
 hb_register( &hb_declpcm ); \
 hb_register( &hb_encfaac ); \
 hb_register( &hb_enclame ); \
@@ -45,6 +49,9 @@ hb_register( &hb_encx264 ); \
 hb_register( &hb_deca52 ); \
 hb_register( &hb_decdca ); \
 hb_register( &hb_decavcodec ); \
+hb_register( &hb_decavcodecv ); \
+hb_register( &hb_decavcodecvi ); \
+hb_register( &hb_decavcodecai ); \
 hb_register( &hb_declpcm ); \
 hb_register( &hb_encfaac ); \
 
@@ -79,11 +86,11 @@ hb_list_t   * hb_get_titles( hb_handle_t * );
 /* hb_detect_comb()
    Analyze a frame for interlacing artifacts, returns true if they're found.
    Taken from Thomas Oestreich's 32detect filter in the Transcode project.  */
-int hb_detect_comb( hb_buffer_t * buf, int width, int height, int color_equal, int color_diff, int threshold );
+int hb_detect_comb( hb_buffer_t * buf, int width, int height, int color_equal, int color_diff, int threshold, int prog_equal, int prog_diff, int prog_threshold );
 
 void          hb_get_preview( hb_handle_t *, hb_title_t *, int,
                               uint8_t * );
-void          hb_set_size( hb_job_t *, int ratio, int pixels );
+void          hb_set_size( hb_job_t *, double ratio, int pixels );
 void          hb_set_anamorphic_size( hb_job_t *,
                 int *output_width, int *output_height,
                 int *output_par_width, int *output_par_height);