TPESystem/Media: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "==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_w...")
 
Line 12: Line 12:
*** Each time one video clip is going to be played, ''OMXCodecProxy'' is used to handle resource management of hardware video decoders.
*** 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.
*** 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''. And the playback of this video clip will be abandoned.
*** 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.

Revision as of 04:19, 29 November 2013

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.