commit | 4c87d83d03233a7dff6d71b87eaaa2b683adf632 | [log] [tgz] |
---|---|---|
author | Ilya Nikolaevskiy <ilnik@webrtc.org> | Fri Sep 18 15:18:54 2020 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Sep 21 09:46:15 2020 +0000 |
tree | c873326c909f7a8445ecc9a3ea8ccabd4061c04f | |
parent | c5a74ffba49e90a9382c9eb6a795fe7d6abd74a1 [diff] [blame] |
Extend I420 frame buffer pool to also create NV12 buffers Bug: webrtc:11956 Change-Id: I758a28f2755cfa72ad486fbe1f9209f356eb5fa1 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/184510 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32147}
diff --git a/modules/video_processing/video_denoiser.cc b/modules/video_processing/video_denoiser.cc index 40568a5..3a18125 100644 --- a/modules/video_processing/video_denoiser.cc +++ b/modules/video_processing/video_denoiser.cc
@@ -235,7 +235,7 @@ const uint8_t* y_src = frame->DataY(); int stride_y_src = frame->StrideY(); rtc::scoped_refptr<I420Buffer> dst = - buffer_pool_.CreateBuffer(width_, height_); + buffer_pool_.CreateI420Buffer(width_, height_); uint8_t* y_dst = dst->MutableDataY(); int stride_y_dst = dst->StrideY();