Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Issue 1307853003: Add support for converting I420 software frames into NV12 hardware frames (Closed)

Created:
5 years, 3 months ago by Andre
Modified:
5 years, 3 months ago
CC:
cc-bugs_chromium.org, ccameron, chromium-reviews, feature-media-reviews_chromium.org, mcasas+watch_chromium.org, posciak+watch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@biplanar
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add support for converting I420 software frames into NV12 hardware frames Enhance MaybeCreateHardwareFrame() to be able to create a NV12 hardware frame backed by a YUV_420_BIPLANAR GpuMemoryBuffer. This code path is not enabled yet. BUG=524582 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/422d099ed5b8439b92d198deb84d4528c14ccc0c Cr-Commit-Position: refs/heads/master@{#347864}

Patch Set 1 : #

Total comments: 7

Patch Set 2 : For dcastagna #

Patch Set 3 : Rebase #

Patch Set 4 : NOTREACHED -> DLOG #

Patch Set 5 : Fix build #

Total comments: 5

Patch Set 6 : Fix win_x64 build and format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -97 lines) Patch
M cc/resources/video_resource_updater.cc View 1 2 3 4 5 2 chunks +53 lines, -45 lines 0 comments Download
M media/base/video_frame.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M media/blink/skcanvas_video_renderer.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/renderers/mock_gpu_video_accelerator_factories.cc View 1 2 3 4 5 4 chunks +22 lines, -10 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 2 3 4 11 chunks +117 lines, -41 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool_unittest.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (13 generated)
Andre
dcastagna PTAL, this is a split from https://codereview.chromium.org/1316493004/
5 years, 3 months ago (2015-08-27 22:48:07 UTC) #3
Daniele Castagna
We have to wait for the extension, so we can use the correct internalformat. I ...
5 years, 3 months ago (2015-08-31 16:28:14 UTC) #4
Andre
https://codereview.chromium.org/1307853003/diff/20001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1307853003/diff/20001/cc/resources/video_resource_updater.cc#newcode33 cc/resources/video_resource_updater.cc:33: case media::PIXEL_FORMAT_UYVY: On 2015/08/31 16:28:14, Daniele Castagna wrote: > ...
5 years, 3 months ago (2015-08-31 18:29:31 UTC) #5
Andre
https://codereview.chromium.org/1307853003/diff/20001/media/video/gpu_memory_buffer_video_frame_pool.cc File media/video/gpu_memory_buffer_video_frame_pool.cc (right): https://codereview.chromium.org/1307853003/diff/20001/media/video/gpu_memory_buffer_video_frame_pool.cc#newcode182 media/video/gpu_memory_buffer_video_frame_pool.cc:182: return GL_R8_EXT; On 2015/08/31 18:29:31, Andre wrote: > On ...
5 years, 3 months ago (2015-09-08 20:20:45 UTC) #6
Daniele Castagna
On 2015/09/08 at 20:20:45, andresantoso wrote: > https://codereview.chromium.org/1307853003/diff/20001/media/video/gpu_memory_buffer_video_frame_pool.cc > File media/video/gpu_memory_buffer_video_frame_pool.cc (right): > > https://codereview.chromium.org/1307853003/diff/20001/media/video/gpu_memory_buffer_video_frame_pool.cc#newcode182 ...
5 years, 3 months ago (2015-09-08 21:04:56 UTC) #7
Andre
sandersd, PTAL.
5 years, 3 months ago (2015-09-08 21:15:23 UTC) #9
Andre
ccameron PTAL for cc/.
5 years, 3 months ago (2015-09-08 21:15:59 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307853003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307853003/60001
5 years, 3 months ago (2015-09-08 21:17:20 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/60322)
5 years, 3 months ago (2015-09-08 21:42:06 UTC) #15
ccameron
lgtm (curious about questions, but seems reasonable). https://codereview.chromium.org/1307853003/diff/100001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1307853003/diff/100001/cc/resources/video_resource_updater.cc#newcode51 cc/resources/video_resource_updater.cc:51: case media::PIXEL_FORMAT_NV12: ...
5 years, 3 months ago (2015-09-08 23:09:09 UTC) #16
sandersd (OOO until July 31)
LGTM. Now that it's extracted the logic for selecting the resource type is clearly suspicious, ...
5 years, 3 months ago (2015-09-08 23:09:58 UTC) #17
danakj
https://codereview.chromium.org/1307853003/diff/100001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1307853003/diff/100001/cc/resources/video_resource_updater.cc#newcode36 cc/resources/video_resource_updater.cc:36: return (video_frame->format() == media::PIXEL_FORMAT_XRGB) On 2015/09/08 23:09:57, sandersd wrote: ...
5 years, 3 months ago (2015-09-08 23:13:48 UTC) #19
Andre
https://codereview.chromium.org/1307853003/diff/100001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1307853003/diff/100001/cc/resources/video_resource_updater.cc#newcode36 cc/resources/video_resource_updater.cc:36: return (video_frame->format() == media::PIXEL_FORMAT_XRGB) On 2015/09/08 23:09:57, sandersd wrote: ...
5 years, 3 months ago (2015-09-09 00:40:44 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307853003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307853003/140001
5 years, 3 months ago (2015-09-09 00:42:34 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1307853003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1307853003/140001
5 years, 3 months ago (2015-09-09 04:40:35 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 3 months ago (2015-09-09 09:03:30 UTC) #29
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/422d099ed5b8439b92d198deb84d4528c14ccc0c Cr-Commit-Position: refs/heads/master@{#347864}
5 years, 3 months ago (2015-09-09 09:04:33 UTC) #30
tommi (sloooow) - chröme
A revert of this CL (patchset #6 id:140001) has been created in https://codereview.chromium.org/1327243002/ by tommi@chromium.org. ...
5 years, 3 months ago (2015-09-10 08:54:05 UTC) #31
tommi (sloooow) - chröme
On 2015/09/09 09:04:33, commit-bot: I haz the power wrote: > Patchset 6 (id:??) landed as ...
5 years, 3 months ago (2015-09-10 09:06:07 UTC) #32
tommi (sloooow) - chröme
5 years, 3 months ago (2015-09-10 12:41:37 UTC) #33
Message was sent while issue was closed.
On 2015/09/10 09:06:07, tommi wrote:
> On 2015/09/09 09:04:33, commit-bot: I haz the power wrote:
> > Patchset 6 (id:??) landed as
> > https://crrev.com/422d099ed5b8439b92d198deb84d4528c14ccc0c
> > Cr-Commit-Position: refs/heads/master@{#347864}
> 
> I'll reland if it turns out this isn't the cause.

Relanded. Sorry for the temporary revert.

Powered by Google App Engine
This is Rietveld 408576698