1. 17 Feb, 2013 4 commits
    • Martin Storsjö's avatar
      omxil: Set an AMR band mode based on the AMR variant · 010dc8cd
      Martin Storsjö authored
      This requires passing the original VLC codec id to the function,
      since both variants are mapped to OMX_AUDIO_CodingAMR.
      
      We don't set the actual correct band mode (since we don't know
      what bitrate mode is used for each frame, since it can vary), but
      we set mode 0. We could in principle set it more accurately based
      on bitrate, but since it can vary from frame to frame, this should
      be enough anyway.
      
      This is required for OMX.SEC.amr.dec, which is one single codec
      supporting both AMR variant roles, and this seems to be the way of
      signalling what AMR variant it is. If setting
      OMX_AUDIO_AMRBandModeUnused, the codec fails to initialize.
      
      A codec can get this info either by having two separate OMX codecs,
      such as OMX.google.amrnb.decoder vs OMX.google.amrwb.decoder, by
      checking what the caller set via OMX_IndexParamStandardComponentRole
      or via the band mode parameter - the samsung decoder seems to use
      the band mode.
      Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
      010dc8cd
    • Martin Storsjö's avatar
      omxil: Signal the right AMR frame format · 203d06bd
      Martin Storsjö authored
      The previously used enum is only used for conformance tests and
      is not the one commonly used in practice - the file storage format
      is the commonly used one (which also is used within Android).
      Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
      203d06bd
    • Martin Storsjö's avatar
      omxil: Use the right role names for AMR-NB/WB · 9a2d547c
      Martin Storsjö authored
      These are the role names mentioned in the OMX IL spec, used by
      Android's built-in SW codecs and by the HW codecs available on
      Samsung Galaxy S3.
      Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
      9a2d547c
    • Martin Storsjö's avatar
      omxil: Don't log errors if there actually weren't any · 651de006
      Martin Storsjö authored
      This fixes stray log warnings when using audio decoders, since
      4edfa4f5.
      Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
      651de006
  2. 16 Feb, 2013 12 commits
  3. 15 Feb, 2013 5 commits
  4. 14 Feb, 2013 12 commits
  5. 13 Feb, 2013 5 commits
  6. 12 Feb, 2013 2 commits