dax3_media_codecs_dolby_audio.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!-- Copyright 2016 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. This file was modified by Dolby Laboratories. The portions of the
  13. code that are surrounded by "DOLBY..." are copyrighted and
  14. licensed separately, as follows:
  15. Copyright (C) 2018-2022 Dolby Laboratories
  16. Licensed under the Apache License, Version 2.0 (the "License");
  17. you may not use this file except in compliance with the License.
  18. You may obtain a copy of the License at
  19. http://www.apache.org/licenses/LICENSE-2.0
  20. Unless required by applicable law or agreed to in writing, software
  21. distributed under the License is distributed on an "AS IS" BASIS,
  22. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. See the License for the specific language governing permissions and
  24. limitations under the License.
  25. -->
  26. <Included>
  27. <Decoders>
  28. <!-- DOLBY_UDC -->
  29. <MediaCodec name="c2.dolby.eac3.decoder" >
  30. <Type name="audio/ac3">
  31. <Alias name="OMX.dolby.ac3.decoder" />
  32. <Limit name="channel-count" max="6" />
  33. <Limit name="sample-rate" ranges="32000,44100,48000" />
  34. <Limit name="bitrate" range="32000-640000" />
  35. </Type>
  36. <Type name="audio/eac3">
  37. <Alias name="OMX.dolby.eac3.decoder" />
  38. <Limit name="channel-count" max="8" />
  39. <Limit name="sample-rate" ranges="32000,44100,48000" />
  40. <Limit name="bitrate" range="32000-6144000" />
  41. </Type>
  42. <Type name="audio/eac3-joc">
  43. <Alias name="OMX.dolby.eac3-joc.decoder" />
  44. <Limit name="channel-count" max="16" />
  45. <Limit name="sample-rate" ranges="48000" />
  46. <Limit name="bitrate" range="32000-6144000" />
  47. </Type>
  48. <Attribute name="software-codec" />
  49. </MediaCodec>
  50. <!-- DOLBY_UDC END -->
  51. <!-- DOLBY_AC4 -->
  52. <MediaCodec name="c2.dolby.ac4.decoder" type="audio/ac4">
  53. <Alias name="OMX.dolby.ac4.decoder" />
  54. <Limit name="channel-count" max="16" />
  55. <Limit name="sample-rate" ranges="48000" />
  56. <Limit name="bitrate" range="16000-2688000" />
  57. <Attribute name="software-codec" />
  58. </MediaCodec>
  59. <!-- DOLBY_AC4 END -->
  60. </Decoders>
  61. </Included>