umc_mp4_spl.h
来自「这是在PCA下的基于IPP库示例代码例子,在网上下了IPP的库之后,设置相关参数」· C头文件 代码 · 共 70 行
H
70 行
/*////////////////////////////////////////////////////////////////////////////////// INTEL CORPORATION PROPRIETARY INFORMATION// This software is supplied under the terms of a license agreement or// nondisclosure agreement with Intel Corporation and may not be copied// or disclosed except in accordance with the terms of that agreement.// Copyright(c) 2004-2005 Intel Corporation. All Rights Reserved.//*/#ifndef __UMC_MP4_SPLITTER_H__#define __UMC_MP4_SPLITTER_H__#include "umc_splitter.h"#include "umc_splitter_ex.h"namespace UMC{ class SplitterMP4; class MP4Splitter : public Splitter { DYNAMIC_CAST_DECL_BASE(MP4Splitter) public: typedef struct { unsigned int total_audio; unsigned int total_video; } sMp4_stream_info; //////////////////Constructor/destructor//////////////// MP4Splitter() {p_spl = NULL;}; ~MP4Splitter(); /////////////////////////////////////////////////////// /////////////////////Interface overrided functions//// Status Init (SplitterParams& init); Status Close (); //Close splitter Status Stop (); //Stop splitter Status GetNextVideoData (MediaData* data, vm_var32 track_idx = 0); Status GetNextAudioData (MediaData* data, vm_var32 track_idx = 0); ///////////////////////////////////////////////////////// sInfo_sample GetSamplePositionAudio(vm_var32 track_idx, vm_var32 nsample); sInfo_sample GetSamplePositionVideo(vm_var32 track_idx, vm_var32 nsample); /////////////////////////////////////////////////////////////// /////next features will be implemented in next version////////// /////////////////////////////////////////////////////////////// Status SetPosition (double pos); // pos from 0.0 to 1.0 Status GetPosition (double& pos);// return current position /////////////////////////////////////////////////////////////// // Valid after splitter initialization Status GetInfo (SplitterInfo* info); protected: SplitterMP4 *p_spl; };}#endif //__UMC_MP4_SPLITTER_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?