美摄SDK For iOS  3.7.2
NvsVideoFrameRetriever.h
浏览该文件的文档.
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
生成提取视频帧的高度级别
Definition: NvsVideoFrameRetriever.h:25
NvsVideoFrameHeightGrade360
@ NvsVideoFrameHeightGrade360
生成视频帧高度360像素
Definition: NvsVideoFrameRetriever.h:26
NvsVideoFrameRetriever
视频帧提取
Definition: NvsVideoFrameRetriever.h:47
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
NvsVideoFrameHeightGrade480
@ NvsVideoFrameHeightGrade480
生成视频帧高度480像素
Definition: NvsVideoFrameRetriever.h:27
NvsVideoFrameHeightGrade720
@ NvsVideoFrameHeightGrade720
生成视频帧高度720像素
Definition: NvsVideoFrameRetriever.h:28
NvsCommonDef.h