Initial commit

This commit is contained in:
ifish
2017-08-15 16:59:01 +08:00
commit bdc83e07ef
5766 changed files with 423223 additions and 0 deletions
@@ -0,0 +1,25 @@
//
// FfmpegInterface.h
// 2cu
//
// Created by wutong on 15/9/16.
// Copyright (c) 2015年 guojunyi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "avcodec.h"
#import "P2PCInterface.h"
@interface FfmpegInterface : NSObject
{
AVPacket _sDecodePkt;
AVCodecContext* _pDecodeAVC;
AVFrame* _pDecodeOutputFrame;
BOOL _isInited;
}
+ (id)sharedDefault;
- (void) vInitVideoDecoder;
- (void) vDestoryVideoDecoder;
-(BOOL) fgDecodePictureFrame:(Byte *)pBuffer dwSize:(DWORD)dwSize u6PTS:(UInt64)u6PTS pFrame:(GAVFrame*)pFrame;
@end