Skip to content

Instantly share code, notes, and snippets.

@espenfjo
Created October 27, 2012 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espenfjo/3965141 to your computer and use it in GitHub Desktop.
Save espenfjo/3965141 to your computer and use it in GitHub Desktop.
commit d9255c70905e437c281fa7969fbf6622ce99ec44
Author: Espen Fjellvær Olsen <espen@mrfjo.org>
Date: Sat Oct 27 17:43:49 2012 +0200
Compile fix, add missing camera dep
Change-Id: I4376d9dd78e736340cbea15839b18a2976182c79
diff --git a/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.cpp b/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.cpp
index 0ec5cd6..b211c48 100644
--- a/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.cpp
+++ b/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.cpp
@@ -169,6 +169,7 @@ void SecHdmiClient::setForceMirrorMode(int mode){}
void SecHdmiClient::setVideoMode(int mode){}
void SecHdmiClient::setMirrorWithVideoMode(int mode){}
void SecHdmiClient::disableLayer(unsigned int disable){}
+void SecHdmiClient::setHdmiResolution(int resolution){}
int SecHdmiClient::getHdmiResolution(){
return 0;
}
diff --git a/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.h b/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.h
index d33e4d8..352b169 100644
--- a/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.h
+++ b/exynos4/hal/libhdmi/libhdmiservice/SecHdmiClient.h
@@ -89,6 +89,7 @@ public:
uint32_t getHdmiCableStatus();
void setVideoRotation(int rotation);
void setVideoMode(int mode);
+ void setHdmiResolution(int);
void setMirrorWithVideoMode(int mode);
void disableLayer(unsigned int);
int getHdmiResolution();
diff --git a/exynos4/hal/libhwcomposer/SecHWCUtils.cpp b/exynos4/hal/libhwcomposer/SecHWCUtils.cpp
index 9790f2f..15950b8 100644
--- a/exynos4/hal/libhwcomposer/SecHWCUtils.cpp
+++ b/exynos4/hal/libhwcomposer/SecHWCUtils.cpp
@@ -25,7 +25,6 @@
*/
#include "SecHWCUtils.h"
-#include "videodev3.h"
#define V4L2_BUF_TYPE_OUTPUT V4L2_BUF_TYPE_VIDEO_OUTPUT
#define V4L2_BUF_TYPE_CAPTURE V4L2_BUF_TYPE_VIDEO_CAPTURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment