Closed Bug 983039 Opened 9 years ago Closed 9 years ago
[Media encoder] Support YV12 Gralloc
Image in OMXVideo Encoder on B2G .
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.
Add YV12 input support. Also extract graphic buffer handling code to subroutine to improve readability. :)
Upload correct patch.
Attachment #8390378 - Flags: review?(roc) → review+
- Update commit message & carry r+ from roc. - Try result: https://tbpl.mozilla.org/?tree=Try&rev=c47bf4d7cf67
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.