/engines/player/test/config/android/test_pv_player_engine_config_ext.h

https://github.com/Jib-BAOSP/platform_external_opencore · C Header · 80 lines · 43 code · 4 blank · 33 comment · 0 complexity · f3cdf53ec90ade2117d3c62b8eddf945 MD5 · raw file

  1. /* ------------------------------------------------------------------
  2. * Copyright (C) 1998-2010 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_CONFIG_EXT_H_INCLUDED
  19. #define TEST_PV_PLAYER_ENGINE_CONFIG_EXT_H_INCLUDED
  20. #ifndef IGNORE_DEFAULT_CFG
  21. //-----------------------------------------------------------------------------
  22. // during package scissoring, this entire section is removed which implies that
  23. // every macro shown below must be defined for the scissoring process with the
  24. // expectation that the final delivered code will have
  25. // the macro guards removed, and
  26. // the guarded code conditionally scissored
  27. // if the macro is to remain intact and delivered to the customer, then it does
  28. // not belong inside this section, and should also not be defined for the
  29. // scissoring process.
  30. // this sub-section is common to both opencore_dynamic and opencore_value_add
  31. // configurations.
  32. #define RUN_3GPFILE_TESTCASES 1
  33. #define RUN_AACFILE_TESTCASES 1
  34. #define RUN_AMRFILE_TESTCASES 1
  35. #define RUN_HTTPDOWNLOAD_TESTCASES 1
  36. #define RUN_MP3FILE_TESTCASES 1
  37. #define RUN_MP4FILE_TESTCASES 1
  38. #define RUN_RTSP_CLOAKING_TESTCASES 1
  39. #define RUN_PVNETWORK_DOWNLOAD_TESTCASES 0
  40. #define RUN_STREAMING_TESTCASES 1
  41. #define RUN_WAVFILE_TESTCASES 1
  42. #define RUN_WMAFILE_TESTCASES 1
  43. #define RUN_WMVFILE_TESTCASES 1
  44. #define RUN_CPMOMA1_DLAPASSTHRU_TESTCASES 1
  45. #define OMA1PASSTHRU_IS_LOADABLE_MODULE 1
  46. #define RUN_SHOUTCAST_TESTCASES 1
  47. #ifndef USE_DEFAULT_CFG_VALUEADD
  48. // this sub-section is for opencore_dynamic configuration only and
  49. // is typically used to explicitly disable value-add features.
  50. # define DIVX_IS_LOADABLE_MODULE 0
  51. # define PLAYREADY_IS_LOADABLE_MODULE 0
  52. # define ONLY_3GPP_STREAMING_FORMAT
  53. # define RUN_APP_TRACK_SELECTION_TESTCASES 0
  54. # define RUN_ASFFILE_TESTCASES 0
  55. # define RUN_CPMDIVX_TESTCASES 0
  56. # define RUN_JANUS_TESTCASES_PLAYER 0
  57. # define RUN_FASTTRACK_TESTCASES 0
  58. # define RUN_MS_HTTP_STREAMING_TESTCASES 0
  59. # define RUN_REALAUDIO_FILE_TESTCASES 0
  60. #else
  61. // this sub-section is for opencore_value_add only and is typically
  62. // used to explicitly enable value-add features.
  63. # define DIVX_IS_LOADABLE_MODULE 1
  64. # define PLAYREADY_IS_LOADABLE_MODULE 1
  65. # undef ONLY_3GPP_STREAMING_FORMAT
  66. # define RUN_APP_TRACK_SELECTION_TESTCASES 1
  67. # define RUN_ASFFILE_TESTCASES 1
  68. # define RUN_CPMDIVX_TESTCASES 1
  69. # define RUN_JANUS_TESTCASES_PLAYER 1
  70. # define RUN_FASTTRACK_TESTCASES 1
  71. # define RUN_MS_HTTP_STREAMING_TESTCASES 1
  72. # define RUN_REALAUDIO_FILE_TESTCASES 0 // not supported yet
  73. #endif
  74. //-----------------------------------------------------------------------------
  75. #endif
  76. #endif