• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine 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

Revision2acfdb3a5e38e092db1f01ada84f190e7e9fbb24 (tree)
Zeit2015-12-07 15:02:44
AutorJonathan Bian <jonathan.bian@intl...>
CommiterXiang, Haihao

Log Message

Added 10-bit YUV RT format value and fourcc codes

(cherry picked from commit 52ed6a80c332fd744a39442c4053df3befade570)

Ändern Zusammenfassung

Diff

--- a/va/va.h
+++ b/va/va.h
@@ -461,6 +461,9 @@ typedef struct _VAConfigAttrib {
461461 #define VA_RT_FORMAT_YUV444 0x00000004
462462 #define VA_RT_FORMAT_YUV411 0x00000008
463463 #define VA_RT_FORMAT_YUV400 0x00000010
464+/** YUV formats with more than 8 bpp */
465+#define VA_RT_FORMAT_YUV420_10BPP 0x00000100
466+/** RGB formats */
464467 #define VA_RT_FORMAT_RGB16 0x00010000
465468 #define VA_RT_FORMAT_RGB32 0x00020000
466469 /* RGBP covers RGBP and BGRP fourcc */
@@ -2286,6 +2289,11 @@ VAStatus vaQuerySurfaceError(
22862289 * 8-bit Y plane, followed by 8-bit 2x1 subsampled V and U planes
22872290 */
22882291 #define VA_FOURCC_YV16 0x36315659
2292+/**
2293+ * 10-bit and 16-bit Planar YUV 4:2:0.
2294+ */
2295+#define VA_FOURCC_P010 0x30313050
2296+#define VA_FOURCC_P016 0x36313050
22892297
22902298 /* byte order */
22912299 #define VA_LSB_FIRST 1