• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

Revisão919dbe57a005f5eb3f4d59591467e18683c70d59 (tree)
Hora2013-05-28 17:32:18
AutorGwenole Beauchesne <gwenole.beauchesne@inte...>
CommiterXiang, Haihao

Mensagem de Log

vpp: add pipeline flags.

Mudança Sumário

Diff

--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -280,6 +280,23 @@ typedef enum _VAProcColorStandardType {
280280 VAProcColorStandardGenericFilm,
281281 } VAProcColorStandardType;
282282
283+/** @name Video pipeline flags */
284+/**@{*/
285+/** \brief Specifies whether to apply subpictures when processing a surface. */
286+#define VA_PROC_PIPELINE_SUBPICTURES 0x00000001
287+/**
288+ * \brief Specifies whether to apply power or performance
289+ * optimizations to a pipeline.
290+ *
291+ * When processing several surfaces, it may be necessary to prioritize
292+ * more certain pipelines than others. This flag is only a hint to the
293+ * video processor so that it can omit certain filters to save power
294+ * for example. Typically, this flag could be used with video surfaces
295+ * decoded from a secondary bitstream.
296+ */
297+#define VA_PROC_PIPELINE_FAST 0x00000002
298+/**@}*/
299+
283300 /** @name Video filter flags */
284301 /**@{*/
285302 /** \brief Specifies whether the filter shall be present in the pipeline. */
@@ -290,6 +307,8 @@ typedef enum _VAProcColorStandardType {
290307 typedef struct _VAProcPipelineCaps {
291308 /** \brief Video filter flags. See video pipeline flags. */
292309 unsigned int flags;
310+ /** \brief Pipeline flags. See VAProcPipelineParameterBuffer::pipeline_flags. */
311+ unsigned int pipeline_flags;
293312 /** \brief Extra filter flags. See VAProcPipelineParameterBuffer::filter_flags. */
294313 unsigned int filter_flags;
295314 /** \brief Number of forward reference frames that are needed. */
@@ -384,6 +403,14 @@ typedef struct _VAProcPipelineParameterBuffer {
384403 */
385404 unsigned int output_background_color;
386405 /**
406+ * \brief Pipeline filters. See video pipeline flags.
407+ *
408+ * Flags to control the pipeline, like whether to apply subpictures
409+ * or not, notify the driver that it can opt for power optimizations,
410+ * should this be needed.
411+ */
412+ unsigned int pipeline_flags;
413+ /**
387414 * \brief Extra filter flags. See vaPutSurface() flags.
388415 *
389416 * Filter flags are used as a fast path, wherever possible, to use