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>
Fri, 9 Aug 2013 09:29:08 +0000 (17:29 +0800)
commit558ee9e29b3b43b27d0411f66fe211d0bd1770d1
tree7f1b6627276ce5a1d5d80bd0d89c23535157050b
parentcf669ab9cbd576a9c42246a6d820d67fd5ce1a6b
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]