hb_title_t * hb_title_init( char * dvd, int index );
void hb_title_close( hb_title_t ** );
+void hb_filter_close( hb_filter_object_t ** );
+
/***********************************************************************
* hb.c
**********************************************************************/
uint8_t * data;
int cur;
+ int64_t sequence;
+
int id;
int64_t start;
int64_t stop;
#define HB_FRAME_KEY 0x0F
#define HB_FRAME_REF 0xF0
uint8_t frametype;
- uint8_t flags;
+ uint16_t flags;
/* Holds the output PTS from x264, for use by b-frame offsets in muxmp4.c */
int64_t renderOffset;
hb_buffer_t * next;
};
+void hb_buffer_pool_init( void );
+void hb_buffer_pool_free( void );
+
hb_buffer_t * hb_buffer_init( int size );
void hb_buffer_realloc( hb_buffer_t *, int size );
void hb_buffer_close( hb_buffer_t ** );
int hb_dvd_is_break( hb_dvd_t * d );
void hb_dvd_close( hb_dvd_t ** );
-int hb_stream_is_stream_type( char * path);
hb_stream_t * hb_stream_open( char * path );
void hb_stream_close( hb_stream_t ** );
hb_title_t * hb_stream_title_scan( hb_stream_t *);
int hb_stream_read( hb_stream_t *, hb_buffer_t *);
int hb_stream_seek( hb_stream_t *, float );
void hb_stream_update_audio( hb_stream_t *, hb_audio_t *);
-void hb_stream_set_selected_audio_pid_index(hb_stream_t *, int);
/***********************************************************************
* Work objects