summaryrefslogtreecommitdiffstats
path: root/libhwcomposer
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-12-31 13:54:31 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2011-12-31 13:54:31 +0700
commit8a86da5fd4ddc33bc9869479edf710e5dbcdabf5 (patch)
tree160a7442ab7c7c178669c96bccb641b30dcab21c /libhwcomposer
parentb1853da8ff8fb7bf8bb4f03869875efc9bd9baa9 (diff)
downloaddevice_samsung_aries-common-8a86da5fd4ddc33bc9869479edf710e5dbcdabf5.zip
device_samsung_aries-common-8a86da5fd4ddc33bc9869479edf710e5dbcdabf5.tar.gz
device_samsung_aries-common-8a86da5fd4ddc33bc9869479edf710e5dbcdabf5.tar.bz2
Fixed hwcomposer (broken in 88520338e7e2d8587e0c6d9bac912a588a037d64)
Diffstat (limited to 'libhwcomposer')
-rw-r--r--libhwcomposer/SecHWCUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhwcomposer/SecHWCUtils.cpp b/libhwcomposer/SecHWCUtils.cpp
index 4a5b7b4..5b84742 100644
--- a/libhwcomposer/SecHWCUtils.cpp
+++ b/libhwcomposer/SecHWCUtils.cpp
@@ -443,7 +443,7 @@ static int get_src_phys_addr(struct hwc_context_t *ctx,
if(src_img->mem_type == HWC_PHYS_MEM_TYPE) {
switch(src_img->format) {
- case HAL_PIXEL_FORMAT_YCbCr_420_SP:
+ case SAMSUNG_HAL_PIXEL_FORMAT_YCbCr_420_SP:
fimc->params.src.buf_addr_phy_rgb_y = phyAddr[0];
fimc->params.src.buf_addr_phy_cb = phyAddr[1];
break;
@@ -756,7 +756,7 @@ switch (rotate_value) {
/* set input dma address (Y/RGB, Cb, Cr) */
switch (src_img->format) {
- case HAL_PIXEL_FORMAT_YCbCr_420_SP:
+ case SAMSUNG_HAL_PIXEL_FORMAT_YCbCr_420_SP:
/* for video display zero copy case */
fimc_src_buf.base[0] = params->src.buf_addr_phy_rgb_y;
fimc_src_buf.base[1] = params->src.buf_addr_phy_cb;