TPESystem/Media

From MozillaWiki
Jump to navigation Jump to search

TPESystem/Media

Media playback on Firefox OS

  • Members
    • Marco Chen
    • Bruce Sun
    • Star Cheng
    • Blake Wu
  • Device Porting Issues
    • Make sure ro.moz.omx.hw.max_width & ro.moz.omx.hw.max_height values are suitable for the target device.
      • Each time one video clip is going to be played, OMXCodecProxy is used to handle resource management of hardware video decoders.
      • After one video OMXCodec has been created successfully, OMXCodecProxy will double check the product of these two values with the actual video resolution.
      • If the video resolution is bigger than the product of these two values, OMXCodecProxy will destroy this newly created OMXCodec. As a result, the playback of this video clip will be abandoned in this case.
      • reference: bug 911113
    • Check color format enum definition
      • Currently HAL_PIXEL_FORMAT_XXX is hardcoded in GrallocImages.h.
      • The way how HAL_PIXEL_FORMAT_XXX should be ported in Firefox OS will be improved in the near future.
      • reference: bug 931733