Closed Bug 1014921 Opened 12 years ago Closed 12 years ago

Workaround 8x10 OMX H264 encoder/decoder mismatch on Flame

Categories

(Core :: WebRTC: Audio/Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla32

People

(Reporter: jesup, Assigned: jesup)

References

Details

Attachments

(1 file, 1 obsolete file)

It appears that there's an encoder/decoder mismatch in the 8x10 DSP/firmware H.264 OMX codec; letting a call run with no IDRs rapidly builds up errors that creep around. Careful examination shows they appear to show up quickly but with a circa 1-2 second IDR rate they never get obvious enough to see easily on a small screen. Most likely it's an error in the encoder in the estimate of what the decoder will decode the frame to, but that's just a guess. This wallpapers the problem by forcing IDRs every 3 seconds if we don't send one for another reason.
Attachment #8427354 - Attachment is obsolete: true
Blocks: 1003040
Attachment #8427467 - Flags: review?(jolin)
Comment on attachment 8427467 [details] [diff] [review] Wallpaper 8x10 OMX H264 encode/decode mismatch by forcing IDRs Review of attachment 8427467 [details] [diff] [review]: ----------------------------------------------------------------- ::: media/webrtc/signaling/src/media-conduit/WebrtcOMXH264VideoCodec.cpp @@ +838,5 @@ > + > + // HACK for bug 1014921: 8x10 has encode/decode mismatches that build up errors > + // if you go too long without an IDR. In normal use, bitrate will change often > + // enough to never hit this time limit. > + if ((time_since_last_idr > 3000) || nit: s/time_since_last_idr/timeSinceLastIDR/
Attachment #8427467 - Flags: review?(jolin) → review+
Has this been reported to the vendor?
(In reply to Andreas Gal :gal from comment #4) > Has this been reported to the vendor? I am aware of this issue and will look further into it.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: