Closed Bug 1570337 Opened 5 years ago Closed 5 years ago

Android implementation of PlatformEncoderModule.

Categories

(Core :: Audio/Video, task, P2)

Unspecified
Android
task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: jhlin, Assigned: jhlin)

References

Details

Attachments

(7 files, 1 obsolete file)

Follow up of bug 1425277.

Some existing functions that manipulates H.264 bitstream already cover
most of the efforts for converting Android encoder output. With some minor
changes, they can be called by the encoder to avoid code duplications.

Depends on D43685

Depends on D43686

Existing tests will fail when there are more than 1 pending frames when Drain()
is called. Repeatly calling it to ensure all frames will be collected.

Depends on D43688

Attachment #9088580 - Attachment description: Bug 1570337 - p4: test initializing encoder both w and w/o specific parameters. r?jya → Bug 1570337 - p4: test initializing encoder both w/ and w/o specific parameters. r?jya
Attachment #9088580 - Attachment description: Bug 1570337 - p4: test initializing encoder both w/ and w/o specific parameters. r?jya → Bug 1570337 - p4: test initializing encoder both w and w/o specific parameters. r?jya
Attachment #9088580 - Attachment description: Bug 1570337 - p4: test initializing encoder both w and w/o specific parameters. r?jya → Bug 1570337 - p4: test initializing encoder both w/ and w/o specific parameters. r?jya
Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ee134756e92 p1: singletonize sPEMLog. r=jya https://hg.mozilla.org/integration/autoland/rev/1d0871b5c1d6 p2: extend and expose H.264 utility functions. r=jya https://hg.mozilla.org/integration/autoland/rev/ca5a747f59d9 p3: implement Android encoder. r=jya https://hg.mozilla.org/integration/autoland/rev/1c7be21d77b9 p4: test initializing encoder both w/ and w/o specific parameters. r=jya https://hg.mozilla.org/integration/autoland/rev/36f045ffd19f p5: repeat calling Drain() until no more output. r=jya

Oops! I accidentally missed a patch in my local queue. :$
Will include that and submit again for reviewing. Sorry for the trouble!

Flags: needinfo?(jolin)

All MP4Decoder utility functions can be shared by encoder. Rename
the class to avoid code duplication.

Depends on D43689

Attachment #9090256 - Attachment is obsolete: true
Attachment #9088577 - Attachment description: Bug 1570337 - p1: singletonize sPEMLog. r?jya → Bug 1570337 - p1: singletonize sPEMLog. r=jya
Attachment #9088578 - Attachment description: Bug 1570337 - p2: extend and expose H.264 utility functions. r?jya → Bug 1570337 - p2: extend and expose H.264 utility functions. r=jya

Depends on D43686

Attachment #9088579 - Attachment description: Bug 1570337 - p3: implement Android encoder. r?jya → Bug 1570337 - p4: implement Android encoder. r=jya
Attachment #9088580 - Attachment description: Bug 1570337 - p4: test initializing encoder both w/ and w/o specific parameters. r?jya → Bug 1570337 - p5: test initializing encoder both w/ and w/o specific parameters. r=jya
Attachment #9088581 - Attachment description: Bug 1570337 - p5: repeat calling Drain() until no more output. r?jya → Bug 1570337 - p6: repeat calling Drain() until no more output. r=jya
Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/28c59c800b76 p1: singletonize sPEMLog. r=jya https://hg.mozilla.org/integration/autoland/rev/5f22b364fffa p2: extend and expose H.264 utility functions. r=jya https://hg.mozilla.org/integration/autoland/rev/f98eb813a0e5 p3: extract method for reuse. r=jya https://hg.mozilla.org/integration/autoland/rev/1fee7e3711e8 p4: implement Android encoder. r=jya https://hg.mozilla.org/integration/autoland/rev/ef026d642642 p5: test initializing encoder both w/ and w/o specific parameters. r=jya https://hg.mozilla.org/integration/autoland/rev/46ac027113e1 p6: repeat calling Drain() until no more output. r=jya https://hg.mozilla.org/integration/autoland/rev/3fac005abec8 p7: fix build error/warning for UNIFIED_SOURCES. r=jya
Pushed by jolin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8eb04002df3d p1: singletonize sPEMLog. r=jya https://hg.mozilla.org/integration/autoland/rev/fd48477b3dce p2: extend and expose H.264 utility functions. r=jya https://hg.mozilla.org/integration/autoland/rev/d8ea2a15e380 p3: extract method for reuse. r=jya https://hg.mozilla.org/integration/autoland/rev/c5fc0c691fcc p4: implement Android encoder. r=jya https://hg.mozilla.org/integration/autoland/rev/becf46627f86 p5: test initializing encoder both w/ and w/o specific parameters. r=jya https://hg.mozilla.org/integration/autoland/rev/e5e097a93970 p6: repeat calling Drain() until no more output. r=jya https://hg.mozilla.org/integration/autoland/rev/67d64efc2ad7 p7: fix build error/warning for UNIFIED_SOURCES. r=jya
Depends on: 1425277
Blocks: 1425277
No longer depends on: 1425277
Blocks: 1581175
Flags: needinfo?(jolin)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: