• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

system/corennnnn


Commit MetaInfo

Révision7fe8c69449da1528a1ea24668f1b7950a6067c06 (tree)
l'heure2014-01-21 19:05:53
AuteurSean V Kelley <sean.v.kelley@inte...>
CommiterChih-Wei Huang

Message de Log

system: Add hw specific pixel format

Relocate hw pixel format to graphics header for convenience
from drm_gralloc codebase.

Change-Id: I405398b172fab19949fef33c89a60132b1bd0ea9
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>

Change Summary

Modification

--- a/include/system/graphics.h
+++ b/include/system/graphics.h
@@ -234,6 +234,11 @@ enum {
234234 */
235235 HAL_PIXEL_FORMAT_YCbCr_420_888 = 0x23,
236236
237+ /*
238+ * DRM specific format used by drm_gralloc
239+ */
240+ HAL_PIXEL_FORMAT_DRM_NV12 = 0x102,
241+
237242 /* Legacy formats (deprecated), used by ImageFormat.java */
238243 HAL_PIXEL_FORMAT_YCbCr_422_SP = 0x10, // NV16
239244 HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11, // NV21