mirror of
https://github.com/opencv/opencv.git
synced 2024-12-02 16:00:17 +08:00
Warning fix. ifdefs for 4.1.1 added.
This commit is contained in:
parent
6bb509b44a
commit
7eb9fa14d3
@ -58,6 +58,9 @@
|
|||||||
|
|
||||||
using namespace android;
|
using namespace android;
|
||||||
|
|
||||||
|
void debugShowFPS();
|
||||||
|
|
||||||
|
#if defined(ANDROID_r4_1_1)
|
||||||
class ConsumerListenerStub: public BufferQueue::ConsumerListener
|
class ConsumerListenerStub: public BufferQueue::ConsumerListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -68,6 +71,7 @@ public:
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
void debugShowFPS()
|
void debugShowFPS()
|
||||||
{
|
{
|
||||||
@ -277,7 +281,7 @@ public:
|
|||||||
|
|
||||||
virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr
|
virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr
|
||||||
#if defined(ANDROID_r4_0_0) || defined(ANDROID_r4_0_3) || defined(ANDROID_r4_1_1)
|
#if defined(ANDROID_r4_0_0) || defined(ANDROID_r4_0_3) || defined(ANDROID_r4_1_1)
|
||||||
,camera_frame_metadata_t* metadata
|
,camera_frame_metadata_t*
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user