Classes | Defines | Enumerations | Functions | Variables

gtk/src/x264handler.c File Reference

#include "ghbcompat.h"
#include <string.h>
#include "settings.h"
#include "values.h"
#include "callbacks.h"
#include "presets.h"
#include "hb-backend.h"
#include "x264handler.h"

Classes

struct  trans_entry_t
struct  trans_table_t
struct  x264_opt_map_s

Defines

#define X264_OPT_MAP_SIZE   (sizeof(x264_opt_map)/sizeof(struct x264_opt_map_s))

Enumerations

enum  {
  X264_OPT_NONE, X264_OPT_BOOL_NONE, X264_OPT_INT_NONE, X264_OPT_DEBLOCK,
  X264_OPT_PSY, X264_OPT_INT, X264_OPT_DOUBLE, X264_OPT_COMBO,
  X264_OPT_BOOL, X264_OPT_TRANS
}

Functions

gint ghb_lookup_bframes (const gchar *options)
void ghb_show_hide_advanced_video (signal_user_data_t *ud)
G_MODULE_EXPORT void x264_use_advanced_options_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT void x264_setting_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT void x264_option_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT void x264_widget_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT void x264_slider_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT gchar * x264_format_slider_cb (GtkScale *scale, gdouble val, signal_user_data_t *ud)
G_MODULE_EXPORT void x264_me_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT void x264_entry_changed_cb (GtkWidget *widget, signal_user_data_t *ud)
G_MODULE_EXPORT gboolean x264_focus_out_cb (GtkWidget *widget, GdkEventFocus *event, signal_user_data_t *ud)
void ghb_x264_parse_options (signal_user_data_t *ud, const gchar *options)
gchar * get_deblock_val (signal_user_data_t *ud)
gchar * get_psy_val (signal_user_data_t *ud)
gint ghb_lookup_badapt (const gchar *options)
gint ghb_lookup_aqmode (const gchar *options)
gint ghb_lookup_mbtree (const gchar *options)
G_MODULE_EXPORT gboolean lavc_focus_out_cb (GtkWidget *widget, GdkEventFocus *event, signal_user_data_t *ud)
G_MODULE_EXPORT gchar * format_x264_preset_cb (GtkScale *scale, gdouble val, signal_user_data_t *ud)

Variables

struct x264_opt_map_s x264_opt_map []

Define Documentation

#define X264_OPT_MAP_SIZE   (sizeof(x264_opt_map)/sizeof(struct x264_opt_map_s))

Enumeration Type Documentation

anonymous enum
Enumerator:
X264_OPT_NONE 
X264_OPT_BOOL_NONE 
X264_OPT_INT_NONE 
X264_OPT_DEBLOCK 
X264_OPT_PSY 
X264_OPT_INT 
X264_OPT_DOUBLE 
X264_OPT_COMBO 
X264_OPT_BOOL 
X264_OPT_TRANS 

Function Documentation

G_MODULE_EXPORT gchar* format_x264_preset_cb ( GtkScale *  scale,
gdouble  val,
signal_user_data_t ud 
)
gchar* get_deblock_val ( signal_user_data_t ud  ) 
gchar* get_psy_val ( signal_user_data_t ud  ) 
gint ghb_lookup_aqmode ( const gchar *  options  ) 
gint ghb_lookup_badapt ( const gchar *  options  ) 
gint ghb_lookup_bframes ( const gchar *  options  ) 
gint ghb_lookup_mbtree ( const gchar *  options  ) 
void ghb_show_hide_advanced_video ( signal_user_data_t ud  ) 
void ghb_x264_parse_options ( signal_user_data_t ud,
const gchar *  options 
)
G_MODULE_EXPORT gboolean lavc_focus_out_cb ( GtkWidget *  widget,
GdkEventFocus *  event,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_entry_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)
G_MODULE_EXPORT gboolean x264_focus_out_cb ( GtkWidget *  widget,
GdkEventFocus *  event,
signal_user_data_t ud 
)
G_MODULE_EXPORT gchar* x264_format_slider_cb ( GtkScale *  scale,
gdouble  val,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_me_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_option_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_setting_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_slider_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_use_advanced_options_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)
G_MODULE_EXPORT void x264_widget_changed_cb ( GtkWidget *  widget,
signal_user_data_t ud 
)

Variable Documentation

Initial value:
{
    {x264_ref_syns, "x264_refs", "3", X264_OPT_INT},
    {x264_bframes_syns, "x264_bframes", "3", X264_OPT_INT},
    {x264_direct_syns, "x264_direct", "spatial", X264_OPT_COMBO},
    {x264_badapt_syns, "x264_b_adapt", "1", X264_OPT_COMBO},
    {x264_weightp_syns, "x264_weighted_pframes", "2", X264_OPT_COMBO},
    {x264_bpyramid_syns, "x264_bpyramid", "normal", X264_OPT_COMBO},
    {x264_me_syns, "x264_me", "hex", X264_OPT_COMBO},
    {x264_merange_syns, "x264_merange", "16", X264_OPT_INT},
    {x264_subme_syns, "x264_subme", "7", X264_OPT_COMBO},
    {x264_aqmode_syns, "x264_aqmode", "1", X264_OPT_INT_NONE},
    {x264_analyse_syns, "x264_analyse", "p8x8,b8x8,i8x8,i4x4", X264_OPT_COMBO},
    {x264_8x8dct_syns, "x264_8x8dct", "1", X264_OPT_BOOL},
    {x264_deblock_syns, "x264_deblock_alpha", "0,0", X264_OPT_DEBLOCK},
    {x264_deblock_syns, "x264_deblock_beta", "0,0", X264_OPT_DEBLOCK},
    {x264_trellis_syns, "x264_trellis", "1", X264_OPT_COMBO},
    {x264_pskip_syns, "x264_no_fast_pskip", "0", X264_OPT_BOOL},
    {x264_decimate_syns, "x264_no_dct_decimate", "0", X264_OPT_BOOL},
    {x264_cabac_syns, "x264_cabac", "1", X264_OPT_BOOL},
    {x264_aq_strength_syns, "x264_aq_strength", "1", X264_OPT_DOUBLE},
    {x264_psy_syns, "x264_psy_rd", "1|0", X264_OPT_PSY},
    {x264_psy_syns, "x264_psy_trell", "1|0", X264_OPT_PSY},
    {x264_mbtree_syns, "x264_mbtree", "1", X264_OPT_BOOL_NONE},
}