From 788109fc6cc647c60d77cf4bcaa4dba32dc06e22 Mon Sep 17 00:00:00 2001 From: Scott Randolph Date: Thu, 12 Jul 2018 13:10:36 -0700 Subject: EVS patches from AOSP Apply a couple of minor fixes recieved via AOSP patches to the sample EVS driver and evs application. Header guards added MIPs turned off for video texture Video buffer released from gl context at end of each frame Bug: 111402303 Test: Build mojave Change-Id: Ic96a91601b74030a894f8a3f5182709af0c761d0 --- evs/sampleDriver/VideoCapture.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'evs/sampleDriver/VideoCapture.h') diff --git a/evs/sampleDriver/VideoCapture.h b/evs/sampleDriver/VideoCapture.h index f2d11752d7..63305b9182 100644 --- a/evs/sampleDriver/VideoCapture.h +++ b/evs/sampleDriver/VideoCapture.h @@ -13,6 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef ANDROID_HARDWARE_AUTOMOTIVE_EVS_V1_0_VIDEOCAPTURE_H +#define ANDROID_HARDWARE_AUTOMOTIVE_EVS_V1_0_VIDEOCAPTURE_H + #include #include #include @@ -73,3 +76,4 @@ private: }; }; +#endif // ANDROID_HARDWARE_AUTOMOTIVE_EVS_V1_0_VIDEOCAPTURE_ -- cgit v1.2.3