Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/camera/Android.mk b/camera/Android.mk
- index c02760a..619bc44 100644
- --- a/camera/Android.mk
- +++ b/camera/Android.mk
- @@ -66,7 +66,8 @@ LOCAL_C_INCLUDES += \
- frameworks/native/include/media/hardware \
- frameworks/native/include/media/openmax \
- external/jpeg \
- - external/jhead
- + external/jhead \
- + system/media/camera/include
- LOCAL_SHARED_LIBRARIES:= \
- libui \
- diff --git a/hwc/hwc.c b/hwc/hwc.c
- index baae1c1..b72b03d 100644
- --- a/hwc/hwc.c
- +++ b/hwc/hwc.c
- @@ -60,6 +60,13 @@
- #define HAL_PIXEL_FORMAT_TI_NV12_PADDED 0x101
- #define MAX_TILER_SLOT (16 << 20)
- +#ifndef FB_FLAG_RATIO_4_3
- +#define FB_FLAG_RATIO_4_3 64
- +#endif
- +#ifndef FB_FLAG_RATIO_16_9
- +#define FB_FLAG_RATIO_16_9 128
- +#endif
- +
- struct ext_transform_t {
- __u8 rotation : 3; /* 90-degree clockwise rotations */
- __u8 hflip : 1; /* flip l-r (after rotation) */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement