20
edits
| Line 24: | Line 24: | ||
For item#2, createImageBitmap() should be able to reduce the memory usage. <br> | For item#2, createImageBitmap() should be able to reduce the memory usage. <br> | ||
<br> | <br> | ||
<LI><b>Introduce a new API, mozCreateThumbnail(double | <LI><b>Introduce a new API, mozCreateThumbnail(double thumbnailTime, unsigned long width, unsigned long height) </b> <br> | ||
This is redefined from the original proposed API, mozGetThumbnail(double time); <br> | This is redefined from the original proposed API, mozGetThumbnail(double time); <br> | ||
For item#1.1~1.3, with some modifications in MediaDecoderReader and MediaDecoderStateMachine in gecko could fix those problems. Application can also use the javascript parser module to find a proper time and set it via " | For item#1.1~1.3, with some modifications in MediaDecoderReader and MediaDecoderStateMachine in gecko could fix those problems. Application can also use the javascript parser module to find a proper time and set it via "thumbnailTime" parameter, or let gecko find a proper frame. <br> | ||
For item#2, memory usage could be reduced in gecko implementations by setting "width" and "height". <br> | For item#2, memory usage could be reduced in gecko implementations by setting "width" and "height". <br> | ||
<br> | <br> | ||
edits