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

Issue 2914463002: Add separate base classes for I420 and I444 buffers (Closed)

Created:
3 years, 6 months ago by magjed_webrtc
Modified:
3 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, the sun, tterriberry_mozilla.com, kwiberg-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add separate base classes for I420 and I444 buffers Previously, the base class PlanarYuvBuffer was used directly. Having separate base classes will allow us to improve type safety in some places. BUG=webrtc:7632 TBR=stefan@webrtc.org Review-Url: https://codereview.webrtc.org/2914463002 Cr-Commit-Position: refs/heads/master@{#18317} Committed: https://chromium.googlesource.com/external/webrtc/+/eaf4a1e10372e1a5a09f8669fca6ae61b156837f

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -82 lines) Patch
M webrtc/api/video/i420_buffer.h View 2 chunks +1 line, -2 lines 0 comments Download
M webrtc/api/video/i420_buffer.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/api/video/video_frame_buffer.h View 4 chunks +33 lines, -8 lines 5 comments Download
M webrtc/api/video/video_frame_buffer.cc View 3 chunks +53 lines, -61 lines 1 comment Download
M webrtc/common_video/include/video_frame_buffer.h View 2 chunks +1 line, -3 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
magjed_webrtc
nisse - how about this?
3 years, 6 months ago (2017-05-29 13:28:14 UTC) #5
nisse-webrtc
Looks pretty good. I'd prefer the GetI420 and GetI444 methods to be virtual, replacing a ...
3 years, 6 months ago (2017-05-29 14:20:05 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2914463002/diff/1/webrtc/api/video/video_frame_buffer.h File webrtc/api/video/video_frame_buffer.h (right): https://codereview.webrtc.org/2914463002/diff/1/webrtc/api/video/video_frame_buffer.h#newcode66 webrtc/api/video/video_frame_buffer.h:66: rtc::scoped_refptr<I420BufferInterface> GetI420(); On 2017/05/29 14:20:05, nisse-webrtc wrote: > I ...
3 years, 6 months ago (2017-05-29 17:40:07 UTC) #9
nisse-webrtc
lgtm. Still prefer virtual, but it's not essential. https://codereview.webrtc.org/2914463002/diff/1/webrtc/api/video/video_frame_buffer.h File webrtc/api/video/video_frame_buffer.h (right): https://codereview.webrtc.org/2914463002/diff/1/webrtc/api/video/video_frame_buffer.h#newcode66 webrtc/api/video/video_frame_buffer.h:66: rtc::scoped_refptr<I420BufferInterface> ...
3 years, 6 months ago (2017-05-30 07:05:33 UTC) #10
kwiberg-webrtc
https://codereview.webrtc.org/2914463002/diff/1/webrtc/api/video/video_frame_buffer.h File webrtc/api/video/video_frame_buffer.h (right): https://codereview.webrtc.org/2914463002/diff/1/webrtc/api/video/video_frame_buffer.h#newcode66 webrtc/api/video/video_frame_buffer.h:66: rtc::scoped_refptr<I420BufferInterface> GetI420(); On 2017/05/30 07:05:32, nisse-webrtc wrote: > On ...
3 years, 6 months ago (2017-05-30 07:32:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2914463002/1
3 years, 6 months ago (2017-05-30 07:49:10 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/17526)
3 years, 6 months ago (2017-05-30 07:52:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2914463002/1
3 years, 6 months ago (2017-05-30 08:19:47 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 08:22:03 UTC) #22
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/eaf4a1e10372e1a5a09f8669f...

Powered by Google App Engine
This is Rietveld 408576698