diff options
author | Chen Jie <chenj@lemote.com> | 2013-11-13 18:41:33 +0800 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-05-26 16:29:01 +0200 |
commit | 8e0bbc9e32aa99da981eb7396f491d0f4aef91d6 (patch) | |
tree | f90b02c6ba4ea033ddf72183b7eeb06862154b8f /sys/androidmedia/gstamcvideoenc.h | |
parent | 557d6b974fe98d09ddd0a500548b8a13211dab1c (diff) | |
download | gstreamer-plugins-bad-8e0bbc9e32aa99da981eb7396f491d0f4aef91d6.tar.gz |
androidmedia: add gst_amc_color_format_copy
gst_amc_color_format_copy will copy in/out a frame resides at a
GstAmcBuffer. Lots of codes in gst_amc_video_*_fill_buffer are moved to
this new function.
Diffstat (limited to 'sys/androidmedia/gstamcvideoenc.h')
-rw-r--r-- | sys/androidmedia/gstamcvideoenc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/androidmedia/gstamcvideoenc.h b/sys/androidmedia/gstamcvideoenc.h index db8821d45..8373ce3d5 100644 --- a/sys/androidmedia/gstamcvideoenc.h +++ b/sys/androidmedia/gstamcvideoenc.h @@ -31,6 +31,7 @@ #include "gstamc.h" G_BEGIN_DECLS + #define GST_TYPE_AMC_VIDEO_ENC \ (gst_amc_video_enc_get_type()) #define GST_AMC_VIDEO_ENC(obj) \ @@ -60,8 +61,7 @@ struct _GstAmcVideoEnc /* Input format of the codec */ GstVideoFormat format; - gint width, height, stride, slice_height; - gint buffer_size; + GstAmcColorFormatInfo color_format_info; guint bitrate; guint i_frame_int; @@ -95,4 +95,5 @@ struct _GstAmcVideoEncClass GType gst_amc_video_enc_get_type (void); G_END_DECLS + #endif /* __GST_AMC_VIDEO_ENC_H__ */ |