TPESystem/Media: Difference between revisions
Jump to navigation
Jump to search
| Line 14: | Line 14: | ||
*** 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. | *** 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}} | *** reference: {{bug|911113}} | ||
** Check color format | ** Check '''''HAL_PIXEL_FORMAT_XXX''''' enum definition for color format. | ||
*** Currently HAL_PIXEL_FORMAT_XXX is hardcoded in GrallocImages.h. | *** 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. | *** The way how ''HAL_PIXEL_FORMAT_XXX'' should be ported in Firefox OS will be improved in the near future. | ||
*** reference: {{bug|931733}} | *** reference: {{bug|931733}} | ||
Revision as of 03:19, 4 December 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.
- reference: bug 911113
- Check HAL_PIXEL_FORMAT_XXX enum definition for color format.
- 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
- Make sure ro.moz.omx.hw.max_width & ro.moz.omx.hw.max_height values are suitable for the target device.