gecko/content/media/omx
Chris Pearce 223e397746 Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir
Implement HTMLMediaElement.fastSeek(), basically by changing all the
MediaDecoderReader::Seek() overrides to not call
MediaDecoderReader::DecodeToTarget(), and have MediaDecoderReader::DecodeSeek()
call DecodeToTarget() if we're doing an accurate (non-fast) seek.

Update gizmo.mp4 to have a keyframe every second, instead of only 1 keyframe at
the start of stream. This makes the unit test I added more useful for mp4...

I pushed most of the seek target clamping logic in MediaDecoder up into
HTMLMediaElement, so that we're clamping in fewer places. Note
MediaDecoderStateMachine::Seek() still sanity checks the seek target.

We have to update the currentTime/MediaDecoder playback position after a seek
completes now, rather than assuming the seek always got it exactly right.

Removed those pesky assertions about seek target lying in the first frame after
seek, since actually sometimes the media doesn't have samples for all streams
after a seek (either due to the media being encoded like that, or because of a
bug in the platform's decoder, not entirely sure).

Green: https://tbpl.mozilla.org/?tree=Try&rev=b028258565e2
* * *
Bug 778077 - Fix up MediaOMXReader fastseek to ensure audio stream stays in sync with video stream. r=cajbir
2014-04-01 16:39:04 +13:00
..
mediaresourcemanager Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
MediaOmxDecoder.cpp Bug 973408 - Remove MediaDecoderStateMachine::GetAmpleVideoFrames(), and MediaOMXStateMachine. r=kinetik 2014-03-11 11:44:08 +08:00
MediaOmxDecoder.h
MediaOmxReader.cpp Bug 778077 - Implement HTMLMediaElement.fastSeek(time). r=cajbir 2014-04-01 16:39:04 +13:00
MediaOmxReader.h Bug 973408 - Set MediaDecoderReaders idle when they're not decoding. r=kinetik 2014-03-11 11:44:10 +08:00
moz.build Bug 981290 - Rewrite content/media/omx/Makefile.in in moz.build; r=mshal 2014-03-10 20:12:37 -04:00
MPAPI.h Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
OMXCodecDescriptorUtil.cpp Bug 879668 - Part 2: Add utility function to convert codec data from OMX AVC/H.264 encoder for MP4 container writer. r=roc 2014-01-17 14:29:20 -05:00
OMXCodecDescriptorUtil.h Bug 879668 - Part 2: Add utility function to convert codec data from OMX AVC/H.264 encoder for MP4 container writer. r=roc 2014-01-17 14:29:20 -05:00
OMXCodecProxy.cpp Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan 2013-10-23 16:34:10 -04:00
OMXCodecProxy.h Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan 2013-10-23 16:34:10 -04:00
OMXCodecWrapper.cpp Bug 959490 - [MediaEncoder] Support *.3gp with AMR-NB audio format on certificated application. r=roc 2014-03-19 14:52:45 +08:00
OMXCodecWrapper.h Bug 959490 - [MediaEncoder] Support *.3gp with AMR-NB audio format on certificated application. r=roc 2014-03-19 14:52:45 +08:00
OmxDecoder.cpp Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
OmxDecoder.h Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
RtspOmxDecoder.cpp Bug 973408 - Remove MediaDecoderStateMachine::GetAmpleVideoFrames(), and MediaOMXStateMachine. r=kinetik 2014-03-11 11:44:08 +08:00
RtspOmxDecoder.h Bug 947113 - Sync RTSP play & pause with the life time of the decoding thread. r=doublec 2013-12-12 11:21:04 +08:00
RtspOmxReader.cpp Bug 984816: RTSP play/pause deadlock issue. 1. Release the monitor when access mReader. 2. Reverse the order in RtspOmxReader::SetIdle(). r=cpearce 2014-03-31 10:18:01 +08:00
RtspOmxReader.h Bug 983204 - Ensure RTSP OMX reader's decoder is made active during loadmetadata. r=vchang 2014-03-14 13:24:54 +08:00