Home
last modified time | relevance | path

Searched refs:nh2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.cpp132 bool isWindowNativeHandleEqual(const native_handle_t *nh1, const native_handle_t *nh2) { in isWindowNativeHandleEqual() argument
133 if (nh1->numFds !=0 || nh2->numFds !=0) { in isWindowNativeHandleEqual()
137 if (nh1->version != nh2->version || nh1->numFds != nh2->numFds || in isWindowNativeHandleEqual()
138 nh1->numInts != nh2->numInts) { in isWindowNativeHandleEqual()
142 if(nh1->data[i] != nh2->data[i]) { in isWindowNativeHandleEqual()
149 bool isWindowNativeHandleLessThan(const native_handle_t *nh1, const native_handle_t *nh2) { in isWindowNativeHandleLessThan() argument
150 if (isWindowNativeHandleEqual(nh1, nh2)) { in isWindowNativeHandleLessThan()
153 if (nh1->numInts != nh2->numInts) { in isWindowNativeHandleLessThan()
154 return nh1->numInts < nh2->numInts; in isWindowNativeHandleLessThan()
158 if (nh1->data[i] != nh2->data[i]) { in isWindowNativeHandleLessThan()
[all …]
Dutils.h55 bool isWindowNativeHandleEqual(const native_handle_t *nh1, const native_handle_t *nh2);
57 bool isWindowNativeHandleLessThan(const native_handle_t *nh1, const native_handle_t *nh2);
60 bool isWindowNativeHandleGreaterThan(const native_handle_t *nh1, const native_handle_t *nh2);