Home | History | Annotate | Download | only in android
      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 /**
     19  * @file test_pv_author_engine_config.h
     20  * @brief Default settings and type definitions for PVAuthorEngine unit test input
     21  */
     22 
     23 #ifndef TEST_PV_AUTHOR_ENGINE_CONFIG_H_INCLUDED
     24 #define TEST_PV_AUTHOR_ENGINE_CONFIG_H_INCLUDED
     25 
     26 
     27 
     28 // Set to 1 to use the scheduler native to the system instead of PV scheduler
     29 #define USE_NATIVE_SCHEDULER 0
     30 
     31 #define KLogFile _STRLIT("pvauthor.log")
     32 #define KPVAELoggerFile _STRLIT("pvaelogger.txt")
     33 
     34 
     35 // Input files
     36 #define KYUVTestInput _STRLIT("yuvtestinput.yuv")
     37 #define KH263TestInput _STRLIT("h263testinput.h263")
     38 #define KAMRTestInput _STRLIT("amrtestinput.amr")
     39 #define KAMRWBTestInput _STRLIT("amrwbtestinput.awb")
     40 #define KAACADIFTestInput _STRLIT("aac_adif.aacadif")
     41 #define KAACADTSTestInput _STRLIT("aac_adts.aacadts")
     42 #define KH264TestInput _STRLIT("h264testinput.h264")
     43 #define KTEXTTestInput _STRLIT("MOL004.txt")
     44 #define KTEXTLogTestInput _STRLIT("MOL004_text0.log")
     45 #define KTEXTTxtFileTestInput _STRLIT("MOL004_sd_txt1.txt")
     46 
     47 // Output files
     48 #define KAMRInputAOnly3gpTestOutput _STRLIT("amr_in_a_only_test.3gp")
     49 #define KAMRWBInputAOnly3gpTestOutput _STRLIT("amrwb_in_a_only_test.3gp")
     50 #define KH263InputVOnly3gpTestOutput _STRLIT("h263_in_v_only_test.3gp")
     51 #define KAMRYUVInputAV3gpTestOutput _STRLIT("amr_yuv_in_av_test.3gp")
     52 #define KAMRH263InputAV3gpTestOutput _STRLIT("amr_h263_in_av_test.3gp")
     53 #define KAMRYUVInputAVMp4TestOutput _STRLIT("amr_yuv_in_av_test.3gp")
     54 #define KAMRM4VInputAVMp4TestOutput _STRLIT("amr_m4v_in_av_test.3gp")
     55 #define KFOAOnlyAMRTestOutput _STRLIT("amr_testoutput.amr")
     56 #define KFOAOnlyAMRWBTestOutput _STRLIT("amrwb_testoutput.awb")
     57 #define KFOAOnlyAACADIFTestOutput _STRLIT("aac_adif_output.aac")
     58 #define KFOAOnlyAACADTSTestOutput _STRLIT("aac_adts_output.aac")
     59 #define KH264AMRInputAVMp4TestTestOutput _STRLIT("h264_amr_in_av_test.3gp")
     60 #define KYUVAMRTEXTInputAVTMp4TestOutput _STRLIT("yuv_amr_text_test.3gp")
     61 #define KYUVTEXTInputMp4TestOutput _STRLIT("yuv_text_test.3gp")
     62 #define KAMRTEXTInputMp4TestOutput _STRLIT("amr_text_test.3gp")
     63 #define KTEXTInputMp4TestOutput _STRLIT("text_test.3gp")
     64 //Error Handling TestCases
     65 #define KTEXTTestInputWrong                 _STRLIT("texttestinput_wrong.txt")
     66 
     67 #define DEFAULTSOURCEFILENAME                       "testinput.avi"
     68 #define DEFAULTSOURCEFORMATTYPE                         PVMF_MIME_AVIFF
     69 #define DEFAULTOUTPUTFILENAME                       "testoutput.3gp"
     70 #define DEFAULTOUTPUT_3GP_FILENAME                      "testoutput.3gp"
     71 
     72 //YUV test through AVI file
     73 #define KYUV_AVI_VIDEO_ONLY                         "videoonly.avi"
     74 #define KPCM_AVI_AUDIO_ONLY                         "audioonly.wav"
     75 #define KPCM_YUV_AVI_FILENAME                       "testoutput_IYUV_8k_16_mono.avi"
     76 #define KMediaInput_Open_RealTimeCompose_Output     "mediainput_open_realtimecompose.3gp"
     77 //YUV & PCM test output files
     78 #define KYUV_VOnly_3GPP_Output                      "Yuv_VideoOnly_Output.3gp"
     79 #define KPCM_AOnly_3GPP_Output                      "Pcm_AudioOnly_Output.3gp"
     80 #define KPCM_YUV_AV_3GPP_Output                     "Pcm_Yuv_AV_Output.3gp"
     81 #define KYUV_VOnly_MP4_Output                       "Yuv_VideoOnly_Output.3gp"
     82 #define KH264_VOnly_MP4_Output                      "H264_VideoOnly_Output.3gp"
     83 #define KPCM_AOnly_MP4_Output                       "Pcm_AudioOnly_Output.3gp"
     84 #define KPCM_YUV_AV_MP4_Output                      "Pcm_Yuv_AV_Output.3gp"
     85 #define KPCM16_AMR_TestOutput                       "pcm_testoutput.amr"
     86 
     87 #define KMaxFileSizeTestOutput                      "maxfilesize_test.3gp"
     88 #define KMaxFileSize_long_Output                    "maxfilesize_long_output.3gp"
     89 
     90 
     91 #define K3GPPDOWNLOADMODE_OUTPUT                    "3GPPDownloadAuthoring_output.3gp"
     92 #define K3GPPPROGRESSIVEDOWNLOADMODE_OUTPUT         "3GPPProgressiveDownloadAuthoring_output.3gp"
     93 #define KMOVIEFRAGMENTMODE_OUTPUT                   "MovieFragment_output.3gp"
     94 #define KCAPCONFIG_OUTPUT                           "CapConfig_TestOutput.3gp"
     95 #define KAVI_Input_Long_OUTPUT                      "Avi_Input_long_output.3gp"
     96 #define K3GPPDOWNLOADMODE_Long_OUTPUT               "3GPPDownloadAuthoring_long_test.3gp"
     97 #define K3GPPPROGRESSIVEDOWNLOADMODE_Long_OUTPUT        "3GPPProgressiveDownloadAuthoring_long_test.3gp"
     98 #define KMOVIEFRAGMENTMODE_Long_OUTPUT              "movieFragmentFileTestlong_.3gp"
     99 #define FILE_NAME_ERROR_HANDLING                    "testinput_rgb16.avi"
    100 #define WRONGIPFILENAME_ERRORHANDLING               "wrongdir/testinput.avi"
    101 #define WRONGOPFILENAME_ERRORHANDLING               "pvaetest_wrong/testoutput.3gp"
    102 #endif // TEST_PV_AUTHOR_ENGINE_CONFIG_H_INCLUDED
    103 
    104 
    105