summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-12-09 11:59:48 -0800
committerTim Murray <timmurray@google.com>2013-12-11 13:55:13 -0800
commit071aee6b0cffde1ce3ece5e32e34361db2105547 (patch)
tree6113eeb1c899ee61860f8ea36049ffed7a65a001 /cpp
parent9f02a929536ef367441bda04dccbf2785a3d4b77 (diff)
downloadrs-071aee6b0cffde1ce3ece5e32e34361db2105547.tar.gz
Add RGBA_5551.
Change-Id: Ie9e465300bcb2985df79cf884ce7209ff41570c9
Diffstat (limited to 'cpp')
-rw-r--r--cpp/Element.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/Element.cpp b/cpp/Element.cpp
index d3fb29a2..97a600e9 100644
--- a/cpp/Element.cpp
+++ b/cpp/Element.cpp
@@ -112,6 +112,7 @@ CREATE_PIXEL(RGB_888, UNSIGNED_8, PIXEL_RGB);
CREATE_PIXEL(RGBA_4444, UNSIGNED_4_4_4_4, PIXEL_RGBA);
CREATE_PIXEL(RGBA_8888, UNSIGNED_8, PIXEL_RGBA);
CREATE_PIXEL(YUV, UNSIGNED_8, PIXEL_YUV);
+CREATE_PIXEL(RGBA_5551, UNSIGNED_5_5_5_1, PIXEL_RGBA);
#define CREATE_VECTOR(N, T) android::RSC::sp<const Element> Element::N##_2(android::RSC::sp<RS> rs) { \
if (rs->mElements.N##_2 == NULL) { \