OSDN Git Service

Fix sample code for VPP
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 21 Feb 2012 08:15:41 +0000 (16:15 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 28 May 2013 08:32:18 +0000 (16:32 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
va/va_vpp.h

index dd986b4..46d29f4 100644 (file)
@@ -76,7 +76,7 @@ extern "C" {
  * unsigned int num_filters = VAProcFilterCount;
  *
  * // num_filters shall be initialized to the length of the array
- * vaQueryVideoProcFilters(va_dpy, vpp_ctx, &pipe_caps, &num_filters);
+ * vaQueryVideoProcFilters(va_dpy, vpp_ctx, &filters, &num_filters);
  * \endcode
  *
  * Finally, individual filter capabilities can be checked with
@@ -196,7 +196,7 @@ extern "C" {
  *
  *         vaCreateBuffer(va_dpy, vpp_ctx,
  *             VAProcPipelineParameterBuffer, sizeof(*pipeline_param), 1,
- *             NULL, &pipeline_param
+ *             NULL, &pipeline_buf
  *         );
  *
  *         // Setup output region for this surface