OSDN Git Service

va_tpi: vaCreateSurfaceFromKBuf for streaming the video playback to remote monitor
authorjiguoliang <jiguoliang@localhost.ccr.corp.intel.com>
Thu, 25 Aug 2011 15:39:53 +0000 (11:39 -0400)
committerAustin Yuan <shengquan.yuan@gmail.com>
Thu, 22 Sep 2011 03:22:36 +0000 (23:22 -0400)
commit1092e4b54a476260e3c74d87ebb1a552e8fef71e
tree359db3fa2d54108f37985d489698d570007a7ecf
parent860c127895371b98132bcaf4e7e6fc3f5ea463ef
va_tpi: vaCreateSurfaceFromKBuf for streaming the video playback to remote monitor

For such use case, the pipeline is: decode->encode->send to network.
The local decode/playback and the encode process are seperated, thus it
needs the buffer sharing b/w the decode and encode in seperate process.
This API creates/wraps the decoded surface into an encode surface. Its
input parameter is the kernel buffer handle of decoded surface which is
only understandable by driver implementation.

Change-Id: I7953ecf3b7333c1cdb6af5a0f45b054c8840f8e2
Signed-off-by: jiguoliang <guoliangx.ji@intel.com>
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
va/va_backend_tpi.h
va/va_tpi.c
va/va_tpi.h