diff options
| author | Muller, Alexander (A.) <amulle19@ford.com> | 2017-03-16 12:04:15 -0700 |
|---|---|---|
| committer | Muller, Alexander (A.) <amulle19@ford.com> | 2017-03-16 12:04:15 -0700 |
| commit | 8b2dc2174cc579832d32f3d28011af595adceab6 (patch) | |
| tree | 1171883a2e53f3f005e5cb2e7bb1cb81be25939d /SmartDeviceLink/SDLVideoEncoder.h | |
| parent | b942a12abeffb8eceeb1f8f189a5d96f194efb19 (diff) | |
| download | sdl_ios-8b2dc2174cc579832d32f3d28011af595adceab6.tar.gz | |
Adding in support for a customizable screen that is presented when the application is in an unusable state (backgrounded). We are able to customize this screen via SDLLifecycleConfiguration's backgroundTitleString property.
Diffstat (limited to 'SmartDeviceLink/SDLVideoEncoder.h')
| -rw-r--r-- | SmartDeviceLink/SDLVideoEncoder.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLVideoEncoder.h b/SmartDeviceLink/SDLVideoEncoder.h index 3a3e879b6..bcaf0d8e4 100644 --- a/SmartDeviceLink/SDLVideoEncoder.h +++ b/SmartDeviceLink/SDLVideoEncoder.h @@ -38,6 +38,11 @@ extern NSString *const SDLErrorDomainVideoEncoder; - (BOOL)encodeFrame:(CVImageBufferRef)imageBuffer; +/** + * Creates a new pixel buffer using the pixelBufferPool property. + */ +- (CVPixelBufferRef CV_NULLABLE)pixelBuffer; + @property (nonatomic, weak, nullable) id<SDLVideoEncoderDelegate> delegate; /** @@ -61,8 +66,7 @@ extern NSString *const SDLErrorDomainVideoEncoder; * @warning This will only return a valid pixel buffer pool after the encoder has been initialized (when the video session has started). * @discussion Clients may call this once and retain the resulting pool, this call is cheap enough that it's OK to call it once per frame. */ -@property (assign, nonatomic, readonly, nullable) CVPixelBufferPoolRef pixelBufferPool; - +@property (assign, nonatomic, readonly) CVPixelBufferPoolRef CV_NULLABLE pixelBufferPool; @end |
