Closed
Bug 1229363
Opened 9 years ago
Closed 9 years ago
Support sw video codec
Categories
(Core :: Audio/Video: Playback, defect, P2)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: ayang, Assigned: ayang)
References
Details
(Whiteboard: [2016-GBT-Y])
Attachments
(1 file, 5 obsolete files)
25.50 KB,
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Updated•9 years ago
|
Summary: Support sw codec on ics for emulator try test. → Support sw codec
Assignee | ||
Updated•9 years ago
|
Summary: Support sw codec → Support sw video codec
Assignee | ||
Comment 1•9 years ago
|
||
Assignee: nobody → ayang
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
1. fix input buffer size problem.
2. add SW codec output colour format.
3. refactory audio/video output to MediaDataHelper.
Attachment #8700993 -
Attachment is obsolete: true
Attachment #8700994 -
Attachment is obsolete: true
Attachment #8701738 -
Flags: review?(sotaro.ikeda.g)
Assignee | ||
Comment 4•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8701738 -
Flags: review?(sotaro.ikeda.g)
Updated•9 years ago
|
Priority: -- → P2
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8701738 -
Attachment is obsolete: true
Whiteboard: [2016-GBT-Y]
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8704515 -
Attachment is obsolete: true
Attachment #8705642 -
Flags: review?(sotaro.ikeda.g)
Assignee | ||
Comment 7•9 years ago
|
||
Comment 8•9 years ago
|
||
Comment on attachment 8705642 [details] [diff] [review]
support_sw_video_codec
Review of attachment 8705642 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/platforms/omx/GonkOmxPlatformLayer.cpp
@@ +535,5 @@
> + // H264 and H263 has different profiles, software codec doesn't support high profile.
> + // So we use hardware codec only.
> + if (!IsInEmulator() &&
> + (mInfo->mMimeType.EqualsLiteral("video/avc") ||
> + mInfo->mMimeType.EqualsLiteral("video/3gp"))) {
Don't we need to check mime types like in GonkDecoderModule::SupportsMimeType(), do we?
https://dxr.mozilla.org/mozilla-central/source/dom/media/platforms/gonk/GonkDecoderModule.cpp#64
Attachment #8705642 -
Flags: review?(sotaro.ikeda.g)
Comment 9•9 years ago
|
||
Comment on attachment 8705642 [details] [diff] [review]
support_sw_video_codec
Review of attachment 8705642 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/platforms/omx/OmxDataDecoder.cpp
@@ +1020,5 @@
> + // Get YUV VideoData, it uses more CPU, in most cases, on software codec.
> + data = CreateYUV420VideoData(aBufferData);
> + }
> +
> + // Update vodeo time code, duration... from the raw data.
nit: video
Comment 10•9 years ago
|
||
Comment on attachment 8705642 [details] [diff] [review]
support_sw_video_codec
Review of attachment 8705642 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/platforms/omx/GonkOmxPlatformLayer.cpp
@@ +535,5 @@
> + // H264 and H263 has different profiles, software codec doesn't support high profile.
> + // So we use hardware codec only.
> + if (!IsInEmulator() &&
> + (mInfo->mMimeType.EqualsLiteral("video/avc") ||
> + mInfo->mMimeType.EqualsLiteral("video/3gp"))) {
From the comment, it was not clear why video/mp4 video/mp4v-es are not handled here. Can you make it clear?
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #10)
> Comment on attachment 8705642 [details] [diff] [review]
> support_sw_video_codec
>
> Review of attachment 8705642 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: dom/media/platforms/omx/GonkOmxPlatformLayer.cpp
> @@ +535,5 @@
> > + // H264 and H263 has different profiles, software codec doesn't support high profile.
> > + // So we use hardware codec only.
> > + if (!IsInEmulator() &&
> > + (mInfo->mMimeType.EqualsLiteral("video/avc") ||
> > + mInfo->mMimeType.EqualsLiteral("video/3gp"))) {
>
> From the comment, it was not clear why video/mp4 video/mp4v-es are not
> handled here. Can you make it clear?
I forgot mp4. :)
Added.
Assignee | ||
Comment 12•9 years ago
|
||
Attachment #8705642 -
Attachment is obsolete: true
Attachment #8707727 -
Flags: review?(sotaro.ikeda.g)
Updated•9 years ago
|
Attachment #8707727 -
Flags: review?(sotaro.ikeda.g) → review+
Assignee | ||
Comment 13•9 years ago
|
||
Thanks for review!
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 14•9 years ago
|
||
Keywords: checkin-needed
Comment 15•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
You need to log in
before you can comment on or make changes to this bug.
Description
•