6 #define DECLARE_ALIGNED( type, var, n ) type var __attribute__((aligned(n)))
9 #include "../common/common.h"
12 #include "x264_gtk_private.h"
13 #include "x264_gtk_i18n.h"
17 main (int argc, char *argv[])
22 x264_param_t param_default;
26 BIND_X264_TEXTDOMAIN();
28 gtk_init (&argc, &argv);
30 window = x264_gtk_window_create (NULL);
31 x264_gtk_shutdown (window);
33 x264_gtk = x264_gtk_load ();
34 param = x264_gtk_param_get (x264_gtk);
36 /* do what you want with these data */
37 /* for example, displaying them and compare with default*/
38 res = x264_param2string (param, 0);
41 x264_param_default (¶m_default);
42 res_default = x264_param2string (¶m_default, 0);
43 printf ("\n%s\n", res_default);
45 if (strcmp (res, res_default) == 0)
46 printf (_("\nSame result !\n"));
48 printf (_("\nDifferent from default values\n"));
51 x264_free (res_default);
53 x264_gtk_free (x264_gtk);