1
0

qosqualifiers.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. /*
  2. * The contents of this file are subject to the Mozilla Public
  3. * License Version 1.1 (the "License"); you may not use this file
  4. * except in compliance with the License. You may obtain a copy of
  5. * the License at http://www.mozilla.org/MPL/
  6. *
  7. * Software distributed under the License is distributed on an "AS
  8. * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9. * implied. See the License for the specific language governing
  10. * rights and limitations under the License.
  11. *
  12. * The Original Code is MPEG4IP.
  13. *
  14. * The Initial Developer of the Original Code is Cisco Systems Inc.
  15. * Portions created by Cisco Systems Inc. are
  16. * Copyright (C) Cisco Systems Inc. 2001. All Rights Reserved.
  17. *
  18. * Contributor(s):
  19. * Dave Mackie [email protected]
  20. */
  21. #ifndef __QOSQUALIFIERS_INCLUDED__
  22. #define __QOSQUALIFIERS_INCLUDED__
  23. const u_int8_t MP4QosDescrTag = 0x0C;
  24. #if 0
  25. class MP4QosDescriptor : public MP4Descriptor {
  26. public:
  27. MP4QosDescriptor();
  28. };
  29. typedef MP4Descriptor MP4QosQualifier;
  30. #endif
  31. const u_int8_t MP4QosTagsStart = 0x01;
  32. const u_int8_t MP4MaxDelayQosTag = 0x01;
  33. const u_int8_t MP4PrefMaxDelayQosTag = 0x02;
  34. const u_int8_t MP4LossProbQosTag = 0x03;
  35. const u_int8_t MP4MaxGapLossQosTag = 0x04;
  36. const u_int8_t MP4MaxAUSizeQosTag = 0x41;
  37. const u_int8_t MP4AvgAUSizeQosTag = 0x42;
  38. const u_int8_t MP4MaxAURateQosTag = 0x43;
  39. const u_int8_t MP4QosTagsEnd = 0xFF;
  40. #if 0
  41. class MP4MaxDelayQosQualifier : public MP4QosQualifier {
  42. public:
  43. MP4MaxDelayQosQualifier();
  44. };
  45. class MP4PrefMaxDelayQosQualifier : public MP4QosQualifier {
  46. public:
  47. MP4PrefMaxDelayQosQualifier();
  48. };
  49. class MP4LossProbQosQualifier : public MP4QosQualifier {
  50. public:
  51. MP4LossProbQosQualifier();
  52. };
  53. class MP4MaxGapLossQosQualifier : public MP4QosQualifier {
  54. public:
  55. MP4MaxGapLossQosQualifier();
  56. };
  57. class MP4MaxAUSizeQosQualifier : public MP4QosQualifier {
  58. public:
  59. MP4MaxAUSizeQosQualifier();
  60. };
  61. class MP4AvgAUSizeQosQualifier : public MP4QosQualifier {
  62. public:
  63. MP4AvgAUSizeQosQualifier();
  64. };
  65. class MP4MaxAURateQosQualifier : public MP4QosQualifier {
  66. public:
  67. MP4MaxAURateQosQualifier();
  68. };
  69. #else
  70. class MP4QosDescriptorBase : public MP4Descriptor {
  71. public:
  72. MP4QosDescriptorBase(uint8_t tag);
  73. };
  74. #endif
  75. class MP4UnknownQosQualifier : public MP4Descriptor {
  76. public:
  77. MP4UnknownQosQualifier();
  78. void Read(MP4File* pFile);
  79. };
  80. #endif /* __QOSQUALIFIERS_INCLUDED__ */