MeiCam SDK For iOS  3.10.0
NvsVideoFrameRetriever.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 2016. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: May 2. 2017
11 // Author: NewAuto video team
12 //================================================================================
13 #pragma once
14 
15 #import <Foundation/Foundation.h>
16 #import "NvsCommonDef.h"
17 
25 typedef enum {
30 
31 @class UIImage;
32 
46 NVS_EXPORT @interface NvsVideoFrameRetriever : NSObject
47 
57 - (void)setFrameTimeTolerance:(int64_t)timeTolerance;
58 
71 - (UIImage *)getFrameAtTime:(int64_t)time videoFrameHeightGrade:(NvsVideoFrameHeightGrade)videoFrameHeightGrade;
72 
86 - (UIImage *)getFrameAtTimeWithVideoFrameHeight:(int64_t)time videoFrameHeight:(unsigned int)videoFrameHeight;
87 @end
88 
NvsVideoFrameHeightGrade
NvsVideoFrameHeightGrade
The height level of the extracted video frame.
Definition: NvsVideoFrameRetriever.h:25
NvsVideoFrameHeightGrade360
@ NvsVideoFrameHeightGrade360
Video frame of 360 pixels in height.
Definition: NvsVideoFrameRetriever.h:26
NvsVideoFrameRetriever
Video frame extraction.
Definition: NvsVideoFrameRetriever.h:47
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsVideoFrameHeightGrade480
@ NvsVideoFrameHeightGrade480
Video frame of 480 pixels in height.
Definition: NvsVideoFrameRetriever.h:27
NvsVideoFrameHeightGrade720
@ NvsVideoFrameHeightGrade720
Video frame of 720 pixels in height.
Definition: NvsVideoFrameRetriever.h:28
NvsCommonDef.h