encoder: build encoder basic framework
authorWind Yuan <feng.yuan@intel.com>
Mon, 29 Jul 2013 04:43:42 +0000 (12:43 +0800)
committerWind Yuan <feng.yuan@intel.com>
Wed, 31 Jul 2013 15:31:51 +0000 (23:31 +0800)
commite82fd677df216455a039d2fdcc60e9699967d0a4
tree4ad3cee238e4f7f27b9f64ecc89acfd533eb4cbc
parenta791ae76b5601ccda7c2a473e1d7c6aa9206b51e
encoder: build encoder basic framework

 Implement encoder interface GstVaapiEncoder
 encode plugin need call through GstVaapiEncoder.
 All encoders need implement GstVaapiEncoder callbacks
 Implement interfaces:
   gst_vaapi_encoder_reset_display
   gst_vaapi_encoder_set_format
   gst_vaapi_encoder_encode
   gst_vaapi_encoder_flush
   gst_vaapi_encoder_get_frame
   gst_vaapi_encoder_convert_frame
   gst_vaapi_encoder_get_codec_data
 Define GstVaapiEncoder callbacks:
   init
   destroy
   set_format
   get_context_info
   reordering
   encode
   flush
   convert_buf
   get_codec_data
gst-libs/gst/vaapi/gstvaapiencoder.c [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapiencoder.h [new file with mode: 0644]
gst-libs/gst/vaapi/gstvaapiencoder_priv.h [new file with mode: 0644]