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

Issue 1706023003: Moving the validation of bitstream_buffer into VDA implementations. (Closed)

Created:
4 years, 10 months ago by Owen Lin
Modified:
4 years, 10 months ago
Reviewers:
kcwu, Pawel Osciak
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving the validation of bitstream_buffer into VDA implementations. Also remove the validation on bitstream_buffer.handle() since there will be errors when trying to map the handle. BUG=None Test=Play YT on ChromeOS Device. Committed: https://crrev.com/df99f6ba8f296d3cb35544997aa120274c064e88 Cr-Commit-Position: refs/heads/master@{#377234}

Patch Set 1 : Ready for review #

Total comments: 8

Patch Set 2 : not ready yet #

Patch Set 3 : fix compiling errors on windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -47 lines) Patch
M content/common/gpu/media/android_video_decode_accelerator.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 2 chunks +17 lines, -3 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator_win.cc View 1 2 2 chunks +16 lines, -18 lines 0 comments Download
M content/common/gpu/media/fake_video_decode_accelerator.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M content/common/gpu/media/gpu_jpeg_decode_accelerator.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M content/common/gpu/media/v4l2_jpeg_decode_accelerator.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/gpu/media/v4l2_video_decode_accelerator.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_jpeg_decode_accelerator.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/gpu/media/vaapi_video_decode_accelerator.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/gpu/media/vt_video_decode_accelerator_mac.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706023003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706023003/1
4 years, 10 months ago (2016-02-18 05:03:54 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/24890)
4 years, 10 months ago (2016-02-18 05:24:16 UTC) #4
Owen Lin
PTAL. Thanks.
4 years, 10 months ago (2016-02-18 06:12:50 UTC) #7
kcwu
lgtm
4 years, 10 months ago (2016-02-18 06:57:02 UTC) #8
Pawel Osciak
https://chromiumcodereview.appspot.com/1706023003/diff/20001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/1706023003/diff/20001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode621 content/common/gpu/media/android_video_decode_accelerator.cc:621: // We use id = -1 as a special ...
4 years, 10 months ago (2016-02-19 07:48:44 UTC) #9
Owen Lin
PTAL. Thanks. https://chromiumcodereview.appspot.com/1706023003/diff/20001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://chromiumcodereview.appspot.com/1706023003/diff/20001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode621 content/common/gpu/media/android_video_decode_accelerator.cc:621: // We use id = -1 as ...
4 years, 10 months ago (2016-02-23 09:06:38 UTC) #11
Pawel Osciak
lgtm
4 years, 10 months ago (2016-02-24 01:16:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706023003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1706023003/100001
4 years, 10 months ago (2016-02-24 05:15:41 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:100001)
4 years, 10 months ago (2016-02-24 06:31:18 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-24 06:32:31 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/df99f6ba8f296d3cb35544997aa120274c064e88
Cr-Commit-Position: refs/heads/master@{#377234}

Powered by Google App Engine
This is Rietveld 408576698