Home | History | Annotate | Download | only in 5_multimedia
      1 # 5\. Multimedia Compatibility
      2 
      3 Device implementations:
      4 
      5 *   [C-0-1] MUST support the media formats, encoders, decoders, file types,
      6     and container formats defined in [section 5.1](#5_1_media-codecs.md)
      7     for each and every codec declared by `MediaCodecList`.
      8 *   [C-0-2] MUST declare and report support of the encoders, decoders available
      9     to third-party applications via [`MediaCodecList`](
     10     http://developer.android.com/reference/android/media/MediaCodecList.html).
     11 *   [C-0-3] MUST be able to decode and make available to third-party apps all
     12     the formats it can encode. This includes all bitstreams that its encoders
     13     generate and the profiles reported in its [`CamcorderProfile`](
     14     http://developer.android.com/reference/android/media/CamcorderProfile.html).
     15 
     16 
     17 Device implementations:
     18 
     19 *   SHOULD aim for minimum codec latency, in others words, they
     20     *   SHOULD NOT consume and store input buffers and return input buffers only
     21     once processed.
     22     *   SHOULD NOT hold onto decoded buffers for longer than as specified by the
     23     standard (e.g. SPS).
     24     *   SHOULD NOT hold onto encoded buffers longer than required by the GOP
     25     structure.
     26 
     27 All of the codecs listed in the section below are provided as software
     28 implementations in the preferred Android implementation from the Android Open
     29 Source Project.
     30 
     31 Please note that neither Google nor the Open Handset Alliance make any
     32 representation that these codecs are free from third-party patents. Those
     33 intending to use this source code in hardware or software products are advised
     34 that implementations of this code, including in open source software or
     35 shareware, may require patent licenses from the relevant patent holders.
     36