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

Issue 285343003: Add 4k HW decode override flag and support larger bitstream buffers in V4L2VDA. (Closed)

Created:
6 years, 7 months ago by Pawel Osciak
Modified:
6 years, 7 months ago
CC:
chromium-reviews, creis+watch_chromium.org, nkostylev+watch_chromium.org, fischman+watch_chromium.org, wjia+watch_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add 4k HW decode override flag and support larger bitstream buffers in V4L2VDA. Add a flag to override 4k hardware video decode capability detection in GVD if needed. This is for platforms that currently do not give us a proper way to detect it. Also bump input bistream size in V4L2VDA to accommodate potentially larger streams in higher resolutions. We cannot estimate input buffer size based on the stream, as we do not currently pass video config info down to the VDAs, and the bitstream buffers are needed in order to parse the stream to get that information. BUG=373717 TEST=4k video playback Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271653

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Update comment #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -3 lines) Patch
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 2 chunks +7 lines, -1 line 0 comments Download
M media/base/media_switches.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M media/base/media_switches.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 chunks +8 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
Pawel Osciak
piman@: please flags: chrome/browser/chromeos/login/chrome_restart_request.cc content/browser/renderer_host/render_process_host_impl.cc fischman@: please gvd/rest Thank you.
6 years, 7 months ago (2014-05-15 11:27:27 UTC) #1
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/285343003/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.h File content/common/gpu/media/v4l2_video_decode_accelerator.h (right): https://codereview.chromium.org/285343003/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.h#newcode108 content/common/gpu/media/v4l2_video_decode_accelerator.h:108: kInputBufferMaxSize = 4 * 1024 * 1024, CL description ...
6 years, 7 months ago (2014-05-15 16:00:41 UTC) #2
piman
https://codereview.chromium.org/285343003/diff/1/media/filters/gpu_video_decoder.cc File media/filters/gpu_video_decoder.cc (right): https://codereview.chromium.org/285343003/diff/1/media/filters/gpu_video_decoder.cc#newcode129 media/filters/gpu_video_decoder.cc:129: ((cpu.vendor_name() == "GenuineIntel") && cpu.model() >= 55); Is this ...
6 years, 7 months ago (2014-05-15 17:02:27 UTC) #3
Pawel Osciak
https://codereview.chromium.org/285343003/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.h File content/common/gpu/media/v4l2_video_decode_accelerator.h (right): https://codereview.chromium.org/285343003/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.h#newcode108 content/common/gpu/media/v4l2_video_decode_accelerator.h:108: kInputBufferMaxSize = 4 * 1024 * 1024, On 2014/05/15 ...
6 years, 7 months ago (2014-05-16 03:53:00 UTC) #4
piman
LGTM for my parts.
6 years, 7 months ago (2014-05-16 05:15:37 UTC) #5
Ami GONE FROM CHROMIUM
https://codereview.chromium.org/285343003/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.h File content/common/gpu/media/v4l2_video_decode_accelerator.h (right): https://codereview.chromium.org/285343003/diff/1/content/common/gpu/media/v4l2_video_decode_accelerator.h#newcode108 content/common/gpu/media/v4l2_video_decode_accelerator.h:108: kInputBufferMaxSize = 4 * 1024 * 1024, On 2014/05/16 ...
6 years, 7 months ago (2014-05-16 16:49:59 UTC) #6
Pawel Osciak
PTAL. Changed flag name, now passing to GPU process as well to select input buffer ...
6 years, 7 months ago (2014-05-16 23:31:27 UTC) #7
Ami GONE FROM CHROMIUM
LGTM https://codereview.chromium.org/285343003/diff/80001/media/filters/gpu_video_decoder.cc File media/filters/gpu_video_decoder.cc (right): https://codereview.chromium.org/285343003/diff/80001/media/filters/gpu_video_decoder.cc#newcode126 media/filters/gpu_video_decoder.cc:126: // selection in V4L2VideoDecodeAccelerator. s/in/in platform-specific implementations, such ...
6 years, 7 months ago (2014-05-19 18:42:42 UTC) #8
Pawel Osciak
Antoine: would appreciate a quick second look, now that I'm also passing it to the ...
6 years, 7 months ago (2014-05-20 00:03:31 UTC) #9
piman
still lgtm
6 years, 7 months ago (2014-05-20 00:25:36 UTC) #10
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 7 months ago (2014-05-20 01:35:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/285343003/120001
6 years, 7 months ago (2014-05-20 01:36:05 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-20 04:57:31 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 06:18:48 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_rel/builds/28750)
6 years, 7 months ago (2014-05-20 06:18:48 UTC) #15
Pawel Osciak
The CQ bit was checked by posciak@chromium.org
6 years, 7 months ago (2014-05-20 07:42:49 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/posciak@chromium.org/285343003/120001
6 years, 7 months ago (2014-05-20 07:42:55 UTC) #17
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 15:19:26 UTC) #18
Message was sent while issue was closed.
Change committed as 271653

Powered by Google App Engine
This is Rietveld 408576698