Closed Bug 983039 Opened 10 years ago Closed 10 years ago

[Media encoder] Support YV12 GrallocImage in OMXVideoEncoder on B2G.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: jhlin, Assigned: jhlin)

Details

Attachments

(1 file, 2 obsolete files)

Currently OMXVideoDecoder only accepts GrallocImage in NV21 format. But since bug 965440, decoders start to generate GrallocImage in YV12 format for output. So YV12 GrallocImage support in OMXVideoEncoder is necessary to make transcoding work.
Attached patch Support YV12 gralloc image. (obsolete) — Splinter Review
Add YV12 input support. Also extract graphic buffer handling code to subroutine to improve readability. :)
Attachment #8390376 - Flags: review?(roc)
Attached patch Support YV12 gralloc image. (obsolete) — Splinter Review
Upload correct patch.
Attachment #8390376 - Attachment is obsolete: true
Attachment #8390376 - Flags: review?(roc)
Attachment #8390378 - Flags: review?(roc)
- Update commit message & carry r+ from roc.
- Try result: https://tbpl.mozilla.org/?tree=Try&rev=c47bf4d7cf67
Attachment #8390378 - Attachment is obsolete: true
Attachment #8391088 - Flags: review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/a3e7678d969d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: