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

Issue 2881553002: Add |texture_target_| and |pixel_format_| to media::PictureBuffer (Closed)

Created:
3 years, 7 months ago by Chandan
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add |texture_target_| and |pixel_format_| to media::PictureBuffer This CL moves |decoder_texture_target_| and |pixel_format_| from {Gpu,RTC}VideoDecoder to media::PictureBuffer. This will allow different picture buffers to have different formats. BUG=614789 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2881553002 Cr-Commit-Position: refs/heads/master@{#473236} Committed: https://chromium.googlesource.com/chromium/src/+/d264e4712c7c599d78ca2d615b692f1a9f68e325

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed review comments #

Total comments: 4

Patch Set 3 : addressed review comments #

Total comments: 2

Patch Set 4 : review comments #

Patch Set 5 : Add |texture_target_| and |pixel_format_| to media::PictureBuffer #

Total comments: 4

Patch Set 6 : removed IPC changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -63 lines) Patch
M content/renderer/media/gpu/rtc_video_decoder.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/media/gpu/rtc_video_decoder.cc View 1 2 3 6 chunks +7 lines, -17 lines 0 comments Download
M media/filters/gpu_video_decoder.h View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M media/filters/gpu_video_decoder.cc View 1 2 3 4 5 4 chunks +8 lines, -17 lines 0 comments Download
M media/gpu/ipc/client/gpu_video_decode_accelerator_host.h View 1 2 3 4 5 1 chunk +5 lines, -5 lines 0 comments Download
M media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M media/gpu/ipc/service/gpu_video_decode_accelerator.h View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M media/gpu/ipc/service/gpu_video_decode_accelerator.cc View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M media/gpu/video_decode_accelerator_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/video/picture.h View 1 2 3 4 chunks +13 lines, -2 lines 0 comments Download
M media/video/picture.cc View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 51 (29 generated)
Chandan
PTAL. Thank you.
3 years, 7 months ago (2017-05-11 11:40:07 UTC) #7
Chandan
+ owners
3 years, 7 months ago (2017-05-11 11:44:29 UTC) #9
liberato (no reviews please)
out of curiousity, are you planning to actually switch picture buffer formats mid-stream? if so, ...
3 years, 7 months ago (2017-05-11 16:24:40 UTC) #10
Chandan
https://codereview.chromium.org/2881553002/diff/1/media/filters/gpu_video_decoder.cc File media/filters/gpu_video_decoder.cc (right): https://codereview.chromium.org/2881553002/diff/1/media/filters/gpu_video_decoder.cc#newcode571 media/filters/gpu_video_decoder.cc:571: vda_->AssignPictureBuffers(picture_buffers); On 2017/05/11 16:24:40, liberato wrote: > the picture ...
3 years, 7 months ago (2017-05-12 13:47:51 UTC) #14
Chandan
On 2017/05/11 16:24:40, liberato wrote: > out of curiousity, are you planning to actually switch ...
3 years, 7 months ago (2017-05-12 13:51:15 UTC) #15
liberato (no reviews please)
thanks -fl https://codereview.chromium.org/2881553002/diff/20001/media/gpu/ipc/common/media_messages.h File media/gpu/ipc/common/media_messages.h (right): https://codereview.chromium.org/2881553002/diff/20001/media/gpu/ipc/common/media_messages.h#newcode83 media/gpu/ipc/common/media_messages.h:83: std::vector<uint32_t>, /* Texture target */ i don't ...
3 years, 7 months ago (2017-05-12 21:26:42 UTC) #18
Chandan
PTAL. https://codereview.chromium.org/2881553002/diff/20001/media/gpu/ipc/common/media_messages.h File media/gpu/ipc/common/media_messages.h (right): https://codereview.chromium.org/2881553002/diff/20001/media/gpu/ipc/common/media_messages.h#newcode83 media/gpu/ipc/common/media_messages.h:83: std::vector<uint32_t>, /* Texture target */ On 2017/05/12 21:26:42, ...
3 years, 7 months ago (2017-05-16 14:29:30 UTC) #23
liberato (no reviews please)
thanks for taking the time with this. looks good % one last change. also, you'll ...
3 years, 7 months ago (2017-05-16 17:25:25 UTC) #24
Chandan
PTAL. Thank you. dcheng@, please review IPC changes. https://codereview.chromium.org/2881553002/diff/40001/media/gpu/ipc/service/gpu_video_decode_accelerator.cc File media/gpu/ipc/service/gpu_video_decode_accelerator.cc (right): https://codereview.chromium.org/2881553002/diff/40001/media/gpu/ipc/service/gpu_video_decode_accelerator.cc#newcode481 media/gpu/ipc/service/gpu_video_decode_accelerator.cc:481: buffers.push_back(PictureBuffer(buffer_ids[i], ...
3 years, 7 months ago (2017-05-17 12:07:06 UTC) #30
liberato (no reviews please)
lgtm. thanks -fl
3 years, 7 months ago (2017-05-17 17:08:57 UTC) #31
jbauman
lgtm
3 years, 7 months ago (2017-05-17 23:40:50 UTC) #32
sandersd (OOO until July 31)
lgtm
3 years, 7 months ago (2017-05-17 23:51:50 UTC) #33
Chandan
Thanks for the review. PTAL. @Pawel: content/renderer/media/gpu/rtc_video_decoder.h|cc @dcheng: media/gpu/ipc/common/media_messages.h
3 years, 7 months ago (2017-05-18 11:52:57 UTC) #34
dcheng
https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc File media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc#newcode139 media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc:139: texture_target = buffers[0].texture_target(); Is it possible (via something malicious) ...
3 years, 7 months ago (2017-05-18 14:15:41 UTC) #35
Chandan
https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc File media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc#newcode139 media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc:139: texture_target = buffers[0].texture_target(); On 2017/05/18 14:15:41, dcheng (in AEST) ...
3 years, 7 months ago (2017-05-18 19:38:53 UTC) #36
liberato (no reviews please)
https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc File media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc#newcode139 media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc:139: texture_target = buffers[0].texture_target(); On 2017/05/18 19:38:53, Chandan wrote: > ...
3 years, 7 months ago (2017-05-18 20:07:01 UTC) #37
Chandan
https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc File media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc (right): https://codereview.chromium.org/2881553002/diff/80001/media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc#newcode139 media/gpu/ipc/client/gpu_video_decode_accelerator_host.cc:139: texture_target = buffers[0].texture_target(); On 2017/05/18 20:07:01, liberato wrote: > ...
3 years, 7 months ago (2017-05-18 20:36:37 UTC) #38
Chandan
PTAL @PS6. Thank you.
3 years, 7 months ago (2017-05-19 12:53:22 UTC) #43
dcheng
It looks like this change has no IPC reviews anymore, so I'll recuse myself; let ...
3 years, 7 months ago (2017-05-19 14:08:44 UTC) #44
liberato (no reviews please)
lgtm. thanks for doing this. -fl
3 years, 7 months ago (2017-05-19 17:24:32 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2881553002/100001
3 years, 7 months ago (2017-05-19 17:37:25 UTC) #48
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 17:43:52 UTC) #51
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/d264e4712c7c599d78ca2d615b69...

Powered by Google App Engine
This is Rietveld 408576698