Advertisement
Guest User

Untitled

a guest
Dec 25th, 2014
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. diff --git a/camera/Android.mk b/camera/Android.mk
  2. index c02760a..619bc44 100644
  3. --- a/camera/Android.mk
  4. +++ b/camera/Android.mk
  5. @@ -66,7 +66,8 @@ LOCAL_C_INCLUDES += \
  6. frameworks/native/include/media/hardware \
  7. frameworks/native/include/media/openmax \
  8. external/jpeg \
  9. - external/jhead
  10. + external/jhead \
  11. + system/media/camera/include
  12.  
  13. LOCAL_SHARED_LIBRARIES:= \
  14. libui \
  15. diff --git a/hwc/hwc.c b/hwc/hwc.c
  16. index baae1c1..b72b03d 100644
  17. --- a/hwc/hwc.c
  18. +++ b/hwc/hwc.c
  19. @@ -60,6 +60,13 @@
  20. #define HAL_PIXEL_FORMAT_TI_NV12_PADDED 0x101
  21. #define MAX_TILER_SLOT (16 << 20)
  22.  
  23. +#ifndef FB_FLAG_RATIO_4_3
  24. +#define FB_FLAG_RATIO_4_3 64
  25. +#endif
  26. +#ifndef FB_FLAG_RATIO_16_9
  27. +#define FB_FLAG_RATIO_16_9 128
  28. +#endif
  29. +
  30. struct ext_transform_t {
  31. __u8 rotation : 3; /* 90-degree clockwise rotations */
  32. __u8 hflip : 1; /* flip l-r (after rotation) */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement