报警相关
This commit is contained in:
20
OrderScheduling/Video/VideoTools/AAPLEAGLLayer.h
Executable file
20
OrderScheduling/Video/VideoTools/AAPLEAGLLayer.h
Executable file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
Copyright (C) 2014 Apple Inc. All Rights Reserved.
|
||||
See LICENSE.txt for this sample’s licensing information
|
||||
|
||||
Abstract:
|
||||
|
||||
This CAEAGLLayer subclass demonstrates how to draw a CVPixelBufferRef using OpenGLES and display the timecode associated with that pixel buffer in the top right corner.
|
||||
|
||||
*/
|
||||
|
||||
//@import QuartzCore;
|
||||
#include <QuartzCore/QuartzCore.h>
|
||||
#include <CoreVideo/CoreVideo.h>
|
||||
|
||||
@interface AAPLEAGLLayer : CAEAGLLayer
|
||||
@property CVPixelBufferRef pixelBuffer;
|
||||
- (id)initWithFrame:(CGRect)frame;
|
||||
- (void)resetRenderBuffer;
|
||||
- (void) cleanUpTextures;
|
||||
@end
|
||||
Reference in New Issue
Block a user