1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 #ifndef TEST_PV_PLAYER_ENGINE_TESTSET_MIO_FILE_H_INCLUDED 19 #define TEST_PV_PLAYER_ENGINE_TESTSET_MIO_FILE_H_INCLUDED 20 21 #ifndef TEST_PV_PLAYER_ENGINE_H_INCLUDED 22 #include "test_pv_player_engine.h" 23 #endif 24 #ifndef PVMI_MEDIA_IO_FILEOUTPUT_H_INCLUDED 25 #include "pvmi_media_io_fileoutput.h" 26 #endif 27 28 class PVPlayerTestFileOutputMioFactory : public PVPlayerTestMioFactory 29 { 30 public: PVPlayerTestFileOutputMioFactory()31 PVPlayerTestFileOutputMioFactory() {} ~PVPlayerTestFileOutputMioFactory()32 ~PVPlayerTestFileOutputMioFactory() {} 33 34 PvmiMIOControl* CreateAudioOutput(OsclAny* aParam); 35 PvmiMIOControl* CreateAudioOutput(OsclAny* aParam, MediaType aMediaType, bool aCompressedAudio = false); 36 PvmiMIOControl* CreateAudioOutput(OsclAny* aParam, PVRefFileOutputTestObserver* aObserver, bool aActiveTiming, uint32 aQueueLimit, bool aSimFlowControl, bool logStrings = true); 37 void DestroyAudioOutput(PvmiMIOControl* aMio); 38 PvmiMIOControl* CreateVideoOutput(OsclAny* aParam); 39 PvmiMIOControl* CreateVideoOutput(OsclAny* aParam, MediaType aMediaType, bool aCompressedVideo = false); 40 PvmiMIOControl* CreateVideoOutput(OsclAny* aParam, PVRefFileOutputTestObserver* aObserver, bool aActiveTiming, uint32 aQueueLimit, bool aSimFlowControl, bool logStrings = true); 41 void DestroyVideoOutput(PvmiMIOControl* aMio); 42 PvmiMIOControl* CreateTextOutput(OsclAny* aParam); 43 PvmiMIOControl* CreateTextOutput(OsclAny* aParam, MediaType aMediaType); 44 void DestroyTextOutput(PvmiMIOControl* aMio); 45 }; 46 47 #endif // TEST_PV_PLAYER_ENGINE_TESTSET_MIO_FILE_H_INCLUDED 48 49 50 51