diff options
author | Changyeon Lee <cyeon.lee@samsung.com> | 2016-04-06 17:16:29 +0900 |
---|---|---|
committer | Changyeon Lee <cyeon.lee@samsung.com> | 2016-04-06 17:22:00 +0900 |
commit | 6c348db092d06a32a0a708e608929c0c82ab0d2a (patch) | |
tree | cf319f55fe6105ff526aaa341c89bb4659616eb4 | |
parent | a70794d5db56251ae492ab9204d5b11bdbc5546d (diff) | |
download | libtbm-6c348db092d06a32a0a708e608929c0c82ab0d2a.tar.gz libtbm-6c348db092d06a32a0a708e608929c0c82ab0d2a.tar.bz2 libtbm-6c348db092d06a32a0a708e608929c0c82ab0d2a.zip |
Add nv12mt format in bpp, num plane
Change-Id: I0c5ad11f25aec3dba45efbc700fea2f05a762ad8
Signed-off-by: Changyeon Lee <cyeon.lee@samsung.com>
-rw-r--r-- | src/tbm_surface_internal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tbm_surface_internal.c b/src/tbm_surface_internal.c index e606913..cedd9ca 100644 --- a/src/tbm_surface_internal.c +++ b/src/tbm_surface_internal.c @@ -365,6 +365,7 @@ tbm_surface_internal_get_num_planes(tbm_format format) num_planes = 1; break; case TBM_FORMAT_NV12: + case TBM_FORMAT_NV12MT: case TBM_FORMAT_NV21: case TBM_FORMAT_NV16: case TBM_FORMAT_NV61: @@ -449,6 +450,7 @@ tbm_surface_internal_get_bpp(tbm_format format) bpp = 32; break; case TBM_FORMAT_NV12: + case TBM_FORMAT_NV12MT: case TBM_FORMAT_NV21: bpp = 12; break; |