• 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

system/core


Commit MetaInfo

Revisiona0095b39584e9ae7ce2c603ba6bb213c13677a27 (tree)
Zeit2015-12-22 11:59:30
AutorSean V Kelley <sean.v.kelley@inte...>
CommiterChih-Wei Huang

Log Message

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>

Ändern Zusammenfassung

Diff

--- a/include/system/graphics.h
+++ b/include/system/graphics.h
@@ -314,6 +314,11 @@ enum {
314314 */
315315 HAL_PIXEL_FORMAT_YCbCr_420_888 = 0x23,
316316
317+ /*
318+ * DRM specific format used by drm_gralloc
319+ */
320+ HAL_PIXEL_FORMAT_DRM_NV12 = 0x102,
321+
317322 /* Legacy formats (deprecated), used by ImageFormat.java */
318323 HAL_PIXEL_FORMAT_YCbCr_422_SP = 0x10, // NV16
319324 HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11, // NV21