summaryrefslogtreecommitdiffstats
path: root/ext/x264/gstx264enc.h
diff options
context:
space:
mode:
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2008-08-11 15:16:14 +0000
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>2008-08-11 15:16:14 +0000
commitdbfc737cd24f6d03e6488e4d2db2ec8114821138 (patch)
treef955e6ad4ccbbc66976f07c1fbe39cb5a9fe3a81 /ext/x264/gstx264enc.h
parent0a8be3528787289767532dfb9b9cd25dff05b1e7 (diff)
downloadgst-plugins-bad-dbfc737cd24f6d03e6488e4d2db2ec8114821138.tar.gz
gst-plugins-bad-dbfc737cd24f6d03e6488e4d2db2ec8114821138.tar.bz2
gst-plugins-bad-dbfc737cd24f6d03e6488e4d2db2ec8114821138.zip
configure.ac: Check for sufficiently up-to-date x264 API.
Original commit message from CVS: * configure.ac: Check for sufficiently up-to-date x264 API. * ext/x264/gstx264enc.c: (gst_x264_enc_pass_get_type), (gst_x264_enc_base_init), (gst_x264_enc_class_init), (gst_x264_enc_init), (gst_x264_enc_init_encoder), (gst_x264_enc_set_property), (gst_x264_enc_get_property): * ext/x264/gstx264enc.h: Expose some more parameters of the x264 encoder as properties.
Diffstat (limited to 'ext/x264/gstx264enc.h')
-rw-r--r--ext/x264/gstx264enc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ext/x264/gstx264enc.h b/ext/x264/gstx264enc.h
index 1d75c442..b5ef6ce4 100644
--- a/ext/x264/gstx264enc.h
+++ b/ext/x264/gstx264enc.h
@@ -55,7 +55,8 @@ struct _GstX264Enc
/* properties */
guint threads;
- guint pass;
+ gint pass;
+ guint quantizer;
gchar *stats_file;
gboolean byte_stream;
guint bitrate;
@@ -65,6 +66,7 @@ struct _GstX264Enc
gboolean dct8x8;
guint ref;
guint bframes;
+ gboolean b_adapt;
gboolean b_pyramid;
gboolean weightb;
guint sps_id;
@@ -72,6 +74,13 @@ struct _GstX264Enc
guint vbv_buf_capacity;
guint keyint_max;
gboolean cabac;
+ gfloat ip_factor;
+ gfloat pb_factor;
+ guint qp_min;
+ guint qp_max;
+ guint qp_step;
+ guint noise_reduction;
+ gboolean interlaced;
/* input description */
GstVideoFormat format;