diff options
author | Scott Randolph <randolphs@google.com> | 2018-07-12 13:10:36 -0700 |
---|---|---|
committer | Scott Randolph <randolphs@google.com> | 2018-07-12 13:20:02 -0700 |
commit | 788109fc6cc647c60d77cf4bcaa4dba32dc06e22 (patch) | |
tree | c579b70210a21dcd5b10b9784f7eeabe6f4cf88b /evs/sampleDriver/VideoCapture.h | |
parent | f26773ed52ce972b3abf0b46b5ff1c7c3e23e29f (diff) | |
download | Car-788109fc6cc647c60d77cf4bcaa4dba32dc06e22.tar.gz |
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
Diffstat (limited to 'evs/sampleDriver/VideoCapture.h')
-rw-r--r-- | evs/sampleDriver/VideoCapture.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <atomic> #include <thread> #include <functional> @@ -73,3 +76,4 @@ private: }; }; +#endif // ANDROID_HARDWARE_AUTOMOTIVE_EVS_V1_0_VIDEOCAPTURE_ |